Unverified Commit 84d55355 authored by Benjamin Neff's avatar Benjamin Neff
Browse files

Remove unneeded .freeze

closes #7595
parent f7cbb20e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)
+2 −2
Original line number Diff line number Diff line
@@ -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.
+1 −4
Original line number Diff line number Diff line
@@ -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