show_me_the_cookies 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/show_me_the_cookies.rb +2 -2
- data/lib/show_me_the_cookies/version.rb +1 -1
- data/show_me_the_cookies.gemspec +4 -3
- metadata +24 -2
data/lib/show_me_the_cookies.rb
CHANGED
@@ -57,9 +57,9 @@ private
|
|
57
57
|
adapter = ShowMeTheCookies.adapters[Capybara.current_driver]
|
58
58
|
if adapter.nil?
|
59
59
|
if driver_uses_selenium? # to support custom selenium drivers / configs (whatever they are?)
|
60
|
-
adapter = adapters[:selenium]
|
60
|
+
adapter = ShowMeTheCookies.adapters[:selenium]
|
61
61
|
else
|
62
|
-
raise("Unsupported driver #{Capybara.current_driver}, use one of #{adapters.keys}")
|
62
|
+
raise("Unsupported driver #{Capybara.current_driver}, use one of #{ShowMeTheCookies.adapters.keys}")
|
63
63
|
end
|
64
64
|
end
|
65
65
|
adapter.new(Capybara.current_session.driver)
|
data/show_me_the_cookies.gemspec
CHANGED
@@ -18,7 +18,8 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
s.add_dependency('capybara', '~> 2.0')
|
21
|
-
s.add_development_dependency '
|
22
|
-
s.add_development_dependency '
|
23
|
-
s.add_development_dependency '
|
21
|
+
s.add_development_dependency 'rake' # for releases
|
22
|
+
s.add_development_dependency 'rspec' # for testing
|
23
|
+
s.add_development_dependency 'sinatra' # for testing
|
24
|
+
s.add_development_dependency 'poltergeist' # for testing
|
24
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: show_me_the_cookies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capybara
|
@@ -27,6 +27,22 @@ dependencies:
|
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '2.0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
30
46
|
- !ruby/object:Gem::Dependency
|
31
47
|
name: rspec
|
32
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,12 +127,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
111
127
|
- - ! '>='
|
112
128
|
- !ruby/object:Gem::Version
|
113
129
|
version: '0'
|
130
|
+
segments:
|
131
|
+
- 0
|
132
|
+
hash: -3963342480323913242
|
114
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
134
|
none: false
|
116
135
|
requirements:
|
117
136
|
- - ! '>='
|
118
137
|
- !ruby/object:Gem::Version
|
119
138
|
version: '0'
|
139
|
+
segments:
|
140
|
+
- 0
|
141
|
+
hash: -3963342480323913242
|
120
142
|
requirements: []
|
121
143
|
rubyforge_project:
|
122
144
|
rubygems_version: 1.8.25
|