rake_factory 0.32.0.pre.5 → 0.32.0.pre.6

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: 4f5c6eefd629a6d222fdafe8e3fcbaf8521b5aa2e9ba8ac3ae9349018e487b50
4
- data.tar.gz: 3f7d15291b7aef69d4826e04170a85a1bac27a0259c15352082ca914a486a186
3
+ metadata.gz: 77b72bdf59bf5b2ba94179389830ab228135dfc1822fe7ab12984491275032c1
4
+ data.tar.gz: b6f44fc69cb35859633416ec7b6b670b8f7ad291d244749bc51bf918fcd67596
5
5
  SHA512:
6
- metadata.gz: a01a70b09e35d58448daf658cb2223e004459357c9a81a478b215a66d7d00b74c17f29e97fac494017f6f166bb242c4e28d8749e2ba3271279db582a34e31b9e
7
- data.tar.gz: 3e8e56d645703f4d6a19b91be4480096be0f0c008f41242c8b3a8dd55def56052339a687393e0d356c200dc9f55013b958d9adeea583a12559d47dbf98b4003f
6
+ metadata.gz: 5282485fff9aebfd9ea29fb0913665a2c3ad4c4cffc5ced191e5c4d74240e4f69dd29244dc59d1c83857dbc42141b87e54ae2422f7ddc9ca98d1daa5c6dbf0af
7
+ data.tar.gz: d8896057759f3cce030d7bb64baa82a0c4503c81a7888f82b6759d918ce8b42a65565f4cee487b2108c8b19bd5080fb8cd02c6af7a63730a444021524abf06f4
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_factory (0.32.0.pre.5)
4
+ rake_factory (0.32.0.pre.6)
5
5
  activesupport (>= 4)
6
6
  rake (~> 13.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.1.1)
11
+ activesupport (7.1.3.4)
12
12
  base64
13
13
  bigdecimal
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -18,67 +18,72 @@ GEM
18
18
  minitest (>= 5.1)
19
19
  mutex_m
20
20
  tzinfo (~> 2.0)
21
- addressable (2.8.5)
22
- public_suffix (>= 2.0.2, < 6.0)
21
+ addressable (2.8.7)
22
+ public_suffix (>= 2.0.2, < 7.0)
23
23
  ast (2.4.2)
24
- base64 (0.1.1)
25
- bigdecimal (3.1.4)
24
+ base64 (0.2.0)
25
+ bigdecimal (3.1.8)
26
+ childprocess (5.0.0)
26
27
  colored2 (3.1.2)
27
- concurrent-ruby (1.2.2)
28
+ concurrent-ruby (1.3.3)
28
29
  connection_pool (2.4.1)
29
- diff-lcs (1.5.0)
30
+ diff-lcs (1.5.1)
30
31
  docile (1.4.0)
31
- drb (2.1.1)
32
- ruby2_keywords
33
- excon (0.104.0)
32
+ drb (2.2.1)
33
+ excon (0.111.0)
34
34
  fakefs (2.5.0)
35
- faraday (2.7.11)
36
- base64
37
- faraday-net_http (>= 2.0, < 3.1)
38
- ruby2_keywords (>= 0.0.4)
39
- faraday-net_http (3.0.2)
35
+ faraday (2.10.0)
36
+ faraday-net_http (>= 2.0, < 3.2)
37
+ logger
38
+ faraday-net_http (3.1.0)
39
+ net-http
40
40
  gem-release (2.2.2)
41
- git (1.18.0)
41
+ git (1.19.1)
42
42
  addressable (~> 2.8)
43
43
  rchardet (~> 1.8)
44
44
  hamster (3.0.0)
45
45
  concurrent-ruby (~> 1.0)
46
- i18n (1.14.1)
46
+ i18n (1.14.5)
47
47
  concurrent-ruby (~> 1.0)
48
48
  immutable-struct (2.4.1)
49
- json (2.6.3)
49
+ json (2.7.2)
50
50
  language_server-protocol (3.17.0.3)
51
- lino (3.1.0)
51
+ lino (4.1.0)
52
+ childprocess (~> 5.0.0)
52
53
  hamster (~> 3.0)
53
54
  open4 (~> 1.3)
54
- minitest (5.20.0)
55
- mutex_m (0.1.2)
56
- octokit (8.0.0)
55
+ logger (1.6.0)
56
+ minitest (5.24.1)
57
+ mutex_m (0.2.0)
58
+ net-http (0.4.1)
59
+ uri
60
+ octokit (8.1.0)
61
+ base64
57
62
  faraday (>= 1, < 3)
58
63
  sawyer (~> 0.9)
59
64
  open4 (1.3.4)
60
- parallel (1.23.0)
61
- parser (3.2.2.4)
65
+ parallel (1.25.1)
66
+ parser (3.3.4.0)
62
67
  ast (~> 2.4.1)
63
68
  racc
64
- public_suffix (5.0.3)
65
- racc (1.7.3)
69
+ public_suffix (6.0.0)
70
+ racc (1.8.0)
66
71
  rainbow (3.1.1)
67
- rake (13.1.0)
72
+ rake (13.2.1)
68
73
  rake_circle_ci (0.11.0)
69
74
  colored2 (~> 3.1)
70
75
  excon (~> 0.72)
71
76
  rake_factory (~> 0.23)
72
77
  sshkey (~> 2.0)
73
- rake_git (0.1.0.pre.9)
78
+ rake_git (0.1.0.pre.11)
74
79
  colored2 (~> 3.1)
75
80
  git (~> 1.13, >= 1.13.2)
76
- rake_factory (= 0.32.0.pre.2)
77
- rake_git_crypt (0.1.0.pre.28)
81
+ rake_factory (>= 0.32.0.pre.2)
82
+ rake_git_crypt (0.1.0.pre.33)
78
83
  colored2 (~> 3.1)
79
- rake_factory (= 0.32.0.pre.2)
80
- ruby_git_crypt (= 0.1.0.pre.2)
81
- ruby_gpg2 (~> 0.6)
84
+ rake_factory (>= 0.32.0.pre.2)
85
+ ruby_git_crypt (>= 0.1.0.pre.8)
86
+ ruby_gpg2 (>= 0.11.0.pre.6)
82
87
  rake_github (0.13.0)
83
88
  colored2 (~> 3.1)
84
89
  octokit (>= 4.16, < 9.0)
@@ -92,51 +97,45 @@ GEM
92
97
  rake_factory (~> 0.23)
93
98
  sshkey (~> 2.0)
94
99
  rchardet (1.8.0)
95
- regexp_parser (2.8.2)
96
- rexml (3.2.6)
97
- rspec (3.12.0)
98
- rspec-core (~> 3.12.0)
99
- rspec-expectations (~> 3.12.0)
100
- rspec-mocks (~> 3.12.0)
101
- rspec-core (3.12.2)
102
- rspec-support (~> 3.12.0)
103
- rspec-expectations (3.12.3)
100
+ regexp_parser (2.9.2)
101
+ rexml (3.3.2)
102
+ strscan
103
+ rspec (3.13.0)
104
+ rspec-core (~> 3.13.0)
105
+ rspec-expectations (~> 3.13.0)
106
+ rspec-mocks (~> 3.13.0)
107
+ rspec-core (3.13.0)
108
+ rspec-support (~> 3.13.0)
109
+ rspec-expectations (3.13.1)
104
110
  diff-lcs (>= 1.2.0, < 2.0)
105
- rspec-support (~> 3.12.0)
106
- rspec-mocks (3.12.6)
111
+ rspec-support (~> 3.13.0)
112
+ rspec-mocks (3.13.1)
107
113
  diff-lcs (>= 1.2.0, < 2.0)
108
- rspec-support (~> 3.12.0)
109
- rspec-support (3.12.1)
110
- rubocop (1.57.2)
114
+ rspec-support (~> 3.13.0)
115
+ rspec-support (3.13.1)
116
+ rubocop (1.65.0)
111
117
  json (~> 2.3)
112
118
  language_server-protocol (>= 3.17.0)
113
119
  parallel (~> 1.10)
114
- parser (>= 3.2.2.4)
120
+ parser (>= 3.3.0.2)
115
121
  rainbow (>= 2.2.2, < 4.0)
116
- regexp_parser (>= 1.8, < 3.0)
122
+ regexp_parser (>= 2.4, < 3.0)
117
123
  rexml (>= 3.2.5, < 4.0)
118
- rubocop-ast (>= 1.28.1, < 2.0)
124
+ rubocop-ast (>= 1.31.1, < 2.0)
119
125
  ruby-progressbar (~> 1.7)
120
126
  unicode-display_width (>= 2.4.0, < 3.0)
121
- rubocop-ast (1.30.0)
122
- parser (>= 3.2.1.0)
123
- rubocop-capybara (2.19.0)
124
- rubocop (~> 1.41)
125
- rubocop-factory_bot (2.24.0)
126
- rubocop (~> 1.33)
127
+ rubocop-ast (1.31.3)
128
+ parser (>= 3.3.1.0)
127
129
  rubocop-rake (0.6.0)
128
130
  rubocop (~> 1.0)
129
- rubocop-rspec (2.25.0)
130
- rubocop (~> 1.40)
131
- rubocop-capybara (~> 2.17)
132
- rubocop-factory_bot (~> 2.22)
131
+ rubocop-rspec (3.0.3)
132
+ rubocop (~> 1.61)
133
133
  ruby-progressbar (1.13.0)
134
- ruby2_keywords (0.0.5)
135
- ruby_git_crypt (0.1.0.pre.2)
134
+ ruby_git_crypt (0.1.0)
136
135
  immutable-struct (~> 2.4)
137
- lino (~> 3.0)
138
- ruby_gpg2 (0.10.0)
139
- lino (~> 3.0)
136
+ lino (>= 4.1)
137
+ ruby_gpg2 (0.12.0)
138
+ lino (>= 4.1)
140
139
  sawyer (0.9.2)
141
140
  addressable (>= 2.3.5)
142
141
  faraday (>= 0.17.3, < 3)
@@ -147,9 +146,11 @@ GEM
147
146
  simplecov-html (0.12.3)
148
147
  simplecov_json_formatter (0.1.4)
149
148
  sshkey (2.0.0)
149
+ strscan (3.1.0)
150
150
  tzinfo (2.0.6)
151
151
  concurrent-ruby (~> 1.0)
152
152
  unicode-display_width (2.5.0)
153
+ uri (0.13.0)
153
154
 
154
155
  PLATFORMS
155
156
  arm64-darwin-21
@@ -2,9 +2,9 @@
2
2
 
3
3
  module RakeFactory
4
4
  module Arguments
5
- def initialize(*args, &configuration_block)
5
+ def initialize(*args, &)
6
6
  arity = method(:initialize).super_method.arity
7
- super(*args.slice(0, arity), &configuration_block)
7
+ super(*args.slice(0, arity), &)
8
8
  process_arguments(args)
9
9
  end
10
10
 
@@ -15,7 +15,7 @@ module RakeFactory
15
15
  include Parameters
16
16
 
17
17
  def inherited(inheritor)
18
- super(inheritor)
18
+ super
19
19
  inheritor.class_eval do
20
20
  name_parameter
21
21
  argument_names_parameter
@@ -3,7 +3,7 @@
3
3
  module RakeFactory
4
4
  module Definable
5
5
  def inherited(inheritor)
6
- super(inheritor)
6
+ super
7
7
  inheritor.singleton_class.class_eval do
8
8
  define_method :define do |*args, &block|
9
9
  inheritor.new(*args, &block).define_on(Rake.application)
@@ -3,8 +3,8 @@
3
3
  require_relative 'values'
4
4
 
5
5
  module Kernel
6
- def dynamic(&block)
7
- RakeFactory::DynamicValue.new(&block)
6
+ def dynamic(&)
7
+ RakeFactory::DynamicValue.new(&)
8
8
  end
9
9
 
10
10
  def static(value)
@@ -4,7 +4,7 @@ module RakeFactory
4
4
  module Namespaceable
5
5
  # rubocop:disable Metrics/MethodLength
6
6
  def self.prepended(base)
7
- super(base)
7
+ super
8
8
  base.class_eval do
9
9
  parameter(:namespace, transform: lambda { |name|
10
10
  name = name.to_s if name.is_a?(Symbol)
@@ -25,7 +25,7 @@ module RakeFactory
25
25
  super(application)
26
26
  end
27
27
  else
28
- super(application)
28
+ super
29
29
  end
30
30
  end
31
31
  end
@@ -19,8 +19,8 @@ module RakeFactory
19
19
  @parameter_set[name.to_sym]
20
20
  end
21
21
 
22
- def each(&block)
23
- @parameter_set.values.each(&block)
22
+ def each(&)
23
+ @parameter_set.values.each(&)
24
24
  end
25
25
 
26
26
  def update_default_for(name, value)
@@ -8,9 +8,9 @@ module RakeFactory
8
8
  base.extend(ClassMethods)
9
9
  end
10
10
 
11
- def initialize(*args, &configuration_block)
11
+ def initialize(*args, &)
12
12
  arity = method(:initialize).super_method.arity
13
- super(*args.slice(0, arity), &configuration_block)
13
+ super(*args.slice(0, arity), &)
14
14
  setup_parameter_defaults
15
15
  end
16
16
 
@@ -30,11 +30,11 @@ module RakeFactory
30
30
  self
31
31
  end
32
32
 
33
- def method_missing(method, *args, &block)
33
+ def method_missing(method, ...)
34
34
  if @task.respond_to?(method)
35
- @task.send(method, *args, &block)
35
+ @task.send(method, ...)
36
36
  else
37
- super(method, *args, &block)
37
+ super
38
38
  end
39
39
  end
40
40
 
@@ -20,8 +20,8 @@ module RakeFactory
20
20
  @tasks ||= []
21
21
  end
22
22
 
23
- def task(klass, *args, &block)
24
- tasks << TaskSpecification.new(klass, args, &block)
23
+ def task(klass, *args, &)
24
+ tasks << TaskSpecification.new(klass, args, &)
25
25
  end
26
26
  end
27
27
 
@@ -12,8 +12,8 @@ module RakeFactory
12
12
  end
13
13
 
14
14
  module FactoryMethods
15
- def dynamic(&block)
16
- DynamicValue.new(&block)
15
+ def dynamic(&)
16
+ DynamicValue.new(&)
17
17
  end
18
18
 
19
19
  def static(value)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RakeFactory
4
- VERSION = '0.32.0.pre.5'
4
+ VERSION = '0.32.0.pre.6'
5
5
  end
data/rake_factory.gemspec CHANGED
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
37
  spec.require_paths = ['lib']
38
38
 
39
- spec.required_ruby_version = '>= 2.7'
39
+ spec.required_ruby_version = '>= 3.1'
40
40
 
41
41
  spec.add_dependency 'activesupport', '>= 4'
42
42
  spec.add_dependency 'rake', '~> 13.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0.pre.5
4
+ version: 0.32.0.pre.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-06 00:00:00.000000000 Z
11
+ date: 2024-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -295,14 +295,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
295
295
  requirements:
296
296
  - - ">="
297
297
  - !ruby/object:Gem::Version
298
- version: '2.7'
298
+ version: '3.1'
299
299
  required_rubygems_version: !ruby/object:Gem::Requirement
300
300
  requirements:
301
301
  - - ">"
302
302
  - !ruby/object:Gem::Version
303
303
  version: 1.3.1
304
304
  requirements: []
305
- rubygems_version: 3.1.6
305
+ rubygems_version: 3.3.7
306
306
  signing_key:
307
307
  specification_version: 4
308
308
  summary: Base classes and modules to aid in creating custom rake tasks.