featury 1.0.0.rc6 → 1.0.0.rc8

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
  SHA256:
3
- metadata.gz: e1dc31fdf0161091a1e477a352c5e06629fed341c488d78e0d6153c02805623e
4
- data.tar.gz: 298efaed87cd51269f3bef4573a925924db8503865f54d2e0402a7c35ba4b283
3
+ metadata.gz: 201bfafa1c5c535c36980e60a29e9d5e3228330386c84fc36926b99992481050
4
+ data.tar.gz: 267bf926a5f57d734ac0714f24af0bd87dc11ba4dfb77b768ac0bfa464719e2d
5
5
  SHA512:
6
- metadata.gz: ca3ed00e6e9e6f0559c2a1ddf8a962c2dc8857d135bcf5a1c4e85f95a81d6c6244c65f050523a67a3d1aec82490a69812dc1186467b0ab2eaaba3a3523467e79
7
- data.tar.gz: be517027a237226225c42d03a5ba88f0d050c93bdd82fcaf90681fb764f8602214d3381e59bf7f5531e18fde19328220d1f4e5a2257cd1911c43dbc26185d360
6
+ metadata.gz: c8c3deaa91faf85292cad10a0295af1396739859a890449a9bff78a47f05010d22d681efc3b7759ca5acdd1d7855e4a9a5a7c9a15ac1fb5f008b6df7ee49bda2
7
+ data.tar.gz: addc261eba38e98918fa64f22c5f0288716b6ff9995ab179cfb5ff8943164f821ab6539c4363b93ec7ebba0b2f2f7d9e4f7f4e079aa57c467ab63ea46514c0c5
@@ -20,7 +20,7 @@ module Featury
20
20
  def action(name)
21
21
  collection_of_actions << Action.new(
22
22
  name,
23
- block: ->(features:, **options) { yield(features: features, **options) }
23
+ block: ->(features:, **options) { yield(features:, **options) }
24
24
  )
25
25
  end
26
26
 
@@ -16,12 +16,12 @@ module Featury
16
16
  )
17
17
  service_result = Service::Builder.build_and_call!(
18
18
  context: self,
19
- action: action,
20
- incoming_arguments: incoming_arguments,
21
- collection_of_resources: collection_of_resources,
22
- collection_of_conditions: collection_of_conditions,
23
- collection_of_features: collection_of_features,
24
- collection_of_groups: collection_of_groups
19
+ action:,
20
+ incoming_arguments:,
21
+ collection_of_resources:,
22
+ collection_of_conditions:,
23
+ collection_of_features:,
24
+ collection_of_groups:
25
25
  )
26
26
 
27
27
  super && service_result.success? && service_result.all_true?
@@ -30,12 +30,12 @@ module Featury
30
30
  def _call!(context, action, **arguments)
31
31
  context.send(
32
32
  :_call!,
33
- action: action,
33
+ action:,
34
34
  incoming_arguments: arguments.symbolize_keys,
35
- collection_of_resources: collection_of_resources,
36
- collection_of_conditions: collection_of_conditions,
37
- collection_of_features: collection_of_features,
38
- collection_of_groups: collection_of_groups
35
+ collection_of_resources:,
36
+ collection_of_conditions:,
37
+ collection_of_features:,
38
+ collection_of_groups:
39
39
  )
40
40
  end
41
41
  end
@@ -20,12 +20,12 @@ module Featury
20
20
  collection_of_groups:
21
21
  )
22
22
  call!(
23
- action: action,
24
- incoming_arguments: incoming_arguments,
25
- collection_of_resources: collection_of_resources,
26
- collection_of_conditions: collection_of_conditions,
27
- collection_of_features: collection_of_features,
28
- collection_of_groups: collection_of_groups
23
+ action:,
24
+ incoming_arguments:,
25
+ collection_of_resources:,
26
+ collection_of_conditions:,
27
+ collection_of_features:,
28
+ collection_of_groups:
29
29
  )
