trixie 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +44 -0
- data/.github/workflows/main.yml +13 -6
- data/.rubocop.yml +6 -1
- data/.ruby-version +1 -1
- data/Gemfile +0 -8
- data/Gemfile.lock +100 -74
- data/README.md +15 -3
- data/bin/rspec +29 -0
- data/bin/rubocop +29 -0
- data/lib/trixie/contracts/types.rb +1 -0
- data/lib/trixie/formatter.rb +1 -1
- data/lib/trixie/load.rb +12 -1
- data/lib/trixie/version.rb +1 -1
- data/trixie.gemspec +9 -4
- metadata +69 -15
- data/.github/CODEOWNERS +0 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 70a581f5fc7842f4f0243591c249ebc5a056adffad2727747a4b1f7f9ec5532a
|
|
4
|
+
data.tar.gz: c8e3d3fcc49cde0b394405eeed1d903d95265681c7029c364f5fc98f19ebbfbe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bbaaef298ba2a3c79b98e842076e37f3521aa5324e41eb47e3900bea4a22ffc5b17c62786c6fe7928fc424bf7c8830e2109807bcc0c6bec15346c789d4535d3a
|
|
7
|
+
data.tar.gz: 6bea0a778d18c87cbe3c4e77a0414daa9f602c64251ef0874910f8abdb4265581ad80619a68d5ea70e200bbf2768bde455e9ef1bccfcbe86df330f5024f29525
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
registries:
|
|
3
|
+
toptal-github:
|
|
4
|
+
type: "git"
|
|
5
|
+
url: "https://github.com"
|
|
6
|
+
username: "x-access-token"
|
|
7
|
+
password: "${{secrets.DEPENDABOT_GITHUB_TOKEN}}"
|
|
8
|
+
|
|
9
|
+
updates:
|
|
10
|
+
- package-ecosystem: bundler
|
|
11
|
+
directory: "/"
|
|
12
|
+
schedule:
|
|
13
|
+
interval: "weekly"
|
|
14
|
+
day: "wednesday"
|
|
15
|
+
time: "07:00"
|
|
16
|
+
pull-request-branch-name:
|
|
17
|
+
separator: "-"
|
|
18
|
+
labels:
|
|
19
|
+
- "no-jira"
|
|
20
|
+
- "ruby"
|
|
21
|
+
- "dependencies"
|
|
22
|
+
- "DevX"
|
|
23
|
+
reviewers:
|
|
24
|
+
- "toptal/devx"
|
|
25
|
+
registries:
|
|
26
|
+
- toptal-github
|
|
27
|
+
insecure-external-code-execution: allow
|
|
28
|
+
open-pull-requests-limit: 2
|
|
29
|
+
- package-ecosystem: "github-actions"
|
|
30
|
+
directory: "/"
|
|
31
|
+
schedule:
|
|
32
|
+
interval: "weekly"
|
|
33
|
+
day: "wednesday"
|
|
34
|
+
time: "07:00"
|
|
35
|
+
pull-request-branch-name:
|
|
36
|
+
separator: "-"
|
|
37
|
+
labels:
|
|
38
|
+
- "no-jira"
|
|
39
|
+
- "dependencies"
|
|
40
|
+
- "gha"
|
|
41
|
+
- "DevX"
|
|
42
|
+
reviewers:
|
|
43
|
+
- "toptal/devx"
|
|
44
|
+
open-pull-requests-limit: 2
|
data/.github/workflows/main.yml
CHANGED
|
@@ -8,18 +8,25 @@ on:
|
|
|
8
8
|
jobs:
|
|
9
9
|
build:
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
|
+
|
|
11
12
|
strategy:
|
|
13
|
+
fail-fast: false
|
|
12
14
|
matrix:
|
|
13
|
-
ruby-version: ['
|
|
15
|
+
ruby-version: ['3.3', '3.4', '4.0']
|
|
14
16
|
|
|
15
17
|
steps:
|
|
16
|
-
- uses: actions/checkout@
|
|
18
|
+
- uses: actions/checkout@v6
|
|
19
|
+
|
|
17
20
|
- name: Set up Ruby
|
|
18
21
|
uses: ruby/setup-ruby@v1
|
|
19
22
|
with:
|
|
20
23
|
ruby-version: ${{ matrix.ruby-version }}
|
|
21
|
-
|
|
24
|
+
bundler-cache: true
|
|
25
|
+
|
|
26
|
+
- name: Run tests
|
|
27
|
+
run: |
|
|
28
|
+
bundle exec rake spec
|
|
29
|
+
|
|
30
|
+
- name: Run rubocop
|
|
22
31
|
run: |
|
|
23
|
-
|
|
24
|
-
bundle install
|
|
25
|
-
bundle exec rake
|
|
32
|
+
bundle exec rake rubocop
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.3
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,107 +1,133 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
trixie (0.1.
|
|
5
|
-
dry-cli (~>
|
|
6
|
-
dry-schema (~> 1.10
|
|
7
|
-
dry-validation (~> 1.8
|
|
4
|
+
trixie (0.1.5)
|
|
5
|
+
dry-cli (~> 1.0)
|
|
6
|
+
dry-schema (~> 1.10)
|
|
7
|
+
dry-validation (~> 1.8)
|
|
8
8
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
ast (2.4.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
ast (2.4.3)
|
|
13
|
+
bigdecimal (4.0.1)
|
|
14
|
+
concurrent-ruby (1.3.6)
|
|
15
|
+
date (3.5.1)
|
|
16
|
+
debug (1.11.1)
|
|
17
|
+
irb (~> 1.10)
|
|
18
|
+
reline (>= 0.3.8)
|
|
19
|
+
diff-lcs (1.6.2)
|
|
20
|
+
dry-cli (1.4.1)
|
|
21
|
+
dry-configurable (1.3.0)
|
|
22
|
+
dry-core (~> 1.1)
|
|
20
23
|
zeitwerk (~> 2.6)
|
|
21
|
-
dry-
|
|
22
|
-
concurrent-ruby (~> 1.0)
|
|
23
|
-
dry-core (0.9.1)
|
|
24
|
+
dry-core (1.2.0)
|
|
24
25
|
concurrent-ruby (~> 1.0)
|
|
26
|
+
logger
|
|
25
27
|
zeitwerk (~> 2.6)
|
|
26
|
-
dry-inflector (
|
|
27
|
-
dry-initializer (3.
|
|
28
|
-
dry-logic (1.
|
|
28
|
+
dry-inflector (1.3.1)
|
|
29
|
+
dry-initializer (3.2.0)
|
|
30
|
+
dry-logic (1.6.0)
|
|
31
|
+
bigdecimal
|
|
29
32
|
concurrent-ruby (~> 1.0)
|
|
30
|
-
dry-core (~>
|
|
33
|
+
dry-core (~> 1.1)
|
|
31
34
|
zeitwerk (~> 2.6)
|
|
32
|
-
dry-schema (1.
|
|
35
|
+
dry-schema (1.15.0)
|
|
33
36
|
concurrent-ruby (~> 1.0)
|
|
34
|
-
dry-configurable (~> 0
|
|
35
|
-
dry-core (~>
|
|
36
|
-
dry-initializer (~> 3.
|
|
37
|
-
dry-logic (~> 1.
|
|
38
|
-
dry-types (~> 1.
|
|
39
|
-
|
|
37
|
+
dry-configurable (~> 1.0, >= 1.0.1)
|
|
38
|
+
dry-core (~> 1.1)
|
|
39
|
+
dry-initializer (~> 3.2)
|
|
40
|
+
dry-logic (~> 1.6)
|
|
41
|
+
dry-types (~> 1.8)
|
|
42
|
+
zeitwerk (~> 2.6)
|
|
43
|
+
dry-types (1.9.0)
|
|
44
|
+
bigdecimal (>= 3.0)
|
|
40
45
|
concurrent-ruby (~> 1.0)
|
|
41
|
-
dry-
|
|
42
|
-
dry-
|
|
43
|
-
dry-
|
|
44
|
-
dry-logic (~> 1.3, >= 1.3)
|
|
46
|
+
dry-core (~> 1.0)
|
|
47
|
+
dry-inflector (~> 1.0)
|
|
48
|
+
dry-logic (~> 1.4)
|
|
45
49
|
zeitwerk (~> 2.6)
|
|
46
|
-
dry-validation (1.
|
|
50
|
+
dry-validation (1.11.1)
|
|
47
51
|
concurrent-ruby (~> 1.0)
|
|
48
|
-
dry-
|
|
49
|
-
dry-
|
|
50
|
-
dry-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
dry-core (~> 1.1)
|
|
53
|
+
dry-initializer (~> 3.2)
|
|
54
|
+
dry-schema (~> 1.14)
|
|
55
|
+
zeitwerk (~> 2.6)
|
|
56
|
+
erb (6.0.1)
|
|
57
|
+
io-console (0.8.2)
|
|
58
|
+
irb (1.16.0)
|
|
59
|
+
pp (>= 0.6.0)
|
|
60
|
+
rdoc (>= 4.0.0)
|
|
61
|
+
reline (>= 0.4.2)
|
|
62
|
+
json (2.18.1)
|
|
63
|
+
language_server-protocol (3.17.0.5)
|
|
64
|
+
lint_roller (1.1.0)
|
|
65
|
+
logger (1.7.0)
|
|
66
|
+
parallel (1.27.0)
|
|
67
|
+
parser (3.3.10.1)
|
|
56
68
|
ast (~> 2.4.1)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
69
|
+
racc
|
|
70
|
+
pp (0.6.3)
|
|
71
|
+
prettyprint
|
|
72
|
+
prettyprint (0.2.0)
|
|
73
|
+
prism (1.9.0)
|
|
74
|
+
psych (5.3.1)
|
|
75
|
+
date
|
|
76
|
+
stringio
|
|
77
|
+
racc (1.8.1)
|
|
63
78
|
rainbow (3.1.1)
|
|
64
|
-
rake (13.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
79
|
+
rake (13.2.1)
|
|
80
|
+
rdoc (7.0.3)
|
|
81
|
+
erb
|
|
82
|
+
psych (>= 4.0.0)
|
|
83
|
+
tsort
|
|
84
|
+
regexp_parser (2.11.3)
|
|
85
|
+
reline (0.6.3)
|
|
86
|
+
io-console (~> 0.5)
|
|
87
|
+
rspec (3.13.2)
|
|
88
|
+
rspec-core (~> 3.13.0)
|
|
89
|
+
rspec-expectations (~> 3.13.0)
|
|
90
|
+
rspec-mocks (~> 3.13.0)
|
|
91
|
+
rspec-core (3.13.6)
|
|
92
|
+
rspec-support (~> 3.13.0)
|
|
93
|
+
rspec-expectations (3.13.5)
|
|
74
94
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
75
|
-
rspec-support (~> 3.
|
|
76
|
-
rspec-mocks (3.
|
|
95
|
+
rspec-support (~> 3.13.0)
|
|
96
|
+
rspec-mocks (3.13.7)
|
|
77
97
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
78
|
-
rspec-support (~> 3.
|
|
79
|
-
rspec-support (3.
|
|
80
|
-
rubocop (1.
|
|
98
|
+
rspec-support (~> 3.13.0)
|
|
99
|
+
rspec-support (3.13.7)
|
|
100
|
+
rubocop (1.84.1)
|
|
81
101
|
json (~> 2.3)
|
|
102
|
+
language_server-protocol (~> 3.17.0.2)
|
|
103
|
+
lint_roller (~> 1.1.0)
|
|
82
104
|
parallel (~> 1.10)
|
|
83
|
-
parser (>= 3.
|
|
105
|
+
parser (>= 3.3.0.2)
|
|
84
106
|
rainbow (>= 2.2.2, < 4.0)
|
|
85
|
-
regexp_parser (>=
|
|
86
|
-
|
|
87
|
-
rubocop-ast (>= 1.20.1, < 2.0)
|
|
107
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
108
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
88
109
|
ruby-progressbar (~> 1.7)
|
|
89
|
-
unicode-display_width (>=
|
|
90
|
-
rubocop-ast (1.
|
|
91
|
-
parser (>= 3.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
110
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
111
|
+
rubocop-ast (1.49.0)
|
|
112
|
+
parser (>= 3.3.7.2)
|
|
113
|
+
prism (~> 1.7)
|
|
114
|
+
ruby-progressbar (1.13.0)
|
|
115
|
+
stringio (3.2.0)
|
|
116
|
+
tsort (0.2.0)
|
|
117
|
+
unicode-display_width (3.2.0)
|
|
118
|
+
unicode-emoji (~> 4.1)
|
|
119
|
+
unicode-emoji (4.2.0)
|
|
120
|
+
zeitwerk (2.7.4)
|
|
95
121
|
|
|
96
122
|
PLATFORMS
|
|
97
123
|
x86_64-linux
|
|
98
124
|
|
|
99
125
|
DEPENDENCIES
|
|
100
|
-
|
|
101
|
-
rake (~> 13.
|
|
102
|
-
rspec (~> 3.
|
|
126
|
+
debug
|
|
127
|
+
rake (~> 13.2)
|
|
128
|
+
rspec (~> 3.13)
|
|
103
129
|
rubocop (~> 1.7)
|
|
104
130
|
trixie!
|
|
105
131
|
|
|
106
132
|
BUNDLED WITH
|
|
107
|
-
|
|
133
|
+
4.0.5
|
data/README.md
CHANGED
|
@@ -18,7 +18,20 @@ secrets:
|
|
|
18
18
|
value: "{{ op://Developers/NPM_TOKEN/SETUP_SECRET/value }}"
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Then you can run `trixie load > .env.secrets` to update your env file with the `NPM_TOKEN
|
|
21
|
+
Then you can run `trixie load > .env.secrets` to update your env file with the `NPM_TOKEN`.
|
|
22
|
+
|
|
23
|
+
Alternatively, you can also leverage the following environment variables:
|
|
24
|
+
- TRIXIE_OP_ADDRESS - sets the authentication address for 1Password
|
|
25
|
+
- TRIXIE_OP_EMAIL - sets the user email address for 1Password
|
|
26
|
+
|
|
27
|
+
Example:
|
|
28
|
+
```ssh
|
|
29
|
+
TRIXIE_OP_ADDRESS=https://{account}.1password.com \
|
|
30
|
+
TRIXIE_OP_EMAIL=john.doe@email.com \
|
|
31
|
+
trixie load > .env.secrets
|
|
32
|
+
```
|
|
33
|
+
this will populate your env file with:
|
|
34
|
+
`export NPM_TOKEN={toptals-read-only-npm-token}`
|
|
22
35
|
|
|
23
36
|
### Groups
|
|
24
37
|
|
|
@@ -70,8 +83,7 @@ Or install it yourself as:
|
|
|
70
83
|
## TODO IDEAS
|
|
71
84
|
|
|
72
85
|
1. Support Multiple Backends/Password Managers, Trixie::Loader can be refactored to be an adapter for the op CLI
|
|
73
|
-
2.
|
|
74
|
-
3. Add a load --cache option, so fetched secrets could be retained for a while without using the Password Manager Backend
|
|
86
|
+
2. Add a load --cache option, so fetched secrets could be retained for a while without using the Password Manager Backend
|
|
75
87
|
|
|
76
88
|
## Development
|
|
77
89
|
|
data/bin/rspec
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'rspec' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
require "pathname"
|
|
12
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
13
|
+
Pathname.new(__FILE__).realpath)
|
|
14
|
+
|
|
15
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
16
|
+
|
|
17
|
+
if File.file?(bundle_binstub)
|
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
|
19
|
+
load(bundle_binstub)
|
|
20
|
+
else
|
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
require "rubygems"
|
|
27
|
+
require "bundler/setup"
|
|
28
|
+
|
|
29
|
+
load Gem.bin_path("rspec-core", "rspec")
|
data/bin/rubocop
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
#
|
|
5
|
+
# This file was generated by Bundler.
|
|
6
|
+
#
|
|
7
|
+
# The application 'rubocop' is installed as part of a gem, and
|
|
8
|
+
# this file is here to facilitate running it.
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
require "pathname"
|
|
12
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
13
|
+
Pathname.new(__FILE__).realpath)
|
|
14
|
+
|
|
15
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
16
|
+
|
|
17
|
+
if File.file?(bundle_binstub)
|
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
|
19
|
+
load(bundle_binstub)
|
|
20
|
+
else
|
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
require "rubygems"
|
|
27
|
+
require "bundler/setup"
|
|
28
|
+
|
|
29
|
+
load Gem.bin_path("rubocop", "rubocop")
|
data/lib/trixie/formatter.rb
CHANGED
|
@@ -6,7 +6,7 @@ module Trixie
|
|
|
6
6
|
FORMATTERS = {
|
|
7
7
|
"env" => ->(secrets) { secrets.map { |secret| "#{secret["env"]}=#{secret["value"]}" }.join("\n") },
|
|
8
8
|
"sh" => ->(secrets) { secrets.map { |secret| "export #{secret["env"]}=#{secret["value"]}" }.join("\n") },
|
|
9
|
-
"json" =>
|
|
9
|
+
"json" => lambda(&:to_json),
|
|
10
10
|
"pretty_json" => ->(secrets) { JSON.pretty_generate(secrets) }
|
|
11
11
|
}.freeze
|
|
12
12
|
|
data/lib/trixie/load.rb
CHANGED
|
@@ -4,6 +4,8 @@ module Trixie
|
|
|
4
4
|
# Fetches the specified secrets with op cli and returns them formatted
|
|
5
5
|
class Load
|
|
6
6
|
OP_NOT_INSTALLED = "op cli is not installed please download and install at https://developer.1password.com/docs/cli/get-started#install"
|
|
7
|
+
OP_ADDRESS_ENV = "TRIXIE_OP_ADDRESS"
|
|
8
|
+
OP_EMAIL_ENV = "TRIXIE_OP_EMAIL"
|
|
7
9
|
|
|
8
10
|
def initialize(file:, groups: [], format: "env")
|
|
9
11
|
@file = file
|
|
@@ -38,7 +40,7 @@ module Trixie
|
|
|
38
40
|
warn "* Configuring 1password Account"
|
|
39
41
|
warn "To get the Secret Key take a look at https://support.1password.com/secret-key/"
|
|
40
42
|
|
|
41
|
-
|
|
43
|
+
add_op_account
|
|
42
44
|
end
|
|
43
45
|
|
|
44
46
|
def fetch_secrets
|
|
@@ -58,5 +60,14 @@ module Trixie
|
|
|
58
60
|
def formatted_secrets
|
|
59
61
|
@formatter.call(filtered_secrets)
|
|
60
62
|
end
|
|
63
|
+
|
|
64
|
+
def add_op_account
|
|
65
|
+
cmd = "op account add"
|
|
66
|
+
|
|
67
|
+
cmd += " --address #{ENV[OP_ADDRESS_ENV]}" if ENV[OP_ADDRESS_ENV]
|
|
68
|
+
cmd += " --email #{ENV[OP_EMAIL_ENV]}" if ENV[OP_EMAIL_ENV]
|
|
69
|
+
|
|
70
|
+
`#{cmd}`
|
|
71
|
+
end
|
|
61
72
|
end
|
|
62
73
|
end
|
data/lib/trixie/version.rb
CHANGED
data/trixie.gemspec
CHANGED
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.summary = "CLI tool to fetch secrets in development"
|
|
13
13
|
spec.homepage = "https://github.com/toptal/trixie"
|
|
14
14
|
spec.license = "MIT"
|
|
15
|
-
spec.required_ruby_version = Gem::Requirement.new(">=
|
|
15
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 3.3.0")
|
|
16
16
|
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
18
18
|
spec.metadata["source_code_uri"] = "https://github.com/toptal/trixie"
|
|
@@ -31,7 +31,12 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
|
|
32
32
|
# For more information and examples about making a new gem, checkout our
|
|
33
33
|
# guide at: https://bundler.io/guides/creating_gem.html
|
|
34
|
-
spec.add_dependency "dry-cli", "~>
|
|
35
|
-
spec.add_dependency "dry-schema", "~> 1.10
|
|
36
|
-
spec.add_dependency "dry-validation", "~> 1.8
|
|
34
|
+
spec.add_dependency "dry-cli", "~> 1.0"
|
|
35
|
+
spec.add_dependency "dry-schema", "~> 1.10"
|
|
36
|
+
spec.add_dependency "dry-validation", "~> 1.8"
|
|
37
|
+
|
|
38
|
+
spec.add_development_dependency "debug"
|
|
39
|
+
spec.add_development_dependency "rake", "~> 13.2"
|
|
40
|
+
spec.add_development_dependency "rspec", "~> 3.13"
|
|
41
|
+
spec.add_development_dependency "rubocop", "~> 1.7"
|
|
37
42
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trixie
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Toptal, LLC
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: dry-cli
|
|
@@ -16,43 +15,98 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - "~>"
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
18
|
+
version: '1.0'
|
|
20
19
|
type: :runtime
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
23
|
- - "~>"
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
25
|
+
version: '1.0'
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
27
|
name: dry-schema
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
30
29
|
requirements:
|
|
31
30
|
- - "~>"
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.10
|
|
32
|
+
version: '1.10'
|
|
34
33
|
type: :runtime
|
|
35
34
|
prerelease: false
|
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
37
|
- - "~>"
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.10
|
|
39
|
+
version: '1.10'
|
|
41
40
|
- !ruby/object:Gem::Dependency
|
|
42
41
|
name: dry-validation
|
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
|
44
43
|
requirements:
|
|
45
44
|
- - "~>"
|
|
46
45
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 1.8
|
|
46
|
+
version: '1.8'
|
|
48
47
|
type: :runtime
|
|
49
48
|
prerelease: false
|
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
50
|
requirements:
|
|
52
51
|
- - "~>"
|
|
53
52
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 1.8
|
|
55
|
-
|
|
53
|
+
version: '1.8'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: debug
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
61
|
+
type: :development
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '0'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: rake
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - "~>"
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '13.2'
|
|
75
|
+
type: :development
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - "~>"
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '13.2'
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: rspec
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - "~>"
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '3.13'
|
|
89
|
+
type: :development
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - "~>"
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '3.13'
|
|
96
|
+
- !ruby/object:Gem::Dependency
|
|
97
|
+
name: rubocop
|
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - "~>"
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: '1.7'
|
|
103
|
+
type: :development
|
|
104
|
+
prerelease: false
|
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - "~>"
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '1.7'
|
|
56
110
|
email:
|
|
57
111
|
- open-source@toptal.com
|
|
58
112
|
- carlos.atkinson@toptal.com
|
|
@@ -63,7 +117,7 @@ executables:
|
|
|
63
117
|
extensions: []
|
|
64
118
|
extra_rdoc_files: []
|
|
65
119
|
files:
|
|
66
|
-
- ".github/
|
|
120
|
+
- ".github/dependabot.yml"
|
|
67
121
|
- ".github/workflows/main.yml"
|
|
68
122
|
- ".gitignore"
|
|
69
123
|
- ".rspec"
|
|
@@ -75,6 +129,8 @@ files:
|
|
|
75
129
|
- README.md
|
|
76
130
|
- Rakefile
|
|
77
131
|
- bin/console
|
|
132
|
+
- bin/rspec
|
|
133
|
+
- bin/rubocop
|
|
78
134
|
- bin/setup
|
|
79
135
|
- exe/trixie
|
|
80
136
|
- lib/trixie.rb
|
|
@@ -93,7 +149,6 @@ licenses:
|
|
|
93
149
|
metadata:
|
|
94
150
|
homepage_uri: https://github.com/toptal/trixie
|
|
95
151
|
source_code_uri: https://github.com/toptal/trixie
|
|
96
|
-
post_install_message:
|
|
97
152
|
rdoc_options: []
|
|
98
153
|
require_paths:
|
|
99
154
|
- lib
|
|
@@ -101,15 +156,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
101
156
|
requirements:
|
|
102
157
|
- - ">="
|
|
103
158
|
- !ruby/object:Gem::Version
|
|
104
|
-
version:
|
|
159
|
+
version: 3.3.0
|
|
105
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
161
|
requirements:
|
|
107
162
|
- - ">="
|
|
108
163
|
- !ruby/object:Gem::Version
|
|
109
164
|
version: '0'
|
|
110
165
|
requirements: []
|
|
111
|
-
rubygems_version:
|
|
112
|
-
signing_key:
|
|
166
|
+
rubygems_version: 4.0.5
|
|
113
167
|
specification_version: 4
|
|
114
168
|
summary: CLI tool to fetch secrets in development
|
|
115
169
|
test_files: []
|
data/.github/CODEOWNERS
DELETED