stem 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/stem/family.rb +6 -4
- data/lib/stem/util.rb +1 -1
- metadata +48 -2
data/lib/stem/family.rb
CHANGED
@@ -22,12 +22,14 @@ module Stem
|
|
22
22
|
tagset_to_hash(desc["tagSet"])["family"] == family
|
23
23
|
end
|
24
24
|
|
25
|
-
def members family
|
26
|
-
|
25
|
+
def members family, architecture = nil
|
26
|
+
opts = architecture ? { "architecture" => architecture } : {}
|
27
|
+
Stem::Image.tagged(opts.merge("family" => family))
|
27
28
|
end
|
28
29
|
|
29
|
-
def describe_members family
|
30
|
-
|
30
|
+
def describe_members family, architecture = nil
|
31
|
+
opts = architecture ? { "architecture" => architecture } : {}
|
32
|
+
Stem::Image.describe_tagged(opts.merge("family" => family))
|
31
33
|
end
|
32
34
|
|
33
35
|
def release family, release_name, *amis
|
data/lib/stem/util.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 5
|
9
|
+
- 6
|
10
|
+
version: 0.5.6
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Peter van Hardenberg
|
@@ -12,7 +17,7 @@ autorequire:
|
|
12
17
|
bindir: bin
|
13
18
|
cert_chain: []
|
14
19
|
|
15
|
-
date: 2011-03-
|
20
|
+
date: 2011-03-07 00:00:00 -08:00
|
16
21
|
default_executable:
|
17
22
|
dependencies:
|
18
23
|
- !ruby/object:Gem::Dependency
|
@@ -23,6 +28,11 @@ dependencies:
|
|
23
28
|
requirements:
|
24
29
|
- - ~>
|
25
30
|
- !ruby/object:Gem::Version
|
31
|
+
hash: 1
|
32
|
+
segments:
|
33
|
+
- 1
|
34
|
+
- 7
|
35
|
+
- 5
|
26
36
|
version: 1.7.5
|
27
37
|
type: :runtime
|
28
38
|
version_requirements: *id001
|
@@ -34,6 +44,11 @@ dependencies:
|
|
34
44
|
requirements:
|
35
45
|
- - ~>
|
36
46
|
- !ruby/object:Gem::Version
|
47
|
+
hash: 27
|
48
|
+
segments:
|
49
|
+
- 2
|
50
|
+
- 5
|
51
|
+
- 0
|
37
52
|
version: 2.5.0
|
38
53
|
type: :development
|
39
54
|
version_requirements: *id002
|
@@ -45,6 +60,11 @@ dependencies:
|
|
45
60
|
requirements:
|
46
61
|
- - ~>
|
47
62
|
- !ruby/object:Gem::Version
|
63
|
+
hash: 27
|
64
|
+
segments:
|
65
|
+
- 2
|
66
|
+
- 5
|
67
|
+
- 0
|
48
68
|
version: 2.5.0
|
49
69
|
type: :development
|
50
70
|
version_requirements: *id003
|
@@ -56,6 +76,11 @@ dependencies:
|
|
56
76
|
requirements:
|
57
77
|
- - ~>
|
58
78
|
- !ruby/object:Gem::Version
|
79
|
+
hash: 27
|
80
|
+
segments:
|
81
|
+
- 2
|
82
|
+
- 5
|
83
|
+
- 0
|
59
84
|
version: 2.5.0
|
60
85
|
type: :development
|
61
86
|
version_requirements: *id004
|
@@ -67,6 +92,11 @@ dependencies:
|
|
67
92
|
requirements:
|
68
93
|
- - ~>
|
69
94
|
- !ruby/object:Gem::Version
|
95
|
+
hash: 27
|
96
|
+
segments:
|
97
|
+
- 2
|
98
|
+
- 5
|
99
|
+
- 0
|
70
100
|
version: 2.5.0
|
71
101
|
type: :development
|
72
102
|
version_requirements: *id005
|
@@ -78,6 +108,11 @@ dependencies:
|
|
78
108
|
requirements:
|
79
109
|
- - ~>
|
80
110
|
- !ruby/object:Gem::Version
|
111
|
+
hash: 15
|
112
|
+
segments:
|
113
|
+
- 1
|
114
|
+
- 6
|
115
|
+
- 0
|
81
116
|
version: 1.6.0
|
82
117
|
type: :development
|
83
118
|
version_requirements: *id006
|
@@ -89,6 +124,11 @@ dependencies:
|
|
89
124
|
requirements:
|
90
125
|
- - ~>
|
91
126
|
- !ruby/object:Gem::Version
|
127
|
+
hash: 11
|
128
|
+
segments:
|
129
|
+
- 1
|
130
|
+
- 6
|
131
|
+
- 2
|
92
132
|
version: 1.6.2
|
93
133
|
type: :development
|
94
134
|
version_requirements: *id007
|
@@ -133,12 +173,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
133
173
|
requirements:
|
134
174
|
- - ">="
|
135
175
|
- !ruby/object:Gem::Version
|
176
|
+
hash: 3
|
177
|
+
segments:
|
178
|
+
- 0
|
136
179
|
version: "0"
|
137
180
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
181
|
none: false
|
139
182
|
requirements:
|
140
183
|
- - ">="
|
141
184
|
- !ruby/object:Gem::Version
|
185
|
+
hash: 3
|
186
|
+
segments:
|
187
|
+
- 0
|
142
188
|
version: "0"
|
143
189
|
requirements: []
|
144
190
|
|