secros 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -2
- data/Gemfile.lock +0 -6
- data/README.md +45 -0
- data/secros.gemspec +2 -1
- metadata +16 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15ce56fdc4331530e56ac64ed1790655b6fcc694
|
4
|
+
data.tar.gz: ac388a453e79399eb864ba43637d99b88909a30f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3ddb898dbfa1edd5266f51c44aa73cd54ee76f2f67bd1eff16db44aedfd982f64acba9edfba5fb3e4c0c97c700cdae84d2e347e032beb6fa5e6df8059548ca5
|
7
|
+
data.tar.gz: 3b162e36799484a52edc7bbfcd759ac7544c7bf05d648185741a65c6d9f02745fc1b789ba9d0dacf1f01c4299d7721d19098d24b40581d16a6e1df98cdea6683
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
##DESCRIPTION
|
2
|
+
|
3
|
+
Secros enables you to manage your secret values in one place.
|
4
|
+
|
5
|
+
##USAGE
|
6
|
+
|
7
|
+
###Make secrets
|
8
|
+
|
9
|
+
####STEP 1. Install secros
|
10
|
+
|
11
|
+
```bash
|
12
|
+
gem install secros
|
13
|
+
```
|
14
|
+
|
15
|
+
####STEP 2. Generate template
|
16
|
+
|
17
|
+
```bash
|
18
|
+
secros your_generate_path
|
19
|
+
```
|
20
|
+
|
21
|
+
####STEP 2. Add secrets to secrets.yml
|
22
|
+
|
23
|
+
```yml
|
24
|
+
values:
|
25
|
+
key: value
|
26
|
+
files:
|
27
|
+
file: file_name
|
28
|
+
```
|
29
|
+
|
30
|
+
###Access secrets
|
31
|
+
|
32
|
+
####STEP 1. Add secros to Gemfile
|
33
|
+
|
34
|
+
```rb
|
35
|
+
gem 'secros'
|
36
|
+
```
|
37
|
+
|
38
|
+
also `gem install secros` and `require 'secros'` works.
|
39
|
+
|
40
|
+
###STEP 2. Access secrets via key
|
41
|
+
|
42
|
+
```rb
|
43
|
+
Secros.new(your_generate_path).values(:key) # == 'value'
|
44
|
+
Secros.new(your_generate_path).files(:file) # == "#{your_generate_path}/files/file_name}"
|
45
|
+
```
|
data/secros.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'secros'
|
3
|
-
s.version = '0.1.
|
3
|
+
s.version = '0.1.2'
|
4
4
|
s.authors = ['Tetsuri Moriya']
|
5
5
|
s.email = ['tetsuri.moriya@gmail.com']
|
6
6
|
s.summary = 'Secrets management gem'
|
@@ -10,4 +10,5 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.files = `git ls-files`.split("\n")
|
11
11
|
s.executables = ['secros']
|
12
12
|
s.add_development_dependency 'rspec', '~> 0'
|
13
|
+
s.add_runtime_dependency 'activesupport', '~> 0'
|
13
14
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: secros
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tetsuri Moriya
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
description: You can manage all your secrets in one place.
|
28
42
|
email:
|
29
43
|
- tetsuri.moriya@gmail.com
|
@@ -35,6 +49,7 @@ files:
|
|
35
49
|
- ".gitignore"
|
36
50
|
- Gemfile
|
37
51
|
- Gemfile.lock
|
52
|
+
- README.md
|
38
53
|
- bin/secros
|
39
54
|
- config/secrets.yml
|
40
55
|
- lib/generate.rb
|