cal-screenshot-resize 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb85b050c105dbcb7d3857b2a8da5e60c0f82f58
4
- data.tar.gz: 2224e5add7ba9850edbd0b6dd553bd3a24da3e65
3
+ metadata.gz: bca2e050e3b2f991a722a2bfcc146b9f3579562a
4
+ data.tar.gz: 1a4d9c97344c200bc759e674904e7893626945a6
5
5
  SHA512:
6
- metadata.gz: 258b5687dbc53ce55dab14ec8cc01406f963abcaf0c5b343bd6fdcaf4ede7d9757b3d887c7c03e6f82464f32ab17714c3126db1c135b5f1be0775e0f0bed178e
7
- data.tar.gz: 19dd652ce467bc215f17910995d51119deb101d2a8a4e906fc8986f11c38c6526cd63732e4cf16d96fb0edcf21ff31079a93d34c8131578b791f4adaf22767de
6
+ metadata.gz: 9dec6675924a02e2c0c6b302d749055fbfd18d8fd27ff60e54b73ef7855942d538d74e6ca9503cb5cad98eef622cf8d97a3455118a0b25ea1ee0c66f876c6e16
7
+ data.tar.gz: 7ec10a7448e14d787c0be7b41774bf5a9023626cc780e8436ec7f835ab7daa1b891163fb66602d3dc3ef87d9571bbc1288e4d5ee64b728460d61bc0d237d89df
data/README.md CHANGED
@@ -19,8 +19,9 @@ Or install it yourself as:
19
19
  $ gem install cal-screenshot-resize
20
20
 
21
21
  ## Usage
22
+ `require "screenshot/resize"`
22
23
 
23
- Screenshot::Resize::screenshot_with_scale(:scale => 0.5)
24
+ `Screenshot::Resize::screenshot_with_scale(:scale => 0.5)`
24
25
 
25
26
  ## Contributing
26
27
 
@@ -1,12 +1,13 @@
1
1
  require "screenshot/resize/version"
2
2
  require "fileutils"
3
3
  require "calabash-cucumber"
4
+ require "calabash-cucumber/connection_helpers"
4
5
  require "fastimage_resize"
5
6
 
6
7
 
7
8
  module Screenshot
8
9
  module Resize
9
- extend Calabash::Cucumber::FailureHelpers
10
+ extend Calabash::Cucumber::ConnectionHelpers
10
11
 
11
12
  module_function
12
13
  def screenshot_with_scale(options={:prefix => nil, :name => nil, :scale => nil})
@@ -1,5 +1,5 @@
1
1
  module Screenshot
2
2
  module Resize
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cal-screenshot-resize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkadiusz Konopacki