ruby_leiningen 0.28.0.pre.1 → 0.28.0.pre.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +15 -13
- data/Gemfile.lock +78 -33
- data/Rakefile +56 -9
- data/lib/ruby_leiningen/commands/version.rb +1 -1
- data/lib/ruby_leiningen/version.rb +1 -1
- data/ruby_leiningen.gemspec +2 -0
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f572a26bbd5be8dd10049792b43a64d0a6ccc2cb6532c4f234f43df33661841
|
4
|
+
data.tar.gz: b2f0804c3e7a47b09fdd099f094c0824d66d87b0cab54ad62b7efab76bd77df5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 601e018d0f02d897bc18d6a97e9a666c8e2835fa7fe3b10ae853a8944ade23830eb4c6d8510239cad30808b16705ed8a526b13efbef55c18a5bb61d38c396268
|
7
|
+
data.tar.gz: d93131287ad1748000a2be7de27e31f6f9cb22654fe4038985321c71472589d6dbbebaf4bf7ac377fea00be0bd99f204e6f9a4b21af5a34fe9e2ec9ac91846eb
|
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
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity
|
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
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
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
|
62
|
-
Further details of specific enforcement policies may be posted
|
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],
|
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,58 +1,86 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby_leiningen (0.28.0.pre.
|
4
|
+
ruby_leiningen (0.28.0.pre.2)
|
5
5
|
activesupport (>= 6.0.2, < 8)
|
6
6
|
lino (~> 3.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (7.
|
11
|
+
activesupport (7.1.1)
|
12
|
+
base64
|
13
|
+
bigdecimal
|
12
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
|
+
connection_pool (>= 2.2.5)
|
16
|
+
drb
|
13
17
|
i18n (>= 1.6, < 2)
|
14
18
|
minitest (>= 5.1)
|
19
|
+
mutex_m
|
15
20
|
tzinfo (~> 2.0)
|
16
|
-
addressable (2.8.
|
21
|
+
addressable (2.8.5)
|
17
22
|
public_suffix (>= 2.0.2, < 6.0)
|
18
23
|
ast (2.4.2)
|
24
|
+
base64 (0.1.1)
|
25
|
+
bigdecimal (3.1.4)
|
19
26
|
colored2 (3.1.2)
|
20
|
-
concurrent-ruby (1.
|
27
|
+
concurrent-ruby (1.2.2)
|
28
|
+
connection_pool (2.4.1)
|
21
29
|
diff-lcs (1.5.0)
|
22
30
|
docile (1.4.0)
|
23
|
-
|
24
|
-
|
31
|
+
drb (2.1.1)
|
32
|
+
ruby2_keywords
|
33
|
+
excon (0.104.0)
|
34
|
+
faraday (2.7.11)
|
35
|
+
base64
|
25
36
|
faraday-net_http (>= 2.0, < 3.1)
|
26
37
|
ruby2_keywords (>= 0.0.4)
|
27
38
|
faraday-net_http (3.0.2)
|
28
39
|
gem-release (2.2.2)
|
40
|
+
git (1.18.0)
|
41
|
+
addressable (~> 2.8)
|
42
|
+
rchardet (~> 1.8)
|
29
43
|
hamster (3.0.0)
|
30
44
|
concurrent-ruby (~> 1.0)
|
31
|
-
i18n (1.
|
45
|
+
i18n (1.14.1)
|
32
46
|
concurrent-ruby (~> 1.0)
|
47
|
+
immutable-struct (2.4.1)
|
33
48
|
json (2.6.3)
|
49
|
+
language_server-protocol (3.17.0.3)
|
34
50
|
lino (3.1.0)
|
35
51
|
hamster (~> 3.0)
|
36
52
|
open4 (~> 1.3)
|
37
|
-
minitest (5.
|
38
|
-
|
53
|
+
minitest (5.20.0)
|
54
|
+
mutex_m (0.1.2)
|
55
|
+
octokit (6.1.1)
|
39
56
|
faraday (>= 1, < 3)
|
40
57
|
sawyer (~> 0.9)
|
41
58
|
open4 (1.3.4)
|
42
|
-
parallel (1.
|
43
|
-
parser (3.
|
59
|
+
parallel (1.23.0)
|
60
|
+
parser (3.2.2.4)
|
44
61
|
ast (~> 2.4.1)
|
45
|
-
|
62
|
+
racc
|
63
|
+
public_suffix (5.0.3)
|
64
|
+
racc (1.7.1)
|
46
65
|
rainbow (3.1.1)
|
47
|
-
rake (13.0
|
66
|
+
rake (13.1.0)
|
48
67
|
rake_circle_ci (0.11.0)
|
49
68
|
colored2 (~> 3.1)
|
50
69
|
excon (~> 0.72)
|
51
70
|
rake_factory (~> 0.23)
|
52
71
|
sshkey (~> 2.0)
|
53
|
-
rake_factory (0.
|
72
|
+
rake_factory (0.32.0.pre.2)
|
54
73
|
activesupport (>= 4)
|
55
74
|
rake (~> 13.0)
|
75
|
+
rake_git (0.1.0.pre.8)
|
76
|
+
colored2 (~> 3.1)
|
77
|
+
git (~> 1.13, >= 1.13.2)
|
78
|
+
rake_factory (= 0.32.0.pre.2)
|
79
|
+
rake_git_crypt (0.1.0.pre.27)
|
80
|
+
colored2 (~> 3.1)
|
81
|
+
rake_factory (= 0.32.0.pre.2)
|
82
|
+
ruby_git_crypt (= 0.1.0.pre.2)
|
83
|
+
ruby_gpg2 (~> 0.6)
|
56
84
|
rake_github (0.11.0)
|
57
85
|
colored2 (~> 3.1)
|
58
86
|
octokit (>= 4.16, < 7.0)
|
@@ -61,43 +89,54 @@ GEM
|
|
61
89
|
rake_gpg (0.18.0)
|
62
90
|
rake_factory (~> 0.23)
|
63
91
|
ruby_gpg2 (~> 0.6)
|
64
|
-
rake_ssh (0.
|
92
|
+
rake_ssh (0.10.0)
|
65
93
|
colored2 (~> 3.1)
|
66
94
|
rake_factory (~> 0.23)
|
67
95
|
sshkey (~> 2.0)
|
68
|
-
|
69
|
-
|
96
|
+
rchardet (1.8.0)
|
97
|
+
regexp_parser (2.8.2)
|
98
|
+
rexml (3.2.6)
|
70
99
|
rspec (3.12.0)
|
71
100
|
rspec-core (~> 3.12.0)
|
72
101
|
rspec-expectations (~> 3.12.0)
|
73
102
|
rspec-mocks (~> 3.12.0)
|
74
|
-
rspec-core (3.12.
|
103
|
+
rspec-core (3.12.2)
|
75
104
|
rspec-support (~> 3.12.0)
|
76
|
-
rspec-expectations (3.12.
|
105
|
+
rspec-expectations (3.12.3)
|
77
106
|
diff-lcs (>= 1.2.0, < 2.0)
|
78
107
|
rspec-support (~> 3.12.0)
|
79
|
-
rspec-mocks (3.12.
|
108
|
+
rspec-mocks (3.12.6)
|
80
109
|
diff-lcs (>= 1.2.0, < 2.0)
|
81
110
|
rspec-support (~> 3.12.0)
|
82
|
-
rspec-support (3.12.
|
83
|
-
rubocop (1.
|
111
|
+
rspec-support (3.12.1)
|
112
|
+
rubocop (1.57.2)
|
84
113
|
json (~> 2.3)
|
114
|
+
language_server-protocol (>= 3.17.0)
|
85
115
|
parallel (~> 1.10)
|
86
|
-
parser (>= 3.
|
116
|
+
parser (>= 3.2.2.4)
|
87
117
|
rainbow (>= 2.2.2, < 4.0)
|
88
118
|
regexp_parser (>= 1.8, < 3.0)
|
89
119
|
rexml (>= 3.2.5, < 4.0)
|
90
|
-
rubocop-ast (>= 1.
|
120
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
91
121
|
ruby-progressbar (~> 1.7)
|
92
|
-
unicode-display_width (>=
|
93
|
-
rubocop-ast (1.
|
94
|
-
parser (>= 3.
|
122
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
123
|
+
rubocop-ast (1.30.0)
|
124
|
+
parser (>= 3.2.1.0)
|
125
|
+
rubocop-capybara (2.19.0)
|
126
|
+
rubocop (~> 1.41)
|
127
|
+
rubocop-factory_bot (2.24.0)
|
128
|
+
rubocop (~> 1.33)
|
95
129
|
rubocop-rake (0.6.0)
|
96
130
|
rubocop (~> 1.0)
|
97
|
-
rubocop-rspec (2.
|
98
|
-
rubocop (~> 1.
|
99
|
-
|
131
|
+
rubocop-rspec (2.25.0)
|
132
|
+
rubocop (~> 1.40)
|
133
|
+
rubocop-capybara (~> 2.17)
|
134
|
+
rubocop-factory_bot (~> 2.22)
|
135
|
+
ruby-progressbar (1.13.0)
|
100
136
|
ruby2_keywords (0.0.5)
|
137
|
+
ruby_git_crypt (0.1.0.pre.2)
|
138
|
+
immutable-struct (~> 2.4)
|
139
|
+
lino (~> 3.0)
|
101
140
|
ruby_gpg2 (0.10.0)
|
102
141
|
lino (~> 3.0)
|
103
142
|
sawyer (0.9.2)
|
@@ -110,13 +149,17 @@ GEM
|
|
110
149
|
simplecov-html (0.12.3)
|
111
150
|
simplecov_json_formatter (0.1.4)
|
112
151
|
sshkey (2.0.0)
|
113
|
-
tzinfo (2.0.
|
152
|
+
tzinfo (2.0.6)
|
114
153
|
concurrent-ruby (~> 1.0)
|
115
|
-
unicode-display_width (2.
|
154
|
+
unicode-display_width (2.5.0)
|
116
155
|
|
117
156
|
PLATFORMS
|
157
|
+
arm64-darwin-21
|
158
|
+
arm64-darwin-22
|
118
159
|
ruby
|
119
160
|
x86_64-darwin-19
|
161
|
+
x86_64-darwin-20
|
162
|
+
x86_64-darwin-21
|
120
163
|
x86_64-linux
|
121
164
|
|
122
165
|
DEPENDENCIES
|
@@ -124,6 +167,8 @@ DEPENDENCIES
|
|
124
167
|
gem-release
|
125
168
|
rake
|
126
169
|
rake_circle_ci
|
170
|
+
rake_git
|
171
|
+
rake_git_crypt
|
127
172
|
rake_github
|
128
173
|
rake_gpg
|
129
174
|
rake_ssh
|
@@ -135,4 +180,4 @@ DEPENDENCIES
|
|
135
180
|
simplecov
|
136
181
|
|
137
182
|
BUNDLED WITH
|
138
|
-
2.4.
|
183
|
+
2.4.17
|
data/Rakefile
CHANGED
@@ -1,19 +1,44 @@
|
|
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 '
|
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
|
18
43
|
namespace :directory do
|
19
44
|
desc 'Ensure CI secrets directory exists.'
|
@@ -23,10 +48,12 @@ namespace :encryption do
|
|
23
48
|
end
|
24
49
|
|
25
50
|
namespace :passphrase do
|
26
|
-
desc 'Generate encryption passphrase
|
51
|
+
desc 'Generate encryption passphrase for CI GPG key'
|
27
52
|
task generate: ['directory:ensure'] do
|
28
|
-
File.write(
|
29
|
-
|
53
|
+
File.write(
|
54
|
+
'config/secrets/ci/encryption.passphrase',
|
55
|
+
SecureRandom.base64(36)
|
56
|
+
)
|
30
57
|
end
|
31
58
|
end
|
32
59
|
end
|
@@ -51,12 +78,33 @@ namespace :keys do
|
|
51
78
|
end
|
52
79
|
|
53
80
|
namespace :secrets do
|
54
|
-
|
55
|
-
|
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[
|
56
93
|
encryption:passphrase:generate
|
57
94
|
keys:deploy:generate
|
58
95
|
keys:gpg:generate
|
59
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']
|
60
108
|
end
|
61
109
|
|
62
110
|
RuboCop::RakeTask.new
|
@@ -116,7 +164,6 @@ end
|
|
116
164
|
namespace :pipeline do
|
117
165
|
desc 'Prepare CircleCI Pipeline'
|
118
166
|
task prepare: %i[
|
119
|
-
circle_ci:project:follow
|
120
167
|
circle_ci:env_vars:ensure
|
121
168
|
circle_ci:checkout_keys:ensure
|
122
169
|
circle_ci:ssh_keys:ensure
|
data/ruby_leiningen.gemspec
CHANGED
@@ -43,6 +43,8 @@ Gem::Specification.new do |spec|
|
|
43
43
|
spec.add_development_dependency 'gem-release'
|
44
44
|
spec.add_development_dependency 'rake'
|
45
45
|
spec.add_development_dependency 'rake_circle_ci'
|
46
|
+
spec.add_development_dependency 'rake_git'
|
47
|
+
spec.add_development_dependency 'rake_git_crypt'
|
46
48
|
spec.add_development_dependency 'rake_github'
|
47
49
|
spec.add_development_dependency 'rake_gpg'
|
48
50
|
spec.add_development_dependency 'rake_ssh'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_leiningen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.28.0.pre.
|
4
|
+
version: 0.28.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-
|
11
|
+
date: 2023-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -100,6 +100,34 @@ dependencies:
|
|
100
100
|
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rake_git
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: rake_git_crypt
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
103
131
|
- !ruby/object:Gem::Dependency
|
104
132
|
name: rake_github
|
105
133
|
requirement: !ruby/object:Gem::Requirement
|