capistrano-shared_configs 0.1.2 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/capistrano-shared_configs.gemspec +2 -2
- data/lib/capistrano/shared_configs/version.rb +1 -1
- data/lib/capistrano/tasks/shared_configs.rake +7 -0
- 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: 108a1637ea199ef757df55ff388e69a09cf1577a
|
4
|
+
data.tar.gz: '058ca399f52ffd8569f972c082cf7eee39abf084'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 296dba1116e4fbb703b35e0af925cf6de946eed8e7c45bb92fbed4813005df5084744cb8e259b968fcdb5bbd7bdc73a8c6dd2a31f3f7957cebfbb53e54e8d6b8
|
7
|
+
data.tar.gz: 3637b36af42f7bcacd274a80f85fb766cccf578ac15d4cd54e43f7af6a4bfa41c90b95c6598aff176845c9a3c84822eba4532ad62b716997774133b1709deb0a
|
data/README.md
CHANGED
@@ -20,11 +20,14 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
+
It depends on another agent (i.e. puppet) to get the shared_configs branch onto the server.
|
24
|
+
|
23
25
|
The tasks can be made available to your capistrano deploy environments by requiring `capistrano/shared_configs` in your `Capfile`.
|
24
26
|
|
25
27
|
The three tasks made available to you are
|
26
28
|
|
27
29
|
```
|
30
|
+
cap shared_configs:check
|
28
31
|
cap shared_configs:pull
|
29
32
|
cap shared_configs:symlink
|
30
33
|
cap shared_configs:update
|
@@ -42,7 +45,7 @@ To release a new version, update the version number in `version.rb`, and then ru
|
|
42
45
|
|
43
46
|
## Contributing
|
44
47
|
|
45
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
48
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/sul-dlss/capistrano-shared_configs.
|
46
49
|
|
47
50
|
|
48
51
|
## License
|
@@ -6,12 +6,12 @@ require 'capistrano/shared_configs/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "capistrano-shared_configs"
|
8
8
|
spec.version = Capistrano::SharedConfigs::VERSION
|
9
|
-
spec.authors = ["Jessie Keck"]
|
9
|
+
spec.authors = ["Jessie Keck", "Darren Weber"]
|
10
10
|
spec.email = ["jessie.keck@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{A simple capistrano extension that provides tasks to manage DLSS Shared Configs.}
|
13
13
|
spec.description = %q{This gem provides capistrano tasks to pull the latest configs from the shared configs branch and update the symlinks in the shared directory.}
|
14
|
-
spec.homepage = "https://github.com/
|
14
|
+
spec.homepage = "https://github.com/sul-dlss/capistrano-shared_configs"
|
15
15
|
spec.license = "APACHE2"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
@@ -3,6 +3,13 @@ def repo_config_path
|
|
3
3
|
end
|
4
4
|
|
5
5
|
namespace :shared_configs do
|
6
|
+
desc 'Checks the project is ready to work with the shared configs directory'
|
7
|
+
task :check do
|
8
|
+
on roles(:app) do
|
9
|
+
execute "ls -ld #{repo_config_path}"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
6
13
|
desc 'Pull the latest from the shared configs directory and symlink the files'
|
7
14
|
task :update do
|
8
15
|
invoke 'shared_configs:pull'
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-shared_configs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jessie Keck
|
8
|
+
- Darren Weber
|
8
9
|
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
11
|
-
date: 2017-
|
12
|
+
date: 2017-06-29 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
@@ -57,7 +58,7 @@ files:
|
|
57
58
|
- lib/capistrano/shared_configs.rb
|
58
59
|
- lib/capistrano/shared_configs/version.rb
|
59
60
|
- lib/capistrano/tasks/shared_configs.rake
|
60
|
-
homepage: https://github.com/
|
61
|
+
homepage: https://github.com/sul-dlss/capistrano-shared_configs
|
61
62
|
licenses:
|
62
63
|
- APACHE2
|
63
64
|
metadata: {}
|
@@ -77,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
78
|
version: '0'
|
78
79
|
requirements: []
|
79
80
|
rubyforge_project:
|
80
|
-
rubygems_version: 2.
|
81
|
+
rubygems_version: 2.6.11
|
81
82
|
signing_key:
|
82
83
|
specification_version: 4
|
83
84
|
summary: A simple capistrano extension that provides tasks to manage DLSS Shared Configs.
|