capistrano-upload-config 0.4.0 → 0.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a27f0395abbae3d12f324c5f1a35bc6c066b9c36
4
- data.tar.gz: c3e49f485f5263159ab9f5c4b8af028b605173d3
3
+ metadata.gz: 455b63f26e85ec7ddbeb19d2e08fc972b07fe9b8
4
+ data.tar.gz: fea12aa2b9fb534ab814e96d164d4c88149481f1
5
5
  SHA512:
6
- metadata.gz: cd352609cf454193b4ad10019702986a90a1240453add72b8699b8431adb0cff9f2820a9653b9229da2ada730f289b7e87153d5b69a844cd5684ee8864675f71
7
- data.tar.gz: 880d96f90c8679897cbfac04fe8f2f6ebd6e5098331e3a682abd4611be1f7469616a7e6e3f34699393b3359ddb80042d065cd0750fc35e6ef3748014373f7798
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.4.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, extension].join('.')
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.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-04-17 00:00:00.000000000 Z
11
+ date: 2014-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano