applicious_utils 0.1.75 → 0.1.76

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AppliciousUtils
2
- VERSION = "0.1.75"
2
+ VERSION = "0.1.76"
3
3
  end
@@ -17,7 +17,7 @@ module AppliciousUtils
17
17
  options[:max_filesize] ||= 500.megabytes
18
18
  #options[:button_id]
19
19
 
20
- filename_token = "#{SecureRandom.hex(10)}_#{Time.now.to_i}"
20
+ filename_token = SecureRandom.uuid + '_' + Time.now.to_i.to_s
21
21
 
22
22
  id = options[:id] ? "_#{options[:id]}" : ''
23
23
 
@@ -61,8 +61,8 @@ module AppliciousUtils
61
61
  multi_selection: false,
62
62
  multipart: true,
63
63
  multipart_params: {
64
- 'key': 'uploads/#{filename_token}_${filename}',
65
- 'Filename': 'uploads/#{filename_token}_${filename}', // adding this to keep consistency across the runtimes
64
+ 'key': 'uploads/#{filename_token}',
65
+ 'Filename': 'uploads/#{filename_token}', // adding this to keep consistency across the runtimes
66
66
  'acl': '#{options[:acl]}',
67
67
  'Content-Type': '#{options[:content_type]}',
68
68
  'success_action_status': '201',
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.75
4
+ version: 0.1.76
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: 2012-01-19 00:00:00.000000000 Z
12
+ date: 2012-01-27 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Helper JS & Ruby Functions
15
15
  email:
@@ -90,11 +90,6 @@ files:
90
90
  - app/assets/stylesheets/applicious_utils/FbMultiFriendSelector/jquery.facebook.multifriend.select.min.js
91
91
  - app/assets/stylesheets/applicious_utils/FbMultiFriendSelector/README.md
92
92
  - app/assets/stylesheets/applicious_utils/index.css
93
- - applicious_utils-0.1.70.gem
94
- - applicious_utils-0.1.71.gem
95
- - applicious_utils-0.1.72.gem
96
- - applicious_utils-0.1.73.gem
97
- - applicious_utils-0.1.74.gem
98
93
  - applicious_utils.gemspec
99
94
  - Gemfile
100
95
  - lib/applicious_utils/engine.rb
Binary file
Binary file
Binary file
Binary file
Binary file