secret_hub 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/secret_hub/cli.rb +2 -1
- data/lib/secret_hub/config.rb +1 -1
- data/lib/secret_hub/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: e7f29f7f724bd83bc5b9899c90248279f9997bfe5e9e5c5a09f37af679faad12
|
4
|
+
data.tar.gz: 9d8ffac16034c077d0c9f497e919aae03c8673b32e09afdbae0fbf9e08c76ad4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85bf36c96fe639fdf512a4332cc179ad385009ba06800db5b0aa27a0e92a8dcef8a1dc37af1431d58a94fa921b6bf7b26e58ac826b6f48ab0b2a4dd4e1a70ae1
|
7
|
+
data.tar.gz: 7bd79637ed41dc098098ff42e00226e1c424f1fd711d7ef6ba905a442e57d2052116fc6127f19861b46cbf49b917721e5ded32619e5d89822539495e0d65edbd
|
data/README.md
CHANGED
@@ -68,7 +68,7 @@ $ secrethub list you/your-repo SECRET "there is no spoon"
|
|
68
68
|
|
69
69
|
```shell
|
70
70
|
# secrethub delete REPO KEY
|
71
|
-
$ secrethub
|
71
|
+
$ secrethub delete you/your-repo SECRET
|
72
72
|
```
|
73
73
|
|
74
74
|
|
@@ -127,7 +127,7 @@ docker: &docker
|
|
127
127
|
DOCKER_USER:
|
128
128
|
DOCKER_PASSWORD:
|
129
129
|
|
130
|
-
user/
|
130
|
+
user/repo:
|
131
131
|
<<: *docker
|
132
132
|
SECRET:
|
133
133
|
PASSWORD: p4ssw0rd
|
data/lib/secret_hub/cli.rb
CHANGED
@@ -9,7 +9,8 @@ module SecretHub
|
|
9
9
|
class CLI
|
10
10
|
def self.router
|
11
11
|
router = MisterBin::Runner.new version: VERSION,
|
12
|
-
header: "GitHub Secret Manager"
|
12
|
+
header: "GitHub Secret Manager",
|
13
|
+
footer: "Run !txtpur!secrethub COMMAND --help!txtrst! for command specific help"
|
13
14
|
|
14
15
|
router.route 'list', to: Commands::List
|
15
16
|
router.route 'save', to: Commands::Save
|
data/lib/secret_hub/config.rb
CHANGED
@@ -5,7 +5,7 @@ module SecretHub
|
|
5
5
|
attr_reader :data
|
6
6
|
|
7
7
|
def self.load(config_file)
|
8
|
-
raise ConfigurationError, "Config file not found #{
|
8
|
+
raise ConfigurationError, "Config file not found #{config_file}" unless File.exist? config_file
|
9
9
|
new YAML.load_file config_file
|
10
10
|
end
|
11
11
|
|
data/lib/secret_hub/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: secret_hub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mister_bin
|