ruby_git_crypt 0.1.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CODE_OF_CONDUCT.md +76 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +185 -0
- data/LICENSE.txt +21 -0
- data/README.md +99 -0
- data/Rakefile +168 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/ruby_git_crypt/commands/base.rb +110 -0
- data/lib/ruby_git_crypt/commands/status.rb +14 -0
- data/lib/ruby_git_crypt/commands.rb +8 -0
- data/lib/ruby_git_crypt/errors/execution_error.rb +8 -0
- data/lib/ruby_git_crypt/errors.rb +8 -0
- data/lib/ruby_git_crypt/options/definition.rb +176 -0
- data/lib/ruby_git_crypt/options/definitions.rb +7 -0
- data/lib/ruby_git_crypt/options/factory.rb +27 -0
- data/lib/ruby_git_crypt/options/name.rb +37 -0
- data/lib/ruby_git_crypt/options/sets.rb +8 -0
- data/lib/ruby_git_crypt/options/types/flag.rb +20 -0
- data/lib/ruby_git_crypt/options/types/standard.rb +31 -0
- data/lib/ruby_git_crypt/options/types.rb +26 -0
- data/lib/ruby_git_crypt/options/values/base.rb +15 -0
- data/lib/ruby_git_crypt/options/values/boolean.rb +33 -0
- data/lib/ruby_git_crypt/options/values/complex.rb +21 -0
- data/lib/ruby_git_crypt/options/values/key_value.rb +23 -0
- data/lib/ruby_git_crypt/options/values/string.rb +17 -0
- data/lib/ruby_git_crypt/options/values.rb +38 -0
- data/lib/ruby_git_crypt/options.rb +30 -0
- data/lib/ruby_git_crypt/version.rb +5 -0
- data/lib/ruby_git_crypt.rb +64 -0
- data/ruby_git_crypt.gemspec +63 -0
- metadata +342 -0
@@ -0,0 +1,63 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'ruby_git_crypt/version'
|
6
|
+
require 'date'
|
7
|
+
|
8
|
+
files = %w[
|
9
|
+
bin
|
10
|
+
lib
|
11
|
+
CODE_OF_CONDUCT.md
|
12
|
+
ruby_git_crypt.gemspec
|
13
|
+
Gemfile
|
14
|
+
LICENSE.txt
|
15
|
+
Rakefile
|
16
|
+
README.md
|
17
|
+
]
|
18
|
+
|
19
|
+
Gem::Specification.new do |spec|
|
20
|
+
spec.name = 'ruby_git_crypt'
|
21
|
+
spec.version = RubyGitCrypt::VERSION
|
22
|
+
spec.authors = ['InfraBlocks Maintainers']
|
23
|
+
spec.email = ['maintainers@infrablocks.io']
|
24
|
+
|
25
|
+
spec.summary = 'A simple Ruby wrapper for invoking git-crypt commands.'
|
26
|
+
spec.description =
|
27
|
+
'Wraps the git-crypt CLI so that git-crypt can be invoked from a Ruby ' \
|
28
|
+
'script or Rakefile.'
|
29
|
+
spec.homepage = 'https://github.com/infrablocks/ruby_git_crypt'
|
30
|
+
spec.license = 'MIT'
|
31
|
+
|
32
|
+
spec.files = `git ls-files -z`.split("\x0").select do |f|
|
33
|
+
f.match(/^(#{files.map { |g| Regexp.escape(g) }.join('|')})/)
|
34
|
+
end
|
35
|
+
spec.bindir = 'exe'
|
36
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
37
|
+
spec.require_paths = ['lib']
|
38
|
+
|
39
|
+
spec.required_ruby_version = '>= 2.7'
|
40
|
+
|
41
|
+
spec.add_dependency 'immutable-struct', '~> 2.4'
|
42
|
+
spec.add_dependency 'lino', '~> 3.0'
|
43
|
+
|
44
|
+
spec.add_development_dependency 'bundler'
|
45
|
+
spec.add_development_dependency 'faker'
|
46
|
+
spec.add_development_dependency 'gem-release'
|
47
|
+
spec.add_development_dependency 'guard'
|
48
|
+
spec.add_development_dependency 'guard-rspec'
|
49
|
+
spec.add_development_dependency 'rake'
|
50
|
+
spec.add_development_dependency 'rake_circle_ci'
|
51
|
+
spec.add_development_dependency 'rake_github'
|
52
|
+
spec.add_development_dependency 'rake_gpg'
|
53
|
+
spec.add_development_dependency 'rake_ssh'
|
54
|
+
spec.add_development_dependency 'rspec'
|
55
|
+
spec.add_development_dependency 'rubocop'
|
56
|
+
spec.add_development_dependency 'rubocop-rake'
|
57
|
+
spec.add_development_dependency 'rubocop-rspec'
|
58
|
+
spec.add_development_dependency 'simplecov'
|
59
|
+
spec.add_development_dependency 'terminal-notifier-guard'
|
60
|
+
spec.add_development_dependency 'yard'
|
61
|
+
|
62
|
+
spec.metadata['rubygems_mfa_required'] = 'false'
|
63
|
+
end
|
metadata
ADDED
@@ -0,0 +1,342 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby_git_crypt
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0.pre.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- InfraBlocks Maintainers
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-01-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: immutable-struct
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.4'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: lino
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: faker
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: gem-release
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: guard-rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rake_circle_ci
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rake_github
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rake_gpg
|
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_ssh
|
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: rspec
|
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'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rubocop
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rubocop-rake
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: rubocop-rspec
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: simplecov
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: terminal-notifier-guard
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: yard
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
description: Wraps the git-crypt CLI so that git-crypt can be invoked from a Ruby
|
280
|
+
script or Rakefile.
|
281
|
+
email:
|
282
|
+
- maintainers@infrablocks.io
|
283
|
+
executables: []
|
284
|
+
extensions: []
|
285
|
+
extra_rdoc_files: []
|
286
|
+
files:
|
287
|
+
- CODE_OF_CONDUCT.md
|
288
|
+
- Gemfile
|
289
|
+
- Gemfile.lock
|
290
|
+
- LICENSE.txt
|
291
|
+
- README.md
|
292
|
+
- Rakefile
|
293
|
+
- bin/console
|
294
|
+
- bin/setup
|
295
|
+
- lib/ruby_git_crypt.rb
|
296
|
+
- lib/ruby_git_crypt/commands.rb
|
297
|
+
- lib/ruby_git_crypt/commands/base.rb
|
298
|
+
- lib/ruby_git_crypt/commands/status.rb
|
299
|
+
- lib/ruby_git_crypt/errors.rb
|
300
|
+
- lib/ruby_git_crypt/errors/execution_error.rb
|
301
|
+
- lib/ruby_git_crypt/options.rb
|
302
|
+
- lib/ruby_git_crypt/options/definition.rb
|
303
|
+
- lib/ruby_git_crypt/options/definitions.rb
|
304
|
+
- lib/ruby_git_crypt/options/factory.rb
|
305
|
+
- lib/ruby_git_crypt/options/name.rb
|
306
|
+
- lib/ruby_git_crypt/options/sets.rb
|
307
|
+
- lib/ruby_git_crypt/options/types.rb
|
308
|
+
- lib/ruby_git_crypt/options/types/flag.rb
|
309
|
+
- lib/ruby_git_crypt/options/types/standard.rb
|
310
|
+
- lib/ruby_git_crypt/options/values.rb
|
311
|
+
- lib/ruby_git_crypt/options/values/base.rb
|
312
|
+
- lib/ruby_git_crypt/options/values/boolean.rb
|
313
|
+
- lib/ruby_git_crypt/options/values/complex.rb
|
314
|
+
- lib/ruby_git_crypt/options/values/key_value.rb
|
315
|
+
- lib/ruby_git_crypt/options/values/string.rb
|
316
|
+
- lib/ruby_git_crypt/version.rb
|
317
|
+
- ruby_git_crypt.gemspec
|
318
|
+
homepage: https://github.com/infrablocks/ruby_git_crypt
|
319
|
+
licenses:
|
320
|
+
- MIT
|
321
|
+
metadata:
|
322
|
+
rubygems_mfa_required: 'false'
|
323
|
+
post_install_message:
|
324
|
+
rdoc_options: []
|
325
|
+
require_paths:
|
326
|
+
- lib
|
327
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
328
|
+
requirements:
|
329
|
+
- - ">="
|
330
|
+
- !ruby/object:Gem::Version
|
331
|
+
version: '2.7'
|
332
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
333
|
+
requirements:
|
334
|
+
- - ">"
|
335
|
+
- !ruby/object:Gem::Version
|
336
|
+
version: 1.3.1
|
337
|
+
requirements: []
|
338
|
+
rubygems_version: 3.1.6
|
339
|
+
signing_key:
|
340
|
+
specification_version: 4
|
341
|
+
summary: A simple Ruby wrapper for invoking git-crypt commands.
|
342
|
+
test_files: []
|