capistrano-secrets 0.0.1 → 0.0.3
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/capistrano-secrets.gemspec +1 -1
- data/lib/capistrano/tasks/secrets.rake +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3519434e13acecfb8fd5573c1dbd16a4165b5c4e
|
|
4
|
+
data.tar.gz: 39153a8d0164a06fdc78d1927ff5dfa703f9aec3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67761f2c9a8d40706c3dea38e7ea597e803aef5f7ad2d25d08360fe599d5805d17e219cd94237b63927a4c3b5a641b8a379cb0990aec0c90b3d2f9277a26f616
|
|
7
|
+
data.tar.gz: 2b7faa4d4305a6981bf913915e7cb92748250f975c605ecfd099f4d4b828667387ecf8518cc7bef488d199ad825661b6871b64583f85b69000d9a244c647dc7e
|
data/capistrano-secrets.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |gem|
|
|
6
6
|
gem.name = "capistrano-secrets"
|
|
7
|
-
gem.version = '0.0.
|
|
7
|
+
gem.version = '0.0.3'
|
|
8
8
|
gem.authors = ["Vadim Rastyagaev"]
|
|
9
9
|
gem.email = ["rastyagaev@gmail.com"]
|
|
10
10
|
gem.description = %q{Load application secrets from heroku app environment.}
|
|
@@ -2,6 +2,7 @@ namespace :secrets do
|
|
|
2
2
|
desc 'Copy secrets from heroku app to application'
|
|
3
3
|
task 'copy' do
|
|
4
4
|
settings = `heroku config --app #{fetch(:secrets_app_name)} | grep '#{fetch(:secrets_app_pattern)}'`
|
|
5
|
+
settings.gsub!(/\s+/, ' ')
|
|
5
6
|
on roles :app do
|
|
6
7
|
upload! StringIO.new(settings), shared_path.join('.env')
|
|
7
8
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-secrets
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vadim Rastyagaev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-11-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
58
58
|
version: '0'
|
|
59
59
|
requirements: []
|
|
60
60
|
rubyforge_project:
|
|
61
|
-
rubygems_version: 2.2.
|
|
61
|
+
rubygems_version: 2.2.2
|
|
62
62
|
signing_key:
|
|
63
63
|
specification_version: 4
|
|
64
64
|
summary: Load application secrets from heroku app environment.
|