failbot_rails 0.5.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Dockerfile +6 -0
- data/failbot_rails.gemspec +5 -1
- data/lib/failbot_rails.rb +1 -1
- data/lib/failbot_rails/version.rb +1 -1
- data/script/cibuild +6 -4
- data/script/cibuild.docker +8 -0
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 441b416474c1c69f22134a48f0020ad0785dc5553265f53cc783ee8197a9f5b3
|
4
|
+
data.tar.gz: 519fe049ede9e2befbcdd49cf01122dd764f3e1c4a08123dc872084702ee40ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d9abe3b2fa52c43867175219a9a7170404ddf613a69f5c5eb8497e56341e087c7cb109c10dbf43d49274490b4c6f8f4b6b6269251aab4f70dd439775d4df5cf
|
7
|
+
data.tar.gz: ffbf33ec1535ce975f005e2b7771a6f026f8f26e860933f5fd72169ccea2ffe423893b4bfe5d2b152b03cae30239d100c28af1bd3e7cb9404621b951fba7c9b8
|
data/Dockerfile
ADDED
data/failbot_rails.gemspec
CHANGED
@@ -14,12 +14,16 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.files.reject! { |filename| filename == ".ruby-version" }
|
18
|
+
|
17
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
21
|
spec.require_paths = ["lib"]
|
20
22
|
|
21
23
|
spec.add_runtime_dependency "failbot", ">= 0.9.2", "< 3"
|
22
|
-
spec.add_runtime_dependency "rails", "
|
24
|
+
spec.add_runtime_dependency "rails", "~> 6.0"
|
23
25
|
|
24
26
|
spec.add_development_dependency "rake", "~> 10.0"
|
27
|
+
|
28
|
+
spec.required_ruby_version = ">= 2.5.0"
|
25
29
|
end
|
data/lib/failbot_rails.rb
CHANGED
@@ -74,7 +74,7 @@ module FailbotRails
|
|
74
74
|
def self._failbot_safe_context(context)
|
75
75
|
new_context = {}.merge(context)
|
76
76
|
filters = Rails.application.config.filter_parameters
|
77
|
-
filter =
|
77
|
+
filter = ActiveSupport::ParameterFilter.new(filters)
|
78
78
|
|
79
79
|
if new_context.key?(:params)
|
80
80
|
new_context[:params] = filter.filter(new_context[:params])
|
data/script/cibuild
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: failbot_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sr
|
8
8
|
- Grant Rodgers
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-04-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: failbot
|
@@ -35,16 +35,16 @@ dependencies:
|
|
35
35
|
name: rails
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '6.0'
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '6.0'
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rake
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,6 +67,7 @@ extensions: []
|
|
67
67
|
extra_rdoc_files: []
|
68
68
|
files:
|
69
69
|
- ".gitignore"
|
70
|
+
- Dockerfile
|
70
71
|
- Gemfile
|
71
72
|
- LICENSE.txt
|
72
73
|
- README.md
|
@@ -75,11 +76,12 @@ files:
|
|
75
76
|
- lib/failbot_rails.rb
|
76
77
|
- lib/failbot_rails/version.rb
|
77
78
|
- script/cibuild
|
79
|
+
- script/cibuild.docker
|
78
80
|
homepage: https://github.com/github/failbot_rails
|
79
81
|
licenses:
|
80
82
|
- MIT
|
81
83
|
metadata: {}
|
82
|
-
post_install_message:
|
84
|
+
post_install_message:
|
83
85
|
rdoc_options: []
|
84
86
|
require_paths:
|
85
87
|
- lib
|
@@ -87,16 +89,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
87
89
|
requirements:
|
88
90
|
- - ">="
|
89
91
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
92
|
+
version: 2.5.0
|
91
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
94
|
requirements:
|
93
95
|
- - ">="
|
94
96
|
- !ruby/object:Gem::Version
|
95
97
|
version: '0'
|
96
98
|
requirements: []
|
97
|
-
|
98
|
-
|
99
|
-
signing_key:
|
99
|
+
rubygems_version: 3.1.4
|
100
|
+
signing_key:
|
100
101
|
specification_version: 4
|
101
102
|
summary: Glue code for using Failbot in a Rails app
|
102
103
|
test_files: []
|