capistrano-hutch 0.1.0 → 0.1.1

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: 64a07ce55f0337634ab5e56457f3bb25889f3dad
4
- data.tar.gz: 40fd55a034680b48ea6757e48cd2fb8dd7d50736
3
+ metadata.gz: 427d7ede1f5e181049011bdc19d0e44a8c0111b2
4
+ data.tar.gz: 486bbae10565e9271b41fd1f5c30c76d56acdabc
5
5
  SHA512:
6
- metadata.gz: 618f32c297866835e56c76cafeb46dd5abd0964fc92ba0bad8dfac7bf1fd8ec7685de182b5be2ca1146eeff9614087783115383385a1f3341cf5858e3a52f3a2
7
- data.tar.gz: ac7ac17aad73ad24b08f52233e553585dfcd7f88cc385361d367a4d666ac411ae903114ccdfc6251c6a886c9cfdf22236598c29ed6e88f90cc7cdf55ca6b9c98
6
+ metadata.gz: b578832c91f2bce833be6ef9f4a65e7d8458d5b1d17d8041226f01276848d1426b80f5bab888298f55d446a795692d04367ff3fe6ea79b0a26e397b005153e2e
7
+ data.tar.gz: dc55a315a3ee6ee72e3c7975512a1a1864026a68f45f0928f50a407ca0590ae1780d46f26063d61ae384675ab1e98707c600ef71e37e0c1701b214636e89a146
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'hutch', github: 'gocardless/hutch'
3
4
  # Specify your gem's dependencies in capistrano-hutch.gemspec
4
5
  gemspec
data/README.md CHANGED
@@ -4,23 +4,33 @@
4
4
 
5
5
  ## Installation
6
6
 
7
- Add this line to your application's Gemfile:
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
- Add to your Capfile
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
 
@@ -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.add_development_dependency "capistrano"
22
- spec.add_development_dependency "hutch"
21
+ spec.add_runtime_dependency 'capistrano', "~> 3.1"
22
+ spec.add_runtime_dependency 'hutch', ">= 0.10.0.pre"
23
23
  end
File without changes
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Hutch
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
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.0
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-22 00:00:00.000000000 Z
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: '0'
20
- type: :development
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: '0'
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: '0'
34
- type: :development
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: '0'
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