watir_model 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: 1d6966079e205c1a6bd488096daf9bb9197afc7c
4
- data.tar.gz: 38203bdccf10d9dc5d5879aaac9622524db5bf35
3
+ metadata.gz: 8b328fcad2cf878f819bc74cfe6326ff46236e58
4
+ data.tar.gz: 21252c87efb0abc47d259dd9f39c6c26bb0819f0
5
5
  SHA512:
6
- metadata.gz: 44fff36c841c6db3c5eceb51fc7e7102f56007535e25525fb27bbf146d830cb9ec9795604cec9afcc53a452773079046138415f306efb8a1d6e4dd6cd5dee845
7
- data.tar.gz: abe074605473e24846a4cf94002bbc02eac53d61605804c0ae4f956803e87476b391e5230f35486d08d557b121eec25e0b53b6644f70279d95fd140ff51ff477
6
+ metadata.gz: 7294bb8d1f90fa63beffc18a0aeabab3ad22749e9923e968542f82b016c8b52fcccb959c57c924d2be01af530a0541cc26d4d2a42cab97318b6e8714c13d90b7
7
+ data.tar.gz: 25f15ebe9babea61559b1092412d16d0b1a3d4935229845c01e025e6b3e12d822f9bc546d6e224547ecda200e3dc7e994b6c458c5f9bd81a931ce616f9bcdc8c
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.5.6 (2018-01-21)
2
+
3
+ * fix bug with conversion of namespaced classes
4
+
1
5
  ### 0.5.5 (2018-01-20)
2
6
 
3
7
  * allow overriding or specifying custom conversions
@@ -54,7 +54,7 @@ class WatirModel
54
54
  data_type = data_types[key]
55
55
  return value if data_type.nil?
56
56
  return value if data_type.is_a?(Class) && value.is_a?(data_type)
57
- method = "convert_#{data_type.to_s.underscore}"
57
+ method = "convert_#{data_type.to_s.underscore.tr('/', '_')}"
58
58
  value = if respond_to? method
59
59
  send(method, value)
60
60
  else
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "watir_model"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir_model
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