cf-s3-invalidator 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -20,9 +20,13 @@ Or you can store them into the file *_cf_s3_invalidator.yml*:
20
20
 
21
21
  s3_key: YOUR_AWS_S3_ACCESS_KEY_ID
22
22
  s3_secret: YOUR_AWS_S3_SECRET_ACCESS_KEY
23
- s3_bucket: your.blog.bucket.com
23
+ s3_bucket: your.bucket.com
24
24
  cloudfront_distribution_id: YOUR_CLOUDFRONT_DISTRIBUTION_ID
25
25
 
26
26
  Then you can just run:
27
27
 
28
28
  `cf-s3-inv`
29
+
30
+ ## License
31
+
32
+ MIT
data/bin/cf-s3-inv CHANGED
@@ -69,7 +69,7 @@ class UI
69
69
  sample = <<-EOF
70
70
  s3_key: YOUR_AWS_S3_ACCESS_KEY_ID
71
71
  s3_secret: YOUR_AWS_S3_SECRET_ACCESS_KEY
72
- s3_bucket: your.blog.bucket.com
72
+ s3_bucket: your.bucket.com
73
73
  cloudfront_distribution_id: YOUR_CLOUDFRONT_DISTRIBUTION_ID
74
74
  EOF
75
75
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'cf-s3-invalidator'
3
- s.version = '0.3.1'
3
+ s.version = '0.3.2'
4
4
  s.summary = 'A tool for invalidating AWS S3-based Cloudfront distributions'
5
5
  s.description =
6
6
  'This lib fetches the names of all objects on an Amazon Web
@@ -62,6 +62,6 @@ class CloudfrontInvalidator
62
62
  end
63
63
 
64
64
  def to_xml(items)
65
- items.map{ |item| "<Path>#{item}</Path>" }
65
+ items.map { |item| "<Path>#{item}</Path>" }
66
66
  end
67
67
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cf-s3-invalidator
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lauri Lehmijoki