utensils 0.0.18 → 0.0.19
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/README.md +1 -1
- data/lib/utensils/capybara_screenshot.rb +1 -8
- data/lib/utensils/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: de64c47bf7c71f842463c0d275f8647a11ce12d3
|
|
4
|
+
data.tar.gz: 02eea380a641346ad06c7c07603a470acf561b56
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed9e20cc8a0dd1284db857d54689352d41368a4704a270012c3f4a416433ce33344d8222f5b8230c5413deb15444087aba9e96f863f1b41921411c2091599a78
|
|
7
|
+
data.tar.gz: 0099c1ec36bc41826eb439de8b7256e255951f59f94806ecf3effd17d6ba27cc01e1cb74c7360e9f850bf7590be8e6df4c82181553a3751dd2b48d923b18f37b
|
data/README.md
CHANGED
|
@@ -103,7 +103,7 @@ Photo.create(:file => fixture_file('dummy.jpg')) # attaches File spec/fixtures/d
|
|
|
103
103
|
|
|
104
104
|
### vcr
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
Configures vcr to work with rspec and disables all outgoing http requests not marked with :vcr
|
|
107
107
|
|
|
108
108
|
```ruby
|
|
109
109
|
describe 'examples' do
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
require 'capybara-screenshot/rspec'
|
|
2
2
|
Capybara.save_and_open_page_path = 'public/tmp'
|
|
3
3
|
Capybara::Screenshot.append_screenshot_path = false
|
|
4
|
-
|
|
5
|
-
#TODO: Pull request allowing you to disable timestamps
|
|
6
|
-
class Capybara::Screenshot::Saver
|
|
7
|
-
def initialize(capybara, page, html_save=true, filename_prefix='screenshot')
|
|
8
|
-
@capybara, @page, @html_save = capybara, page, html_save
|
|
9
|
-
@file_base_name = filename_prefix
|
|
10
|
-
end
|
|
11
|
-
end
|
|
4
|
+
Capybara::Screenshot.append_timestamp = false
|
data/lib/utensils/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: utensils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jens Balvig
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Rspec stuff we use over and over again
|
|
14
14
|
email:
|
|
@@ -17,7 +17,7 @@ executables: []
|
|
|
17
17
|
extensions: []
|
|
18
18
|
extra_rdoc_files: []
|
|
19
19
|
files:
|
|
20
|
-
- .gitignore
|
|
20
|
+
- ".gitignore"
|
|
21
21
|
- Gemfile
|
|
22
22
|
- LICENSE
|
|
23
23
|
- README.md
|
|
@@ -45,17 +45,17 @@ require_paths:
|
|
|
45
45
|
- lib
|
|
46
46
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
47
47
|
requirements:
|
|
48
|
-
- -
|
|
48
|
+
- - ">="
|
|
49
49
|
- !ruby/object:Gem::Version
|
|
50
50
|
version: '0'
|
|
51
51
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
52
|
requirements:
|
|
53
|
-
- -
|
|
53
|
+
- - ">="
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
55
|
version: '0'
|
|
56
56
|
requirements: []
|
|
57
57
|
rubyforge_project:
|
|
58
|
-
rubygems_version: 2.
|
|
58
|
+
rubygems_version: 2.2.1
|
|
59
59
|
signing_key:
|
|
60
60
|
specification_version: 4
|
|
61
61
|
summary: Rspec stuff we use over and over again
|