capistrano-upload-config 0.2.0 → 0.3.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07da9a86f46eb7b2292d8e3e886e2a3b0b456552
|
4
|
+
data.tar.gz: 9b23012a74fb9bdc41176260d7b1755eeb98a802
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b421d7f8e089216b0656b63c1c270a2be43586d2add066848e443c93ff437161f17545ba2b8ba27f8d4c9796be1a6bdd0738578eb583563e5f8b80ec107a16cf
|
7
|
+
data.tar.gz: acd56c55b5237dfb551216fb57768f5cde596d78861c1dbb3fd9f299b3d868e8bc6beb00cd6c616442d854c038c6aea1da7f4dbd82a45795ecea02b29744bc4d
|
data/README.md
CHANGED
@@ -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.3.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}
|
File without changes
|
@@ -0,0 +1,18 @@
|
|
1
|
+
load File.expand_path('../tasks/upload-config.rake', __FILE__)
|
2
|
+
|
3
|
+
module CapistranoUploadConfig
|
4
|
+
class Helpers
|
5
|
+
class << self
|
6
|
+
|
7
|
+
def get_local_config_name(config, stage)
|
8
|
+
path = File.dirname(config)
|
9
|
+
extension = File.extname(config)
|
10
|
+
filename = File.basename(config, extension)
|
11
|
+
extension.sub!(/^\./, '')
|
12
|
+
local_file = [filename, stage, extension].join('.')
|
13
|
+
local_path = File.join(path, local_file)
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
load File.expand_path('../upload-config/tasks.rake', __FILE__)
|
2
|
-
|
3
|
-
module CapistranoUploadConfig
|
4
|
-
class Helpers
|
5
|
-
class << self
|
6
|
-
|
7
|
-
def get_local_config_name(config, stage)
|
8
|
-
path = File.dirname(config)
|
9
|
-
extension = File.extname(config)
|
10
|
-
filename = File.basename(config, extension)
|
11
|
-
extension.sub!(/^\./, '')
|
12
|
-
local_file = [filename, stage, extension].join('.')
|
13
|
-
local_path = File.join(path, local_file)
|
14
|
-
end
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Coleman
|
@@ -66,7 +66,8 @@ files:
|
|
66
66
|
- Rakefile
|
67
67
|
- capistrano-upload-config.gemspec
|
68
68
|
- lib/capistrano-upload-config.rb
|
69
|
-
- lib/upload-config
|
69
|
+
- lib/capistrano/tasks/upload-config.rake
|
70
|
+
- lib/capistrano/upload-config.rb
|
70
71
|
homepage: https://github.com/rjocoleman/capistrano-upload-config
|
71
72
|
licenses:
|
72
73
|
- MIT
|