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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7d5c72515ff3def31293a38984a349c8caa48fb
4
- data.tar.gz: 5aa4b3480d90354ee68e2a5be5e1ea886157e46a
3
+ metadata.gz: abf76b68d8a4b0e7fdf781d46658542cbb5607d0
4
+ data.tar.gz: 32f31a7e06bbfcca1ca777e14f0ce6da4f851ef3
5
5
  SHA512:
6
- metadata.gz: f6826bcc5347f39fa66aefac6c56fb37ea97fca4292a966e84eb7e4146919e1248261b54ec459bd3d07818589ae822ca064680ee136f55a23bf95353641bf928
7
- data.tar.gz: d1150917d156a975ee635bb886d14d928c329f4fcb45091b9a82bf96caea5d59bbb09337d9d8bae85729f5d74f476354bfb451b9a1094bc47502e8b84d2539c2
6
+ metadata.gz: 8500f955cc03ad19281c72c38f4c2317951a655072955a9ac284f32295eaa179c09ae2bd20c2bd8d8f858c04c0b3e1cde9f93c97976bd1ae14506855dc85f469
7
+ data.tar.gz: ba2bd0783fa6fb13542c096fdaed8bd0b8728278a758472fe7ed05272d5c0daecf1b7b4574e5a7e2d57cfa5fc6a9ed915787bbade8c866aae02d10d419d10cde
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2015 Museways
1
+ Copyright 2015 Mathías Montossi
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,4 +1,11 @@
1
- [![Gem Version](https://badge.fury.io/rb/confidential.svg)](http://badge.fury.io/rb/confidential) [![Code Climate](https://codeclimate.com/github/museways/confidential/badges/gpa.svg)](https://codeclimate.com/github/museways/confidential) [![Build Status](https://travis-ci.org/museways/confidential.svg?branch=master)](https://travis-ci.org/museways/confidential) [![Dependency Status](https://gemnasium.com/museways/confidential.svg)](https://gemnasium.com/museways/confidential)
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 [museways](http://museways.com).
47
+ This gem is maintained and funded by [mmontossi](https://github.com/mmontossi).
41
48
 
42
49
  ## License
43
50
 
@@ -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? confidential_file and envs = YAML.load(File.read(confidential_file))
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
@@ -1,5 +1,5 @@
1
1
  module Confidential
2
2
 
3
- VERSION = '0.0.7'
3
+ VERSION = '0.0.8'
4
4
 
5
5
  end
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
- - Museways
7
+ - mmontossi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-04 00:00:00.000000000 Z
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
- - hello@museways.com
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/museways/confidential
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
@@ -1,35 +0,0 @@
1
-  (0.2ms) begin transaction
2
- ------------------------------------------------------
3
- ConfidentialTest: test_should_load_confidential_values
4
- ------------------------------------------------------
5
-  (0.0ms) rollback transaction
6
-  (0.1ms) begin transaction
7
- ----------------------------------
8
- ConfidentialTest: test_envs_values
9
- ----------------------------------
10
-  (0.0ms) rollback transaction
11
-  (0.2ms) begin transaction
12
- ----------------------------------
13
- ConfidentialTest: test_envs_values
14
- ----------------------------------
15
-  (0.0ms) rollback transaction
16
-  (0.1ms) begin transaction
17
- ----------------------------------
18
- ConfidentialTest: test_envs_values
19
- ----------------------------------
20
-  (0.0ms) rollback transaction
21
-  (0.2ms) begin transaction
22
- ----------------------------------
23
- ConfidentialTest: test_envs_values
24
- ----------------------------------
25
-  (0.0ms) rollback transaction
26
-  (0.1ms) begin transaction
27
- ----------------------------------
28
- ConfidentialTest: test_envs_values
29
- ----------------------------------
30
-  (0.1ms) rollback transaction
31
-  (0.1ms) begin transaction
32
- ----------------------------------
33
- ConfidentialTest: test_envs_values
34
- ----------------------------------
35
-  (0.0ms) rollback transaction