watir_model 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/README.md +2 -6
- data/lib/watir_model.rb +1 -1
- data/watir_model.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97265c57a19f28001518080cb987a0444e883cb3
|
4
|
+
data.tar.gz: 5119b50288ccba390ea7d4aa3074e57cf6f63940
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce1e7c651914ca25400663e2e0c0c2072f6b0caa0dd4102cc089f1b7c7d7470a8cea540e7e98353fdc402a19e6cd6753339813de77a5e6e670a59a356e8a9eda
|
7
|
+
data.tar.gz: db4c7232c9884d4e8064f021f1ce78761c45cb02cca7a88137d1dda65893d59525d8641d1b27924c7b17130b95718678fbf36edb731a5e875a0bc297c5e0c478
|
data/CHANGES.md
CHANGED
data/README.md
CHANGED
@@ -18,7 +18,7 @@ And then execute:
|
|
18
18
|
|
19
19
|
Or install it yourself as:
|
20
20
|
|
21
|
-
$ gem install
|
21
|
+
$ gem install watir_model
|
22
22
|
|
23
23
|
To use this library:
|
24
24
|
|
@@ -26,13 +26,9 @@ To use this library:
|
|
26
26
|
require 'watir_model'
|
27
27
|
```
|
28
28
|
|
29
|
-
## Development
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
-
|
33
29
|
## Contributing
|
34
30
|
|
35
|
-
1. Fork it ( https://github.com/
|
31
|
+
1. Fork it ( https://github.com/titusfortner/watir_model/fork )
|
36
32
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
37
33
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
38
34
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/lib/watir_model.rb
CHANGED
@@ -78,7 +78,7 @@ class WatirModel
|
|
78
78
|
|
79
79
|
def convert(hash, *args)
|
80
80
|
hash.deep_symbolize_keys!
|
81
|
-
filtered = hash.
|
81
|
+
filtered = hash.select { |k| keys.include?(k) || aliases.keys.include?(k) }
|
82
82
|
model = new(filtered)
|
83
83
|
args.each do |key|
|
84
84
|
model.instance_eval do
|
data/watir_model.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watir_model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Titus Fortner
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|