bluepill 0.0.47 → 0.0.48

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ require "bluepill/version"
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "bluepill"
9
- s.version = Bluepill::VERSION
9
+ s.version = Bluepill::VERSION.dup
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.authors = ["Arya Asemanfar", "Gary Tsang", "Rohith Ravi"]
12
12
  s.email = ["entombedvirus@gmail.com"]
@@ -15,10 +15,9 @@ Gem::Specification.new do |s|
15
15
  s.description = %q{Bluepill keeps your daemons up while taking up as little resources as possible. After all you probably want the resources of your server to be used by whatever daemons you are running rather than the thing that's supposed to make sure they are brought back up, should they die or misbehave.}
16
16
 
17
17
  s.add_dependency 'daemons', '~> 1.1.0'
18
- s.add_dependency 'blankslate', '~> 2.1.2.3'
19
- s.add_dependency 'state_machine', ['~> 0.8.0', '<=0.9.4']
20
- s.add_dependency 'activesupport', '~> 2.3.4'
21
- s.add_dependency 'i18n', '~> 0.5.0'
18
+ s.add_dependency 'state_machine', '~> 0.9.4'
19
+ s.add_dependency 'activesupport', '>= 3.0.0'
20
+ s.add_dependency 'i18n', '>= 0.5.0'
22
21
 
23
22
  s.files = `git ls-files`.split("\n")
24
23
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -102,8 +102,7 @@ module Bluepill
102
102
 
103
103
  ::Process.waitpid(child)
104
104
 
105
- return Marshal.load(cmd_status)
106
-
105
+ cmd_status.strip != '' ? Marshal.load(cmd_status) : {:exit_code => 0, :stdout => '', :stderr => ''}
107
106
  else
108
107
  # child
109
108
  rd.close
@@ -1,4 +1,4 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Bluepill
3
- VERSION = "0.0.47"
3
+ VERSION = "0.0.48".freeze
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bluepill
3
3
  version: !ruby/object:Gem::Version
4
- hash: 65
4
+ hash: 127
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 47
10
- version: 0.0.47
9
+ - 48
10
+ version: 0.0.48
11
11
  platform: ruby
12
12
  authors:
13
13
  - Arya Asemanfar
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-04-05 00:00:00 +04:00
20
+ date: 2011-04-07 00:00:00 +04:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -36,38 +36,13 @@ dependencies:
36
36
  version: 1.1.0
37
37
  type: :runtime
38
38
  version_requirements: *id001
39
- - !ruby/object:Gem::Dependency
40
- name: blankslate
41
- prerelease: false
42
- requirement: &id002 !ruby/object:Gem::Requirement
43
- none: false
44
- requirements:
45
- - - ~>
46
- - !ruby/object:Gem::Version
47
- hash: 105
48
- segments:
49
- - 2
50
- - 1
51
- - 2
52
- - 3
53
- version: 2.1.2.3
54
- type: :runtime
55
- version_requirements: *id002
56
39
  - !ruby/object:Gem::Dependency
57
40
  name: state_machine
58
41
  prerelease: false
59
- requirement: &id003 !ruby/object:Gem::Requirement
42
+ requirement: &id002 !ruby/object:Gem::Requirement
60
43
  none: false
61
44
  requirements:
62
45
  - - ~>
63
- - !ruby/object:Gem::Version
64
- hash: 63
65
- segments:
66
- - 0
67
- - 8
68
- - 0
69
- version: 0.8.0
70
- - - <=
71
46
  - !ruby/object:Gem::Version
72
47
  hash: 51
73
48
  segments:
@@ -76,30 +51,30 @@ dependencies:
76
51
  - 4
77
52
  version: 0.9.4
78
53
  type: :runtime
79
- version_requirements: *id003
54
+ version_requirements: *id002
80
55
  - !ruby/object:Gem::Dependency
81
56
  name: activesupport
82
57
  prerelease: false
83
- requirement: &id004 !ruby/object:Gem::Requirement
58
+ requirement: &id003 !ruby/object:Gem::Requirement
84
59
  none: false
85
60
  requirements:
86
- - - ~>
61
+ - - ">="
87
62
  - !ruby/object:Gem::Version
88
- hash: 11
63
+ hash: 7
89
64
  segments:
90
- - 2
91
65
  - 3
92
- - 4
93
- version: 2.3.4
66
+ - 0
67
+ - 0
68
+ version: 3.0.0
94
69
  type: :runtime
95
- version_requirements: *id004
70
+ version_requirements: *id003
96
71
  - !ruby/object:Gem::Dependency
97
72
  name: i18n
98
73
  prerelease: false
99
- requirement: &id005 !ruby/object:Gem::Requirement
74
+ requirement: &id004 !ruby/object:Gem::Requirement
100
75
  none: false
101
76
  requirements:
102
- - - ~>
77
+ - - ">="
103
78
  - !ruby/object:Gem::Version
104
79
  hash: 11
105
80
  segments:
@@ -108,7 +83,7 @@ dependencies:
108
83
  - 0
109
84
  version: 0.5.0
110
85
  type: :runtime
111
- version_requirements: *id005
86
+ version_requirements: *id004
112
87
  description: Bluepill keeps your daemons up while taking up as little resources as possible. After all you probably want the resources of your server to be used by whatever daemons you are running rather than the thing that's supposed to make sure they are brought back up, should they die or misbehave.
113
88
  email:
114
89
  - entombedvirus@gmail.com