capistrano-thin 1.1.0 → 1.1.1

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: 654257ff44226c934d50981a6c772b58449da010
4
- data.tar.gz: d604ca74d1910c63a224ba2607e139906d730f8d
3
+ metadata.gz: 90c30e2ad9f08c16d5ecec9926c995a67c095c71
4
+ data.tar.gz: b351230d2b9c7c4b4276f6984fc1ee4051b9675b
5
5
  SHA512:
6
- metadata.gz: 2d4871286836cef7eac49832c68b5ba613b49a97380a69e845330f455419870e4ddc600d5faaa9192055b1ea03a4e856ff423d689986ad1fb46d2498bbb3c87e
7
- data.tar.gz: 857e47b91631c839243268ff769eecff98f6a014cfcc7ac4ffdb4f2c9c3f17b4150aeaad16b3ed14191a7158be252d1e9c0ed841c33a8cf3d26f8b5dcf2333c0
6
+ metadata.gz: ab298a7e243de9bea89ade181b7fe5fbac3b0990912c6a3c11da11c1a5fd62316e2abaa3535b2ac90be80ae6a9b171067465f2c1f641ddebf62055ec7e863740
7
+ data.tar.gz: d03eda07f1b4a985ff26a6adf9958c2f8ceb96bb1a26d47b38928b0706d9130be76dc0c7db1ec956c9ccc5bd025f5146a1cd34892ebc49d02fc95a719999a5c5
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
- *.gem
1
+ *.gem
2
+ Gemfile.lock
data/README.md CHANGED
@@ -15,12 +15,15 @@ Note: A valid Thin config file is expected under
15
15
 
16
16
  Add this line to your application's Gemfile:
17
17
 
18
- gem 'capistrano', '~> 3.0'
19
- gem 'capistrano-thin'
18
+ ```ruby
19
+ gem 'capistrano-thin', '~> 1.1.0'
20
+ ```
20
21
 
21
- If you use RVM on the server also add:
22
+ If you use RVM on the server you should also add:
22
23
 
23
- gem 'capistrano-rvm'
24
+ ```ruby
25
+ gem 'capistrano-rvm'
26
+ ```
24
27
 
25
28
  And then execute:
26
29
 
@@ -28,9 +31,11 @@ And then execute:
28
31
 
29
32
  ## Usage
30
33
 
31
- Require in `Capfile` to use the default task:
34
+ Require in `Capfile` to load tasks:
32
35
 
33
- require 'capistrano/thin'
36
+ ```ruby
37
+ require 'capistrano/thin'
38
+ ```
34
39
 
35
40
  ## Contributing
36
41
 
@@ -38,4 +43,4 @@ Require in `Capfile` to use the default task:
38
43
  2. Create your feature branch (`git checkout -b my-new-feature`)
39
44
  3. Commit your changes (`git commit -am 'Add some feature'`)
40
45
  4. Push to the branch (`git push origin my-new-feature`)
41
- 5. Create new Pull Request
46
+ 5. Create new Pull Request
@@ -1,10 +1,10 @@
1
1
  # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
2
+ lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "capistrano-thin"
7
- spec.version = '1.1.0'
7
+ spec.version = "1.1.1"
8
8
  spec.authors = ["Alessandro Lepore"]
9
9
  spec.email = ["a.lepore@freegoweb.it"]
10
10
  spec.summary = %q{Thin support for Capistrano 3.x}
@@ -17,8 +17,8 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = []
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency 'capistrano', '~> 3.0'
21
- spec.add_dependency 'thin', '~> 1.6'
20
+ spec.add_dependency "capistrano", "~> 3.0"
21
+ spec.add_dependency "thin", "~> 1.6"
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.5"
24
24
  spec.add_development_dependency "rake"
@@ -1,7 +1,7 @@
1
1
  namespace :deploy do
2
- COMMANDS = %w(start stop restart)
2
+ commands = %w(start stop restart)
3
3
 
4
- COMMANDS.each do |command|
4
+ commands.each do |command|
5
5
  task command do
6
6
  on roles(:app), in: :sequence, wait: 5 do
7
7
  within current_path do
@@ -10,9 +10,4 @@ namespace :deploy do
10
10
  end
11
11
  end
12
12
  end
13
-
14
- # RVM integration
15
- if Gem::Specification::find_all_by_name('capistrano-rvm').any?
16
- COMMANDS.each { |c| before c, 'rvm:hook' }
17
- end
18
- end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-thin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Lepore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-11 00:00:00.000000000 Z
11
+ date: 2015-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -102,9 +102,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  requirements: []
104
104
  rubyforge_project:
105
- rubygems_version: 2.3.0
105
+ rubygems_version: 2.4.6
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: Thin support for Capistrano 3.x
109
109
  test_files: []
110
- has_rdoc: