applicious_utils 0.1.79 → 0.1.80

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.79"
2
+ VERSION = "0.1.80"
3
3
  end
@@ -44,10 +44,11 @@ module AppliciousUtils
44
44
 
45
45
  out << javascript_tag("$(function() {
46
46
 
47
- function appliciousGetFileExtension(filename)
48
- {
49
- return filename.split('.').pop();
50
- }
47
+ //function appliciousGetFileExtension(filename)
48
+ //{
49
+ // return filename.split('.').pop();
50
+ //}
51
+ //extension = appliciousGetFileExtension()
51
52
 
52
53
  /*
53
54
  * S3 Uploader instance
@@ -66,7 +67,7 @@ module AppliciousUtils
66
67
  multi_selection: false,
67
68
  multipart: true,
68
69
  multipart_params: {
69
- 'key': 'uploads/#{filename_token} + '_' + ${filename},
70
+ 'key': 'uploads/#{filename_token}' + '_' + ${filename},
70
71
  'Filename': 'uploads/#{filename_token}' + '_' + ${filename}, // adding this to keep consistency across the runtimes
71
72
  'acl': '#{options[:acl]}',
72
73
  'Content-Type': '#{options[:content_type]}',
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.79
4
+ version: 0.1.80
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: