manageiq-api-client 0.1.0 → 0.1.1

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: d3a81c9088b00cdd045a20cfe360c9f2d4598e13
4
- data.tar.gz: e0d9da3b3fccc42413d9acb5bb837f8daca356de
3
+ metadata.gz: b2f3fc3259917c28315986dcfe8d5ac1c7ca71ea
4
+ data.tar.gz: 0c5fccb4b827c34e2428874d0ba7c30cb051fe76
5
5
  SHA512:
6
- metadata.gz: d4cc5fbbb32de429d43890c91f1784cd5605fc84554581cfa0026a788305ed5c01cddeaecb0e84a3def08e9ce1c9fc2de323e77897f133e11e18f020810f158f
7
- data.tar.gz: 4dfcce61faa98895d736d5abcd9873090e3bab119ec4e3ad31774c9c71e2c68c6a3463bb9ccdd5aa18186815c33c2e0d3414243cdd6894d2e70bf667f7d17aad
6
+ metadata.gz: e7e688118186845b13fb5f450822cec127e24bd7316256fd503d7435585d23fe24977790c58f39ab5480272d145f85bf50924bf4fd3390d8241af15f73216fef
7
+ data.tar.gz: 26b746cc6614f7514967d4f3ed9a56bdd134426fd359d3b7e87bc950e6db15660246b0edb822d892a7bd090cfa92c8a87965a783296d067f14536c96428da90f
data/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ # Change Log
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
+ and this project adheres to [Semantic Versioning](http://semver.org/).
6
+
7
+ ## [Unreleased]
8
+
9
+ ## [0.1.1]
10
+ ### Added
11
+ - Add CHANGELOG.md
12
+ - Update README with simple instructions reflecting the query interface.
13
+
14
+ [Unreleased]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.1.1...HEAD
15
+ [0.1.1]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.1.0...v0.1.1
data/README.md CHANGED
@@ -35,9 +35,9 @@ miq = ManageIQ::API::Client.new(
35
35
  :password => "password"
36
36
  )
37
37
 
38
- miq.vms.search(:filter => "id=320").first.start
38
+ miq.vms.where(:id => 320).first.start
39
39
 
40
- miq.vms.search(:filter => "name='test_*'").each do |vm|
40
+ miq.vms.limit(5).each do |vm|
41
41
  vm.suspend if vm.hardware.memory_mb >= 8192
42
42
  end
43
43
  ```
@@ -1,7 +1,7 @@
1
1
  module ManageIQ
2
2
  module API
3
3
  class Client
4
- VERSION = "0.1.0".freeze
4
+ VERSION = "0.1.1".freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manageiq-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alberto Bellotti
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-11-14 00:00:00.000000000 Z
12
+ date: 2016-11-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -150,6 +150,7 @@ files:
150
150
  - ".gitignore"
151
151
  - ".rspec"
152
152
  - ".travis.yml"
153
+ - CHANGELOG.md
153
154
  - Gemfile
154
155
  - LICENSE.txt
155
156
  - README.md