rails-uploader 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/uploader/authorization.rb +1 -2
- data/lib/uploader/version.rb +1 -1
- data/lib/uploader.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12397692cb77791fc651ff6ee848e3e9a376327eb531187a0bccb14d3208f18f
|
|
4
|
+
data.tar.gz: 013dd49aaca77295f886e66c1b8fc5e2d3ed86af4b0c027a2d645532c8e9dae4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3f7ff5f6530a221a1d91dc55fd231d6d78baa63d3b6511ec2ef5c5aff46c10b9e1ef5d4068d4d314bd422ae6919f209a54bb48c7d6eeca1186333ed9a293058
|
|
7
|
+
data.tar.gz: f1d41d67e22055e0b6fe8cbb13fa86c9eabc4326c93b8ac53b86f03d88a9c6b62547d50813f3080280af66182708f68d5602a8bae2281856d8385e57dce4f753
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require 'active_support/concern'
|
|
4
|
-
require_relative 'json_rendering'
|
|
5
4
|
|
|
6
5
|
module Uploader
|
|
7
6
|
module Authorization
|
|
8
7
|
extend ActiveSupport::Concern
|
|
9
8
|
|
|
10
9
|
included do
|
|
11
|
-
include JsonRendering
|
|
10
|
+
include Uploader::JsonRendering
|
|
12
11
|
include ActionController::Rescue
|
|
13
12
|
|
|
14
13
|
rescue_from Uploader::AccessDenied, with: :dispatch_uploader_access_denied
|
data/lib/uploader/version.rb
CHANGED
data/lib/uploader.rb
CHANGED
|
@@ -13,6 +13,7 @@ module Uploader
|
|
|
13
13
|
autoload :UploadRequest, 'uploader/upload_request'
|
|
14
14
|
autoload :FilePart, 'uploader/file_part'
|
|
15
15
|
autoload :FileuploadGlue, 'uploader/fileupload_glue'
|
|
16
|
+
autoload :JsonRendering, 'uploader/json_rendering'
|
|
16
17
|
|
|
17
18
|
# Just Rails helpers
|
|
18
19
|
module Helpers
|
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.5.
|
|
4
|
+
version: 0.5.7
|
|
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: 2022-03-
|
|
12
|
+
date: 2022-03-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: carrierwave
|