guard-unicorn 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0b3570413e4e7a72b59ebbab3df547c31b5c0c67
4
- data.tar.gz: f6c15b235e28e928977cc21e3adcbcf984bb8dff
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YjZhMjRhZjVkZmQ4ZTJkOTYyMDI5ZDMyZjQxMzU5NmUxZDdmNTIwNA==
5
+ data.tar.gz: !binary |-
6
+ ZWM0MDZlYjYyMmJkYTZlODQzZTcwMzAxN2VkYTg4NDczY2EyY2VlZA==
5
7
  SHA512:
6
- metadata.gz: c70c4fa9503d6f540c8411ec357783085cebb7b1104a19933fb0e39ac6190ba18b5956d637b33c8c3afef4ec85907c7c3c2d50a2147e0a1681bf145499939ec3
7
- data.tar.gz: 32cfd9db916c899d69ec80c10d0eaa2be78f2fa660d1f1f4d26fc6ca1dd616d8282704e9bac2f52988a6cda85ef9aa9f7cffeb40e2899054ad60a4e25d4f3c73
8
+ metadata.gz: !binary |-
9
+ MzQxOTE1NTA1MmM5ZDBhMTg3ZWE1M2I5Y2IxN2VhZDQ2MGY2Njg3OTA3ZDcz
10
+ NGMyZGFmMDUyOWJjMDFjOGU1MDAyODA3NGE2YjUxODBhYWYzMDk4Zjk5Njc4
11
+ NjgwNzhjNDlkOGU0MzRiNmQ0ODRkMTU5MzE5YzhhOGU5ODgyOGQ=
12
+ data.tar.gz: !binary |-
13
+ NDY5NTNlZDZjMmM5Nzc1YjA2MmFkNmUzNDc3Nzg0YzE0ZGVmZjViZmVmNTVl
14
+ ZjE1ZjA1YjliYTFmMWJkOWYxMDUxNzgzNzIzN2ZiOGU4OTgyMmJkMWUwZmIy
15
+ ZGU2NmFkNWQ1MjdhYmEwMWZhYjczMGEyZmQ1MWI1YjJjY2E4OWE=
data/.gitignore CHANGED
@@ -2,4 +2,5 @@
2
2
  .bundle
3
3
  Gemfile.lock
4
4
  pkg/*
5
- .rvmrc
5
+ coverage/*
6
+ .ruby-version
data/.travis.yml CHANGED
@@ -1,6 +1,10 @@
1
1
  language: ruby
2
2
  rvm:
3
- - ree
4
- - 1.8.7
5
- - 1.9.2
6
3
  - 1.9.3
4
+ - 2.0.0
5
+ - 2.1.0
6
+ - jruby
7
+ - rbx
8
+ matrix:
9
+ allow_failures:
10
+ - rvm: rbx
data/Gemfile CHANGED
@@ -1,4 +1,9 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- # Specify your gem's dependencies in guard-santorini.gemspec
3
+ # Specify your gem's dependencies in guard-unicorn.gemspec
4
4
  gemspec
5
+
6
+ gem 'rake'
7
+ gem 'minitest'
8
+ gem 'coveralls', require: false
9
+
data/README.md CHANGED
@@ -1,4 +1,19 @@
1
- # Guard::Unicorn [![Build Status](https://secure.travis-ci.org/andreimaxim/guard-unicorn.png)](http://travis-ci.org/#!/andreimaxim/guard-unicorn)
1
+ # Guard::Unicorn
2
+
3
+ [![Gem Version][gvi]][gvu] [![Build Status][bsi]][bsu] [![Code Climate][cci]][ccu] [![Coverage Status][csi]][csu]
4
+
5
+
6
+ [gvi]: https://badge.fury.io/rb/guard-unicorn.svg
7
+ [gvu]: http://badge.fury.io/rb/guard-unicorn
8
+
9
+ [bsi]: https://secure.travis-ci.org/andreimaxim/guard-unicorn.png
10
+ [bsu]: http://travis-ci.org/#!/andreimaxim/guard-unicorn
11
+
12
+ [cci]: https://codeclimate.com/github/andreimaxim/guard-unicorn.png
13
+ [ccu]: https://codeclimate.com/github/andreimaxim/guard-unicorn
14
+
15
+ [csi]: https://coveralls.io/repos/andreimaxim/guard-unicorn/badge.png
16
+ [csu]: https://coveralls.io/r/andreimaxim/guard-unicorn
2
17
 
3
18
  `Guard::Unicorn` automatically restarts the Unicorn server using [Guard] [gu].
4
19
 
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "guard-unicorn"
6
- s.version = "0.1.1"
6
+ s.version = "0.1.2"
7
7
  s.authors = ["Andrei Maxim"]
8
8
  s.email = ["andrei@andreimaxim.ro"]
9
9
  s.homepage = "https://github.com/xhr/guard-unicorn"
@@ -18,8 +18,4 @@ Gem::Specification.new do |s|
18
18
  s.require_paths = ["lib"]
19
19
 
20
20
  s.add_dependency "guard", ">= 1.1"
21
-
22
- s.add_development_dependency "rake"
23
- s.add_development_dependency "bundler"
24
- s.add_development_dependency "minitest"
25
21
  end
data/lib/guard/unicorn.rb CHANGED
@@ -46,9 +46,7 @@ module Guard
46
46
  cmd << "-E #{@environment}"
47
47
  cmd << "-D" if @run_as_daemon
48
48
 
49
- @pid = ::Process.fork do
50
- system "#{cmd.join " "}"
51
- end
49
+ @pid = spawn "#{cmd.join " "}"
52
50
 
53
51
  success "Unicorn started."
54
52
  end
data/test/test_helper.rb CHANGED
@@ -9,5 +9,7 @@ rescue Bundler::BundlerError => e
9
9
  end
10
10
 
11
11
  require 'minitest/autorun'
12
+ require 'coveralls'
13
+ Coveralls.wear!
12
14
 
13
15
  require 'guard/unicorn'
metadata CHANGED
@@ -1,71 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-unicorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Maxim
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-15 00:00:00.000000000 Z
11
+ date: 2014-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.1'
20
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
26
  version: '1.1'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: bundler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '>='
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: minitest
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - '>='
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
27
  description: Guard plug-in that allows you to restart Unicorn
70
28
  email:
71
29
  - andrei@andreimaxim.ro
@@ -91,17 +49,17 @@ require_paths:
91
49
  - lib
92
50
  required_ruby_version: !ruby/object:Gem::Requirement
93
51
  requirements:
94
- - - '>='
52
+ - - ! '>='
95
53
  - !ruby/object:Gem::Version
96
54
  version: '0'
97
55
  required_rubygems_version: !ruby/object:Gem::Requirement
98
56
  requirements:
99
- - - '>='
57
+ - - ! '>='
100
58
  - !ruby/object:Gem::Version
101
59
  version: '0'
102
60
  requirements: []
103
61
  rubyforge_project: guard-unicorn
104
- rubygems_version: 2.0.3
62
+ rubygems_version: 2.3.0
105
63
  signing_key:
106
64
  specification_version: 4
107
65
  summary: Guard for Unicorn