jspec 2.11.4 → 2.11.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +4 -0
- data/Rakefile +2 -2
- data/bin/jspec +4 -4
- data/jspec.gemspec +7 -7
- data/lib/jspec.js +1 -1
- metadata +3 -3
data/History.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -14,8 +14,8 @@ Echoe.new "jspec", version do |p|
|
|
14
14
|
p.url = "http://visionmedia.github.com/jspec"
|
15
15
|
p.runtime_dependencies << "sinatra"
|
16
16
|
p.runtime_dependencies << "json"
|
17
|
-
p.runtime_dependencies << "commander >=
|
18
|
-
p.runtime_dependencies << "bind >=0.2.
|
17
|
+
p.runtime_dependencies << "commander >=4.0.0"
|
18
|
+
p.runtime_dependencies << "bind >=0.2.8"
|
19
19
|
end
|
20
20
|
|
21
21
|
namespace :pkg do
|
data/bin/jspec
CHANGED
@@ -4,7 +4,7 @@ JSPEC_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
|
4
4
|
$:.unshift JSPEC_ROOT
|
5
5
|
|
6
6
|
require 'rubygems'
|
7
|
-
require 'commander'
|
7
|
+
require 'commander/import'
|
8
8
|
require 'bind'
|
9
9
|
require 'fileutils'
|
10
10
|
require 'server/server'
|
@@ -12,7 +12,7 @@ require 'server/server'
|
|
12
12
|
RHINO = 'java org.mozilla.javascript.tools.shell.Main'
|
13
13
|
|
14
14
|
program :name, 'JSpec'
|
15
|
-
program :version, '2.11.
|
15
|
+
program :version, '2.11.5'
|
16
16
|
program :description, 'JavaScript BDD Testing Framework'
|
17
17
|
default_command :bind
|
18
18
|
|
@@ -264,12 +264,12 @@ def replace_root_in dest, *paths
|
|
264
264
|
end
|
265
265
|
|
266
266
|
##
|
267
|
-
# Update JSpec version in _paths_. Matches
|
267
|
+
# Update JSpec version in _paths_. Matches jspec-TRIPLE
|
268
268
|
|
269
269
|
def update_version_in *paths
|
270
270
|
paths.each do |path|
|
271
271
|
next unless File.exists? path
|
272
|
-
contents = File.read(path).gsub /
|
272
|
+
contents = File.read(path).gsub /jspec-(\d+\.\d+\.\d+)/, "jspec-#{program(:version)}"
|
273
273
|
File.open(path, 'r+'){ |file| file.write contents }
|
274
274
|
say "Updated #{path}; #{$1} -> #{program(:version)}"
|
275
275
|
end
|
data/jspec.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{jspec}
|
5
|
-
s.version = "2.11.
|
5
|
+
s.version = "2.11.5"
|
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"]
|
@@ -27,18 +27,18 @@ Gem::Specification.new do |s|
|
|
27
27
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
28
28
|
s.add_runtime_dependency(%q<sinatra>, [">= 0"])
|
29
29
|
s.add_runtime_dependency(%q<json>, [">= 0"])
|
30
|
-
s.add_runtime_dependency(%q<commander>, [">=
|
31
|
-
s.add_runtime_dependency(%q<bind>, [">= 0.2.
|
30
|
+
s.add_runtime_dependency(%q<commander>, [">= 4.0.0"])
|
31
|
+
s.add_runtime_dependency(%q<bind>, [">= 0.2.8"])
|
32
32
|
else
|
33
33
|
s.add_dependency(%q<sinatra>, [">= 0"])
|
34
34
|
s.add_dependency(%q<json>, [">= 0"])
|
35
|
-
s.add_dependency(%q<commander>, [">=
|
36
|
-
s.add_dependency(%q<bind>, [">= 0.2.
|
35
|
+
s.add_dependency(%q<commander>, [">= 4.0.0"])
|
36
|
+
s.add_dependency(%q<bind>, [">= 0.2.8"])
|
37
37
|
end
|
38
38
|
else
|
39
39
|
s.add_dependency(%q<sinatra>, [">= 0"])
|
40
40
|
s.add_dependency(%q<json>, [">= 0"])
|
41
|
-
s.add_dependency(%q<commander>, [">=
|
42
|
-
s.add_dependency(%q<bind>, [">= 0.2.
|
41
|
+
s.add_dependency(%q<commander>, [">= 4.0.0"])
|
42
|
+
s.add_dependency(%q<bind>, [">= 0.2.8"])
|
43
43
|
end
|
44
44
|
end
|
data/lib/jspec.js
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TJ Holowaychuk
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
43
|
+
version: 4.0.0
|
44
44
|
version:
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: bind
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.2.
|
53
|
+
version: 0.2.8
|
54
54
|
version:
|
55
55
|
description: JavaScript BDD Testing Framework
|
56
56
|
email: tj@vision-media.ca
|