directlytos3 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -35,7 +35,6 @@ A full list of options that can be passed to the helpers are listed below
35
35
  - max_filesize: The maximum file size
36
36
  - randomize: Add a leading random string to avoid collisions
37
37
  - path: If you need to proxy the request using ajax
38
- - status: If you need to specify the success_action_status
39
38
 
40
39
  ## TODO
41
40
 
@@ -71,7 +71,7 @@ module Directlytos3
71
71
  concat hidden_field_tag('AWSAccessKeyId', "#{options[:access_key]}")
72
72
  concat hidden_field_tag('acl', "#{options[:acl]}")
73
73
  concat hidden_field_tag('success_action_redirect', "#{options[:redirect]}")
74
- concat hidden_field_tag('success_action_status', "#{options[:status]}")
74
+ # concat hidden_field_tag('success_action_status', "#{options[:status].to_s}")
75
75
  concat hidden_field_tag('policy', "#{policy}")
76
76
  concat hidden_field_tag('signature', "#{signature}")
77
77
  concat hidden_field_tag('Content-Type', "#{options[:content_type]}")
@@ -19,7 +19,6 @@ module Directlytos3::S3
19
19
  ["starts-with", "$key", options[:key]],
20
20
  {"acl" => options[:acl]},
21
21
  {"success_action_redirect" => options[:redirect]},
22
- {"success_action_status" => options[:status]},
23
22
  ["starts-with", "$Content-Type", ''],
24
23
  ["content-length-range", 0, options[:max_filesize]]
25
24
  ]
@@ -1,3 +1,3 @@
1
1
  module Directlytos3
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: directlytos3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-12-06 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &70319987119740 !ruby/object:Gem::Requirement
16
+ requirement: &70355887225840 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70319987119740
24
+ version_requirements: *70355887225840
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: actionpack
27
- requirement: &70319987119240 !ruby/object:Gem::Requirement
27
+ requirement: &70355887225340 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '3'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70319987119240
35
+ version_requirements: *70355887225340
36
36
  description: A rails helper to create an S3 upload form
37
37
  email:
38
38
  - scott@tesoriere.com