vegas 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ rescue LoadError
7
7
  end
8
8
 
9
9
  module Vegas
10
- VERSION = "0.1.10"
10
+ VERSION = "0.1.11"
11
11
  WINDOWS = !!(RUBY_PLATFORM =~ /(mingw|bccwin|wince|mswin32)/i)
12
12
  JRUBY = !!(RbConfig::CONFIG["RUBY_INSTALL_NAME"] =~ /^jruby/i)
13
13
 
@@ -392,6 +392,10 @@ module Vegas
392
392
  WINDOWS ? [1] : [:INT, :TERM]
393
393
  end
394
394
 
395
+ def kill_command
396
+ kill_commands[0]
397
+ end
398
+
395
399
  def delete_pid!
396
400
  File.delete(pid_file) if File.exist?(pid_file)
397
401
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "vegas"
8
- s.version = "0.1.10"
8
+ s.version = "0.1.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Aaron Quint"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vegas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2009-08-30 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
16
- requirement: &70352802385900 !ruby/object:Gem::Requirement
16
+ requirement: &70263270797180 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70352802385900
24
+ version_requirements: *70263270797180
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: mocha
27
- requirement: &70352802385020 !ruby/object:Gem::Requirement
27
+ requirement: &70263270795200 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.9.8
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70352802385020
35
+ version_requirements: *70263270795200
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bacon
38
- requirement: &70352802384100 !ruby/object:Gem::Requirement
38
+ requirement: &70263270793840 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.1.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70352802384100
46
+ version_requirements: *70263270793840
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: sinatra
49
- requirement: &70352802383200 !ruby/object:Gem::Requirement
49
+ requirement: &70263270792960 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 0.9.4
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70352802383200
57
+ version_requirements: *70263270792960
58
58
  description: Vegas aims to solve the simple problem of creating executable versions
59
59
  of Sinatra/Rack apps. It includes a class Vegas::Runner that wraps Rack/Sinatra
60
60
  applications and provides a simple command line interface and launching mechanism.