godot 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,5 @@
1
1
  rvm:
2
2
  - 1.9.3
3
3
  - 1.9.2
4
- - 1.8.7
5
4
  - jruby-19mode
6
- - rbx-19mode
7
5
  script: script/ci.sh
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- godot (0.1.0)
4
+ godot (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  addressable (2.3.2)
10
- capybara (1.1.2)
10
+ capybara (1.1.3)
11
11
  mime-types (>= 1.16)
12
12
  nokogiri (>= 1.3.3)
13
13
  rack (>= 1.0.0)
@@ -19,7 +19,7 @@ GEM
19
19
  coderay (1.0.8)
20
20
  diff-lcs (1.1.3)
21
21
  ffi (1.1.5)
22
- guard (1.5.0)
22
+ guard (1.5.4)
23
23
  listen (>= 0.4.2)
24
24
  lumberjack (>= 1.0.2)
25
25
  pry (>= 0.9.10)
@@ -27,7 +27,7 @@ GEM
27
27
  guard-bundler (1.0.0)
28
28
  bundler (~> 1.0)
29
29
  guard (~> 1.1)
30
- guard-rspec (2.1.0)
30
+ guard-rspec (2.1.1)
31
31
  guard (>= 1.1)
32
32
  rspec (~> 2.11)
33
33
  libwebsocket (0.1.5)
@@ -36,7 +36,7 @@ GEM
36
36
  lumberjack (1.0.2)
37
37
  method_source (0.8.1)
38
38
  mime-types (1.19)
39
- multi_json (1.3.6)
39
+ multi_json (1.3.7)
40
40
  nokogiri (1.5.5)
41
41
  pry (0.9.10)
42
42
  coderay (~> 1.0.5)
@@ -55,7 +55,7 @@ GEM
55
55
  diff-lcs (~> 1.1.3)
56
56
  rspec-mocks (2.11.3)
57
57
  rubyzip (0.9.9)
58
- selenium-webdriver (2.25.0)
58
+ selenium-webdriver (2.26.0)
59
59
  childprocess (>= 0.2.5)
60
60
  libwebsocket (~> 0.1.3)
61
61
  multi_json (~> 1.0)
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $:<< File.expand_path("../../lib", __FILE__)
4
+
5
+ require "godot"
6
+
7
+ case ARGV.length
8
+ when 1
9
+ Godot.wait(ARGV.first, 80)
10
+ when 2
11
+ Godot.wait(ARGV.first, ARGV[1])
12
+ when 3
13
+ Godot.match(ARGV.first, ARGV[1], ARGV[2], /.*/)
14
+ when 4
15
+ Godot.match(ARGV.first, ARGV[1], ARGV[2], /#{ARGV[3]}/)
16
+ else
17
+ puts "Godot #{Godot::VERSION}"
18
+ puts "godot host [port] [url] [matching text]"
19
+ false
20
+ end || exit(1)
@@ -22,4 +22,5 @@ Gem::Specification.new do |s|
22
22
  s.test_files = `git ls-files -- spec/*`.split( "\n" )
23
23
  s.executables = `git ls-files -- bin/*`.split( "\n" ).map{ |f| File.basename( f ) }
24
24
  s.require_path = "lib"
25
+ s.default_executable = "bin/godot"
25
26
  end
@@ -1,3 +1,4 @@
1
+ require "godot/version"
1
2
  require "timeout"
2
3
  require "socket"
3
4
 
@@ -1,3 +1,3 @@
1
1
  class Godot
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: godot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-11-09 00:00:00.000000000 Z
13
+ date: 2012-11-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -126,7 +126,8 @@ dependencies:
126
126
  version: '0'
127
127
  description: If you're going to be bored waiting for something, why not our good friend?
128
128
  email: ritezel+godot@pivotallabs.com
129
- executables: []
129
+ executables:
130
+ - godot
130
131
  extensions: []
131
132
  extra_rdoc_files: []
132
133
  files:
@@ -138,6 +139,7 @@ files:
138
139
  - Guardfile
139
140
  - LICENSE
140
141
  - README.md
142
+ - bin/godot
141
143
  - godot.gemspec
142
144
  - lib/godot.rb
143
145
  - lib/godot/version.rb