README.md in rancher-api-0.3.8 vs README.md in rancher-api-0.4.0
- old
+ new
@@ -36,11 +36,11 @@
$ gem install rancher-api
## Rancher Version
Tested with:
-Rancher v0.63.1
+Rancher v1.1.0
## Usage
Configure Rancher::Api first by providing url, access and secret keys:
@@ -178,10 +178,13 @@
puts container.execute(['bundle', 'exec', 'rake', 'db:create', 'db:migrate']).response
```
## Development
+### Console
To load environment with pry run `pry -I lib -r rancher/api`
+
+Then execute `Rancher::Api.setup!` to configure rancher credentials from environment variables and load models.
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
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`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).