enruby 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 +229 -0
- data/LICENSE.txt +21 -0
- data/README.md +99 -0
- data/Rakefile +214 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/enruby.gemspec +64 -0
- data/lib/enruby/version.rb +5 -0
- data/lib/enruby.rb +6 -0
- metadata +349 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 98d55aa2fbfd160865ee9c192f6bf9bfd0506b0f10b69a78536237c53ae2e292
|
4
|
+
data.tar.gz: 7801be4214ac1ccce5d86552c92b8e262fc27a4efdf52fb69a7571d556410eca
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: db2ba9181d49778035c9cd03e510dfd31915962b85b9d0cf087a75671a5b54f20c367a260a3317686f07c18d2d510c27e2d4cbcffb26606a3c1342148b24659c
|
7
|
+
data.tar.gz: 26449cf1ae93ec66b8288afe2e436a10099eaa071c24109f973d4479dcf00f0e6d70f663e67de36942fe7eebdcd1466563a0d2fe1def32fd396990e58d092168
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of
|
9
|
+
experience, nationality, personal appearance, race, religion, or sexual identity
|
10
|
+
and orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
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
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at maintainers@infrablocks.io. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
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
|
+
incident. Further details of specific enforcement policies may be posted
|
63
|
+
separately.
|
64
|
+
|
65
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
66
|
+
faith may face temporary or permanent repercussions as determined by other
|
67
|
+
members of the project's leadership.
|
68
|
+
|
69
|
+
## Attribution
|
70
|
+
|
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]
|
73
|
+
|
74
|
+
[homepage]: http://contributor-covenant.org
|
75
|
+
|
76
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,229 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
enruby (0.1.0.pre.1)
|
5
|
+
immutable-struct (~> 2.4)
|
6
|
+
lino (~> 3.0)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activesupport (7.1.3.4)
|
12
|
+
base64
|
13
|
+
bigdecimal
|
14
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
|
+
connection_pool (>= 2.2.5)
|
16
|
+
drb
|
17
|
+
i18n (>= 1.6, < 2)
|
18
|
+
minitest (>= 5.1)
|
19
|
+
mutex_m
|
20
|
+
tzinfo (~> 2.0)
|
21
|
+
addressable (2.8.7)
|
22
|
+
public_suffix (>= 2.0.2, < 7.0)
|
23
|
+
ast (2.4.2)
|
24
|
+
base64 (0.2.0)
|
25
|
+
bigdecimal (3.1.8)
|
26
|
+
coderay (1.1.3)
|
27
|
+
colored2 (3.1.2)
|
28
|
+
concurrent-ruby (1.3.3)
|
29
|
+
connection_pool (2.4.1)
|
30
|
+
diff-lcs (1.5.1)
|
31
|
+
docile (1.4.0)
|
32
|
+
drb (2.2.1)
|
33
|
+
excon (0.110.0)
|
34
|
+
faker (3.4.1)
|
35
|
+
i18n (>= 1.8.11, < 2)
|
36
|
+
faraday (2.9.2)
|
37
|
+
faraday-net_http (>= 2.0, < 3.2)
|
38
|
+
faraday-net_http (3.1.0)
|
39
|
+
net-http
|
40
|
+
ffi (1.17.0-aarch64-linux-gnu)
|
41
|
+
ffi (1.17.0-arm-linux-gnu)
|
42
|
+
ffi (1.17.0-arm64-darwin)
|
43
|
+
ffi (1.17.0-x86_64-darwin)
|
44
|
+
ffi (1.17.0-x86_64-linux-gnu)
|
45
|
+
formatador (1.1.0)
|
46
|
+
gem-release (2.2.2)
|
47
|
+
git (1.19.1)
|
48
|
+
addressable (~> 2.8)
|
49
|
+
rchardet (~> 1.8)
|
50
|
+
guard (2.18.1)
|
51
|
+
formatador (>= 0.2.4)
|
52
|
+
listen (>= 2.7, < 4.0)
|
53
|
+
lumberjack (>= 1.0.12, < 2.0)
|
54
|
+
nenv (~> 0.1)
|
55
|
+
notiffany (~> 0.0)
|
56
|
+
pry (>= 0.13.0)
|
57
|
+
shellany (~> 0.0)
|
58
|
+
thor (>= 0.18.1)
|
59
|
+
guard-compat (1.2.1)
|
60
|
+
guard-rspec (4.7.3)
|
61
|
+
guard (~> 2.1)
|
62
|
+
guard-compat (~> 1.1)
|
63
|
+
rspec (>= 2.99.0, < 4.0)
|
64
|
+
hamster (3.0.0)
|
65
|
+
concurrent-ruby (~> 1.0)
|
66
|
+
i18n (1.14.5)
|
67
|
+
concurrent-ruby (~> 1.0)
|
68
|
+
immutable-struct (2.4.1)
|
69
|
+
json (2.7.2)
|
70
|
+
language_server-protocol (3.17.0.3)
|
71
|
+
lino (3.1.0)
|
72
|
+
hamster (~> 3.0)
|
73
|
+
open4 (~> 1.3)
|
74
|
+
listen (3.9.0)
|
75
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
76
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
77
|
+
lumberjack (1.2.10)
|
78
|
+
method_source (1.1.0)
|
79
|
+
minitest (5.24.0)
|
80
|
+
mutex_m (0.2.0)
|
81
|
+
nenv (0.3.0)
|
82
|
+
net-http (0.4.1)
|
83
|
+
uri
|
84
|
+
notiffany (0.1.3)
|
85
|
+
nenv (~> 0.1)
|
86
|
+
shellany (~> 0.0)
|
87
|
+
octokit (8.1.0)
|
88
|
+
base64
|
89
|
+
faraday (>= 1, < 3)
|
90
|
+
sawyer (~> 0.9)
|
91
|
+
open4 (1.3.4)
|
92
|
+
parallel (1.25.1)
|
93
|
+
parser (3.3.3.0)
|
94
|
+
ast (~> 2.4.1)
|
95
|
+
racc
|
96
|
+
pry (0.14.2)
|
97
|
+
coderay (~> 1.1)
|
98
|
+
method_source (~> 1.0)
|
99
|
+
public_suffix (6.0.0)
|
100
|
+
racc (1.8.0)
|
101
|
+
rainbow (3.1.1)
|
102
|
+
rake (13.2.1)
|
103
|
+
rake_circle_ci (0.11.0)
|
104
|
+
colored2 (~> 3.1)
|
105
|
+
excon (~> 0.72)
|
106
|
+
rake_factory (~> 0.23)
|
107
|
+
sshkey (~> 2.0)
|
108
|
+
rake_factory (0.32.0.pre.2)
|
109
|
+
activesupport (>= 4)
|
110
|
+
rake (~> 13.0)
|
111
|
+
rake_git (0.1.0.pre.10)
|
112
|
+
colored2 (~> 3.1)
|
113
|
+
git (~> 1.13, >= 1.13.2)
|
114
|
+
rake_factory (= 0.32.0.pre.2)
|
115
|
+
rake_git_crypt (0.1.0.pre.29)
|
116
|
+
colored2 (~> 3.1)
|
117
|
+
rake_factory (= 0.32.0.pre.2)
|
118
|
+
ruby_git_crypt (= 0.1.0.pre.4)
|
119
|
+
ruby_gpg2 (~> 0.6)
|
120
|
+
rake_github (0.13.0)
|
121
|
+
colored2 (~> 3.1)
|
122
|
+
octokit (>= 4.16, < 9.0)
|
123
|
+
rake_factory (~> 0.23)
|
124
|
+
sshkey (~> 2.0)
|
125
|
+
rake_gpg (0.18.0)
|
126
|
+
rake_factory (~> 0.23)
|
127
|
+
ruby_gpg2 (~> 0.6)
|
128
|
+
rake_ssh (0.10.0)
|
129
|
+
colored2 (~> 3.1)
|
130
|
+
rake_factory (~> 0.23)
|
131
|
+
sshkey (~> 2.0)
|
132
|
+
rb-fsevent (0.11.2)
|
133
|
+
rb-inotify (0.11.1)
|
134
|
+
ffi (~> 1.0)
|
135
|
+
rchardet (1.8.0)
|
136
|
+
regexp_parser (2.9.2)
|
137
|
+
rexml (3.3.1)
|
138
|
+
strscan
|
139
|
+
rspec (3.13.0)
|
140
|
+
rspec-core (~> 3.13.0)
|
141
|
+
rspec-expectations (~> 3.13.0)
|
142
|
+
rspec-mocks (~> 3.13.0)
|
143
|
+
rspec-core (3.13.0)
|
144
|
+
rspec-support (~> 3.13.0)
|
145
|
+
rspec-expectations (3.13.1)
|
146
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
147
|
+
rspec-support (~> 3.13.0)
|
148
|
+
rspec-mocks (3.13.1)
|
149
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
150
|
+
rspec-support (~> 3.13.0)
|
151
|
+
rspec-support (3.13.1)
|
152
|
+
rubocop (1.64.1)
|
153
|
+
json (~> 2.3)
|
154
|
+
language_server-protocol (>= 3.17.0)
|
155
|
+
parallel (~> 1.10)
|
156
|
+
parser (>= 3.3.0.2)
|
157
|
+
rainbow (>= 2.2.2, < 4.0)
|
158
|
+
regexp_parser (>= 1.8, < 3.0)
|
159
|
+
rexml (>= 3.2.5, < 4.0)
|
160
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
161
|
+
ruby-progressbar (~> 1.7)
|
162
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
163
|
+
rubocop-ast (1.31.3)
|
164
|
+
parser (>= 3.3.1.0)
|
165
|
+
rubocop-rake (0.6.0)
|
166
|
+
rubocop (~> 1.0)
|
167
|
+
rubocop-rspec (3.0.1)
|
168
|
+
rubocop (~> 1.61)
|
169
|
+
ruby-progressbar (1.13.0)
|
170
|
+
ruby_git_crypt (0.1.0.pre.4)
|
171
|
+
immutable-struct (~> 2.4)
|
172
|
+
lino (~> 3.0)
|
173
|
+
ruby_gpg2 (0.10.0)
|
174
|
+
lino (~> 3.0)
|
175
|
+
sawyer (0.9.2)
|
176
|
+
addressable (>= 2.3.5)
|
177
|
+
faraday (>= 0.17.3, < 3)
|
178
|
+
shellany (0.0.1)
|
179
|
+
simplecov (0.22.0)
|
180
|
+
docile (~> 1.1)
|
181
|
+
simplecov-html (~> 0.11)
|
182
|
+
simplecov_json_formatter (~> 0.1)
|
183
|
+
simplecov-html (0.12.3)
|
184
|
+
simplecov_json_formatter (0.1.4)
|
185
|
+
sshkey (2.0.0)
|
186
|
+
strscan (3.1.0)
|
187
|
+
terminal-notifier-guard (1.7.0)
|
188
|
+
thor (1.3.1)
|
189
|
+
tzinfo (2.0.6)
|
190
|
+
concurrent-ruby (~> 1.0)
|
191
|
+
unicode-display_width (2.5.0)
|
192
|
+
uri (0.13.0)
|
193
|
+
yard (0.9.36)
|
194
|
+
|
195
|
+
PLATFORMS
|
196
|
+
aarch64-linux
|
197
|
+
arm64-darwin-21
|
198
|
+
arm64-darwin-22
|
199
|
+
arm64-darwin-23
|
200
|
+
arm64-linux
|
201
|
+
x86_64-darwin-19
|
202
|
+
x86_64-darwin-20
|
203
|
+
x86_64-darwin-21
|
204
|
+
x86_64-linux
|
205
|
+
|
206
|
+
DEPENDENCIES
|
207
|
+
bundler
|
208
|
+
enruby!
|
209
|
+
faker
|
210
|
+
gem-release
|
211
|
+
guard
|
212
|
+
guard-rspec
|
213
|
+
rake
|
214
|
+
rake_circle_ci
|
215
|
+
rake_git
|
216
|
+
rake_git_crypt
|
217
|
+
rake_github
|
218
|
+
rake_gpg
|
219
|
+
rake_ssh
|
220
|
+
rspec
|
221
|
+
rubocop
|
222
|
+
rubocop-rake
|
223
|
+
rubocop-rspec
|
224
|
+
simplecov
|
225
|
+
terminal-notifier-guard
|
226
|
+
yard
|
227
|
+
|
228
|
+
BUNDLED WITH
|
229
|
+
2.3.26
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2024 InfraBlocks Maintainers
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
# Enruby
|
2
|
+
|
3
|
+
A framework for creating Ruby command line tool wrappers to allow execution from
|
4
|
+
within a Ruby program, RSpec test or Rakefile.
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem 'enruby'
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install enruby
|
21
|
+
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
To require `Enruby`:
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
require 'enruby'
|
28
|
+
```
|
29
|
+
|
30
|
+
## Documentation
|
31
|
+
|
32
|
+
* [API docs](https://infrablocks.github.io/enruby/index.html)
|
33
|
+
|
34
|
+
## Development
|
35
|
+
|
36
|
+
To install dependencies and run the build, run the pre-commit build:
|
37
|
+
|
38
|
+
```shell
|
39
|
+
./go
|
40
|
+
```
|
41
|
+
|
42
|
+
This runs all unit tests and other checks including coverage and code linting /
|
43
|
+
formatting.
|
44
|
+
|
45
|
+
To run only the unit tests, including coverage:
|
46
|
+
|
47
|
+
```shell
|
48
|
+
./go test:unit
|
49
|
+
```
|
50
|
+
|
51
|
+
To attempt to fix any code linting / formatting issues:
|
52
|
+
|
53
|
+
```shell
|
54
|
+
./go library:fix
|
55
|
+
```
|
56
|
+
|
57
|
+
To check for code linting / formatting issues without fixing:
|
58
|
+
|
59
|
+
```shell
|
60
|
+
./go library:check
|
61
|
+
```
|
62
|
+
|
63
|
+
You can also run `bin/console` for an interactive prompt that will allow you to
|
64
|
+
experiment.
|
65
|
+
|
66
|
+
### Managing CircleCI keys
|
67
|
+
|
68
|
+
To encrypt a GPG key for use by CircleCI:
|
69
|
+
|
70
|
+
```shell
|
71
|
+
openssl aes-256-cbc \
|
72
|
+
-e \
|
73
|
+
-md sha1 \
|
74
|
+
-in ./config/secrets/ci/gpg.private \
|
75
|
+
-out ./.circleci/gpg.private.enc \
|
76
|
+
-k "<passphrase>"
|
77
|
+
```
|
78
|
+
|
79
|
+
To check decryption is working correctly:
|
80
|
+
|
81
|
+
```shell
|
82
|
+
openssl aes-256-cbc \
|
83
|
+
-d \
|
84
|
+
-md sha1 \
|
85
|
+
-in ./.circleci/gpg.private.enc \
|
86
|
+
-k "<passphrase>"
|
87
|
+
```
|
88
|
+
|
89
|
+
## Contributing
|
90
|
+
|
91
|
+
Bug reports and pull requests are welcome on GitHub at
|
92
|
+
https://github.com/infrablocks/enruby. This project is intended to be a
|
93
|
+
safe, welcoming space for collaboration, and contributors are expected to adhere
|
94
|
+
to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
95
|
+
|
96
|
+
## License
|
97
|
+
|
98
|
+
The gem is available as open source under the terms of the
|
99
|
+
[MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
@@ -0,0 +1,214 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'rake_circle_ci'
|
4
|
+
require 'rake_git'
|
5
|
+
require 'rake_git_crypt'
|
6
|
+
require 'rake_github'
|
7
|
+
require 'rake_gpg'
|
8
|
+
require 'rake_ssh'
|
9
|
+
require 'rspec/core/rake_task'
|
10
|
+
require 'rubocop/rake_task'
|
11
|
+
require 'securerandom'
|
12
|
+
require 'yaml'
|
13
|
+
require 'yard'
|
14
|
+
|
15
|
+
task default: %i[
|
16
|
+
library:fix
|
17
|
+
test:unit
|
18
|
+
]
|
19
|
+
|
20
|
+
RakeGitCrypt.define_standard_tasks(
|
21
|
+
namespace: :git_crypt,
|
22
|
+
|
23
|
+
provision_secrets_task_name: :'secrets:provision',
|
24
|
+
destroy_secrets_task_name: :'secrets:destroy',
|
25
|
+
|
26
|
+
install_commit_task_name: :'git:commit',
|
27
|
+
uninstall_commit_task_name: :'git:commit',
|
28
|
+
|
29
|
+
gpg_user_key_paths: %w[
|
30
|
+
config/gpg
|
31
|
+
config/secrets/ci/gpg.public
|
32
|
+
]
|
33
|
+
)
|
34
|
+
|
35
|
+
namespace :git do
|
36
|
+
RakeGit.define_commit_task(
|
37
|
+
argument_names: [:message]
|
38
|
+
) do |t, args|
|
39
|
+
t.message = args.message
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
namespace :encryption do
|
44
|
+
namespace :directory do
|
45
|
+
desc 'Ensure CI secrets directory exists.'
|
46
|
+
task :ensure do
|
47
|
+
FileUtils.mkdir_p('config/secrets/ci')
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
namespace :passphrase do
|
52
|
+
desc 'Generate encryption passphrase for CI GPG key'
|
53
|
+
task generate: ['directory:ensure'] do
|
54
|
+
File.write(
|
55
|
+
'config/secrets/ci/encryption.passphrase',
|
56
|
+
SecureRandom.base64(36)
|
57
|
+
)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
namespace :keys do
|
63
|
+
namespace :deploy do
|
64
|
+
RakeSSH.define_key_tasks(
|
65
|
+
path: 'config/secrets/ci/',
|
66
|
+
comment: 'maintainers@infrablocks.io'
|
67
|
+
)
|
68
|
+
end
|
69
|
+
|
70
|
+
namespace :gpg do
|
71
|
+
RakeGPG.define_generate_key_task(
|
72
|
+
output_directory: 'config/secrets/ci',
|
73
|
+
name_prefix: 'gpg',
|
74
|
+
owner_name: 'InfraBlocks Maintainers',
|
75
|
+
owner_email: 'maintainers@infrablocks.io',
|
76
|
+
owner_comment: 'enruby CI Key'
|
77
|
+
)
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
namespace :secrets do
|
82
|
+
namespace :directory do
|
83
|
+
desc 'Ensure secrets directory exists and is set up correctly'
|
84
|
+
task :ensure do
|
85
|
+
FileUtils.mkdir_p('config/secrets')
|
86
|
+
unless File.exist?('config/secrets/.unlocked')
|
87
|
+
File.write('config/secrets/.unlocked', 'true')
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
desc 'Generate all generatable secrets.'
|
93
|
+
task generate: %w[
|
94
|
+
encryption:passphrase:generate
|
95
|
+
keys:deploy:generate
|
96
|
+
keys:gpg:generate
|
97
|
+
]
|
98
|
+
|
99
|
+
desc 'Provision all secrets.'
|
100
|
+
task provision: [:generate]
|
101
|
+
|
102
|
+
desc 'Delete all secrets.'
|
103
|
+
task :destroy do
|
104
|
+
rm_rf 'config/secrets'
|
105
|
+
end
|
106
|
+
|
107
|
+
desc 'Rotate all secrets.'
|
108
|
+
task rotate: [:'git_crypt:reinstall']
|
109
|
+
end
|
110
|
+
|
111
|
+
RuboCop::RakeTask.new
|
112
|
+
|
113
|
+
YARD::Rake::YardocTask.new do |t|
|
114
|
+
t.files = ['lib/**/*.rb']
|
115
|
+
t.options = %w[--embed-mixins --output-dir docs]
|
116
|
+
end
|
117
|
+
|
118
|
+
namespace :library do
|
119
|
+
desc 'Run all checks of the library'
|
120
|
+
task check: [:rubocop]
|
121
|
+
|
122
|
+
desc 'Attempt to automatically fix issues with the library'
|
123
|
+
task fix: [:'rubocop:autocorrect_all']
|
124
|
+
end
|
125
|
+
|
126
|
+
namespace :documentation do
|
127
|
+
desc 'Generate documentation'
|
128
|
+
task generate: [:yard]
|
129
|
+
|
130
|
+
desc 'Commit documentation'
|
131
|
+
task :commit, [:skip] do |_, args|
|
132
|
+
args.with_defaults(skip: 'true')
|
133
|
+
|
134
|
+
skip_ci = args.skip == 'true'
|
135
|
+
|
136
|
+
sh('git', 'commit',
|
137
|
+
'-a',
|
138
|
+
'-m', "Generate latest documentation#{skip_ci ? ' [ci skip]' : ''}")
|
139
|
+
end
|
140
|
+
|
141
|
+
desc 'Update documentation'
|
142
|
+
task update: %i[generate commit]
|
143
|
+
end
|
144
|
+
|
145
|
+
namespace :test do
|
146
|
+
RSpec::Core::RakeTask.new(:unit)
|
147
|
+
end
|
148
|
+
|
149
|
+
RakeCircleCI.define_project_tasks(
|
150
|
+
namespace: :circle_ci,
|
151
|
+
project_slug: 'github/infrablocks/enruby'
|
152
|
+
) do |t|
|
153
|
+
circle_ci_config =
|
154
|
+
YAML.load_file('config/secrets/circle_ci/config.yaml')
|
155
|
+
|
156
|
+
t.api_token = circle_ci_config['circle_ci_api_token']
|
157
|
+
t.environment_variables = {
|
158
|
+
ENCRYPTION_PASSPHRASE:
|
159
|
+
File.read('config/secrets/ci/encryption.passphrase')
|
160
|
+
.chomp
|
161
|
+
}
|
162
|
+
t.checkout_keys = []
|
163
|
+
t.ssh_keys = [
|
164
|
+
{
|
165
|
+
hostname: 'github.com',
|
166
|
+
private_key: File.read('config/secrets/ci/ssh.private')
|
167
|
+
}
|
168
|
+
]
|
169
|
+
end
|
170
|
+
|
171
|
+
RakeGithub.define_repository_tasks(
|
172
|
+
namespace: :github,
|
173
|
+
repository: 'infrablocks/enruby'
|
174
|
+
) do |t|
|
175
|
+
github_config =
|
176
|
+
YAML.load_file('config/secrets/github/config.yaml')
|
177
|
+
|
178
|
+
t.access_token = github_config['github_personal_access_token']
|
179
|
+
t.deploy_keys = [
|
180
|
+
{
|
181
|
+
title: 'CircleCI',
|
182
|
+
public_key: File.read('config/secrets/ci/ssh.public')
|
183
|
+
}
|
184
|
+
]
|
185
|
+
end
|
186
|
+
|
187
|
+
namespace :pipeline do
|
188
|
+
desc 'Prepare CircleCI Pipeline'
|
189
|
+
task prepare: %i[
|
190
|
+
circle_ci:env_vars:ensure
|
191
|
+
circle_ci:checkout_keys:ensure
|
192
|
+
circle_ci:ssh_keys:ensure
|
193
|
+
github:deploy_keys:ensure
|
194
|
+
]
|
195
|
+
end
|
196
|
+
|
197
|
+
namespace :version do
|
198
|
+
desc 'Bump version for specified type (pre, major, minor, patch)'
|
199
|
+
task :bump, [:type] do |_, args|
|
200
|
+
bump_version_for(args.type)
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
desc 'Release gem'
|
205
|
+
task :release do
|
206
|
+
sh 'gem release --tag --push'
|
207
|
+
end
|
208
|
+
|
209
|
+
def bump_version_for(version_type)
|
210
|
+
sh "gem bump --version #{version_type} " \
|
211
|
+
'&& bundle install ' \
|
212
|
+
'&& export LAST_MESSAGE="$(git log -1 --pretty=%B)" ' \
|
213
|
+
'&& git commit -a --amend -m "${LAST_MESSAGE} [ci skip]"'
|
214
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'enruby'
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require 'irb'
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/enruby.gemspec
ADDED
@@ -0,0 +1,64 @@
|
|
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 'enruby/version'
|
6
|
+
require 'date'
|
7
|
+
|
8
|
+
files = %w[
|
9
|
+
bin
|
10
|
+
lib
|
11
|
+
CODE_OF_CONDUCT.md
|
12
|
+
enruby.gemspec
|
13
|
+
Gemfile
|
14
|
+
LICENSE.txt
|
15
|
+
Rakefile
|
16
|
+
README.md
|
17
|
+
]
|
18
|
+
|
19
|
+
Gem::Specification.new do |spec|
|
20
|
+
spec.name = 'enruby'
|
21
|
+
spec.version = Enruby::VERSION
|
22
|
+
spec.authors = ['InfraBlocks Maintainers']
|
23
|
+
spec.email = ['maintainers@infrablocks.io']
|
24
|
+
|
25
|
+
spec.summary = 'A framework for creating Ruby command line tool wrappers.'
|
26
|
+
spec.description = 'Allows defining Ruby constructs to wrap arbitrary ' \
|
27
|
+
'command line tools.'
|
28
|
+
spec.homepage = 'https://github.com/infrablocks/enruby'
|
29
|
+
spec.license = 'MIT'
|
30
|
+
|
31
|
+
spec.files = `git ls-files -z`.split("\x0").select do |f|
|
32
|
+
f.match(/^(#{files.map { |g| Regexp.escape(g) }.join('|')})/)
|
33
|
+
end
|
34
|
+
spec.bindir = 'exe'
|
35
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
36
|
+
spec.require_paths = ['lib']
|
37
|
+
|
38
|
+
spec.required_ruby_version = '>= 3.1'
|
39
|
+
|
40
|
+
spec.add_dependency 'immutable-struct', '~> 2.4'
|
41
|
+
spec.add_dependency 'lino', '~> 3.0'
|
42
|
+
|
43
|
+
spec.add_development_dependency 'bundler'
|
44
|
+
spec.add_development_dependency 'faker'
|
45
|
+
spec.add_development_dependency 'gem-release'
|
46
|
+
spec.add_development_dependency 'guard'
|
47
|
+
spec.add_development_dependency 'guard-rspec'
|
48
|
+
spec.add_development_dependency 'rake'
|
49
|
+
spec.add_development_dependency 'rake_circle_ci'
|
50
|
+
spec.add_development_dependency 'rake_git'
|
51
|
+
spec.add_development_dependency 'rake_git_crypt'
|
52
|
+
spec.add_development_dependency 'rake_github'
|
53
|
+
spec.add_development_dependency 'rake_gpg'
|
54
|
+
spec.add_development_dependency 'rake_ssh'
|
55
|
+
spec.add_development_dependency 'rspec'
|
56
|
+
spec.add_development_dependency 'rubocop'
|
57
|
+
spec.add_development_dependency 'rubocop-rake'
|
58
|
+
spec.add_development_dependency 'rubocop-rspec'
|
59
|
+
spec.add_development_dependency 'simplecov'
|
60
|
+
spec.add_development_dependency 'terminal-notifier-guard'
|
61
|
+
spec.add_development_dependency 'yard'
|
62
|
+
|
63
|
+
spec.metadata['rubygems_mfa_required'] = 'false'
|
64
|
+
end
|
data/lib/enruby.rb
ADDED
metadata
ADDED
@@ -0,0 +1,349 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: enruby
|
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: 2024-06-29 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_git
|
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_git_crypt
|
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_github
|
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_gpg
|
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: rake_ssh
|
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: rspec
|
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
|
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: rubocop-rake
|
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: rubocop-rspec
|
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: simplecov
|
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
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: terminal-notifier-guard
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: yard
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - ">="
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '0'
|
300
|
+
type: :development
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - ">="
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0'
|
307
|
+
description: Allows defining Ruby constructs to wrap arbitrary command line tools.
|
308
|
+
email:
|
309
|
+
- maintainers@infrablocks.io
|
310
|
+
executables: []
|
311
|
+
extensions: []
|
312
|
+
extra_rdoc_files: []
|
313
|
+
files:
|
314
|
+
- CODE_OF_CONDUCT.md
|
315
|
+
- Gemfile
|
316
|
+
- Gemfile.lock
|
317
|
+
- LICENSE.txt
|
318
|
+
- README.md
|
319
|
+
- Rakefile
|
320
|
+
- bin/console
|
321
|
+
- bin/setup
|
322
|
+
- enruby.gemspec
|
323
|
+
- lib/enruby.rb
|
324
|
+
- lib/enruby/version.rb
|
325
|
+
homepage: https://github.com/infrablocks/enruby
|
326
|
+
licenses:
|
327
|
+
- MIT
|
328
|
+
metadata:
|
329
|
+
rubygems_mfa_required: 'false'
|
330
|
+
post_install_message:
|
331
|
+
rdoc_options: []
|
332
|
+
require_paths:
|
333
|
+
- lib
|
334
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
335
|
+
requirements:
|
336
|
+
- - ">="
|
337
|
+
- !ruby/object:Gem::Version
|
338
|
+
version: '3.1'
|
339
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
340
|
+
requirements:
|
341
|
+
- - ">"
|
342
|
+
- !ruby/object:Gem::Version
|
343
|
+
version: 1.3.1
|
344
|
+
requirements: []
|
345
|
+
rubygems_version: 3.3.26
|
346
|
+
signing_key:
|
347
|
+
specification_version: 4
|
348
|
+
summary: A framework for creating Ruby command line tool wrappers.
|
349
|
+
test_files: []
|