webdrone 1.4.4 → 1.4.6

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: fbb8e653bb70e462f36353ab600f8a800c0d3932
4
- data.tar.gz: ecf51f3fd51fd71b90ed9357c73ddaedc5ae6db2
3
+ metadata.gz: e967b2fa0e135c535f8e2afb55b681d0e7a08341
4
+ data.tar.gz: a6035a199919425614acbf58efa708d88486e140
5
5
  SHA512:
6
- metadata.gz: 2219c382cb0a2febb2f2d07b9b4117cb085ffb848274cf29944b89ad64256c2442839f083084bd48d383490362820ca01c090eb17767d1d8af1b7957f78be695
7
- data.tar.gz: 34103ebb553db7079d483e3db152e9b5357684b98e0b143e10009dc1e12e92ce3608ff5d10210267b7703279351c58630232340872941273dfdacb2cf014fb6c
6
+ metadata.gz: ac854530dbe7223e70090c09a0c723fc6136b459d637912bedec130bc1f7a9a04a9d84117c0cf4fdabd8ff172a72d9f55d16a434ef6228c5ef9e34eaa13dacdc
7
+ data.tar.gz: 953cb88420123c7c95b2829c17eddb9bd363d314d4d2d42fcff7cc95cfefbf534b4ed98e1acd99661b9942512dfdf676cd8b10ab6e2641425fc3c2e206cbccf9
data/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  New features are summarized here.
4
4
 
5
5
 
6
+ ## v1.4.6 - 2016-08-05
7
+ ### Added
8
+ - Change a0.mark.default_times and a0.mark.default_sleep vía environment variables WEBDRONE_MARK_TIMES and WEBDRONE_MARK_SLEEP.
9
+ ```ruby
10
+ # default is 3 times with 0.05 seconds delay between them
11
+ a0.mark.on 'something'
12
+
13
+ # manual override
14
+ a0.mark.on 'something', times: 2, sleep: 1
15
+
16
+ # environment override
17
+ export WEBDRONE_MARK_TIMES=1
18
+ export WEBDRONE_MARK_SLEEP=0
19
+ a0.mark.on 'something'
20
+ ```
21
+
6
22
 
7
23
  ## v1.4.4 - 2016-06-27
8
24
  ### Added
data/README.md CHANGED
@@ -19,11 +19,12 @@ And then execute:
19
19
  Or install and check for updates:
20
20
 
21
21
  $ gem install webdrone
22
- $ gem update webdrone
22
+ $ gem update webdrone selenium-webdriver
23
23
 
24
24
  ## Documentation
25
25
 
26
- * [Documentation Wiki](https://github.com/a0/a0-webdrone-ruby/wiki) (Basic installation, usage and more).
26
+ * Know the latest and greatest features by reading the [Changelog](https://github.com/a0/a0-webdrone-ruby/blob/master/CHANGELOG.md).
27
+ * Read or helps us to improve our [Documentation Wiki](https://github.com/a0/a0-webdrone-ruby/wiki). It contains basic installation, usage and more.
27
28
  * Docs can be found [here](http://www.rubydoc.info/gems/webdrone).
28
29
 
29
30
  ## Development
data/lib/webdrone/mark.rb CHANGED
@@ -10,8 +10,8 @@ module Webdrone
10
10
 
11
11
  def initialize(a0)
12
12
  @a0 = a0
13
- @default_times = 3
14
- @default_sleep = 0.05
13
+ @default_times = ENV['WEBDRONE_MARK_TIMES'] || 3
14
+ @default_sleep = ENV['WEBDRONE_MARK_SLEEP'] || 0.05
15
15
  end
16
16
 
17
17
  def mark(text, n: 1, all: false, visible: true, color: '#af1616', times: nil, sleep: nil, shot: nil)
@@ -1,3 +1,3 @@
1
1
  module Webdrone
2
- VERSION = "1.4.4"
2
+ VERSION = "1.4.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webdrone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aldrin Martoq
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-27 00:00:00.000000000 Z
11
+ date: 2016-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler