Skip to content

Commit 6a1d193

Browse files
committed
Add frozen_string_literals pragma
1 parent c269dff commit 6a1d193

File tree

222 files changed

+289
-67
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+289
-67
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ matrix:
1616
env: "RAILS_VERSION=4.2.5"
1717
- rvm: 2.2.4
1818
env: "RAILS_VERSION=4.2.5"
19-
- rvm: 2.2.4
20-
env: "RAILS_VERSION=edge"
2119
- rvm: jruby-9.0.4.0
2220
env: "RAILS_VERSION=4.2.5 JRUBY_OPTS=\"-J-Xms512m -J-Xmx1024m\""
2321
allow_failures:

app/controllers/bookmarks_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# frozen_string_literal: true
12
class BookmarksController < CatalogController
23

34
include Blacklight::Bookmarks

app/controllers/catalog_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# frozen_string_literal: true
12
class CatalogController < ApplicationController
23

34
include Blacklight::Catalog

app/controllers/concerns/blacklight/base.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# frozen_string_literal: true
12
module Blacklight::Base
23
extend ActiveSupport::Concern
34

app/controllers/concerns/blacklight/bookmarks.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# frozen_string_literal: true
12
# note that while this is mostly restful routing, the #update and #destroy actions
23
# take the Solr document ID as the :id, NOT the id of the actual Bookmark action.
34
module Blacklight::Bookmarks

app/controllers/concerns/blacklight/catalog.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# frozen_string_literal: true
12
module Blacklight::Catalog
23
extend ActiveSupport::Concern
34

app/controllers/concerns/blacklight/controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# frozen_string_literal: true
12
# Filters added to this controller apply to all controllers in the hosting application
23
# as this module is mixed-in to the application controller in the hosting app on installation.
34
module Blacklight::Controller

app/controllers/concerns/blacklight/default_component_configuration.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# frozen_string_literal: true
12
module Blacklight
23
module DefaultComponentConfiguration
34
extend ActiveSupport::Concern

app/controllers/concerns/blacklight/facet.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# frozen_string_literal: true
12
module Blacklight
23
# These are methods that are used at both the view helper and controller layers
34
# They are only dependent on `blacklight_config` and `@response`

app/controllers/concerns/blacklight/request_builders.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# frozen_string_literal: true
12
module Blacklight
23
module RequestBuilders
34
extend ActiveSupport::Concern

0 commit comments

Comments
 (0)