flipper-notifications 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -7
- data/flipper-notifications.gemspec +1 -1
- data/lib/flipper/notifications/feature_event.rb +2 -2
- data/lib/flipper/notifications/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62456284f907b8c5a8066d851ad95b713c20c73e2c93ba781500f287a05269e9
|
4
|
+
data.tar.gz: 56f0fb0f98b7598a6f1642113291f7a5aadba58c490eae07ca1c6432f787f2b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5af9595e93f3278574931c1dff05777af211deb73a150df864d30d27d2c0df84c87914d67043886459160c343e29bacd6251f3f42587dfab96d2ae8f739ec4db
|
7
|
+
data.tar.gz: af4152928e0a371fa114498ee7f773a4bf29affc283f39a2c1c7bb238d0101a60630d9fbe58da6a132fa99ef6ccc2af714fd2de4cc3660d854a700646b89c9f5
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
flipper-notifications (0.1.
|
4
|
+
flipper-notifications (0.1.5)
|
5
5
|
activesupport (~> 7.0)
|
6
|
-
flipper (
|
6
|
+
flipper (>= 0.24, < 2.0)
|
7
7
|
httparty (~> 0.17)
|
8
8
|
|
9
9
|
GEM
|
@@ -21,7 +21,7 @@ GEM
|
|
21
21
|
public_suffix (>= 2.0.2, < 6.0)
|
22
22
|
ast (2.4.2)
|
23
23
|
bundler-gem_version_tasks (0.2.1)
|
24
|
-
concurrent-ruby (1.
|
24
|
+
concurrent-ruby (1.2.3)
|
25
25
|
crack (0.4.5)
|
26
26
|
rexml
|
27
27
|
debug (1.7.1)
|
@@ -29,7 +29,7 @@ GEM
|
|
29
29
|
reline (>= 0.3.1)
|
30
30
|
diff-lcs (1.5.0)
|
31
31
|
docile (1.4.0)
|
32
|
-
flipper (
|
32
|
+
flipper (1.3.0)
|
33
33
|
concurrent-ruby (< 2)
|
34
34
|
globalid (1.0.0)
|
35
35
|
activesupport (>= 5.0)
|
@@ -37,14 +37,14 @@ GEM
|
|
37
37
|
httparty (0.21.0)
|
38
38
|
mini_mime (>= 1.0.0)
|
39
39
|
multi_xml (>= 0.5.2)
|
40
|
-
i18n (1.
|
40
|
+
i18n (1.14.4)
|
41
41
|
concurrent-ruby (~> 1.0)
|
42
42
|
io-console (0.6.0)
|
43
43
|
irb (1.6.2)
|
44
44
|
reline (>= 0.3.0)
|
45
45
|
json (2.6.3)
|
46
46
|
mini_mime (1.1.5)
|
47
|
-
minitest (5.
|
47
|
+
minitest (5.22.3)
|
48
48
|
multi_xml (0.6.0)
|
49
49
|
parallel (1.22.1)
|
50
50
|
parser (3.1.3.0)
|
@@ -88,7 +88,7 @@ GEM
|
|
88
88
|
simplecov_json_formatter (~> 0.1)
|
89
89
|
simplecov-html (0.12.3)
|
90
90
|
simplecov_json_formatter (0.1.4)
|
91
|
-
tzinfo (2.0.
|
91
|
+
tzinfo (2.0.6)
|
92
92
|
concurrent-ruby (~> 1.0)
|
93
93
|
unicode-display_width (2.3.0)
|
94
94
|
webmock (3.18.1)
|
@@ -98,6 +98,7 @@ GEM
|
|
98
98
|
|
99
99
|
PLATFORMS
|
100
100
|
arm64-darwin-21
|
101
|
+
arm64-darwin-23
|
101
102
|
|
102
103
|
DEPENDENCIES
|
103
104
|
activejob (~> 7.0)
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.require_paths = ["lib"]
|
30
30
|
|
31
31
|
spec.add_runtime_dependency "activesupport", "~> 7.0"
|
32
|
-
spec.add_runtime_dependency "flipper", "
|
32
|
+
spec.add_runtime_dependency "flipper", ">= 0.24", "< 2.0"
|
33
33
|
spec.add_runtime_dependency "httparty", "~> 0.17"
|
34
34
|
|
35
35
|
spec.add_development_dependency "bundler"
|
@@ -45,10 +45,10 @@ module Flipper
|
|
45
45
|
|
46
46
|
settings << "- Groups: #{to_sentence(feature.enabled_groups.map(&:name).sort)}" if feature.enabled_groups.any?
|
47
47
|
|
48
|
-
settings << "-
|
48
|
+
settings << "- Actors: #{to_sentence(feature.actors_value.sort)}" if feature.actors_value.any?
|
49
49
|
|
50
50
|
if feature.percentage_of_actors_value.positive?
|
51
|
-
settings << "- #{feature.percentage_of_actors_value}% of
|
51
|
+
settings << "- #{feature.percentage_of_actors_value}% of actors"
|
52
52
|
end
|
53
53
|
|
54
54
|
settings << "- #{feature.percentage_of_time_value}% of the time" if feature.percentage_of_time_value.positive?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipper-notifications
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Lubrano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -28,16 +28,22 @@ dependencies:
|
|
28
28
|
name: flipper
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0.24'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '2.0'
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - "
|
41
|
+
- - ">="
|
39
42
|
- !ruby/object:Gem::Version
|
40
43
|
version: '0.24'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '2.0'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: httparty
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|