s3lurp 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module S3lurp
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -88,7 +88,9 @@ module S3lurp
88
88
  end
89
89
  end
90
90
  if options[:meta_tags]
91
- conditions = conditions + options[:meta_tags].map{|k,v| {k => v}}
91
+ options[:meta_tags].each do |k,v|
92
+ conditions.push ["starts-with", "$#{k}", '']
93
+ end
92
94
  end
93
95
  policy = {
94
96
  "expiration" => options[:expiration],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3lurp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-19 00:00:00.000000000 Z
12
+ date: 2013-03-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  segments:
129
129
  - 0
130
- hash: -3173245167068990906
130
+ hash: -741012443240584985
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  none: false
133
133
  requirements:
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  segments:
138
138
  - 0
139
- hash: -3173245167068990906
139
+ hash: -741012443240584985
140
140
  requirements: []
141
141
  rubyforge_project:
142
142
  rubygems_version: 1.8.25