watir_model 0.4.3 → 0.4.4

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: e3bfd298eef33645bdffb9882febd6b54b6d0c6f
4
- data.tar.gz: 28829ffbd5b3ed5b0526f7ae863d883927fd083d
3
+ metadata.gz: 16329781ea9c6e90b46758d340ad7b90287fb280
4
+ data.tar.gz: 00f28db8b0f82a0e5544e019af1c1fcffcdde8dc
5
5
  SHA512:
6
- metadata.gz: d493371956ccae3c2fcf8665f425429cde9323d93848f930b9d9d7ba3511a72658422595a348d9e7e57b127cb4b67d0b7dfefedffc1cc317d4fc4725b238f30b
7
- data.tar.gz: 4a78deb330ed905139adc826d51f1daa0dd7c10df625c01731b4a311b813934ea1fddb72a476879d224fb9bd296b01394c14fc3c7c7995e398c0905f885e572a
6
+ metadata.gz: d698e1bdaf21be620b9f1ae6b9ecc7b3eb30d6ea5067072803789f1048392a8b16b1645bb1f0c9971b9476ffbb3f47ec814e7e07ccacd466e900f8a62b97e86c
7
+ data.tar.gz: b29636cc9bd81e36e278b0c6a4246f9ba11748c47a990c42d3d20cd757e8fc523413f1c9610e0d7ee38f22d814c533222a71a2d996f77f35a34a82da14fe821e
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.4.4 (2017-12-28)
2
+
3
+ * fix bug for `#factory_file` dealing with namespaces
4
+
1
5
  ### 0.4.3 (2017-12-28)
2
6
 
3
7
  * support for `#to_hash` to work with nested models
data/lib/watir_model.rb CHANGED
@@ -107,7 +107,7 @@ class WatirModel
107
107
  end
108
108
 
109
109
  def factory_file(type)
110
- Dir.glob("#{WatirModel.yml_directory}/#{type.to_s.downcase}.yml").first
110
+ Dir.glob("#{WatirModel.yml_directory}/#{type.to_s[/[^:]*$/].downcase}.yml").first
111
111
  end
112
112
 
113
113
  def data_from_yaml(file, value)
data/watir_model.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "watir_model"
5
- spec.version = "0.4.3"
5
+ spec.version = "0.4.4"
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.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Titus Fortner