gclouder 0.3.4 → 0.3.5

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: b8e46cb82d233980a2b308eec883bb71d3e3a02f
4
- data.tar.gz: 47b7bbc60e71464fcc02b8bb414a1e9181c224f3
3
+ metadata.gz: 95511ff6f5ee4864378cc09528959d8ae5ec2e89
4
+ data.tar.gz: 81bc37875b4769332229a8f13b8012ded6855abc
5
5
  SHA512:
6
- metadata.gz: e282a5a64a3630e34ad1bf65a1dfb49688a474ddbc9a34985c07b36afa4dc2deebfb11feddd7b6773c46e048dd156b33c234d57a77597b1f7de4db0cc097fbec
7
- data.tar.gz: 2e87c04b249c6d299435fd7dae95f1220ff0a2b3b7a1110ade613bfa4bb1a929b92921b01a9e1e55ef1e7f68fd94e7f8d178348afceb4f53d5aad048a1462d2f
6
+ metadata.gz: 13a5525977076e2cdb762d48c56e43ea6144cec5a25c40160ddaa56db6c7c0a290b7859a506551860fae107592c05263a0027842e2065559b39576e971515ad5
7
+ data.tar.gz: 5645532cee099f4100ccafda530ae73cf77bad9dd18778bcf7baef7b507c8d26e8a67817cb56ef0a8f286b67eef2c679629babeeac13a35df5ae336e1a3251a3
@@ -21,7 +21,7 @@ module GClouder
21
21
  info region, indent: 2, heading: true
22
22
  info
23
23
  subscriptions.each do |subscription|
24
- Subscription.ensure(subscription['name'])
24
+ Subscription.ensure(subscription)
25
25
  end
26
26
  end
27
27
  end
@@ -87,11 +87,11 @@ module GClouder
87
87
  end
88
88
 
89
89
  def self.ensure(subscription)
90
- Resource.ensure :"beta pubsub subscriptions", subscription["name"], args(subscription), filter: "name ~ ^.*\/#{subscription}$", indent: 3
90
+ Resource.ensure :"beta pubsub subscriptions", subscription["name"], args(subscription), filter: "name ~ ^.*\/#{subscription['name']}$", indent: 3
91
91
  end
92
92
 
93
93
  def self.purge(subscription)
94
- Resource.purge :"beta pubsub subscriptions", subscription["name"], filter: "name ~ ^.*\/#{subscription}$"
94
+ Resource.purge :"beta pubsub subscriptions", subscription["name"], filter: "name ~ ^.*\/#{subscription['name']}$"
95
95
  end
96
96
  end
97
97
  end
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  module GClouder
4
- VERSION = "0.3.4"
4
+ VERSION = "0.3.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gclouder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Wilson