confidential 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +9 -2
- data/lib/confidential/railtie.rb +1 -1
- data/lib/confidential/version.rb +1 -1
- data/test/dummy/bin/bundle +0 -0
- data/test/dummy/bin/rails +0 -0
- data/test/dummy/bin/rake +0 -0
- metadata +5 -7
- data/test/dummy/log/test.log +0 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abf76b68d8a4b0e7fdf781d46658542cbb5607d0
|
4
|
+
data.tar.gz: 32f31a7e06bbfcca1ca777e14f0ce6da4f851ef3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8500f955cc03ad19281c72c38f4c2317951a655072955a9ac284f32295eaa179c09ae2bd20c2bd8d8f858c04c0b3e1cde9f93c97976bd1ae14506855dc85f469
|
7
|
+
data.tar.gz: ba2bd0783fa6fb13542c096fdaed8bd0b8728278a758472fe7ed05272d5c0daecf1b7b4574e5a7e2d57cfa5fc6a9ed915787bbade8c866aae02d10d419d10cde
|
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,11 @@
|
|
1
|
-
|
1
|
+
##### NOTE: Since rails 4.1 this gem is deprecated in favor of secrets.
|
2
|
+
|
3
|
+
---
|
4
|
+
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/confidential.svg)](http://badge.fury.io/rb/confidential)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/mmontossi/confidential/badges/gpa.svg)](https://codeclimate.com/github/mmontossi/confidential)
|
7
|
+
[![Build Status](https://travis-ci.org/mmontossi/confidential.svg)](https://travis-ci.org/mmontossi/confidential)
|
8
|
+
[![Dependency Status](https://gemnasium.com/mmontossi/confidential.svg)](https://gemnasium.com/mmontossi/confidential)
|
2
9
|
|
3
10
|
# Confidential
|
4
11
|
|
@@ -37,7 +44,7 @@ production:
|
|
37
44
|
|
38
45
|
## Credits
|
39
46
|
|
40
|
-
This gem is maintained and funded by [
|
47
|
+
This gem is maintained and funded by [mmontossi](https://github.com/mmontossi).
|
41
48
|
|
42
49
|
## License
|
43
50
|
|
data/lib/confidential/railtie.rb
CHANGED
@@ -3,7 +3,7 @@ module Confidential
|
|
3
3
|
|
4
4
|
config.before_configuration do
|
5
5
|
confidential_file = Rails.root.join('config', 'confidential.yml')
|
6
|
-
if File.exist?
|
6
|
+
if File.exist?(confidential_file) and envs = YAML.load(File.read(confidential_file))
|
7
7
|
envs.each { |key, value| ENV[key] = value }
|
8
8
|
end
|
9
9
|
end
|
data/lib/confidential/version.rb
CHANGED
data/test/dummy/bin/bundle
CHANGED
File without changes
|
data/test/dummy/bin/rails
CHANGED
File without changes
|
data/test/dummy/bin/rake
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: confidential
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- mmontossi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -46,7 +46,7 @@ dependencies:
|
|
46
46
|
version: '1.3'
|
47
47
|
description: Loads your confidential configuration into envs in rails.
|
48
48
|
email:
|
49
|
-
-
|
49
|
+
- mmontossi@buyin.io
|
50
50
|
executables: []
|
51
51
|
extensions: []
|
52
52
|
extra_rdoc_files: []
|
@@ -86,13 +86,12 @@ files:
|
|
86
86
|
- test/dummy/config/initializers/wrap_parameters.rb
|
87
87
|
- test/dummy/config/locales/en.yml
|
88
88
|
- test/dummy/config/routes.rb
|
89
|
-
- test/dummy/log/test.log
|
90
89
|
- test/dummy/public/404.html
|
91
90
|
- test/dummy/public/422.html
|
92
91
|
- test/dummy/public/500.html
|
93
92
|
- test/dummy/public/favicon.ico
|
94
93
|
- test/test_helper.rb
|
95
|
-
homepage: https://github.com/
|
94
|
+
homepage: https://github.com/mmontossi/confidential
|
96
95
|
licenses:
|
97
96
|
- MIT
|
98
97
|
metadata: {}
|
@@ -144,7 +143,6 @@ test_files:
|
|
144
143
|
- test/dummy/config/locales/en.yml
|
145
144
|
- test/dummy/config/routes.rb
|
146
145
|
- test/dummy/config.ru
|
147
|
-
- test/dummy/log/test.log
|
148
146
|
- test/dummy/public/404.html
|
149
147
|
- test/dummy/public/422.html
|
150
148
|
- test/dummy/public/500.html
|
data/test/dummy/log/test.log
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2
|
-
------------------------------------------------------
|
3
|
-
ConfidentialTest: test_should_load_confidential_values
|
4
|
-
------------------------------------------------------
|
5
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
6
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
----------------------------------
|
8
|
-
ConfidentialTest: test_envs_values
|
9
|
-
----------------------------------
|
10
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
11
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
12
|
-
----------------------------------
|
13
|
-
ConfidentialTest: test_envs_values
|
14
|
-
----------------------------------
|
15
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
16
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17
|
-
----------------------------------
|
18
|
-
ConfidentialTest: test_envs_values
|
19
|
-
----------------------------------
|
20
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
21
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
22
|
-
----------------------------------
|
23
|
-
ConfidentialTest: test_envs_values
|
24
|
-
----------------------------------
|
25
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
26
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27
|
-
----------------------------------
|
28
|
-
ConfidentialTest: test_envs_values
|
29
|
-
----------------------------------
|
30
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
31
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32
|
-
----------------------------------
|
33
|
-
ConfidentialTest: test_envs_values
|
34
|
-
----------------------------------
|
35
|
-
[1m[35m (0.0ms)[0m rollback transaction
|