gnawrnip 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -49,14 +49,14 @@ You can do to customize a screenshot.
49
49
 
50
50
  ```ruby
51
51
  Gnawrnip.configure do |c|
52
- c.frame_interval = 1000 # milliseconds
52
+ c.frame_interval_ms = 1000 # milliseconds
53
53
  c.make_animation = true
54
54
  c.max_frame_size = 1024 # pixel
55
55
  end
56
56
  ```
57
57
 
58
58
  * `make_animation` (Boolean) Whether to make animation GIF. (Default: true)
59
- * `frame_interval` (Integer) A time (millisecond) between each image in an animation. Default is `1000` (1sec)
59
+ * `frame_interval_ms` (Integer) A time (millisecond) between each image in an animation. Default is `1000`.
60
60
  * This option is enabled only when the `make_animation = true`.
61
61
  * `max_frame_size` (Integer) Maximum size that use to resize of image.
62
62
  * If given, it resize the image to fit to this value.
@@ -21,7 +21,7 @@ Capybara.default_driver = :poltergeist
21
21
  Capybara.javascript_driver = :selenium
22
22
 
23
23
  Gnawrnip.configure do |c|
24
- c.frame_interval = 1000 # milliseconds
25
- c.make_animation = true
26
- c.max_frame_size = 1024 # pixel
24
+ c.frame_interval_ms = 1000
25
+ c.make_animation = true
26
+ c.max_frame_size = 1024 # pixel
27
27
  end
@@ -1,3 +1,3 @@
1
1
  module Gnawrnip
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
data/lib/gnawrnip.rb CHANGED
@@ -8,7 +8,7 @@ module Gnawrnip
8
8
  #
9
9
  # [Integer] Time (millisecond) between each image in animation
10
10
  #
11
- attr_accessor :frame_interval
11
+ attr_accessor :frame_interval_ms
12
12
 
13
13
  #
14
14
  # [Boolean] Whether to make animation GIF
@@ -59,7 +59,7 @@ module Gnawrnip
59
59
  end
60
60
 
61
61
  Gnawrnip.configure do |c|
62
- c.frame_interval = 1000
63
- c.make_animation = true
64
- c.max_frame_size = nil
62
+ c.frame_interval_ms = 1000
63
+ c.make_animation = true
64
+ c.max_frame_size = nil
65
65
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnawrnip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -173,7 +173,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  segments:
175
175
  - 0
176
- hash: 3462601225133787516
176
+ hash: 95231575692747815
177
177
  required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  none: false
179
179
  requirements:
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: '0'
183
183
  segments:
184
184
  - 0
185
- hash: 3462601225133787516
185
+ hash: 95231575692747815
186
186
  requirements: []
187
187
  rubyforge_project:
188
188
  rubygems_version: 1.8.23