watirmark 5.29.1 → 5.29.2

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: fdaea98d94f9811dfd4f856eac40bd367c520979
4
- data.tar.gz: 469dd269dcc06ce7c4fc2dff6f5a0bb187cfae4c
3
+ metadata.gz: 6863f2ffd5c7d3f536ee996f273bbd3e22b29cee
4
+ data.tar.gz: 44bee9f7b30b0fdacf9947f6f7f31398527bb959
5
5
  SHA512:
6
- metadata.gz: 373699cc4350cd23cf4dde6002d491cdcf2869e1fd051631c15f98c396f74e7321567e9a4148e9bf6a056e0ab24183fd79a1ed3e5af4b5cf44cddc83103c8dbf
7
- data.tar.gz: dad1eeafee811eb4fea56345e6a15698824d12c208ce2e040a2d96324eb9b03c1a3c47fb8eab9f684b414c1e854e07f866093fb82dd7a1b17a69f5aeafe2f986
6
+ metadata.gz: ef17f156091e90821158b4c0d3286055b6f63b82782bb520ba02b6c0f9bf8fd1346dfee7fc3c4736f035012880aa9d62df19bb9ec75e89339441ccab77cdff80
7
+ data.tar.gz: eee08540eebbda2d609c6c06ca702f9eec887449d32de34c91672aa80a9e802917eb107a182c1fbf11c0dfc9a29cec1ac1e3af7b6c730bd190c59900006f5264
@@ -20,9 +20,10 @@ module ModelHelper
20
20
  # Perform an action using a models and update
21
21
  # the models if that action is successful
22
22
  def with_model(model, table)
23
- cloned_model = model.clone
24
- update_model(cloned_model, table)
23
+ orig_model = model.clone
24
+ update_model(model, table)
25
25
  yield
26
+ model.update(orig_model.to_h)
26
27
  end
27
28
  end
28
29
 
@@ -1,5 +1,5 @@
1
1
  module Watirmark
2
2
  module Version
3
- STRING = '5.29.1'
3
+ STRING = '5.29.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watirmark
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.29.1
4
+ version: 5.29.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hugh McGowan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-14 00:00:00.000000000 Z
11
+ date: 2015-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: watir-webdriver
@@ -232,7 +232,7 @@ rubyforge_project:
232
232
  rubygems_version: 2.4.8
233
233
  signing_key:
234
234
  specification_version: 4
235
- summary: watirmark 5.29.1
235
+ summary: watirmark 5.29.2
236
236
  test_files:
237
237
  - spec/model_traits_spec.rb
238
238
  - spec/session_spec.rb