README.md in getv-2.0.0 vs README.md in getv-2.1.0
- old
+ new
@@ -134,9 +134,16 @@
require 'getv'
superset = Getv::Package::Docker.new 'apache/superset', reject: '-'
puts superset.versions
puts superset.latest_version
+
+# You can also use the flexible "create" factory method
+Getv::Package.create 'apache/superset', type: 'docker', reject: '-'
+Getv::Package.create 'golang/dep', type: 'github release'
+Getv::Package.create 'golang/dep', type: 'github_release'
+Getv::Package.create 'golang/dep', type: 'GitHub::Release'
+Getv::Package.create 'rubygem-getv'
```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rake spec` to run the tests. Run `bundle exec rubocop` to run the linter. You can also run `bin/console` for an interactive prompt that will allow you to experiment.