yao 0.0.3 → 0.0.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: 298bce55c3d25234e35c14989a210afd8fb7b4c3
4
- data.tar.gz: 3e20caeb71ee45e107088f77023feb3b4e36d4b4
3
+ metadata.gz: fcf16d4a4921aa948f2baab99e8a5624f9e6f26d
4
+ data.tar.gz: fc582b3b713a62a294ef37a2038ad3a5cee4ccd3
5
5
  SHA512:
6
- metadata.gz: b171da7b57e0012edfe30ade18febc07b4ff3bb05b65c68bce9f044ecb6e5c6c75470902220c6d0523eb2f1af71914eeea9971850d6b61a84dd111b545f28638
7
- data.tar.gz: 5edadcb3f77a9010ccf5326ed1ab3f95e7ecc3622580910831964e9d71f9258fc7695734579ddd5920b32e9aa406bfde4c9fc2a29da1e43a1dbf3cba2cac77e2
6
+ metadata.gz: d96d8f256bcdddf501242a12466f69900f6a382332c92d97f9637046c62c5db551e5132f6ca3e52a49e0691e19a1e911b31fa1a7044c88f661ff1df1fc64a2cd
7
+ data.tar.gz: 134ae978ae8b3d7b16f9549f6b06451c389bb6d6d7809569267729ec95130f2a9e87d9c23d43704f1e1cc21e8dc78bdb6aa12cfbdd1f3d1e0e2c50bfc828e49a
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Yao
2
2
 
3
- YAO is a Yet Another OpenStack API Wrapper that rocks!! [![Build Status](https://travis-ci.org/udzura/yao.svg)](https://travis-ci.org/udzura/yao)
3
+ YAO is a Yet Another OpenStack API Wrapper that rocks!! [![Build Status](https://travis-ci.org/yaocloud/yao.svg)](https://travis-ci.org/yaocloud/yao)
4
4
 
5
5
  ## Installation
6
6
 
@@ -54,7 +54,7 @@ OpenStack::Server.list_detail # And let's go on
54
54
 
55
55
  ## Contributing
56
56
 
57
- 1. Fork it ( https://github.com/udzura/yao/fork )
57
+ 1. Fork it ( https://github.com/yaocloud/yao/fork )
58
58
  2. Create your feature branch (`git checkout -b my-new-feature`)
59
59
  3. Commit your changes (`git commit -am 'Add some feature'`)
60
60
  4. Push to the branch (`git push origin my-new-feature`)
@@ -0,0 +1,9 @@
1
+ module Yao::Resources
2
+ class Host < Base
3
+ friendly_attributes :host_name, :service, :zone
4
+
5
+ self.service = "compute"
6
+ self.resource_name = "os-hosts"
7
+ self.resources_name = "os-hosts"
8
+ end
9
+ end
@@ -1,6 +1,6 @@
1
1
  module Yao::Resources
2
2
  class Hypervisor < Base
3
- friendly_attributes :hypervisor_hostname, :hypervisor_type, :hypervisor_version, :running_vms, :current_workload
3
+ friendly_attributes :hypervisor_hostname, :hypervisor_type, :hypervisor_version, :running_vms, :current_workload,
4
4
  :vcpus, :vcpus_used,
5
5
  :memory_mb, :memory_mb_used, :free_disk_gb,
6
6
  :local_gb, :local_gb_used, :free_disk_gb
data/lib/yao/resources.rb CHANGED
@@ -14,6 +14,7 @@ module Yao
14
14
  autoload :Subnet, "yao/resources/subnet"
15
15
  autoload :Port, "yao/resources/port"
16
16
  autoload :Tenant, "yao/resources/tenant"
17
+ autoload :Host, "yao/resources/host"
17
18
 
18
19
  end
19
20
 
data/lib/yao/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Yao
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/yao.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["udzura@udzura.jp"]
11
11
  spec.summary = %q{Yet Another OpenStack API Wrapper that rocks!!}
12
12
  spec.description = %q{YAO is a Yet Another OpenStack API Wrapper that rocks!!}
13
- spec.homepage = "https://github.com/udzura/yao"
13
+ spec.homepage = "https://github.com/yaocloud/yao"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yao
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uchio, KONDO
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-09 00:00:00.000000000 Z
11
+ date: 2015-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -159,6 +159,7 @@ extra_rdoc_files: []
159
159
  files:
160
160
  - ".gitignore"
161
161
  - ".travis.yml"
162
+ - CODE_OF_CONDUCT.md
162
163
  - Gemfile
163
164
  - LICENSE.txt
164
165
  - README.md
@@ -173,6 +174,7 @@ files:
173
174
  - lib/yao/resources/base.rb
174
175
  - lib/yao/resources/flavor.rb
175
176
  - lib/yao/resources/floating_ip.rb
177
+ - lib/yao/resources/host.rb
176
178
  - lib/yao/resources/hypervisor.rb
177
179
  - lib/yao/resources/image.rb
178
180
  - lib/yao/resources/keypair.rb
@@ -195,7 +197,7 @@ files:
195
197
  - test/yao/test_server_error.rb
196
198
  - test/yao/test_token.rb
197
199
  - yao.gemspec
198
- homepage: https://github.com/udzura/yao
200
+ homepage: https://github.com/yaocloud/yao
199
201
  licenses:
200
202
  - MIT
201
203
  metadata: {}