routes_revealer 2.3.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28ba7c2623c20e5d1e7975547d56c0a6236346bb
4
- data.tar.gz: 80b106c97c0b39aa8d38b32a187904d4d60938a8
3
+ metadata.gz: 81b540cad05facedc212961938ff8c2392c8b50c
4
+ data.tar.gz: ede30b3f81534373fc7548b7141664ae4e424124
5
5
  SHA512:
6
- metadata.gz: ff78fea60304509cbef9c83a2cae31ce9d9c37c10ef261802e9220e49d019a2ebec9a9b16c5a8d8335d8705c7429475850758d8632858ad376e040910489daa0
7
- data.tar.gz: 2897a8e64211cc7061ea6e52c8d9eab2db8a3f13dc287c71ad958ab730a8abdd5e3a4f22726d466655b2ddc68966b90a6a3d7c0fe1080fe2e8f75df253bca598
6
+ metadata.gz: 2bdda777c9e31fdb985957af8143662f511871b846d271605d234f1be999c124154e40f5db2adc86cd5ac8bcc8e8f7d97001bceaf57e68a58387abf2b0ae74b9
7
+ data.tar.gz: 426e29468f6f799759dda27708d50d1ee73f2b954a5bf3359fcf7a930817029509de8fb9544e29d8db662b48b76f4cad8b1f645c7351f346e6594ebdb9a4b744
data/Rakefile CHANGED
@@ -15,13 +15,10 @@ RDoc::Task.new(:rdoc) do |rdoc|
15
15
  end
16
16
 
17
17
  APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
18
- load 'rails/tasks/engine.rake'
19
-
20
18
 
19
+ load 'rails/tasks/engine.rake'
21
20
  load 'rails/tasks/statistics.rake'
22
21
 
23
-
24
-
25
22
  Bundler::GemHelper.install_tasks
26
23
 
27
24
  require 'rake/testtask'
@@ -33,5 +30,5 @@ Rake::TestTask.new(:test) do |t|
33
30
  t.verbose = false
34
31
  end
35
32
 
36
-
37
33
  task default: :test
34
+
@@ -10,7 +10,7 @@
10
10
  # See the License for the specific language governing permissions and limitations under the License.
11
11
  module ActionController
12
12
  class Base
13
- after_filter :add_app_name_headers
13
+ after_action :add_app_name_headers
14
14
 
15
15
  def add_app_name_headers
16
16
  app_name = Rails.application.class.parent_name
@@ -9,5 +9,5 @@
9
9
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
10
  # See the License for the specific language governing permissions and limitations under the License.
11
11
  module RoutesRevealer
12
- VERSION = '2.3.0'
12
+ VERSION = '3.0.0'
13
13
  end
data/spec/spec_helper.rb CHANGED
@@ -13,11 +13,11 @@ require 'codeclimate-test-reporter'
13
13
  require 'webmock/rspec'
14
14
  WebMock.disable_net_connect!(allow: 'codeclimate.com')
15
15
 
16
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
17
- SimpleCov::Formatter::HTMLFormatter,
18
- CodeClimate::TestReporter::Formatter
19
- ]
20
- SimpleCov.start
16
+ SimpleCov.start do
17
+ at_exit do
18
+ SimpleCov::Formatter::HTMLFormatter.new.format(SimpleCov.result)
19
+ end
20
+ end
21
21
 
22
22
  ENV['RAILS_ENV'] ||= 'test'
23
23
  require 'pry'
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: routes_revealer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The CareerBuilder.com Consumer Development teams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-13 00:00:00.000000000 Z
11
+ date: 2017-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">"
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.0
19
+ version: '5.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">"
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.0
26
+ version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sqlite3
29
29
  requirement: !ruby/object:Gem::Requirement