ask_stack 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +1 -1
  2. data/ask_stack.gemspec +1 -1
  3. data/bin/ask_stack +7 -0
  4. metadata +1 -1
data/README.md CHANGED
@@ -15,7 +15,7 @@ First you have to fire up an instance of SeleniumRC on your computer.
15
15
 
16
16
  You can start SeleniumRC with
17
17
 
18
- java -jar vendor/selenium-server-standalone-2.0b3.jar
18
+ ask_stack -s
19
19
 
20
20
  This should be done in a different terminal window from the one you will
21
21
  be running `ask_stack` in. You only have to start up the Selenium
@@ -2,7 +2,7 @@
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "ask_stack"
5
- s.version = '0.0.2'
5
+ s.version = '0.0.3'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.required_ruby_version = '>= 1.9.0'
8
8
 
@@ -1,3 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'ask_stack'
3
+
4
+ if ARGV.first == '-s'
5
+ jarfile = File.join(File.dirname(__FILE__), '..', 'vendor/selenium-server-standalone-2.0b3.jar')
6
+ exec("java -jar #{jarfile}")
7
+ exit
8
+ end
9
+
3
10
  AskStack.run
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ask_stack
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi