rake_git 0.1.0.pre.7 → 0.1.0.pre.8
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 +13 -11
- data/Gemfile.lock +50 -29
- data/Rakefile +27 -14
- data/lib/rake_git/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c80e37bcb36204b16c6c5a953aba60f0cd25d2efd2f3b6e1f08bd7fd2c3c77a9
|
4
|
+
data.tar.gz: 218c0ef1af857a0f46e637f0e7fefb6582c2508b2e174380a00b4c6a271f3174
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29da07b5a15206101ee96186726da102799d76df120a67406d1a8437a2694d302cf0c88e1399a415b1a4961d621138e76443a6a4065f416b3d736c2605ac114d
|
7
|
+
data.tar.gz: b1c4149235484f9f720bce8b6f19c19ef34d18afa0cc3b2c240b8a67bb739f5ea65e4781d908b5b102c4410c7ef258403efd2c687f2264f232135203b018c2d0
|
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
|
@@ -71,4 +72,5 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
71
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_git (0.1.0.pre.
|
4
|
+
rake_git (0.1.0.pre.8)
|
5
5
|
colored2 (~> 3.1)
|
6
6
|
git (~> 1.13, >= 1.13.2)
|
7
7
|
rake_factory (= 0.32.0.pre.2)
|
@@ -9,48 +9,63 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (7.
|
12
|
+
activesupport (7.1.1)
|
13
|
+
base64
|
14
|
+
bigdecimal
|
13
15
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
|
+
connection_pool (>= 2.2.5)
|
17
|
+
drb
|
14
18
|
i18n (>= 1.6, < 2)
|
15
19
|
minitest (>= 5.1)
|
20
|
+
mutex_m
|
16
21
|
tzinfo (~> 2.0)
|
17
|
-
addressable (2.8.
|
22
|
+
addressable (2.8.5)
|
18
23
|
public_suffix (>= 2.0.2, < 6.0)
|
19
24
|
ast (2.4.2)
|
25
|
+
base64 (0.1.1)
|
26
|
+
bigdecimal (3.1.4)
|
20
27
|
colored2 (3.1.2)
|
21
28
|
concurrent-ruby (1.2.2)
|
29
|
+
connection_pool (2.4.1)
|
22
30
|
diff-lcs (1.5.0)
|
23
31
|
docile (1.4.0)
|
24
|
-
|
25
|
-
|
32
|
+
drb (2.1.1)
|
33
|
+
ruby2_keywords
|
34
|
+
excon (0.104.0)
|
35
|
+
faraday (2.7.11)
|
36
|
+
base64
|
26
37
|
faraday-net_http (>= 2.0, < 3.1)
|
27
38
|
ruby2_keywords (>= 0.0.4)
|
28
39
|
faraday-net_http (3.0.2)
|
29
40
|
gem-release (2.2.2)
|
30
|
-
git (1.
|
41
|
+
git (1.18.0)
|
31
42
|
addressable (~> 2.8)
|
32
43
|
rchardet (~> 1.8)
|
33
44
|
hamster (3.0.0)
|
34
45
|
concurrent-ruby (~> 1.0)
|
35
|
-
i18n (1.
|
46
|
+
i18n (1.14.1)
|
36
47
|
concurrent-ruby (~> 1.0)
|
37
48
|
immutable-struct (2.4.1)
|
38
49
|
json (2.6.3)
|
50
|
+
language_server-protocol (3.17.0.3)
|
39
51
|
lino (3.1.0)
|
40
52
|
hamster (~> 3.0)
|
41
53
|
open4 (~> 1.3)
|
42
54
|
memfs (1.0.0)
|
43
|
-
minitest (5.
|
44
|
-
|
55
|
+
minitest (5.20.0)
|
56
|
+
mutex_m (0.1.2)
|
57
|
+
octokit (6.1.1)
|
45
58
|
faraday (>= 1, < 3)
|
46
59
|
sawyer (~> 0.9)
|
47
60
|
open4 (1.3.4)
|
48
|
-
parallel (1.
|
49
|
-
parser (3.2.
|
61
|
+
parallel (1.23.0)
|
62
|
+
parser (3.2.2.4)
|
50
63
|
ast (~> 2.4.1)
|
51
|
-
|
64
|
+
racc
|
65
|
+
public_suffix (5.0.3)
|
66
|
+
racc (1.7.1)
|
52
67
|
rainbow (3.1.1)
|
53
|
-
rake (13.0
|
68
|
+
rake (13.1.0)
|
54
69
|
rake_circle_ci (0.11.0)
|
55
70
|
colored2 (~> 3.1)
|
56
71
|
excon (~> 0.72)
|
@@ -72,45 +87,49 @@ GEM
|
|
72
87
|
rake_gpg (0.18.0)
|
73
88
|
rake_factory (~> 0.23)
|
74
89
|
ruby_gpg2 (~> 0.6)
|
75
|
-
rake_ssh (0.
|
90
|
+
rake_ssh (0.10.0)
|
76
91
|
colored2 (~> 3.1)
|
77
92
|
rake_factory (~> 0.23)
|
78
93
|
sshkey (~> 2.0)
|
79
94
|
rchardet (1.8.0)
|
80
|
-
regexp_parser (2.
|
81
|
-
rexml (3.2.
|
95
|
+
regexp_parser (2.8.2)
|
96
|
+
rexml (3.2.6)
|
82
97
|
rspec (3.12.0)
|
83
98
|
rspec-core (~> 3.12.0)
|
84
99
|
rspec-expectations (~> 3.12.0)
|
85
100
|
rspec-mocks (~> 3.12.0)
|
86
|
-
rspec-core (3.12.
|
101
|
+
rspec-core (3.12.2)
|
87
102
|
rspec-support (~> 3.12.0)
|
88
|
-
rspec-expectations (3.12.
|
103
|
+
rspec-expectations (3.12.3)
|
89
104
|
diff-lcs (>= 1.2.0, < 2.0)
|
90
105
|
rspec-support (~> 3.12.0)
|
91
|
-
rspec-mocks (3.12.
|
106
|
+
rspec-mocks (3.12.6)
|
92
107
|
diff-lcs (>= 1.2.0, < 2.0)
|
93
108
|
rspec-support (~> 3.12.0)
|
94
|
-
rspec-support (3.12.
|
95
|
-
rubocop (1.
|
109
|
+
rspec-support (3.12.1)
|
110
|
+
rubocop (1.57.2)
|
96
111
|
json (~> 2.3)
|
112
|
+
language_server-protocol (>= 3.17.0)
|
97
113
|
parallel (~> 1.10)
|
98
|
-
parser (>= 3.2.
|
114
|
+
parser (>= 3.2.2.4)
|
99
115
|
rainbow (>= 2.2.2, < 4.0)
|
100
116
|
regexp_parser (>= 1.8, < 3.0)
|
101
117
|
rexml (>= 3.2.5, < 4.0)
|
102
|
-
rubocop-ast (>= 1.
|
118
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
103
119
|
ruby-progressbar (~> 1.7)
|
104
120
|
unicode-display_width (>= 2.4.0, < 3.0)
|
105
|
-
rubocop-ast (1.
|
121
|
+
rubocop-ast (1.30.0)
|
106
122
|
parser (>= 3.2.1.0)
|
107
|
-
rubocop-capybara (2.
|
123
|
+
rubocop-capybara (2.19.0)
|
108
124
|
rubocop (~> 1.41)
|
125
|
+
rubocop-factory_bot (2.24.0)
|
126
|
+
rubocop (~> 1.33)
|
109
127
|
rubocop-rake (0.6.0)
|
110
128
|
rubocop (~> 1.0)
|
111
|
-
rubocop-rspec (2.
|
112
|
-
rubocop (~> 1.
|
129
|
+
rubocop-rspec (2.25.0)
|
130
|
+
rubocop (~> 1.40)
|
113
131
|
rubocop-capybara (~> 2.17)
|
132
|
+
rubocop-factory_bot (~> 2.22)
|
114
133
|
ruby-progressbar (1.13.0)
|
115
134
|
ruby2_keywords (0.0.5)
|
116
135
|
ruby_git_crypt (0.1.0.pre.2)
|
@@ -130,10 +149,12 @@ GEM
|
|
130
149
|
sshkey (2.0.0)
|
131
150
|
tzinfo (2.0.6)
|
132
151
|
concurrent-ruby (~> 1.0)
|
133
|
-
unicode-display_width (2.
|
152
|
+
unicode-display_width (2.5.0)
|
134
153
|
|
135
154
|
PLATFORMS
|
136
155
|
arm64-darwin-21
|
156
|
+
arm64-darwin-22
|
157
|
+
ruby
|
137
158
|
x86_64-darwin-19
|
138
159
|
x86_64-darwin-21
|
139
160
|
x86_64-linux
|
@@ -157,4 +178,4 @@ DEPENDENCIES
|
|
157
178
|
simplecov
|
158
179
|
|
159
180
|
BUNDLED WITH
|
160
|
-
2.4.
|
181
|
+
2.4.17
|
data/Rakefile
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'yaml'
|
4
3
|
require 'rake_circle_ci'
|
4
|
+
require 'rake_git'
|
5
5
|
require 'rake_git_crypt'
|
6
6
|
require 'rake_github'
|
7
|
-
require 'rake_ssh'
|
8
7
|
require 'rake_gpg'
|
9
|
-
require '
|
8
|
+
require 'rake_ssh'
|
10
9
|
require 'rspec/core/rake_task'
|
11
10
|
require 'rubocop/rake_task'
|
11
|
+
require 'securerandom'
|
12
|
+
require 'yaml'
|
12
13
|
|
13
14
|
task default: %i[
|
14
15
|
library:fix
|
@@ -30,6 +31,14 @@ RakeGitCrypt.define_standard_tasks(
|
|
30
31
|
]
|
31
32
|
)
|
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
|
+
|
33
42
|
namespace :encryption do
|
34
43
|
namespace :directory do
|
35
44
|
desc 'Ensure CI secrets directory exists.'
|
@@ -39,10 +48,12 @@ namespace :encryption do
|
|
39
48
|
end
|
40
49
|
|
41
50
|
namespace :passphrase do
|
42
|
-
desc 'Generate encryption passphrase
|
51
|
+
desc 'Generate encryption passphrase for CI GPG key'
|
43
52
|
task generate: ['directory:ensure'] do
|
44
|
-
File.write(
|
45
|
-
|
53
|
+
File.write(
|
54
|
+
'config/secrets/ci/encryption.passphrase',
|
55
|
+
SecureRandom.base64(36)
|
56
|
+
)
|
46
57
|
end
|
47
58
|
end
|
48
59
|
end
|
@@ -67,6 +78,16 @@ namespace :keys do
|
|
67
78
|
end
|
68
79
|
|
69
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
|
+
|
70
91
|
desc 'Generate all generatable secrets.'
|
71
92
|
task generate: %w[
|
72
93
|
encryption:passphrase:generate
|
@@ -86,14 +107,6 @@ namespace :secrets do
|
|
86
107
|
task rotate: [:'git_crypt:reinstall']
|
87
108
|
end
|
88
109
|
|
89
|
-
namespace :git do
|
90
|
-
desc 'Commit all changes'
|
91
|
-
task :commit, [:message] do |_, args|
|
92
|
-
sh('git', 'add', '-A')
|
93
|
-
sh('git', 'commit', '-m', args.message)
|
94
|
-
end
|
95
|
-
end
|
96
|
-
|
97
110
|
RuboCop::RakeTask.new
|
98
111
|
|
99
112
|
namespace :library do
|
data/lib/rake_git/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_git
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.
|
4
|
+
version: 0.1.0.pre.8
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colored2
|