capistrano-hutch 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/README.md +17 -7
- data/capistrano-hutch.gemspec +3 -3
- data/lib/capistrano-hutch.rb +0 -0
- data/lib/capistrano/hutch/version.rb +1 -1
- metadata +12 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 427d7ede1f5e181049011bdc19d0e44a8c0111b2
|
4
|
+
data.tar.gz: 486bbae10565e9271b41fd1f5c30c76d56acdabc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b578832c91f2bce833be6ef9f4a65e7d8458d5b1d17d8041226f01276848d1426b80f5bab888298f55d446a795692d04367ff3fe6ea79b0a26e397b005153e2e
|
7
|
+
data.tar.gz: dc55a315a3ee6ee72e3c7975512a1a1864026a68f45f0928f50a407ca0590ae1780d46f26063d61ae384675ab1e98707c600ef71e37e0c1701b214636e89a146
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -4,23 +4,33 @@
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
Add this
|
7
|
+
Add this lines to your application's Gemfile:
|
8
8
|
|
9
|
-
gem 'capistrano-hutch
|
9
|
+
gem 'hutch', github: 'gocardless/hutch' # currently capistrano-hutch requires HEAD version of hutch.
|
10
|
+
gem 'capistrano-hutch', group: :development
|
10
11
|
|
11
12
|
And then execute:
|
12
13
|
|
13
14
|
$ bundle
|
14
15
|
|
15
|
-
Or install it yourself as:
|
16
|
-
|
17
|
-
$ gem install capistrano-hutch
|
18
|
-
|
19
16
|
## Usage
|
20
17
|
|
21
|
-
|
18
|
+
ruby
|
19
|
+
# Capfile
|
22
20
|
|
23
21
|
require 'capistrano/hutch'
|
22
|
+
```
|
23
|
+
|
24
|
+
Configurable options, shown here with defaults:
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
hutch_role: :app
|
28
|
+
hutch_default_hooks: true
|
29
|
+
hutch_pid: File.join(shared_path, 'tmp', 'pids', 'hutch.pid')
|
30
|
+
hutch_config: File.join(shared_path, 'config', 'hutch.yml')
|
31
|
+
hutch_env: fetch(:rails_env, fetch(:rack_env, fetch(:stage)))
|
32
|
+
hutch_options: nil
|
33
|
+
```
|
24
34
|
|
25
35
|
Do not forget to create `config/hutch.yml` on production host and setup symlink.
|
26
36
|
|
data/capistrano-hutch.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Rustam Sharshenov"]
|
10
10
|
spec.email = ["rustam@sharshenov.com"]
|
11
11
|
spec.summary = %q{Hutch integration for Capistrano}
|
12
|
-
spec.description = %q{Hutch integration for Capistrano}
|
12
|
+
spec.description = %q{Hutch integration for Capistrano 3.1}
|
13
13
|
spec.homepage = "https://github.com/sharshenov/capistrano-hutch"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
@@ -18,6 +18,6 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.
|
22
|
-
spec.
|
21
|
+
spec.add_runtime_dependency 'capistrano', "~> 3.1"
|
22
|
+
spec.add_runtime_dependency 'hutch', ">= 0.10.0.pre"
|
23
23
|
end
|
File without changes
|
metadata
CHANGED
@@ -1,44 +1,44 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-hutch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rustam Sharshenov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
type: :
|
19
|
+
version: '3.1'
|
20
|
+
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: hutch
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
34
|
-
type: :
|
33
|
+
version: 0.10.0.pre
|
34
|
+
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
41
|
-
description: Hutch integration for Capistrano
|
40
|
+
version: 0.10.0.pre
|
41
|
+
description: Hutch integration for Capistrano 3.1
|
42
42
|
email:
|
43
43
|
- rustam@sharshenov.com
|
44
44
|
executables: []
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- README.md
|
52
52
|
- Rakefile
|
53
53
|
- capistrano-hutch.gemspec
|
54
|
+
- lib/capistrano-hutch.rb
|
54
55
|
- lib/capistrano/hutch.rb
|
55
56
|
- lib/capistrano/hutch/version.rb
|
56
57
|
- lib/capistrano/tasks/hutch.rake
|