capybara-envjs-fixes 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/capybara-envjs-fixes.gemspec +6 -6
- data/lib/capybara_envjs_fixes/cucumber_fixes/javascript.rb +1 -0
- metadata +7 -14
data/Rakefile
CHANGED
@@ -7,9 +7,9 @@ begin
|
|
7
7
|
gem.name = "capybara-envjs-fixes"
|
8
8
|
gem.summary = %Q{Fixes on top of capybara-envjs}
|
9
9
|
gem.description = %Q{Fixes on top of capybara-envjs}
|
10
|
-
gem.email = "
|
10
|
+
gem.email = "support@thoughtbot.com"
|
11
11
|
gem.homepage = "http://github.com/jasonm/capybara-envjs-fixes"
|
12
|
-
gem.authors = ["Jason Morrison"]
|
12
|
+
gem.authors = ["Jason Morrison", "Joe Ferris", "Harold Giménez"]
|
13
13
|
gem.add_development_dependency "rspec", ">= 1.2.9"
|
14
14
|
gem.add_dependency('capybara-envjs', '>= 0.1.6')
|
15
15
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
@@ -5,13 +5,13 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{capybara-envjs-fixes}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Jason Morrison"]
|
12
|
-
s.date = %q{2010-08-
|
11
|
+
s.authors = ["Jason Morrison", "Joe Ferris", "Harold Gim\303\251nez"]
|
12
|
+
s.date = %q{2010-08-06}
|
13
13
|
s.description = %q{Fixes on top of capybara-envjs}
|
14
|
-
s.email = %q{
|
14
|
+
s.email = %q{support@thoughtbot.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
17
|
"README.rdoc"
|
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
|
|
36
36
|
s.homepage = %q{http://github.com/jasonm/capybara-envjs-fixes}
|
37
37
|
s.rdoc_options = ["--charset=UTF-8"]
|
38
38
|
s.require_paths = ["lib"]
|
39
|
-
s.rubygems_version = %q{1.3.
|
39
|
+
s.rubygems_version = %q{1.3.6}
|
40
40
|
s.summary = %q{Fixes on top of capybara-envjs}
|
41
41
|
s.test_files = [
|
42
42
|
"spec/capybara-envjs-fixes_spec.rb",
|
@@ -47,7 +47,7 @@ Gem::Specification.new do |s|
|
|
47
47
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
48
48
|
s.specification_version = 3
|
49
49
|
|
50
|
-
if Gem::Version.new(Gem::
|
50
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
51
51
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
52
52
|
s.add_runtime_dependency(%q<capybara-envjs>, [">= 0.1.6"])
|
53
53
|
else
|
@@ -62,6 +62,7 @@ Before('@javascript') do
|
|
62
62
|
%{<script type="text/javascript">
|
63
63
|
#{CucumberJavascript::MOCK_JQUERY}
|
64
64
|
#{@__custom_javascript.join}
|
65
|
+
</script>
|
65
66
|
</body>})
|
66
67
|
new_body.gsub!(%r{<script src="http://[^"]+" type="text/javascript"></script>}, '')
|
67
68
|
Capybara.current_session.driver.response.instance_variable_set('@body', new_body)
|
metadata
CHANGED
@@ -1,32 +1,31 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-envjs-fixes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 23
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
8
|
+
- 5
|
9
|
+
version: 0.0.5
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Jason Morrison
|
13
|
+
- Joe Ferris
|
14
|
+
- "Harold Gim\xC3\xA9nez"
|
14
15
|
autorequire:
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2010-08-
|
19
|
+
date: 2010-08-06 00:00:00 -04:00
|
19
20
|
default_executable:
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
22
23
|
name: rspec
|
23
24
|
prerelease: false
|
24
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 13
|
30
29
|
segments:
|
31
30
|
- 1
|
32
31
|
- 2
|
@@ -38,11 +37,9 @@ dependencies:
|
|
38
37
|
name: capybara-envjs
|
39
38
|
prerelease: false
|
40
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
40
|
requirements:
|
43
41
|
- - ">="
|
44
42
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 23
|
46
43
|
segments:
|
47
44
|
- 0
|
48
45
|
- 1
|
@@ -51,7 +48,7 @@ dependencies:
|
|
51
48
|
type: :runtime
|
52
49
|
version_requirements: *id002
|
53
50
|
description: Fixes on top of capybara-envjs
|
54
|
-
email:
|
51
|
+
email: support@thoughtbot.com
|
55
52
|
executables: []
|
56
53
|
|
57
54
|
extensions: []
|
@@ -85,27 +82,23 @@ rdoc_options:
|
|
85
82
|
require_paths:
|
86
83
|
- lib
|
87
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
85
|
requirements:
|
90
86
|
- - ">="
|
91
87
|
- !ruby/object:Gem::Version
|
92
|
-
hash: 3
|
93
88
|
segments:
|
94
89
|
- 0
|
95
90
|
version: "0"
|
96
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
92
|
requirements:
|
99
93
|
- - ">="
|
100
94
|
- !ruby/object:Gem::Version
|
101
|
-
hash: 3
|
102
95
|
segments:
|
103
96
|
- 0
|
104
97
|
version: "0"
|
105
98
|
requirements: []
|
106
99
|
|
107
100
|
rubyforge_project:
|
108
|
-
rubygems_version: 1.3.
|
101
|
+
rubygems_version: 1.3.6
|
109
102
|
signing_key:
|
110
103
|
specification_version: 3
|
111
104
|
summary: Fixes on top of capybara-envjs
|