Skip to content

Commit

Permalink
Enable frozen_string_literal pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkadiy Tetelman authored and arkadiyt committed Dec 5, 2017
1 parent 0c4aa75 commit 1cbdac7
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# frozen_string_literal: true

source 'https://rubygems.org'
gemspec
2 changes: 2 additions & 0 deletions lib/ssrf_filter.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# frozen_string_literal: true

require 'ssrf_filter/ssrf_filter'
require 'ssrf_filter/version'
2 changes: 2 additions & 0 deletions lib/ssrf_filter/ssrf_filter.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'ipaddr'
require 'net/http'
require 'resolv'
Expand Down
2 changes: 2 additions & 0 deletions lib/ssrf_filter/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

class SsrfFilter
VERSION = '1.0.2'.freeze
end
2 changes: 2 additions & 0 deletions spec/lib/ssrf_filter_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'spec_helper'
require 'timeout'
require 'webrick/https'
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'coveralls'
Coveralls.wear!
ENV['COVERALLS_NOISY'] = '1'
Expand Down
2 changes: 2 additions & 0 deletions ssrf_filter.gemspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'ssrf_filter/version'

Expand Down

0 comments on commit 1cbdac7

Please sign in to comment.