watir_drops 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87a0011675d541899558e200f9f9dbae7e1a284a
4
- data.tar.gz: 9bcf850b3131024d493f78df7a8350e4ca624bed
3
+ metadata.gz: bc5c043706178cf6441fb257fc559ea55312f7cd
4
+ data.tar.gz: d2cb04aa086a83d0f937f3bd4a27fffd82c4026c
5
5
  SHA512:
6
- metadata.gz: 7de887e283d9ff9b641599090ac24d41e41a6a19e6cc77e746637ac4552325b7df2fdea1a9748facf9ae3614ed680aed4aed073ca881865eb44741cfa87cd4b9
7
- data.tar.gz: 7c09c4b66b30d434cfe9d3c856b324dd852c94d34d2c2a5b3054930d8ae35dbfb82458d828673aac27b39667ea4abc0c12d65472d0bff2fcdf9d783dcf1844dc
6
+ metadata.gz: d2c37927e9441a49a8a3be0069b04fe58409d7e45c7907d4dfee2707250b9adda697130db10e3e043155e3dcfe863ca36cc5d586cc6f720cf7d3d7000470193a
7
+ data.tar.gz: ed76fb661671f5c342049dec714e8ee8d4a5ed44f9297573d749045268873b784b56d34033196896ac76219f92952fd2727b49fb2f35c2c63479c1786c852927
data/CHANGES.md CHANGED
@@ -1,3 +1,15 @@
1
+ ### 0.5.6 (2016-05-21)
2
+
3
+ * add instance method for page_url on PageObject
4
+
5
+ ### 0.5.5 (2016-04-22)
6
+
7
+ * fix bug for filling forms with Hash
8
+
9
+ ### 0.5.4 (2016-04-20)
10
+
11
+ * don't specify activesupport version
12
+
1
13
  ### 0.5.3 (2016-03-03)
2
14
 
3
15
  * only attempt fill forms with values defined in model instance
@@ -8,8 +8,12 @@ module WatirDrops
8
8
  attr_writer :element_list
9
9
 
10
10
  def page_url
11
+ define_method("page_url") do |*args|
12
+ yield(*args)
13
+ end
14
+
11
15
  define_method("goto") do |*args|
12
- browser.goto yield(*args)
16
+ browser.goto page_url(*args)
13
17
  end
14
18
  end
15
19
 
data/watir_drops.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'watir_drops'
5
- spec.version = '0.5.5'
5
+ spec.version = '0.5.6'
6
6
  spec.authors = ['Titus Fortner']
7
7
  spec.email = ['titusfortner@gmail.com']
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir_drops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Titus Fortner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-22 00:00:00.000000000 Z
11
+ date: 2016-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport