rake_leiningen 0.37.0.pre.1 → 0.37.0.pre.3

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: be36565fcdec665ac2fd28827d15cfd16e120dcab7284b66c1cac819dbfbb917
4
- data.tar.gz: ff0190ec34381947e37307701065aee05b8547832d7a0f9caacc885aa2b661e7
3
+ metadata.gz: 2d784b687995256877f745ef9427f37a8a1adc6607cc1437eceaff2782da31b9
4
+ data.tar.gz: 5a941bf63196cae0b27910585fb925fd7cf45c0cccfffd9cbd3642f7b07f5bf9
5
5
  SHA512:
6
- metadata.gz: f9bacea9d205fc5240ea7f06f618dd642fb7485bf987456835478efa8ff17aa29d4072daba2cee93886430697991e678ed3f21f8cdd86193188b0261f680948e
7
- data.tar.gz: 73dbe09c444f5ea4ae96b0e5860b7479b6f7e4d3ab16f1613d7a2e249463f7627d40ab7ef7dbc28e8e754879b491b98921d089aae437feeeee3709a2c8bf3350
6
+ metadata.gz: 4d5242eeeff9576343b4d416a28f562ba3e217262723f10c8f7a1121046039536938555921ecb1bf873a0d9569e5cae1af082b804c26d518beb30680af62b6f9
7
+ data.tar.gz: 6e8d340d033e6a0442542eb86641e4f739d1b3f0dce8e91f4971f3cb2c5e916f46558df2cede2a4ae17f1d774d850f50ffde7d8d99dceeadd8625dfb84f715b2
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_leiningen (0.37.0.pre.1)
4
+ rake_leiningen (0.37.0.pre.3)
5
5
  rake_dependencies (~> 3.1)
6
6
  rake_factory (~> 0.23)
7
7
  ruby_leiningen (= 0.27.0)
@@ -10,47 +10,66 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (7.0.4)
13
+ activesupport (7.1.1)
14
+ base64
15
+ bigdecimal
14
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ connection_pool (>= 2.2.5)
18
+ drb
15
19
  i18n (>= 1.6, < 2)
16
20
  minitest (>= 5.1)
21
+ mutex_m
17
22
  tzinfo (~> 2.0)
18
- addressable (2.8.1)
23
+ addressable (2.8.5)
19
24
  public_suffix (>= 2.0.2, < 6.0)
20
25
  ast (2.4.2)
26
+ base64 (0.1.1)
27
+ bigdecimal (3.1.4)
21
28
  colored2 (3.1.2)
22
- concurrent-ruby (1.1.10)
29
+ concurrent-ruby (1.2.2)
30
+ connection_pool (2.4.1)
23
31
  diff-lcs (1.5.0)
24
32
  docile (1.4.0)
25
- down (5.4.0)
33
+ down (5.4.1)
26
34
  addressable (~> 2.8)
27
- excon (0.95.0)
28
- fakefs (1.9.0)
29
- faraday (2.7.2)
35
+ drb (2.1.1)
36
+ ruby2_keywords
37
+ excon (0.104.0)
38
+ fakefs (2.5.0)
39
+ faraday (2.7.11)
40
+ base64
30
41
  faraday-net_http (>= 2.0, < 3.1)
31
42
  ruby2_keywords (>= 0.0.4)
32
43
  faraday-net_http (3.0.2)
33
44
  gem-release (2.2.2)
45
+ git (1.18.0)
46
+ addressable (~> 2.8)
47
+ rchardet (~> 1.8)
34
48
  hamster (3.0.0)
35
49
  concurrent-ruby (~> 1.0)
36
- i18n (1.12.0)
50
+ i18n (1.14.1)
37
51
  concurrent-ruby (~> 1.0)
52
+ immutable-struct (2.4.1)
38
53
  json (2.6.3)
54
+ language_server-protocol (3.17.0.3)
39
55
  lino (3.1.0)
40
56
  hamster (~> 3.0)
41
57
  open4 (~> 1.3)
42
58
  minitar (0.9)
43
- minitest (5.17.0)
44
- octokit (6.0.1)
59
+ minitest (5.20.0)
60
+ mutex_m (0.1.2)
61
+ octokit (6.1.1)
45
62
  faraday (>= 1, < 3)
46
63
  sawyer (~> 0.9)
47
64
  open4 (1.3.4)
48
- parallel (1.22.1)
49
- parser (3.1.3.0)
65
+ parallel (1.23.0)
66
+ parser (3.2.2.4)
50
67
  ast (~> 2.4.1)
51
- public_suffix (5.0.1)
68
+ racc
69
+ public_suffix (5.0.3)
70
+ racc (1.7.1)
52
71
  rainbow (3.1.1)
53
- rake (13.0.6)
72
+ rake (13.1.0)
54
73
  rake_circle_ci (0.11.0)
55
74
  colored2 (~> 3.1)
56
75
  excon (~> 0.72)
@@ -62,9 +81,18 @@ GEM
62
81
  minitar (~> 0.9)
63
82
  rake_factory (~> 0.23)
64
83
  rubyzip (>= 1.3)
65
- rake_factory (0.31.0)
84
+ rake_factory (0.32.0.pre.2)
66
85
  activesupport (>= 4)
67
86
  rake (~> 13.0)
87
+ rake_git (0.1.0.pre.8)
88
+ colored2 (~> 3.1)
89
+ git (~> 1.13, >= 1.13.2)
90
+ rake_factory (= 0.32.0.pre.2)
91
+ rake_git_crypt (0.1.0.pre.27)
92
+ colored2 (~> 3.1)
93
+ rake_factory (= 0.32.0.pre.2)
94
+ ruby_git_crypt (= 0.1.0.pre.2)
95
+ ruby_gpg2 (~> 0.6)
68
96
  rake_github (0.11.0)
69
97
  colored2 (~> 3.1)
70
98
  octokit (>= 4.16, < 7.0)
@@ -73,43 +101,54 @@ GEM
73
101
  rake_gpg (0.18.0)
74
102
  rake_factory (~> 0.23)
75
103
  ruby_gpg2 (~> 0.6)
76
- rake_ssh (0.8.0)
104
+ rake_ssh (0.10.0)
77
105
  colored2 (~> 3.1)
78
106
  rake_factory (~> 0.23)
79
107
  sshkey (~> 2.0)
80
- regexp_parser (2.6.1)
81
- rexml (3.2.5)
108
+ rchardet (1.8.0)
109
+ regexp_parser (2.8.2)
110
+ rexml (3.2.6)
82
111
  rspec (3.12.0)
83
112
  rspec-core (~> 3.12.0)
84
113
  rspec-expectations (~> 3.12.0)
85
114
  rspec-mocks (~> 3.12.0)
86
- rspec-core (3.12.0)
115
+ rspec-core (3.12.2)
87
116
  rspec-support (~> 3.12.0)
88
- rspec-expectations (3.12.1)
117
+ rspec-expectations (3.12.3)
89
118
  diff-lcs (>= 1.2.0, < 2.0)
90
119
  rspec-support (~> 3.12.0)
91
- rspec-mocks (3.12.1)
120
+ rspec-mocks (3.12.6)
92
121
  diff-lcs (>= 1.2.0, < 2.0)
93
122
  rspec-support (~> 3.12.0)
94
- rspec-support (3.12.0)
95
- rubocop (1.42.0)
123
+ rspec-support (3.12.1)
124
+ rubocop (1.57.2)
96
125
  json (~> 2.3)
126
+ language_server-protocol (>= 3.17.0)
97
127
  parallel (~> 1.10)
98
- parser (>= 3.1.2.1)
128
+ parser (>= 3.2.2.4)
99
129
  rainbow (>= 2.2.2, < 4.0)
100
130
  regexp_parser (>= 1.8, < 3.0)
101
131
  rexml (>= 3.2.5, < 4.0)
102
- rubocop-ast (>= 1.24.1, < 2.0)
132
+ rubocop-ast (>= 1.28.1, < 2.0)
103
133
  ruby-progressbar (~> 1.7)
104
- unicode-display_width (>= 1.4.0, < 3.0)
105
- rubocop-ast (1.24.1)
106
- parser (>= 3.1.1.0)
134
+ unicode-display_width (>= 2.4.0, < 3.0)
135
+ rubocop-ast (1.30.0)
136
+ parser (>= 3.2.1.0)
137
+ rubocop-capybara (2.19.0)
138
+ rubocop (~> 1.41)
139
+ rubocop-factory_bot (2.24.0)
140
+ rubocop (~> 1.33)
107
141
  rubocop-rake (0.6.0)
108
142
  rubocop (~> 1.0)
109
- rubocop-rspec (2.16.0)
110
- rubocop (~> 1.33)
111
- ruby-progressbar (1.11.0)
143
+ rubocop-rspec (2.25.0)
144
+ rubocop (~> 1.40)
145
+ rubocop-capybara (~> 2.17)
146
+ rubocop-factory_bot (~> 2.22)
147
+ ruby-progressbar (1.13.0)
112
148
  ruby2_keywords (0.0.5)
149
+ ruby_git_crypt (0.1.0.pre.2)
150
+ immutable-struct (~> 2.4)
151
+ lino (~> 3.0)
113
152
  ruby_gpg2 (0.10.0)
114
153
  lino (~> 3.0)
115
154
  ruby_leiningen (0.27.0)
@@ -127,9 +166,9 @@ GEM
127
166
  simplecov-html (0.12.3)
128
167
  simplecov_json_formatter (0.1.4)
129
168
  sshkey (2.0.0)
130
- tzinfo (2.0.5)
169
+ tzinfo (2.0.6)
131
170
  concurrent-ruby (~> 1.0)
132
- unicode-display_width (2.3.0)
171
+ unicode-display_width (2.5.0)
133
172
 
134
173
  PLATFORMS
135
174
  ruby
@@ -143,6 +182,8 @@ DEPENDENCIES
143
182
  gem-release
144
183
  rake
145
184
  rake_circle_ci
185
+ rake_git
186
+ rake_git_crypt
146
187
  rake_github
147
188
  rake_gpg
148
189
  rake_leiningen!
@@ -154,4 +195,4 @@ DEPENDENCIES
154
195
  simplecov
155
196
 
156
197
  BUNDLED WITH
157
- 2.4.2
198
+ 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,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RakeLeiningen
4
- VERSION = '0.37.0.pre.1'
4
+ VERSION = '0.37.0.pre.3'
5
5
  end
@@ -47,6 +47,8 @@ Gem::Specification.new do |spec|
47
47
  spec.add_development_dependency 'gem-release'
48
48
  spec.add_development_dependency 'rake'
49
49
  spec.add_development_dependency 'rake_circle_ci'
50
+ spec.add_development_dependency 'rake_git'
51
+ spec.add_development_dependency 'rake_git_crypt'
50
52
  spec.add_development_dependency 'rake_github'
51
53
  spec.add_development_dependency 'rake_gpg'
52
54
  spec.add_development_dependency 'rake_ssh'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_leiningen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0.pre.1
4
+ version: 0.37.0.pre.3
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-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake_dependencies
@@ -150,6 +150,34 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rake_git
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rake_git_crypt
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'
153
181
  - !ruby/object:Gem::Dependency
154
182
  name: rake_github
155
183
  requirement: !ruby/object:Gem::Requirement