simple_feature_flags 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +74 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +14 -60
- data/.ruby-version +1 -1
- data/.vscode/settings.json +5 -1
- data/Gemfile +11 -1
- data/Gemfile.lock +79 -69
- data/Rakefile +5 -5
- data/bin/tapioca +27 -0
- data/bin/test +8 -0
- data/lib/example_files/config/initializers/simple_feature_flags.rb +4 -3
- data/lib/simple_feature_flags/base_storage.rb +296 -0
- data/lib/simple_feature_flags/cli/command/generate.rb +33 -6
- data/lib/simple_feature_flags/cli/command.rb +3 -1
- data/lib/simple_feature_flags/cli/options.rb +19 -3
- data/lib/simple_feature_flags/cli/runner.rb +13 -5
- data/lib/simple_feature_flags/cli.rb +3 -1
- data/lib/simple_feature_flags/configuration.rb +6 -0
- data/lib/simple_feature_flags/ram_storage.rb +253 -79
- data/lib/simple_feature_flags/redis_storage.rb +243 -62
- data/lib/simple_feature_flags/test_ram_storage.rb +7 -1
- data/lib/simple_feature_flags/version.rb +1 -1
- data/lib/simple_feature_flags.rb +22 -9
- data/simple_feature_flags.gemspec +17 -22
- metadata +19 -125
- data/.travis.yml +0 -6
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_feature_flags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Espago
|
@@ -9,136 +9,26 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: sorbet-runtime
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '0'
|
21
|
-
type: :
|
20
|
+
version: '0.5'
|
21
|
+
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - ">"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '0'
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '0'
|
35
|
-
type: :development
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '0'
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: byebug
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - ">="
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '0'
|
49
|
-
type: :development
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '0'
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: minitest
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '5.0'
|
63
|
-
type: :development
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '5.0'
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: rake
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - "~>"
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '12.0'
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - "~>"
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '12.0'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: redis
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '0'
|
91
|
-
type: :development
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - ">="
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '0'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: redis-namespace
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '0'
|
105
|
-
type: :development
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - ">="
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: '0'
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: rubocop
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - ">="
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '0'
|
119
|
-
type: :development
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - ">="
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: solargraph
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '0'
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - ">="
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '0'
|
140
|
-
description: A simple Ruby gem which lets you dynamically enable/disable parts of
|
141
|
-
your code using Redis or your server's RAM!
|
27
|
+
version: '0.5'
|
28
|
+
description: 'A simple Ruby gem which lets you dynamically enable/disable parts of
|
29
|
+
your code using Redis or your server''s RAM!
|
30
|
+
|
31
|
+
'
|
142
32
|
email:
|
143
33
|
- m.drewniak@espago.com
|
144
34
|
executables:
|
@@ -146,11 +36,11 @@ executables:
|
|
146
36
|
extensions: []
|
147
37
|
extra_rdoc_files: []
|
148
38
|
files:
|
39
|
+
- ".github/workflows/ci.yml"
|
149
40
|
- ".gitignore"
|
150
41
|
- ".rubocop.yml"
|
151
42
|
- ".ruby-gemset"
|
152
43
|
- ".ruby-version"
|
153
|
-
- ".travis.yml"
|
154
44
|
- ".vscode/settings.json"
|
155
45
|
- Gemfile
|
156
46
|
- Gemfile.lock
|
@@ -159,11 +49,14 @@ files:
|
|
159
49
|
- Rakefile
|
160
50
|
- bin/console
|
161
51
|
- bin/setup
|
52
|
+
- bin/tapioca
|
53
|
+
- bin/test
|
162
54
|
- exe/simple_feature_flags
|
163
55
|
- lib/example_files/config/initializers/simple_feature_flags.rb
|
164
56
|
- lib/example_files/config/simple_feature_flags.yml
|
165
57
|
- lib/example_files/config/simple_feature_flags.yml.example
|
166
58
|
- lib/simple_feature_flags.rb
|
59
|
+
- lib/simple_feature_flags/base_storage.rb
|
167
60
|
- lib/simple_feature_flags/cli.rb
|
168
61
|
- lib/simple_feature_flags/cli/command.rb
|
169
62
|
- lib/simple_feature_flags/cli/command/generate.rb
|
@@ -181,6 +74,7 @@ licenses:
|
|
181
74
|
metadata:
|
182
75
|
homepage_uri: https://github.com/espago/simple_feature_flags
|
183
76
|
source_code_uri: https://github.com/espago/simple_feature_flags
|
77
|
+
rubygems_mfa_required: 'true'
|
184
78
|
post_install_message:
|
185
79
|
rdoc_options: []
|
186
80
|
require_paths:
|
@@ -189,14 +83,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
189
83
|
requirements:
|
190
84
|
- - ">="
|
191
85
|
- !ruby/object:Gem::Version
|
192
|
-
version:
|
86
|
+
version: 3.1.0
|
193
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
88
|
requirements:
|
195
89
|
- - ">="
|
196
90
|
- !ruby/object:Gem::Version
|
197
91
|
version: '0'
|
198
92
|
requirements: []
|
199
|
-
rubygems_version: 3.
|
93
|
+
rubygems_version: 3.5.22
|
200
94
|
signing_key:
|
201
95
|
specification_version: 4
|
202
96
|
summary: Simple feature flag functionality for your Ruby/Rails/Sinatra app!
|