jspec 4.2.1 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.md +7 -0
- data/bin/jspec +2 -2
- data/jspec.gemspec +2 -2
- data/lib/jspec.js +1 -1
- data/lib/jspec.xhr.js +3 -1
- data/src/browsers.rb +26 -0
- metadata +4 -4
data/History.md
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
|
2
|
+
4.3.0 / 2010-05-04
|
3
|
+
==================
|
4
|
+
|
5
|
+
* Added chromium to supported browsers
|
6
|
+
* Fixed rhino support by using java command
|
7
|
+
* Fixed MockXMLHttpRequest#getAllResponseHeaders() matches spec returning a string
|
8
|
+
|
2
9
|
4.2.1 / 2010-04-15
|
3
10
|
==================
|
4
11
|
|
data/bin/jspec
CHANGED
@@ -12,7 +12,7 @@ require 'src/installables'
|
|
12
12
|
require 'src/server'
|
13
13
|
|
14
14
|
program :name, 'JSpec'
|
15
|
-
program :version, '4.
|
15
|
+
program :version, '4.3.0'
|
16
16
|
program :description, 'JavaScript BDD Testing Framework'
|
17
17
|
default_command :bind
|
18
18
|
|
@@ -123,7 +123,7 @@ command :shell do |c|
|
|
123
123
|
end
|
124
124
|
end
|
125
125
|
say "JSpec #{program(:version)}"
|
126
|
-
|
126
|
+
`java -jar #{JSpec::Project::RHINO} #{paths.join(' ')} -f -`
|
127
127
|
end
|
128
128
|
end
|
129
129
|
|
data/jspec.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{jspec}
|
5
|
-
s.version = "4.
|
5
|
+
s.version = "4.3.0"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["TJ Holowaychuk"]
|
9
|
-
s.date = %q{2010-04
|
9
|
+
s.date = %q{2010-05-04}
|
10
10
|
s.default_executable = %q{jspec}
|
11
11
|
s.description = %q{JavaScript BDD Testing Framework}
|
12
12
|
s.email = %q{tj@vision-media.ca}
|
data/lib/jspec.js
CHANGED
data/lib/jspec.xhr.js
CHANGED
data/src/browsers.rb
CHANGED
@@ -217,6 +217,32 @@ class Browser
|
|
217
217
|
end
|
218
218
|
end
|
219
219
|
|
220
|
+
#--
|
221
|
+
# Chromium
|
222
|
+
#++
|
223
|
+
|
224
|
+
class Chromium < self
|
225
|
+
def self.matches_agent? string
|
226
|
+
string =~ /chrome/i
|
227
|
+
end
|
228
|
+
|
229
|
+
def self.matches_name? string
|
230
|
+
string =~ /chromium/i
|
231
|
+
end
|
232
|
+
|
233
|
+
def supported?
|
234
|
+
linux?
|
235
|
+
end
|
236
|
+
|
237
|
+
def visit uri
|
238
|
+
system "chromium #{uri}" if linux?
|
239
|
+
end
|
240
|
+
|
241
|
+
def to_s
|
242
|
+
'Chromium'
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
220
246
|
#--
|
221
247
|
# Internet Explorer
|
222
248
|
#++
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 4
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 4.
|
7
|
+
- 3
|
8
|
+
- 0
|
9
|
+
version: 4.3.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- TJ Holowaychuk
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04
|
17
|
+
date: 2010-05-04 00:00:00 -07:00
|
18
18
|
default_executable: jspec
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|