rails-uploader 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e31c29efbaa3737142d33f8dd76514248e59603f
|
4
|
+
data.tar.gz: ed9c4bb1789e0cc030bebd3bb8b8879b0aad8543
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fea19a504d4b8275c3b0a1b4eb0614e18067280d09fc3e56e702e5085d4cb4e8bd4ea7db8ad390c6cfc889834a503bf7baad664af9fccdd5343ddc30e2b07572
|
7
|
+
data.tar.gz: 83bee7f7dd6acf428205f3e676320af5422ed7b5b0afea6a3c27be8d8ff805026e72b1bbefd4bd9e682544774f9042ccc6481c77ed17130ce60d0a79a8301e27
|
data/lib/uploader.rb
CHANGED
@@ -42,7 +42,7 @@ module Uploader
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def self.guid
|
45
|
-
SecureRandom.
|
45
|
+
SecureRandom.urlsafe_base64
|
46
46
|
end
|
47
47
|
|
48
48
|
def self.root_path
|
@@ -68,9 +68,12 @@ module Uploader
|
|
68
68
|
class AccessDenied < StandardError
|
69
69
|
attr_reader :user, :action, :subject
|
70
70
|
|
71
|
-
def initialize(user, action, subject)
|
72
|
-
@user
|
73
|
-
|
71
|
+
def initialize(user, action, subject = nil)
|
72
|
+
@user = user
|
73
|
+
@action = action
|
74
|
+
@subject = subject
|
75
|
+
|
76
|
+
super(message)
|
74
77
|
end
|
75
78
|
|
76
79
|
def message
|
data/lib/uploader/version.rb
CHANGED
File without changes
|
data/vendor/assets/stylesheets/uploader/{jquery.fileupload-ui.css → jquery.fileupload-ui.scss}
RENAMED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-uploader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Galeta
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-09-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jquery-ui-rails
|
@@ -184,8 +184,8 @@ files:
|
|
184
184
|
- vendor/assets/javascripts/uploader/jquery.iframe-transport.js
|
185
185
|
- vendor/assets/javascripts/uploader/vendor/jquery.ui.widget.js
|
186
186
|
- vendor/assets/javascripts/uploader/vendor/tmpl.min.js
|
187
|
-
- vendor/assets/stylesheets/uploader/default.
|
188
|
-
- vendor/assets/stylesheets/uploader/jquery.fileupload-ui.
|
187
|
+
- vendor/assets/stylesheets/uploader/default.scss
|
188
|
+
- vendor/assets/stylesheets/uploader/jquery.fileupload-ui.scss
|
189
189
|
homepage: https://github.com/superp/rails-uploader
|
190
190
|
licenses: []
|
191
191
|
metadata: {}
|