splinter 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/splinter.rb +1 -1
- data/lib/splinter/capybara/actions.rb +2 -2
- data/lib/splinter/version.rb +1 -1
- metadata +13 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ebea3ca698017ea1d5d3df695da907db0a020dfd
|
|
4
|
+
data.tar.gz: 8e7f5afe08fc7104f15912e2afb3120c8e970dde
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12160470d164023ad863da4e3404b52097c641f67b9ca36d9e7e72b9fd71e5c5f5388f290a511fe89996f222b24ac11ffb8b2fcf505095a57eaf780e46d70682
|
|
7
|
+
data.tar.gz: 2b3ccc1b8bf3ea19f5cee28a079d082d0952d3c82413e3232d458b8ae7d77ef1aa9850e0726d586dff550fa396138f2d3c024e323c61d607ce1dcffa4cf90934
|
data/lib/splinter.rb
CHANGED
|
@@ -15,8 +15,8 @@ module Splinter
|
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
if path = Splinter.screenshot_directory
|
|
18
|
-
|
|
19
|
-
page.driver.render(
|
|
18
|
+
args = [File.join(path, "#{name}.png"), Splinter.screenshot_options].compact
|
|
19
|
+
page.driver.render(*args)
|
|
20
20
|
puts "Saved screenshot to #{file}"
|
|
21
21
|
else
|
|
22
22
|
warn "Splinter.screenshot_directory doesn't exist!"
|
data/lib/splinter/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: splinter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joshua Priddle
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-10-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capybara
|
|
@@ -90,21 +90,22 @@ files:
|
|
|
90
90
|
- Rakefile
|
|
91
91
|
- README.markdown
|
|
92
92
|
- lib/splinter.rb
|
|
93
|
-
- lib/splinter/capybara.rb
|
|
94
|
-
- lib/splinter/rspec/shared_connection.rb
|
|
95
|
-
- lib/splinter/rspec/deferred_garbage_collection.rb
|
|
96
|
-
- lib/splinter/capybara/form_completer.rb
|
|
97
|
-
- lib/splinter/capybara/actions.rb
|
|
98
|
-
- lib/splinter/perf/shared_connection.rb
|
|
99
93
|
- lib/splinter/perf/deferred_garbage_collection.rb
|
|
100
|
-
- lib/splinter/
|
|
94
|
+
- lib/splinter/perf/shared_connection.rb
|
|
101
95
|
- lib/splinter/version.rb
|
|
96
|
+
- lib/splinter/rspec.rb
|
|
97
|
+
- lib/splinter/capybara/actions.rb
|
|
98
|
+
- lib/splinter/capybara/form_completer.rb
|
|
99
|
+
- lib/splinter/capybara.rb
|
|
100
|
+
- lib/splinter/rspec/deferred_garbage_collection.rb
|
|
101
|
+
- lib/splinter/rspec/shared_connection.rb
|
|
102
102
|
- spec/test_app/views/index.erb
|
|
103
103
|
- spec/test_app/server.rb
|
|
104
|
-
- spec/spec_helper.rb
|
|
105
104
|
- spec/splinter/capybara/actions_spec.rb
|
|
105
|
+
- spec/spec_helper.rb
|
|
106
106
|
homepage: https://github.com/site5/splinter
|
|
107
|
-
licenses:
|
|
107
|
+
licenses:
|
|
108
|
+
- MIT
|
|
108
109
|
metadata: {}
|
|
109
110
|
post_install_message:
|
|
110
111
|
rdoc_options:
|
|
@@ -123,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
123
124
|
version: '0'
|
|
124
125
|
requirements: []
|
|
125
126
|
rubyforge_project:
|
|
126
|
-
rubygems_version: 2.
|
|
127
|
+
rubygems_version: 2.1.3
|
|
127
128
|
signing_key:
|
|
128
129
|
specification_version: 4
|
|
129
130
|
summary: Splinter is a Capybara Ninja
|