occi-cli 4.2.1 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
- data/lib/occi/cli/templates/links.erb +6 -0
- data/lib/occi/cli/templates/resources.erb +2 -0
- data/lib/occi/cli/version.rb +1 -1
- data/occi-cli.gemspec +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
|
|
5
|
-
data.tar.gz: !binary |-
|
|
6
|
-
ZThhODJiYjFlNmNjNDIxNGVhYzlkMThhZTVmYThlNjc5MTI3MmRiMg==
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 4c3460b007c73f49d972231031c2281279b6a643
|
|
4
|
+
data.tar.gz: 0a6c442e63f9a7f83d89a98c43dcb141a5662cfe
|
|
7
5
|
SHA512:
|
|
8
|
-
metadata.gz:
|
|
9
|
-
|
|
10
|
-
MzNhNDM0NzcxYmRhODU1Mzg4ZTI2YzE4OWJlNzFhNzhiNWNhN2ZkYTYwYTUz
|
|
11
|
-
NzU5YzZiMGQ2NzU4MjNiM2FlODU3MTMzMjg0NzZjYzA3MjVlYmM=
|
|
12
|
-
data.tar.gz: !binary |-
|
|
13
|
-
YTZjYzE0YWIxNjBlMGRkYTYxMGEwNWE0ZWUyYmMyZjZiY2I5NWJjNGM0MzE4
|
|
14
|
-
MWM3OTkxZDcxMTM5NTBiNzA4NzEzZGU4YjZmOWVmOGVhNTZmMzJiNWQyMmM1
|
|
15
|
-
Y2VlODQzMDUwNjZmOGNmZjc2MjZmYTVlMGE0ODYwNmZmYzhjZTQ=
|
|
6
|
+
metadata.gz: 79b151912c6f2fa4b25de3de8c019ae43a7912f11f34b0292753fcf98435563112dd2f9a3f5fd6bcad2ca729f5d2eae43ba6e32caa8e1e88289f5ce055fc426a
|
|
7
|
+
data.tar.gz: 26bbc79dc416569b9367bee04d640ba395f59eafffe6643ad460374417a515727c5dae5281233bfc1ebc394389534337e5621a9ae9c74e36d9e926a7d35475e1
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<%- unless occi_links.blank? -%><%= '#' * (HighLine::SystemExtensions.terminal_size.first - 1) %><%- end %>
|
|
3
3
|
<%- occi_links.each do |link| -%>
|
|
4
4
|
[[ <%= link.kind.type_identifier %> ]]
|
|
5
|
+
>> location: <%= link.location %>
|
|
5
6
|
<%- link.attributes.names.each_pair do |attribute, value| -%>
|
|
6
7
|
<%= attribute %> = <%= value %>
|
|
7
8
|
<%- end -%>
|
|
@@ -13,6 +14,11 @@ Mixins:
|
|
|
13
14
|
term: <%= mixin.term %>
|
|
14
15
|
location: <%= mixin.location %>
|
|
15
16
|
<%- end -%>
|
|
17
|
+
|
|
18
|
+
Actions:
|
|
19
|
+
<%- link.actions.each do |action| %>
|
|
20
|
+
[[ <%= action.type_identifier %> ]]
|
|
21
|
+
<%- end -%>
|
|
16
22
|
<%= '#' * (HighLine::SystemExtensions.terminal_size.first - 1) -%>
|
|
17
23
|
|
|
18
24
|
<%- end -%>
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<%- unless occi_resources.blank? -%><%= '#' * (HighLine::SystemExtensions.terminal_size.first - 1) %><%- end %>
|
|
3
3
|
<%- occi_resources.each do |resource| -%>
|
|
4
4
|
[[ <%= resource.kind.type_identifier %> ]]
|
|
5
|
+
>> location: <%= resource.location %>
|
|
5
6
|
<%- resource.attributes.names.each_pair do |attribute, value| -%>
|
|
6
7
|
<%= attribute %> = <%= value %>
|
|
7
8
|
<%- end -%>
|
|
@@ -9,6 +10,7 @@
|
|
|
9
10
|
Links:
|
|
10
11
|
<%- resource.links.to_a.reject { |l| l.rel && l.rel.to_s.match(/^\S+\/action#\S+$/) }.each do |link| %>
|
|
11
12
|
[[ <%= link.kind.type_identifier %> ]]
|
|
13
|
+
>> location: <%= link.location %>
|
|
12
14
|
<%- link.attributes.names.each_pair do |attribute, value| -%>
|
|
13
15
|
<%= attribute %> = <%= value %>
|
|
14
16
|
<%- end -%>
|
data/lib/occi/cli/version.rb
CHANGED
data/occi-cli.gemspec
CHANGED
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
|
|
|
19
19
|
gem.test_files = `git ls-files -- {test,spec}/*`.split("\n")
|
|
20
20
|
gem.require_paths = ["lib"]
|
|
21
21
|
|
|
22
|
-
gem.add_dependency 'occi-api', '~> 4.2.
|
|
22
|
+
gem.add_dependency 'occi-api', '~> 4.2.2'
|
|
23
23
|
gem.add_dependency 'json'
|
|
24
24
|
gem.add_dependency 'highline'
|
|
25
25
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: occi-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.2.
|
|
4
|
+
version: 4.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florian Feldhaus
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2014-03-
|
|
13
|
+
date: 2014-03-14 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: occi-api
|
|
@@ -18,40 +18,40 @@ dependencies:
|
|
|
18
18
|
requirements:
|
|
19
19
|
- - ~>
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 4.2.
|
|
21
|
+
version: 4.2.2
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
25
|
requirements:
|
|
26
26
|
- - ~>
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
|
-
version: 4.2.
|
|
28
|
+
version: 4.2.2
|
|
29
29
|
- !ruby/object:Gem::Dependency
|
|
30
30
|
name: json
|
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
|
32
32
|
requirements:
|
|
33
|
-
- -
|
|
33
|
+
- - '>='
|
|
34
34
|
- !ruby/object:Gem::Version
|
|
35
35
|
version: '0'
|
|
36
36
|
type: :runtime
|
|
37
37
|
prerelease: false
|
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
|
39
39
|
requirements:
|
|
40
|
-
- -
|
|
40
|
+
- - '>='
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
42
|
version: '0'
|
|
43
43
|
- !ruby/object:Gem::Dependency
|
|
44
44
|
name: highline
|
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
|
-
- -
|
|
47
|
+
- - '>='
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
49
|
version: '0'
|
|
50
50
|
type: :runtime
|
|
51
51
|
prerelease: false
|
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
|
53
53
|
requirements:
|
|
54
|
-
- -
|
|
54
|
+
- - '>='
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
56
|
version: '0'
|
|
57
57
|
description: This gem is a client implementation of the Open Cloud Computing Interface
|
|
@@ -114,12 +114,12 @@ require_paths:
|
|
|
114
114
|
- lib
|
|
115
115
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
116
|
requirements:
|
|
117
|
-
- -
|
|
117
|
+
- - '>='
|
|
118
118
|
- !ruby/object:Gem::Version
|
|
119
119
|
version: 1.9.3
|
|
120
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
|
122
|
-
- -
|
|
122
|
+
- - '>='
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '0'
|
|
125
125
|
requirements: []
|