cloudfront-invalidator 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/cloudfront-invalidator.rb +1 -1
  2. metadata +3 -3
@@ -9,7 +9,7 @@ class CloudfrontInvalidator
9
9
  end
10
10
 
11
11
  def invalidate(*keys)
12
- keys.flatten!.map! do |k|
12
+ keys = keys.flatten.map do |k|
13
13
  k.start_with?('/') ? k : '/' + k
14
14
  end
15
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudfront-invalidator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-06-16 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ruby-hmac
16
- requirement: &987770 !ruby/object:Gem::Requirement
16
+ requirement: &987040 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *987770
24
+ version_requirements: *987040
25
25
  description:
26
26
  email: reid.lynch@gmail.com
27
27
  executables: []