cf-s3-invalidator 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.2
5
+ - 1.9.3
data/Rakefile CHANGED
@@ -1,3 +1,6 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
3
+
1
4
  desc "Build the project"
2
5
  task :default => 'test'
3
6
 
data/bin/cf-s3-inv CHANGED
@@ -162,7 +162,7 @@ module CloudfrontS3Invalidator
162
162
  }
163
163
  simple_cf = SimpleCloudfrontInvalidator::CloudfrontClient.new(
164
164
  @options[:key], @options[:secret], @options[:distribution])
165
- puts simple_cf.invalidate(s3_object_keys)
165
+ puts simple_cf.invalidate(s3_object_keys)[:text_report]
166
166
  end
167
167
  end
168
168
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'cf-s3-invalidator'
3
- s.version = '0.4.0'
3
+ s.version = '0.4.1'
4
4
  s.license = 'MIT'
5
5
  s.summary = 'A tool for invalidating AWS S3-based Cloudfront distributions'
6
6
  s.description =
@@ -16,11 +16,12 @@ Gem::Specification.new do |s|
16
16
  s.executables << 'cf-s3-inv'
17
17
  s.homepage = 'https://github.com/laurilehmijoki/cf-s3-invalidator'
18
18
 
19
- s.add_dependency 'aws-sdk'
20
- s.add_dependency 'simple-cloudfront-invalidator'
19
+ s.add_dependency 'aws-sdk', '~> 1.8.0'
20
+ s.add_dependency 'simple-cloudfront-invalidator', '~> 1.0.0'
21
21
  s.add_dependency 'colored', '= 1.2'
22
22
 
23
- s.add_development_dependency 'cucumber'
24
- s.add_development_dependency 'rake'
23
+ s.add_development_dependency 'cucumber', '~> 1.2.1'
24
+ s.add_development_dependency 'rspec', '~> 2.12.0'
25
+ s.add_development_dependency 'rake', '~> 10.0.3'
25
26
  s.add_development_dependency 'aruba', '>= 0.4.7'
26
27
  end
data/changelog.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## 0.4.1
4
+
5
+ * Print a nicer-looking invalidation report
metadata CHANGED
@@ -1,166 +1,173 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: cf-s3-invalidator
3
- version: !ruby/object:Gem::Version
4
- hash: 15
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.1
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 4
9
- - 0
10
- version: 0.4.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Lauri Lehmijoki
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-08-23 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-12-31 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: aws-sdk
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 1.8.0
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: simple-cloudfront-invalidator
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 1.8.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: simple-cloudfront-invalidator
32
+ requirement: !ruby/object:Gem::Requirement
38
33
  none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 1.0.0
46
38
  type: :runtime
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: colored
50
39
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
52
41
  none: false
53
- requirements:
54
- - - "="
55
- - !ruby/object:Gem::Version
56
- hash: 11
57
- segments:
58
- - 1
59
- - 2
60
- version: "1.2"
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 1.0.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: colored
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - '='
52
+ - !ruby/object:Gem::Version
53
+ version: '1.2'
61
54
  type: :runtime
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: '1.2'
62
+ - !ruby/object:Gem::Dependency
64
63
  name: cucumber
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 1.2.1
70
+ type: :development
65
71
  prerelease: false
66
- requirement: &id004 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
67
73
  none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.2.1
78
+ - !ruby/object:Gem::Dependency
79
+ name: rspec
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 2.12.0
75
86
  type: :development
76
- version_requirements: *id004
77
- - !ruby/object:Gem::Dependency
78
- name: rake
79
87
  prerelease: false
80
- requirement: &id005 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
81
89
  none: false
82
- requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- hash: 3
86
- segments:
87
- - 0
88
- version: "0"
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 2.12.0
94
+ - !ruby/object:Gem::Dependency
95
+ name: rake
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ version: 10.0.3
89
102
  type: :development
90
- version_requirements: *id005
91
- - !ruby/object:Gem::Dependency
92
- name: aruba
93
103
  prerelease: false
94
- requirement: &id006 !ruby/object:Gem::Requirement
104
+ version_requirements: !ruby/object:Gem::Requirement
95
105
  none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- hash: 1
100
- segments:
101
- - 0
102
- - 4
103
- - 7
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 10.0.3
110
+ - !ruby/object:Gem::Dependency
111
+ name: aruba
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
104
117
  version: 0.4.7
105
118
  type: :development
106
- version_requirements: *id006
107
- description: |-
108
- This lib fetches the names of all objects on an Amazon Web
109
- Services S3 bucket. Then it calls the Cloudfront invalidation REST API on the
110
- objects.
111
-
112
- The Cloudfront distribution must be based on the S3 bucket.
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: 0.4.7
126
+ description: ! "This lib fetches the names of all objects on an Amazon Web\n Services
127
+ S3 bucket. Then it calls the Cloudfront invalidation REST API on the\n objects.\n\n
128
+ \ The Cloudfront distribution must be based on the S3 bucket."
113
129
  email: lauri.lehmijoki@iki.fi
114
- executables:
130
+ executables:
115
131
  - cf-s3-inv
116
132
  extensions: []
117
-
118
133
  extra_rdoc_files: []
119
-
120
- files:
134
+ files:
121
135
  - .gitignore
136
+ - .travis.yml
122
137
  - Gemfile
123
138
  - README.md
124
139
  - Rakefile
125
140
  - bin/cf-s3-inv
126
141
  - cf-s3-invalidator.gemspec
142
+ - changelog.md
127
143
  - features/cloudfront-s3-invalidator-help.feature
128
144
  - features/cloudfront-s3-invalidator-no-credentials.feature
129
145
  - features/configuration-file.feature
130
146
  - features/support/env.rb
131
147
  - lib/cf-s3-invalidator.rb
132
148
  homepage: https://github.com/laurilehmijoki/cf-s3-invalidator
133
- licenses:
149
+ licenses:
134
150
  - MIT
135
151
  post_install_message:
136
152
  rdoc_options: []
137
-
138
- require_paths:
153
+ require_paths:
139
154
  - lib
140
- required_ruby_version: !ruby/object:Gem::Requirement
155
+ required_ruby_version: !ruby/object:Gem::Requirement
141
156
  none: false
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- hash: 3
146
- segments:
147
- - 0
148
- version: "0"
149
- required_rubygems_version: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ! '>='
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ required_rubygems_version: !ruby/object:Gem::Requirement
150
162
  none: false
151
- requirements:
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- hash: 3
155
- segments:
156
- - 0
157
- version: "0"
163
+ requirements:
164
+ - - ! '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
158
167
  requirements: []
159
-
160
168
  rubyforge_project:
161
- rubygems_version: 1.8.13
169
+ rubygems_version: 1.8.24
162
170
  signing_key:
163
171
  specification_version: 3
164
172
  summary: A tool for invalidating AWS S3-based Cloudfront distributions
165
173
  test_files: []
166
-