applicious_utils 0.1.69 → 0.1.70
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,7 @@ module AppliciousUtils
|
|
15
15
|
options[:acl] ||= 'public-read'
|
16
16
|
options[:expiration_date] ||= 10.hours.from_now.utc.iso8601
|
17
17
|
options[:max_filesize] ||= 500.megabytes
|
18
|
+
#options[:button_id]
|
18
19
|
|
19
20
|
filename_token = "#{SecureRandom.hex(10)}_#{Time.now.to_i}"
|
20
21
|
|
@@ -49,7 +50,7 @@ module AppliciousUtils
|
|
49
50
|
// image uploader via plupload
|
50
51
|
var applicious_uploader = new plupload.Uploader({
|
51
52
|
runtimes : 'flash,silverlight',
|
52
|
-
browse_button : '
|
53
|
+
browse_button : '#{options[:button_id]}',
|
53
54
|
max_file_size : '500mb',
|
54
55
|
url : 'http://#{bucket}.s3.amazonaws.com/',
|
55
56
|
flash_swf_url: '/applicious/plupload/plupload.flash.swf',
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: applicious_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.70
|
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: 2011-07-
|
12
|
+
date: 2011-07-14 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: Helper JS & Ruby Functions
|
15
15
|
email:
|
@@ -77,7 +77,6 @@ files:
|
|
77
77
|
- app/assets/stylesheets/applicious_utils/FbMultiFriendSelector/jquery.facebook.multifriend.select.min.js
|
78
78
|
- app/assets/stylesheets/applicious_utils/FbMultiFriendSelector/README.md
|
79
79
|
- app/assets/stylesheets/applicious_utils/index.css
|
80
|
-
- applicious_utils-0.1.69.gem
|
81
80
|
- applicious_utils.gemspec
|
82
81
|
- Gemfile
|
83
82
|
- lib/applicious_utils/engine.rb
|