awspec 0.51.0 → 0.52.0

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: 36399bf1f15d1be853fd3b0e2cdbac034a8634b6
4
- data.tar.gz: fcbd8cf54ae6d9243123adc5348f410d58472e66
3
+ metadata.gz: e7200f8b9dfcd54e2c4e161c6aac7c23ed79d6f9
4
+ data.tar.gz: 36dfafa73f78ad8bfa6244e27bf276de62593438
5
5
  SHA512:
6
- metadata.gz: 13a30a422489d195d1f5a5331499ea331c587ab90989d00ff494053ca3c15201331a367909a0123eced67e57cbe2884a44f540073a30dc24e56cb633e177478f
7
- data.tar.gz: 84439678e7e1caf6c21aac0942cda0f0e3a7553641fbf423c80f20b6e18fe167c0c1770f6196b02d34166aa3eeeda75532ba3eb5d671cc38f4c094677a7dc54d
6
+ metadata.gz: 671c75bf952d6452f972de8ca020026f6a0e853aa245262202d807fec5c31da527a023e133283e5a8ab33d99fb1b631a8f927732aa87885aaf875d91e77150b0
7
+ data.tar.gz: 8a060f32341647696ee2cdc5951fe91fbe841c4a426db22cbf335750ec60cdfaa0a58006670621041672ba5af03d050e808c94bb6450b7dbe4e3ad6c09714812
@@ -22,6 +22,14 @@ describe ebs('my-volume') do
22
22
  end
23
23
  ```
24
24
 
25
+ ### have_tag
26
+
27
+ ```ruby
28
+ describe ebs('my-volume') do
29
+ it { should have_tag('Name').value('my-volume') }
30
+ end
31
+ ```
32
+
25
33
  ### advanced
26
34
 
27
35
  `ebs` can use `Aws::EC2::Volume` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Volume.html).
@@ -267,6 +267,15 @@ end
267
267
  ```
268
268
 
269
269
 
270
+ ### have_tag
271
+
272
+ ```ruby
273
+ describe ebs('my-volume') do
274
+ it { should have_tag('Name').value('my-volume') }
275
+ end
276
+ ```
277
+
278
+
270
279
  ### its(:volume_id), its(:size), its(:snapshot_id), its(:availability_zone), its(:state), its(:create_time), its(:volume_type), its(:iops), its(:encrypted), its(:kms_key_id)
271
280
  ### :unlock: Advanced use
272
281
 
@@ -1,6 +1,7 @@
1
1
  module Awspec::Type
2
2
  class Ebs < Base
3
3
  aws_resource Aws::EC2::Volume
4
+ tags_allowed
4
5
 
5
6
  def initialize(id)
6
7
  super
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '0.51.0'
2
+ VERSION = '0.52.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.51.0
4
+ version: 0.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW