cf-s3-invalidator 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/cf-s3-inv +4 -2
  2. data/cf-s3-invalidator.gemspec +4 -2
  3. metadata +27 -12
data/bin/cf-s3-inv CHANGED
@@ -1,8 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
+ require 'rubygems'
3
+ require 'extensions/kernel' # For 'require_relative' support
2
4
  require 'optparse'
3
5
  require 'yaml'
4
- require File.dirname(__FILE__)+'/../lib/cloudfront_invalidator'
5
- require File.dirname(__FILE__)+'/../lib/s3_loader'
6
+ require_relative '../lib/cloudfront_invalidator'
7
+ require_relative '../lib/s3_loader'
6
8
 
7
9
  class UI
8
10
  def initialize
@@ -1,6 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'cf-s3-invalidator'
3
- s.version = '0.3.4'
3
+ s.version = '0.3.5'
4
+ s.license = 'MIT'
4
5
  s.summary = 'A tool for invalidating AWS S3-based Cloudfront distributions'
5
6
  s.description =
6
7
  'This lib fetches the names of all objects on an Amazon Web
@@ -16,7 +17,8 @@ Gem::Specification.new do |s|
16
17
  s.homepage = 'https://github.com/laurilehmijoki/cf-s3-invalidator'
17
18
 
18
19
  s.add_dependency 'aws-sdk'
19
- s.add_dependency 'colored'
20
+ s.add_dependency 'extensions'
21
+ s.add_dependency 'colored', '= 1.2'
20
22
 
21
23
  s.add_development_dependency 'cucumber'
22
24
  s.add_development_dependency 'rake'
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 4
10
- version: 0.3.4
9
+ - 5
10
+ version: 0.3.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lauri Lehmijoki
@@ -32,7 +32,7 @@ dependencies:
32
32
  type: :runtime
33
33
  version_requirements: *id001
34
34
  - !ruby/object:Gem::Dependency
35
- name: colored
35
+ name: extensions
36
36
  prerelease: false
37
37
  requirement: &id002 !ruby/object:Gem::Requirement
38
38
  none: false
@@ -46,9 +46,24 @@ dependencies:
46
46
  type: :runtime
47
47
  version_requirements: *id002
48
48
  - !ruby/object:Gem::Dependency
49
- name: cucumber
49
+ name: colored
50
50
  prerelease: false
51
51
  requirement: &id003 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - "="
55
+ - !ruby/object:Gem::Version
56
+ hash: 11
57
+ segments:
58
+ - 1
59
+ - 2
60
+ version: "1.2"
61
+ type: :runtime
62
+ version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
64
+ name: cucumber
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
52
67
  none: false
53
68
  requirements:
54
69
  - - ">="
@@ -58,11 +73,11 @@ dependencies:
58
73
  - 0
59
74
  version: "0"
60
75
  type: :development
61
- version_requirements: *id003
76
+ version_requirements: *id004
62
77
  - !ruby/object:Gem::Dependency
63
78
  name: rake
64
79
  prerelease: false
65
- requirement: &id004 !ruby/object:Gem::Requirement
80
+ requirement: &id005 !ruby/object:Gem::Requirement
66
81
  none: false
67
82
  requirements:
68
83
  - - ">="
@@ -72,11 +87,11 @@ dependencies:
72
87
  - 0
73
88
  version: "0"
74
89
  type: :development
75
- version_requirements: *id004
90
+ version_requirements: *id005
76
91
  - !ruby/object:Gem::Dependency
77
92
  name: aruba
78
93
  prerelease: false
79
- requirement: &id005 !ruby/object:Gem::Requirement
94
+ requirement: &id006 !ruby/object:Gem::Requirement
80
95
  none: false
81
96
  requirements:
82
97
  - - ">="
@@ -88,7 +103,7 @@ dependencies:
88
103
  - 7
89
104
  version: 0.4.7
90
105
  type: :development
91
- version_requirements: *id005
106
+ version_requirements: *id006
92
107
  description: |-
93
108
  This lib fetches the names of all objects on an Amazon Web
94
109
  Services S3 bucket. Then it calls the Cloudfront invalidation REST API on the
@@ -115,8 +130,8 @@ files:
115
130
  - lib/cloudfront_invalidator.rb
116
131
  - lib/s3_loader.rb
117
132
  homepage: https://github.com/laurilehmijoki/cf-s3-invalidator
118
- licenses: []
119
-
133
+ licenses:
134
+ - MIT
120
135
  post_install_message:
121
136
  rdoc_options: []
122
137