Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
set rubocop back to ruby2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bartes committed Dec 3, 2018
1 parent 2b796f9 commit 9a661f5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Documentation:
Enabled: false
AllCops:
TargetRubyVersion: 2.4
TargetRubyVersion: 2.2

Metrics/LineLength:
Max: 100
Expand Down
2 changes: 1 addition & 1 deletion lib/castle/middleware/body_modify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class BodyModify
extend Forwardable
def_delegators :@middleware, :log, :configuration

CJS_PATH = 'https://d2t77mnxyo7adj.cloudfront.net/v1/c.js'
CJS_PATH = 'https://d2t77mnxyo7adj.cloudfront.net/v1/c.js'.freeze

def initialize
@middleware = Middleware.instance
Expand Down
2 changes: 1 addition & 1 deletion lib/castle/middleware/sensor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Sensor

attr_reader :app

CJS_PATH = 'https://d2t77mnxyo7adj.cloudfront.net/v1/c.js'
CJS_PATH = 'https://d2t77mnxyo7adj.cloudfront.net/v1/c.js'.freeze

def initialize(app)
@app = app
Expand Down
2 changes: 1 addition & 1 deletion lib/castle/middleware/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Castle
class Middleware
VERSION = '1.0.0'
VERSION = '1.0.0'.freeze
end
end

0 comments on commit 9a661f5

Please sign in to comment.