awspec 0.26.0 → 0.26.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: 91d1046d787b8957220ed223913e1e700a315b15
4
- data.tar.gz: 8ee3e74a2cf0acc44d334d21a04d5d9cd2f7fcb4
3
+ metadata.gz: 5486269883d1f0a96ec29bed97a8b3b0b4dcbd34
4
+ data.tar.gz: 65bd50f7d240b168b9a66bf244d4e7b5a0392e75
5
5
  SHA512:
6
- metadata.gz: 65e9b4bd2a5d147a2d969c934557de0858232806e124fbe5924cbf05015cd39c1e0931c96ef404cc864c2671247a8736b8125f20325a516c7a946df5795abf0b
7
- data.tar.gz: 28545f2508caf4cbdcdb3d8c51d21a16ccf46552ba7442511bbd6de79fd2ee3c6aa1870a1c2b27bf492575a867d803e1613c53f88b193acc9c6b702f6f43d9d2
6
+ metadata.gz: c25de1d0fa1b2152a9169dacd2989ecbc89d559235f37ce57cb2b31ad8115f1aaafb9245e7381a7117734d4b9606841eee2452bb16af3d0c52edfbf31ae49432
7
+ data.tar.gz: 9947ccdfc20409da767dc0d159e70476f79e6883fedbf7e56a07760db0044d07a215ebb15efed1f42d7ffda0867ef6ff68328d41599d1e3c06a85ec62350ce27
@@ -79,3 +79,11 @@ describe s3_bucket('my-bucket') do
79
79
  its('acl.owner.display_name') { should eq 'my-bucket-owner' }
80
80
  end
81
81
  ```
82
+
83
+ or
84
+
85
+ ```ruby
86
+ describe s3_bucket('my-bucket') do
87
+ its('resource.acl.owner.display_name') { should eq 'my-bucket-owner' }
88
+ end
89
+ ```
@@ -362,6 +362,14 @@ describe s3_bucket('my-bucket') do
362
362
  end
363
363
  ```
364
364
 
365
+ or
366
+
367
+ ```ruby
368
+ describe s3_bucket('my-bucket') do
369
+ its('resource.acl.owner.display_name') { should eq 'my-bucket-owner' }
370
+ end
371
+ ```
372
+
365
373
  ## <a name="route53_hosted_zone">route53_hosted_zone</a>
366
374
 
367
375
  Route53HostedZone resource type.
@@ -33,8 +33,8 @@ module Awspec::Type
33
33
  if @resource_via_client.members.include?(describe)
34
34
  @resource_via_client[describe]
35
35
  else
36
- super unless self.respond_to?(:hogehoge)
37
- method_missing_via_black_list(name, delegate_to: hogehoge)
36
+ super unless self.respond_to?(:resource)
37
+ method_missing_via_black_list(name, delegate_to: resource)
38
38
  end
39
39
  end
40
40
  end
@@ -58,8 +58,8 @@ module Awspec::Type
58
58
  bp ? (bp.policy.read == policy.gsub(/(\n|\r|\r\n|\s|\t)/, '')) : false
59
59
  end
60
60
 
61
- def hogehoge
62
- @hogehoge ||= Awspec::ResourceReader.new(Aws::S3::Bucket.new(@id))
61
+ def resource
62
+ @resource ||= Awspec::ResourceReader.new(Aws::S3::Bucket.new(@id))
63
63
  end
64
64
 
65
65
  private
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '0.26.0'
2
+ VERSION = '0.26.1'
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.26.0
4
+ version: 0.26.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW