rake_dependencies 3.6.0.pre.1 → 3.6.0.pre.2

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: 0c8077b1463e18280dad42b566e2a1ba20198f361f5f2fbbf01ba1347f1aa356
4
- data.tar.gz: c01a53a26bef4ad47f0c8fe01e3d5178a7e22b282be324ab8e20259e505164f2
3
+ metadata.gz: b44034696939a64baf4629c940215ed7978057132b69131e22b0546d6f405c1d
4
+ data.tar.gz: cf13c2a76d252a5b0f7588409ff404d88a7b9f89e92de8b3795cd548fde1d3c2
5
5
  SHA512:
6
- metadata.gz: 8a22abe8d740ff0e3e4a5b4a66255e6b36abf696e504c336afc3edf9c7522d32262f10617d39bca3ab92b152d88f4e6c6f3264999c7b6dee5f548146ad04df19
7
- data.tar.gz: 5f28e669709ee5409ffe334a2e2d44dfa62fab30bcb29ed0319bb4b4721bb2f80c71311f3dc2b235d6021ae6415e99ca3fcd117942772d42a5445b786c08d81f
6
+ metadata.gz: 57d4d073c1b2243ea7a333eb1f8371473f9cfd3c0d410a95b7e6c51ca9082a2231c6c63d3f42730f06288fd6b6718ab535a9687ea27bba82297016f5cc249e8a
7
+ data.tar.gz: 1c3831a682efb370e077ae547a7bba183affc39692b3ec084649581aaf198c8557bd4af413c296ad60b2b3030e537f111e4a3801f0cb55e8490c50bd71f054bb
data/CODE_OF_CONDUCT.md CHANGED
@@ -5,9 +5,9 @@
5
5
  In the interest of fostering an open and welcoming environment, we as
6
6
  contributors and maintainers pledge to making participation in our project and
7
7
  our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
8
+ size, disability, ethnicity, gender identity and expression, level of
9
+ experience, nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
11
 
12
12
  ## Our Standards
13
13
 
@@ -23,7 +23,7 @@ include:
23
23
  Examples of unacceptable behavior by participants include:
24
24
 
25
25
  * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
26
+ advances
27
27
  * Trolling, insulting/derogatory comments, and personal or political attacks
28
28
  * Public or private harassment
29
29
  * Publishing others' private information, such as a physical or electronic
@@ -37,11 +37,11 @@ Project maintainers are responsible for clarifying the standards of acceptable
37
37
  behavior and are expected to take appropriate and fair corrective action in
38
38
  response to any instances of unacceptable behavior.
39
39
 
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
40
+ Project maintainers have the right and responsibility to remove, edit, or reject
41
+ comments, commits, code, wiki edits, issues, and other contributions that are
42
+ not aligned to this Code of Conduct, or to ban temporarily or permanently any
43
+ contributor for other behaviors that they deem inappropriate, threatening,
44
+ offensive, or harmful.
45
45
 
46
46
  ## Scope
47
47
 
@@ -58,8 +58,9 @@ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
58
  reported by contacting the project team at maintainers@infrablocks.io. All
59
59
  complaints will be reviewed and investigated and will result in a response that
60
60
  is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
61
+ obligated to maintain confidentiality with regard to the reporter of an
62
+ incident. Further details of specific enforcement policies may be posted
63
+ separately.
63
64
 
64
65
  Project maintainers who do not follow or enforce the Code of Conduct in good
65
66
  faith may face temporary or permanent repercussions as determined by other
@@ -67,8 +68,9 @@ members of the project's leadership.
67
68
 
68
69
  ## Attribution
69
70
 
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
71
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
72
+ version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
72
73
 
73
74
  [homepage]: http://contributor-covenant.org
75
+
74
76
  [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_dependencies (3.6.0.pre.1)
4
+ rake_dependencies (3.6.0.pre.2)
5
5
  down (~> 5.3)
6
6
  hamster (~> 3.0)
7
7
  minitar (~> 0.9)
@@ -11,55 +11,83 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (7.0.4)
14
+ activesupport (7.1.1)
15
+ base64
16
+ bigdecimal
15
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ connection_pool (>= 2.2.5)
19
+ drb
16
20
  i18n (>= 1.6, < 2)
17
21
  minitest (>= 5.1)
22
+ mutex_m
18
23
  tzinfo (~> 2.0)
19
- addressable (2.8.1)
24
+ addressable (2.8.5)
20
25
  public_suffix (>= 2.0.2, < 6.0)
21
26
  ast (2.4.2)
27
+ base64 (0.1.1)
28
+ bigdecimal (3.1.4)
22
29
  colored2 (3.1.2)
23
- concurrent-ruby (1.1.10)
30
+ concurrent-ruby (1.2.2)
31
+ connection_pool (2.4.1)
24
32
  diff-lcs (1.5.0)
25
33
  docile (1.4.0)
26
- down (5.4.0)
34
+ down (5.4.1)
27
35
  addressable (~> 2.8)
28
- excon (0.95.0)
29
- fakefs (1.9.0)
30
- faraday (2.7.2)
36
+ drb (2.1.1)
37
+ ruby2_keywords
38
+ excon (0.104.0)
39
+ fakefs (2.5.0)
40
+ faraday (2.7.11)
41
+ base64
31
42
  faraday-net_http (>= 2.0, < 3.1)
32
43
  ruby2_keywords (>= 0.0.4)
33
44
  faraday-net_http (3.0.2)
34
45
  gem-release (2.2.2)
46
+ git (1.18.0)
47
+ addressable (~> 2.8)
48
+ rchardet (~> 1.8)
35
49
  hamster (3.0.0)
36
50
  concurrent-ruby (~> 1.0)
37
- i18n (1.12.0)
51
+ i18n (1.14.1)
38
52
  concurrent-ruby (~> 1.0)
53
+ immutable-struct (2.4.1)
39
54
  json (2.6.3)
55
+ language_server-protocol (3.17.0.3)
40
56
  lino (3.1.0)
41
57
  hamster (~> 3.0)
42
58
  open4 (~> 1.3)
43
59
  minitar (0.9)
44
- minitest (5.17.0)
45
- octokit (6.0.1)
60
+ minitest (5.20.0)
61
+ mutex_m (0.1.2)
62
+ octokit (6.1.1)
46
63
  faraday (>= 1, < 3)
47
64
  sawyer (~> 0.9)
48
65
  open4 (1.3.4)
49
- parallel (1.22.1)
50
- parser (3.1.3.0)
66
+ parallel (1.23.0)
67
+ parser (3.2.2.4)
51
68
  ast (~> 2.4.1)
52
- public_suffix (5.0.1)
69
+ racc
70
+ public_suffix (5.0.3)
71
+ racc (1.7.1)
53
72
  rainbow (3.1.1)
54
- rake (13.0.6)
73
+ rake (13.1.0)
55
74
  rake_circle_ci (0.11.0)
56
75
  colored2 (~> 3.1)
57
76
  excon (~> 0.72)
58
77
  rake_factory (~> 0.23)
59
78
  sshkey (~> 2.0)
60
- rake_factory (0.31.0)
79
+ rake_factory (0.32.0.pre.2)
61
80
  activesupport (>= 4)
62
81
  rake (~> 13.0)
82
+ rake_git (0.1.0.pre.7)
83
+ colored2 (~> 3.1)
84
+ git (~> 1.13, >= 1.13.2)
85
+ rake_factory (= 0.32.0.pre.2)
86
+ rake_git_crypt (0.1.0.pre.26)
87
+ colored2 (~> 3.1)
88
+ rake_factory (= 0.32.0.pre.2)
89
+ ruby_git_crypt (= 0.1.0.pre.2)
90
+ ruby_gpg2 (~> 0.6)
63
91
  rake_github (0.11.0)
64
92
  colored2 (~> 3.1)
65
93
  octokit (>= 4.16, < 7.0)
@@ -68,43 +96,54 @@ GEM
68
96
  rake_gpg (0.18.0)
69
97
  rake_factory (~> 0.23)
70
98
  ruby_gpg2 (~> 0.6)
71
- rake_ssh (0.8.0)
99
+ rake_ssh (0.10.0)
72
100
  colored2 (~> 3.1)
73
101
  rake_factory (~> 0.23)
74
102
  sshkey (~> 2.0)
75
- regexp_parser (2.6.1)
76
- rexml (3.2.5)
103
+ rchardet (1.8.0)
104
+ regexp_parser (2.8.2)
105
+ rexml (3.2.6)
77
106
  rspec (3.12.0)
78
107
  rspec-core (~> 3.12.0)
79
108
  rspec-expectations (~> 3.12.0)
80
109
  rspec-mocks (~> 3.12.0)
81
- rspec-core (3.12.0)
110
+ rspec-core (3.12.2)
82
111
  rspec-support (~> 3.12.0)
83
- rspec-expectations (3.12.1)
112
+ rspec-expectations (3.12.3)
84
113
  diff-lcs (>= 1.2.0, < 2.0)
85
114
  rspec-support (~> 3.12.0)
86
- rspec-mocks (3.12.1)
115
+ rspec-mocks (3.12.6)
87
116
  diff-lcs (>= 1.2.0, < 2.0)
88
117
  rspec-support (~> 3.12.0)
89
- rspec-support (3.12.0)
90
- rubocop (1.42.0)
118
+ rspec-support (3.12.1)
119
+ rubocop (1.57.2)
91
120
  json (~> 2.3)
121
+ language_server-protocol (>= 3.17.0)
92
122
  parallel (~> 1.10)
93
- parser (>= 3.1.2.1)
123
+ parser (>= 3.2.2.4)
94
124
  rainbow (>= 2.2.2, < 4.0)
95
125
  regexp_parser (>= 1.8, < 3.0)
96
126
  rexml (>= 3.2.5, < 4.0)
97
- rubocop-ast (>= 1.24.1, < 2.0)
127
+ rubocop-ast (>= 1.28.1, < 2.0)
98
128
  ruby-progressbar (~> 1.7)
99
- unicode-display_width (>= 1.4.0, < 3.0)
100
- rubocop-ast (1.24.1)
101
- parser (>= 3.1.1.0)
129
+ unicode-display_width (>= 2.4.0, < 3.0)
130
+ rubocop-ast (1.30.0)
131
+ parser (>= 3.2.1.0)
132
+ rubocop-capybara (2.19.0)
133
+ rubocop (~> 1.41)
134
+ rubocop-factory_bot (2.24.0)
135
+ rubocop (~> 1.33)
102
136
  rubocop-rake (0.6.0)
103
137
  rubocop (~> 1.0)
104
- rubocop-rspec (2.16.0)
105
- rubocop (~> 1.33)
106
- ruby-progressbar (1.11.0)
138
+ rubocop-rspec (2.25.0)
139
+ rubocop (~> 1.40)
140
+ rubocop-capybara (~> 2.17)
141
+ rubocop-factory_bot (~> 2.22)
142
+ ruby-progressbar (1.13.0)
107
143
  ruby2_keywords (0.0.5)
144
+ ruby_git_crypt (0.1.0.pre.2)
145
+ immutable-struct (~> 2.4)
146
+ lino (~> 3.0)
108
147
  ruby_gpg2 (0.10.0)
109
148
  lino (~> 3.0)
110
149
  rubyzip (2.3.2)
@@ -118,9 +157,9 @@ GEM
118
157
  simplecov-html (0.12.3)
119
158
  simplecov_json_formatter (0.1.4)
120
159
  sshkey (2.0.0)
121
- tzinfo (2.0.5)
160
+ tzinfo (2.0.6)
122
161
  concurrent-ruby (~> 1.0)
123
- unicode-display_width (2.3.0)
162
+ unicode-display_width (2.5.0)
124
163
 
125
164
  PLATFORMS
126
165
  ruby
@@ -133,6 +172,8 @@ DEPENDENCIES
133
172
  rake
134
173
  rake_circle_ci
135
174
  rake_dependencies!
175
+ rake_git
176
+ rake_git_crypt
136
177
  rake_github
137
178
  rake_gpg
138
179
  rake_ssh
@@ -143,4 +184,4 @@ DEPENDENCIES
143
184
  simplecov
144
185
 
145
186
  BUNDLED WITH
146
- 2.4.2
187
+ 2.4.17
data/Rakefile CHANGED
@@ -1,26 +1,59 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'yaml'
4
3
  require 'rake_circle_ci'
4
+ require 'rake_git'
5
+ require 'rake_git_crypt'
5
6
  require 'rake_github'
6
- require 'rake_ssh'
7
7
  require 'rake_gpg'
8
- require 'securerandom'
8
+ require 'rake_ssh'
9
9
  require 'rspec/core/rake_task'
10
10
  require 'rubocop/rake_task'
11
+ require 'securerandom'
12
+ require 'yaml'
11
13
 
12
14
  task default: %i[
13
15
  library:fix
14
16
  test:unit
15
17
  ]
16
18
 
19
+ RakeGitCrypt.define_standard_tasks(
20
+ namespace: :git_crypt,
21
+
22
+ provision_secrets_task_name: :'secrets:provision',
23
+ destroy_secrets_task_name: :'secrets:destroy',
24
+
25
+ install_commit_task_name: :'git:commit',
26
+ uninstall_commit_task_name: :'git:commit',
27
+
28
+ gpg_user_key_paths: %w[
29
+ config/gpg
30
+ config/secrets/ci/gpg.public
31
+ ]
32
+ )
33
+
34
+ namespace :git do
35
+ RakeGit.define_commit_task(
36
+ argument_names: [:message]
37
+ ) do |t, args|
38
+ t.message = args.message
39
+ end
40
+ end
41
+
17
42
  namespace :encryption do
43
+ namespace :directory do
44
+ desc 'Ensure CI secrets directory exists.'
45
+ task :ensure do
46
+ FileUtils.mkdir_p('config/secrets/ci')
47
+ end
48
+ end
49
+
18
50
  namespace :passphrase do
19
51
  desc 'Generate encryption passphrase for CI GPG key'
20
- task :generate do
21
- FileUtils.mkdir_p('config/secrets/ci/')
22
- File.write('config/secrets/ci/encryption.passphrase',
23
- SecureRandom.base64(36))
52
+ task generate: ['directory:ensure'] do
53
+ File.write(
54
+ 'config/secrets/ci/encryption.passphrase',
55
+ SecureRandom.base64(36)
56
+ )
24
57
  end
25
58
  end
26
59
  end
@@ -44,6 +77,36 @@ namespace :keys do
44
77
  end
45
78
  end
46
79
 
80
+ namespace :secrets do
81
+ namespace :directory do
82
+ desc 'Ensure secrets directory exists and is set up correctly'
83
+ task :ensure do
84
+ FileUtils.mkdir_p('config/secrets')
85
+ unless File.exist?('config/secrets/.unlocked')
86
+ File.write('config/secrets/.unlocked', 'true')
87
+ end
88
+ end
89
+ end
90
+
91
+ desc 'Generate all generatable secrets.'
92
+ task generate: %w[
93
+ encryption:passphrase:generate
94
+ keys:deploy:generate
95
+ keys:gpg:generate
96
+ ]
97
+
98
+ desc 'Provision all secrets.'
99
+ task provision: [:generate]
100
+
101
+ desc 'Delete all secrets.'
102
+ task :destroy do
103
+ rm_rf 'config/secrets'
104
+ end
105
+
106
+ desc 'Rotate all secrets.'
107
+ task rotate: [:'git_crypt:reinstall']
108
+ end
109
+
47
110
  RuboCop::RakeTask.new
48
111
 
49
112
  namespace :library do
@@ -101,7 +164,6 @@ end
101
164
  namespace :pipeline do
102
165
  desc 'Prepare CircleCI Pipeline'
103
166
  task prepare: %i[
104
- circle_ci:project:follow
105
167
  circle_ci:env_vars:ensure
106
168
  circle_ci:checkout_keys:ensure
107
169
  circle_ci:ssh_keys:ensure
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RakeDependencies
4
- # rubocop:disable Naming/VariableNumber
5
4
  module PlatformNames
6
5
  CPU = {
7
6
  x86_64: 'amd64',
@@ -17,5 +16,4 @@ module RakeDependencies
17
16
  mswin64: 'windows'
18
17
  }.freeze
19
18
  end
20
- # rubocop:enable Naming/VariableNumber
21
19
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RakeDependencies
4
- VERSION = '3.6.0.pre.1'
4
+ VERSION = '3.6.0.pre.2'
5
5
  end
@@ -48,6 +48,8 @@ Gem::Specification.new do |spec|
48
48
  spec.add_development_dependency 'gem-release'
49
49
  spec.add_development_dependency 'rake'
50
50
  spec.add_development_dependency 'rake_circle_ci'
51
+ spec.add_development_dependency 'rake_git'
52
+ spec.add_development_dependency 'rake_git_crypt'
51
53
  spec.add_development_dependency 'rake_github'
52
54
  spec.add_development_dependency 'rake_gpg'
53
55
  spec.add_development_dependency 'rake_ssh'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_dependencies
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.0.pre.1
4
+ version: 3.6.0.pre.2
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-01-02 00:00:00.000000000 Z
11
+ date: 2023-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: down
@@ -164,6 +164,34 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rake_git
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rake_git_crypt
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
167
195
  - !ruby/object:Gem::Dependency
168
196
  name: rake_github
169
197
  requirement: !ruby/object:Gem::Requirement