failbot_rails 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/failbot_rails.gemspec +2 -1
- data/lib/failbot_rails.rb +2 -2
- data/lib/failbot_rails/version.rb +1 -1
- metadata +25 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c336a0854d71b89ef289b7f511780d501754439
|
|
4
|
+
data.tar.gz: 453e2a0c994966177986444085e2f4d2cc6279df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6bf616598c15c5dab0bccda0ca25bd156a01b56a4a9eeaad1dfe325fca0b38ef6b464b3a7a77d235592a0332c4067fe00883376654c09888a13d6e3fdbf5d228
|
|
7
|
+
data.tar.gz: cc390ef800cdb1ad245c73b0b562d0b1289f06524194662fcb1f9d922da8bb1211cb0e1048b95f5d7b65b874d57b089510039d4314ca5c866cda5080384e4032
|
data/failbot_rails.gemspec
CHANGED
|
@@ -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", "
|
|
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
|
data/lib/failbot_rails.rb
CHANGED
|
@@ -88,9 +88,9 @@ module FailbotRails
|
|
|
88
88
|
|
|
89
89
|
included do
|
|
90
90
|
# reset context before populating it with rails-specific info
|
|
91
|
-
|
|
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
|
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
|
+
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:
|
|
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.
|
|
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
|