jstd-runner 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/jstd-runner.gemspec CHANGED
@@ -21,5 +21,6 @@ Gem::Specification.new do |s|
21
21
  s.add_dependency "mail", "2.2.10"
22
22
  s.add_dependency "daemons", "1.1.0"
23
23
 
24
- s.add_development_dependency "rspec", ">= 2.0.0"
24
+ s.add_development_dependency "rspec", "~> 2.7.0"
25
+ s.add_development_dependency "rake", "~> 0.9.2"
25
26
  end
@@ -8,7 +8,7 @@ module JstdRunner
8
8
  class StopError < StandardError
9
9
  end
10
10
 
11
- JAR = File.expand_path("../JsTestDriver-1.3.2.jar", __FILE__)
11
+ JAR = File.expand_path("../JsTestDriver-1.3.3d.jar", __FILE__)
12
12
  LAUNCH_TIMEOUT = 120 # this is huge, but I've seen it happen
13
13
 
14
14
  attr_reader :host, :port
@@ -1,3 +1,3 @@
1
1
  module JstdRunner
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -44,7 +44,7 @@ module JstdRunner
44
44
  end
45
45
 
46
46
  it "knows if the browser is running" do
47
- browser.stub!(:status_span).and_return(mock(:text => "Waiting..."))
47
+ browser.stub!(:status_spans).and_return([mock(:text => "Waiting...")])
48
48
  browser.should be_running
49
49
  end
50
50
 
@@ -11,7 +11,7 @@ module JstdRunner
11
11
  }
12
12
 
13
13
  it "runs and watches the server" do
14
- browser = mock(Browser).as_null_object
14
+ browser = mock(Browser, :capture => nil).as_null_object
15
15
  runner.stub!(:browser).and_return(browser)
16
16
 
17
17
  server = mock(Server, :host => "localhost", :port => 4224)
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  require "jstd-runner"
2
2
 
3
- JstdRunner::Log.level = Logger::Severity::FATAL
3
+ JstdRunner::Log.level = Logger::Severity::INFO
metadata CHANGED
@@ -1,82 +1,90 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: jstd-runner
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.4
4
5
  prerelease:
5
- version: 0.0.3
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Jari Bakken
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-04-13 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-11-02 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: selenium-webdriver
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2154161980 !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
23
21
  version: 0.1.4
24
22
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: eventmachine
28
23
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2154161980
25
+ - !ruby/object:Gem::Dependency
26
+ name: eventmachine
27
+ requirement: &2154161480 !ruby/object:Gem::Requirement
30
28
  none: false
31
- requirements:
32
- - - "="
33
- - !ruby/object:Gem::Version
29
+ requirements:
30
+ - - =
31
+ - !ruby/object:Gem::Version
34
32
  version: 0.12.10
35
33
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: mail
39
34
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2154161480
36
+ - !ruby/object:Gem::Dependency
37
+ name: mail
38
+ requirement: &2154161020 !ruby/object:Gem::Requirement
41
39
  none: false
42
- requirements:
43
- - - "="
44
- - !ruby/object:Gem::Version
40
+ requirements:
41
+ - - =
42
+ - !ruby/object:Gem::Version
45
43
  version: 2.2.10
46
44
  type: :runtime
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: daemons
50
45
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2154161020
47
+ - !ruby/object:Gem::Dependency
48
+ name: daemons
49
+ requirement: &2154160560 !ruby/object:Gem::Requirement
52
50
  none: false
53
- requirements:
54
- - - "="
55
- - !ruby/object:Gem::Version
51
+ requirements:
52
+ - - =
53
+ - !ruby/object:Gem::Version
56
54
  version: 1.1.0
57
55
  type: :runtime
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
56
+ prerelease: false
57
+ version_requirements: *2154160560
58
+ - !ruby/object:Gem::Dependency
60
59
  name: rspec
60
+ requirement: &2154160100 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: 2.7.0
66
+ type: :development
61
67
  prerelease: false
62
- requirement: &id005 !ruby/object:Gem::Requirement
68
+ version_requirements: *2154160100
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: &2154159640 !ruby/object:Gem::Requirement
63
72
  none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: 2.0.0
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: 0.9.2
68
77
  type: :development
69
- version_requirements: *id005
78
+ prerelease: false
79
+ version_requirements: *2154159640
70
80
  description: Runs a JsTestDriver server + browsers with some built-in monitoring
71
- email:
81
+ email:
72
82
  - jari.bakken@gmail.com
73
- executables:
83
+ executables:
74
84
  - jstd-runner
75
85
  extensions: []
76
-
77
86
  extra_rdoc_files: []
78
-
79
- files:
87
+ files:
80
88
  - .gitignore
81
89
  - Gemfile
82
90
  - LICENSE
@@ -86,7 +94,7 @@ files:
86
94
  - bin/jstd-runner
87
95
  - jstd-runner.gemspec
88
96
  - lib/jstd-runner.rb
89
- - lib/jstd-runner/JsTestDriver-1.3.2.jar
97
+ - lib/jstd-runner/JsTestDriver-1.3.3d.jar
90
98
  - lib/jstd-runner/browser.rb
91
99
  - lib/jstd-runner/cli.rb
92
100
  - lib/jstd-runner/monitorable.rb
@@ -103,31 +111,26 @@ files:
103
111
  - spec/spec_helper.rb
104
112
  homepage: http://github.com/jarib/jstd-runner
105
113
  licenses: []
106
-
107
114
  post_install_message:
108
115
  rdoc_options: []
109
-
110
- require_paths:
116
+ require_paths:
111
117
  - lib
112
- required_ruby_version: !ruby/object:Gem::Requirement
118
+ required_ruby_version: !ruby/object:Gem::Requirement
113
119
  none: false
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: "0"
118
- required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ! '>='
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
119
125
  none: false
120
- requirements:
121
- - - ">="
122
- - !ruby/object:Gem::Version
123
- version: "0"
126
+ requirements:
127
+ - - ! '>='
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
124
130
  requirements: []
125
-
126
131
  rubyforge_project:
127
- rubygems_version: 1.7.2
132
+ rubygems_version: 1.8.11
128
133
  signing_key:
129
134
  specification_version: 3
130
135
  summary: JsTestDriver wrapper
131
136
  test_files: []
132
-
133
- has_rdoc: