traceroute 0.7.0 → 0.7.1

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
  SHA256:
3
- metadata.gz: f18a51e51368f5ad62d415ea291ca46c11ce5e8450704e47537f9bdb4f8f49a3
4
- data.tar.gz: 0e6ad9c20b2422d4adfffd5aaa6382f3a38456d037c4b4c22144e773fc473f10
3
+ metadata.gz: a9d8b37c9335b489410893260a96d0bd1146358ab4907bfa6593230c126dd1c5
4
+ data.tar.gz: 1a877a2573c1d01ff38a4e5710ad3854bd4ab9b508165ecf398bba83615c0558
5
5
  SHA512:
6
- metadata.gz: 521786552e926d4f2a4af20d47af74c8398b4337f4825c7ed20ac801bd1a21c8985246f56ceb8289f90d89a316292ac6fdc06f0719a99aeee46bcf8cda173187
7
- data.tar.gz: 559b64f9ade6468bf16182acc101e41ca6b3e51574ca71f8e0563f8062c1a59775a557adb3e3652d51142295287ca527c37af7120d131baf9afca989d2037a07
6
+ metadata.gz: 0bd199897fcaa8a7b679f29c09031a5a8a24d3e440831fd3e359dcd57e91861b6c36a76276ed2240263eddc638922b4cd076f9d8866893af75deccd08b77e59a
7
+ data.tar.gz: 3e95179846678c7e1777dc94877ff93f01e4264e3f2c594d8e45221d654c57807969fb8331208ff89347d7b1c09814c7570aa9709f2cec760c60a0cd324c7438
@@ -28,7 +28,7 @@ class Traceroute
28
28
  end
29
29
 
30
30
  def defined_action_methods
31
- [ActionController::Base, ActionController::API].map do |klass|
31
+ [ActionController::Base, (ActionController::API if defined?(ActionController::API))].compact.map do |klass|
32
32
  klass.descendants.map do |controller|
33
33
  controller.action_methods.reject {|a| (a =~ /\A(_conditional)?_callback_/) || (a == '_layout_from_proc')}.map do |action|
34
34
  "#{controller.controller_path}##{action}"
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "traceroute"
6
- s.version = '0.7.0'
6
+ s.version = '0.7.1'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Akira Matsuda']
9
9
  s.email = ['ronnie@dio.jp']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: traceroute
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akira Matsuda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-01 00:00:00.000000000 Z
11
+ date: 2018-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails