featury 1.0.0.rc6 → 1.0.0.rc7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1dc31fdf0161091a1e477a352c5e06629fed341c488d78e0d6153c02805623e
4
- data.tar.gz: 298efaed87cd51269f3bef4573a925924db8503865f54d2e0402a7c35ba4b283
3
+ metadata.gz: 1522d4964ade14279e3d80cd642467e9adfd97cfcb6c707338daec190c2b5c70
4
+ data.tar.gz: e79b1c3e707f71c4bd68fcca458e785a9075a1599a02b9b135f0849da29eb0a8
5
5
  SHA512:
6
- metadata.gz: ca3ed00e6e9e6f0559c2a1ddf8a962c2dc8857d135bcf5a1c4e85f95a81d6c6244c65f050523a67a3d1aec82490a69812dc1186467b0ab2eaaba3a3523467e79
7
- data.tar.gz: be517027a237226225c42d03a5ba88f0d050c93bdd82fcaf90681fb764f8602214d3381e59bf7f5531e18fde19328220d1f4e5a2257cd1911c43dbc26185d360
6
+ metadata.gz: a29e826900541ef82f730670bee43146ca0460ae0e2383ba4744fd12ce8829e42ab73ba8e6216a2357b710574bde3e56a9b7efe326c252e175cd8df6e1726007
7
+ data.tar.gz: 44ca9a9bfc65266304327fed24bd9137aec8bc1824eb0317fa0f25ca2d680c4cedc6b5cee77c0fe2ba17dfc84fbef66cedf818ff7c60c12dd0a09fc257100103
@@ -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 = "rc7"
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join(".")
11
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
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.rc7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Sokolov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-31 00:00:00.000000000 Z
11
+ date: 2024-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '8.0'
22
+ version: '8.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '8.0'
32
+ version: '8.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: i18n
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: 2.8.0
53
+ version: 2.9.0
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 2.8.0
60
+ version: 2.9.0
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: zeitwerk
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -129,61 +129,19 @@ dependencies:
129
129
  - !ruby/object:Gem::Version
130
130
  version: '3.12'
131
131
  - !ruby/object:Gem::Dependency
132
- name: rubocop
132
+ name: servactory-rubocop
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  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
- - - "~>"
135
+ - - ">="
178
136
  - !ruby/object:Gem::Version
179
- version: '2.24'
137
+ version: '0.5'
180
138
  type: :development
181
139
  prerelease: false
182
140
  version_requirements: !ruby/object:Gem::Requirement
183
141
  requirements:
184
- - - "~>"
142
+ - - ">="
185
143
  - !ruby/object:Gem::Version
186
- version: '2.24'
144
+ version: '0.5'
187
145
  description: A set of tools for building reliable services of any complexity
188
146
  email:
189
147
  - profox.rus@gmail.com
@@ -242,14 +200,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
242
200
  requirements:
243
201
  - - ">="
244
202
  - !ruby/object:Gem::Version
245
- version: 3.0.0
203
+ version: 3.1.0
246
204
  required_rubygems_version: !ruby/object:Gem::Requirement
247
205
  requirements:
248
206
  - - ">="
249
207
  - !ruby/object:Gem::Version
250
208
  version: '0'
251
209
  requirements: []
252
- rubygems_version: 3.5.11
210
+ rubygems_version: 3.5.22
253
211
  signing_key:
254
212
  specification_version: 4
255
213
  summary: A set of tools for building reliable services of any complexity