Remove unneeded .freeze

closes #7595
This commit is contained in:
Benjamin Neff 2017-08-27 18:55:18 +02:00
parent f7cbb20e11
commit 84d553555e
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
3 changed files with 4 additions and 6 deletions

View file

@ -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)

View file

@ -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.

View file

@ -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