failbot_rails 0.4.0 → 0.5.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: 8d410a401eeb4fda32c54f83a092c151176b1a4e
4
- data.tar.gz: 238ea3683e6f5b0485b7500380590c6f03f40edf
3
+ metadata.gz: 5c336a0854d71b89ef289b7f511780d501754439
4
+ data.tar.gz: 453e2a0c994966177986444085e2f4d2cc6279df
5
5
  SHA512:
6
- metadata.gz: 68f58b62c1c6ed3916a4ce882848bea6dfeb9a86ddb9b567e12fad49ca3dd9f7dbcfa599d468dab0efd438f7450db3dfd42cf5c901dbb44284e7a0dc5acd47fd
7
- data.tar.gz: 3053397d1e7e46be6232a0e4aec18e39256f9affe4f3cb88628d29bf802b3160a930250e8d8e835a11988436aaef41365515e08cd2eb0e66a9db0b76fa7db7e2
6
+ metadata.gz: 6bf616598c15c5dab0bccda0ca25bd156a01b56a4a9eeaad1dfe325fca0b38ef6b464b3a7a77d235592a0332c4067fe00883376654c09888a13d6e3fdbf5d228
7
+ data.tar.gz: cc390ef800cdb1ad245c73b0b562d0b1289f06524194662fcb1f9d922da8bb1211cb0e1048b95f5d7b65b874d57b089510039d4314ca5c866cda5080384e4032
@@ -18,7 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "failbot", "~> 0.9.2"
21
+ spec.add_runtime_dependency "failbot", ">= 0.9.2", "< 3"
22
+ spec.add_runtime_dependency "rails", ">= 4"
22
23
 
23
24
  spec.add_development_dependency "rake", "~> 10.0"
24
25
  end
@@ -88,9 +88,9 @@ module FailbotRails
88
88
 
89
89
  included do
90
90
  # reset context before populating it with rails-specific info
91
- before_filter :_failbot_rails
91
+ before_action :_failbot_rails
92
92
 
93
- helper_method :failbot
93
+ respond_to?(:helper_method) and helper_method :failbot
94
94
  end
95
95
 
96
96
  private
@@ -1,3 +1,3 @@
1
1
  module FailbotRails
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: failbot_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sr
@@ -9,22 +9,42 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-22 00:00:00.000000000 Z
12
+ date: 2017-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: failbot
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 0.9.2
21
+ - - "<"
22
+ - !ruby/object:Gem::Version
23
+ version: '3'
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - "~>"
28
+ - - ">="
26
29
  - !ruby/object:Gem::Version
27
30
  version: 0.9.2
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '3'
34
+ - !ruby/object:Gem::Dependency
35
+ name: rails
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '4'
41
+ type: :runtime
42
+ prerelease: false
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '4'
28
48
  - !ruby/object:Gem::Dependency
29
49
  name: rake
30
50
  requirement: !ruby/object:Gem::Requirement
@@ -75,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
95
  version: '0'
76
96
  requirements: []
77
97
  rubyforge_project:
78
- rubygems_version: 2.2.2
98
+ rubygems_version: 2.5.1
79
99
  signing_key:
80
100
  specification_version: 4
81
101
  summary: Glue code for using Failbot in a Rails app