30
30
  end
31
31
 
@@ -5,7 +5,7 @@ module Featury
5
5
  MAJOR = 1
6
6
  MINOR = 0
7
7
  PATCH = 0
8
- PRE = "rc6"
8
+ PRE = "rc8"
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join(".")
11
11
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: featury
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc6
4
+ version: 1.0.0.rc8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Sokolov
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-08-31 00:00:00.000000000 Z
10
+ date: 2025-02-19 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -19,7 +18,7 @@ dependencies:
19
18
  version: '5.1'
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
- version: '8.0'
21
+ version: '8.1'
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +28,7 @@ dependencies:
29
28
  version: '5.1'
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
- version: '8.0'
31
+ version: '8.1'
33
32
  - !ruby/object:Gem::Dependency
34
33
  name: i18n
35
34
  requirement: !ruby/object:Gem::Requirement
@@ -50,14 +49,14 @@ dependencies:
50
49
  requirements:
51
50
  - - ">="
52
51
  - !ruby/object:Gem::Version
53
- version: 2.8.0
52
+ version: 2.9.0
54
53
  type: :runtime
55
54
  prerelease: false
56
55
  version_requirements: !ruby/object:Gem::Requirement
57
56
  requirements:
58
57
  - - ">="
59
58
  - !ruby/object:Gem::Version
60
- version: 2.8.0
59
+ version: 2.9.0
61
60
  - !ruby/object:Gem::Dependency
62
61
  name: zeitwerk
63
62
  requirement: !ruby/object:Gem::Requirement
@@ -129,61 +128,19 @@ dependencies:
129
128
  - !ruby/object:Gem::Version
130
129
  version: '3.12'
131
130
  - !ruby/object:Gem::Dependency
132
- name: rubocop
131
+ name: servactory-rubocop
133
132
  requirement: !ruby/object:Gem::Requirement
134
133
  requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '1.57'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '1.57'
145
- - !ruby/object:Gem::Dependency
146
- name: rubocop-performance
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '1.19'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '1.19'
159
- - !ruby/object:Gem::Dependency
160
- name: rubocop-rake
161
- requirement: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: '0.6'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: '0.6'
173
- - !ruby/object:Gem::Dependency
174
- name: rubocop-rspec
175
- requirement: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - "~>"
134
+ - - ">="
178
135
  - !ruby/object:Gem::Version
179
- version: '2.24'
136
+ version: '0.5'
180
137
  type: :development
181
138
  prerelease: false
182
139
  version_requirements: !ruby/object:Gem::Requirement
183
140
  requirements:
184
- - - "~>"
141
+ - - ">="
185
142
  - !ruby/object:Gem::Version
186
- version: '2.24'
143
+ version: '0.5'
187
144
  description: A set of tools for building reliable services of any complexity
188
145
  email:
189
146
  - profox.rus@gmail.com
@@ -234,7 +191,6 @@ metadata:
234
191
  bug_tracker_uri: https://github.com/servactory/featury/issues
235
192
  changelog_uri: https://github.com/servactory/featury/blob/master/CHANGELOG.md
236
193
  rubygems_mfa_required: 'true'
237
- post_install_message:
238
194
  rdoc_options: []
239
195
  require_paths:
240
196
  - lib
@@ -242,15 +198,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
242
198
  requirements:
243
199
  - - ">="
244
200
  - !ruby/object:Gem::Version
245
- version: 3.0.0
201
+ version: 3.1.0
246
202
  required_rubygems_version: !ruby/object:Gem::Requirement
247
203
  requirements:
248
204
  - - ">="
249
205
  - !ruby/object:Gem::Version
250
206
  version: '0'
251
207
  requirements: []
252
- rubygems_version: 3.5.11
253
- signing_key:
208
+ rubygems_version: 3.6.2
254
209
  specification_version: 4
255
210
  summary: A set of tools for building reliable services of any complexity
256
211
  test_files: []