capistrano-upload-config 0.2.0 → 0.3.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: 2a6ab4f378c3ae5db31156febaf77b45b770f1c2
4
- data.tar.gz: b3ff17e8fa80d518a3a7a09ae6224565f51dff1b
3
+ metadata.gz: 07da9a86f46eb7b2292d8e3e886e2a3b0b456552
4
+ data.tar.gz: 9b23012a74fb9bdc41176260d7b1755eeb98a802
5
5
  SHA512:
6
- metadata.gz: 394a7f263da31ffb089cc70705e528e81aa5dcb336b073b8bbcabb94fb2a9b1d5016fc3c6cac201739f4ca6d93c2708f0f09691cc70d33923e40dcf943d779c5
7
- data.tar.gz: e06f8b6f1bbf50f1c88cee397be1c9bc1d0330a0136a3edf38e1f64b7a2336259ee7aad10d6cbef7d2bd96c26823c8b6671b23dac6c83704255031baaea54bd3
6
+ metadata.gz: b421d7f8e089216b0656b63c1c270a2be43586d2add066848e443c93ff437161f17545ba2b8ba27f8d4c9796be1a6bdd0738578eb583563e5f8b80ec107a16cf
7
+ data.tar.gz: acd56c55b5237dfb551216fb57768f5cde596d78861c1dbb3fd9f299b3d868e8bc6beb00cd6c616442d854c038c6aea1da7f4dbd82a45795ecea02b29744bc4d
data/README.md CHANGED
@@ -32,7 +32,7 @@ Or install it yourself as:
32
32
  Require the module in your `Capfile`:
33
33
 
34
34
  ```ruby
35
- require 'capistrano-upload-config'
35
+ require 'capistrano/upload-config'
36
36
  ```
37
37
 
38
38
  `capistrano-upload-config` comes with 3 tasks:
@@ -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.2.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}
@@ -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.2.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/tasks.rake
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