quirkey-vegas 0.0.1 → 0.0.2
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.
- data/lib/vegas.rb +10 -1
- metadata +4 -4
data/lib/vegas.rb
CHANGED
|
@@ -2,10 +2,19 @@ require 'rubygems'
|
|
|
2
2
|
require 'sinatra'
|
|
3
3
|
require 'launchy'
|
|
4
4
|
|
|
5
|
+
# check for windows
|
|
6
|
+
if RUBY_PLATFORM =~ /(mingw|bccwin|wince)/i
|
|
7
|
+
begin
|
|
8
|
+
require 'win32/process'
|
|
9
|
+
rescue
|
|
10
|
+
puts "Sorry, in order to use Vegas on Windows you need the win32-process gem:\n gem install win32-process"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
|
|
5
14
|
$LOAD_PATH.unshift File.dirname(__FILE__)
|
|
6
15
|
|
|
7
16
|
module Vegas
|
|
8
|
-
VERSION = "0.0.
|
|
17
|
+
VERSION = "0.0.2"
|
|
9
18
|
|
|
10
19
|
autoload :Runner, 'vegas/runner'
|
|
11
20
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: quirkey-vegas
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aaron Quint
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-06-10 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -94,7 +94,7 @@ files:
|
|
|
94
94
|
- test/test_apps.rb
|
|
95
95
|
- test/test_helper.rb
|
|
96
96
|
- test/test_vegas_runner.rb
|
|
97
|
-
has_rdoc:
|
|
97
|
+
has_rdoc: false
|
|
98
98
|
homepage: http://code.quirkey.com/vegas
|
|
99
99
|
post_install_message: PostInstall.txt
|
|
100
100
|
rdoc_options:
|
|
@@ -119,7 +119,7 @@ requirements: []
|
|
|
119
119
|
rubyforge_project: quirkey
|
|
120
120
|
rubygems_version: 1.2.0
|
|
121
121
|
signing_key:
|
|
122
|
-
specification_version:
|
|
122
|
+
specification_version: 3
|
|
123
123
|
summary: Vegas aims to solve the simple problem of creating executable versions of Sinatra/Rack apps.
|
|
124
124
|
test_files:
|
|
125
125
|
- test/test_apps.rb
|