Commit 84d55355 authored by Benjamin Neff's avatar Benjamin Neff

Remove unneeded .freeze

closes #7595
parent f7cbb20e
......@@ -10,6 +10,7 @@
* Remove auto detection of languages with highlightjs [#7591](https://github.com/diaspora/diaspora/pull/7591)
* Move enable/disable notification icon [#7592](https://github.com/diaspora/diaspora/pull/7592)
* Use Bootstrap 3 progress-bar for polls [#7600](https://github.com/diaspora/diaspora/pull/7600)
* Enable frozen string literals [#7595](https://github.com/diaspora/diaspora/pull/7595)
## Bug fixes
* Fix displaying polls with long answers [#7579](https://github.com/diaspora/diaspora/pull/7579)
......
......@@ -4,8 +4,8 @@
class ConnectionTester
include Diaspora::Logging
NODEINFO_SCHEMA = "http://nodeinfo.diaspora.software/ns/schema/1.0".freeze
NODEINFO_FRAGMENT = "/.well-known/nodeinfo".freeze
NODEINFO_SCHEMA = "http://nodeinfo.diaspora.software/ns/schema/1.0"
NODEINFO_FRAGMENT = "/.well-known/nodeinfo"
class << self
# Test the reachability of a server by the given HTTP/S URL.
......
......@@ -5,10 +5,8 @@
# the COPYRIGHT file.
module Diaspora
class Exporter
SERIALIZED_VERSION = "2.0".freeze
SERIALIZED_VERSION = "2.0"
def initialize(user)
@user = user
......@@ -26,5 +24,4 @@ module Diaspora
.merge(Export::OthersDataSerializer.new(@user).as_json)
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment