capistrano-multiconfig 3.0.4 → 3.0.5
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/README.md +13 -5
- data/capistrano-multiconfig.gemspec +2 -3
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ff2fb2083a3ac5e20732fc05f1d73fdf54510c19
|
|
4
|
+
data.tar.gz: 4f8337a15de28be3d58e28083e3c48f92cb364d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d382f8fcd13e7da4bdbacb2fb08dac8c65b4b6ef5b3fa802505ccb2af669021f5c096810eea75d768ab53c32d6ba00da585104d6559220dda77ee608be70971c
|
|
7
|
+
data.tar.gz: 0167e5d3a76848402cff98671c90aca75160a833c2fbf5c27bee469654fefcbc7487c93205a747a86a194ffc3f1908a915e5d478785f6f8b31976e074704ab7a
|
data/README.md
CHANGED
|
@@ -21,19 +21,27 @@ Install gem
|
|
|
21
21
|
$ gem install capistrano-multiconfig
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
Add to `Capfile`
|
|
25
|
-
|
|
26
|
-
set :config, 'path/to/your/configurations'
|
|
27
|
-
require 'capistrano/multiconfig'
|
|
28
|
-
|
|
29
24
|
## Capistrano3
|
|
30
25
|
|
|
31
26
|
Use multiconfig v3.x.x
|
|
32
27
|
|
|
28
|
+
Replace `capistrano/setup` with `capistrano/multiconfig` in your `Capfile`:
|
|
29
|
+
|
|
30
|
+
# set :stages_root, 'config/deploy'
|
|
31
|
+
require 'capistrano/multiconfig'
|
|
32
|
+
|
|
33
|
+
Optionally you may set another path to your multistages configurations with *:stages_root*.
|
|
34
|
+
|
|
33
35
|
## Capistrano2
|
|
34
36
|
|
|
35
37
|
For legacy capistrano v2.x.x use multiconfig gem v0.0.x
|
|
36
38
|
|
|
39
|
+
Add to `Capfile`
|
|
40
|
+
|
|
41
|
+
set :config_root, 'path/to/your/configurations'
|
|
42
|
+
require 'capistrano/multiconfig'
|
|
43
|
+
|
|
44
|
+
|
|
37
45
|
## Example
|
|
38
46
|
|
|
39
47
|
Assume we need next configurations:
|
|
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "capistrano-multiconfig"
|
|
6
|
-
s.version = "3.0.
|
|
6
|
+
s.version = "3.0.5"
|
|
7
7
|
s.authors = ["Andriy Yanko"]
|
|
8
8
|
s.email = ["andriy.yanko@gmail.com"]
|
|
9
9
|
s.homepage = "https://github.com/railsware/multiconfig"
|
|
@@ -14,8 +14,7 @@ But it's not only about 'stage' configurations. It's about any configuration tha
|
|
|
14
14
|
Extension recursively builds configuration list from configuration root directory.
|
|
15
15
|
Each configuration loads recursively configuration from namespace files and own configuration file.
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
s.rubyforge_project = "capistrano-multiconfig"
|
|
17
|
+
s.license = "MIT"
|
|
19
18
|
|
|
20
19
|
s.files = `git ls-files`.split("\n")
|
|
21
20
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-multiconfig
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andriy Yanko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-11-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -79,7 +79,8 @@ files:
|
|
|
79
79
|
- lib/capistrano/multiconfig/dsl.rb
|
|
80
80
|
- spec/integration_spec.rb
|
|
81
81
|
homepage: https://github.com/railsware/multiconfig
|
|
82
|
-
licenses:
|
|
82
|
+
licenses:
|
|
83
|
+
- MIT
|
|
83
84
|
metadata: {}
|
|
84
85
|
post_install_message:
|
|
85
86
|
rdoc_options: []
|
|
@@ -96,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
96
97
|
- !ruby/object:Gem::Version
|
|
97
98
|
version: '0'
|
|
98
99
|
requirements: []
|
|
99
|
-
rubyforge_project:
|
|
100
|
+
rubyforge_project:
|
|
100
101
|
rubygems_version: 2.0.3
|
|
101
102
|
signing_key:
|
|
102
103
|
specification_version: 4
|