capistrano-upload-config 0.4.0 → 0.5.0
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 -0
- data/capistrano-upload-config.gemspec +1 -1
- data/lib/capistrano/upload-config.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 455b63f26e85ec7ddbeb19d2e08fc972b07fe9b8
|
4
|
+
data.tar.gz: fea12aa2b9fb534ab814e96d164d4c88149481f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49c929363f7ad3caf2c154643f6a33471d3f2caf5a72b9ff8513abe83d7b7c1ea8755c2d38803db4802db7fc674f2e42b290a52ad092d29f9cac6a8a6f1cc13c
|
7
|
+
data.tar.gz: 8df46c1b11562a56f620cf655fb840e975d16c4d25ee33c6ef763d25b7b7e32c22f25ef707aaf21bd462a89eb9088084b944fb434534e696958203652319fe22
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Capistrano-Upload-Config
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/capistrano-upload-config.svg)](http://badge.fury.io/rb/capistrano-upload-config)
|
4
|
+
|
3
5
|
Upload, initialize and maintain configuration files for Capistrano 3.x outside of SCM.
|
4
6
|
(or in SCM just different files for different stages - the choice is yours!)
|
5
7
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'capistrano-upload-config'
|
7
|
-
spec.version = '0.
|
7
|
+
spec.version = '0.5.0'
|
8
8
|
spec.authors = 'Robert Coleman'
|
9
9
|
spec.email = 'github@robert.net.nz'
|
10
10
|
spec.description = %q{Capistrano 3.x tasks to upload shared config that is stored outside of SCM}
|
@@ -9,7 +9,8 @@ module CapistranoUploadConfig
|
|
9
9
|
extension = File.extname(config)
|
10
10
|
filename = File.basename(config, extension)
|
11
11
|
extension.sub!(/^\./, '')
|
12
|
-
local_file = [filename, stage
|
12
|
+
local_file = [filename, stage].join('.')
|
13
|
+
local_file = [local_file, extension].join('.') unless extension.empty?
|
13
14
|
local_path = File.join(path, local_file)
|
14
15
|
end
|
15
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-upload-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Coleman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|