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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df9700489549b85d806e0b46abd2eb1d84d19b89
4
- data.tar.gz: 94211805cfc20e316acdf69428ed81d80faa72dc
3
+ metadata.gz: 108a1637ea199ef757df55ff388e69a09cf1577a
4
+ data.tar.gz: '058ca399f52ffd8569f972c082cf7eee39abf084'
5
5
  SHA512:
6
- metadata.gz: 5007efa1825d5c73568a9a0d5e1d62d42ab2f93018cb42947ab2f3642f1a8e1471eefc854782ae6bac9f7ff881d1d2a819f4a8453da3034aa3a463cf80da029c
7
- data.tar.gz: 8b863bb52a46b6eb92fa66692d4ffd4333680e6a7dbb0cf405c1543aca713660085a664673b8e1b385ef859e180c30de609d1d260c48488bf3f5cd75fab6910e
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/jkeck/capistrano-shared_configs.
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/jkeck/capistrano-shared_configs"
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)/}) }
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module SharedConfigs
3
- VERSION = "0.1.2"
3
+ VERSION = '0.2.2'
4
4
  end
5
5
  end
@@ -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.1.2
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-01-05 00:00:00.000000000 Z
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/jkeck/capistrano-shared_configs
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.5.1
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.