presigned_upload 0.1.1 → 0.1.2
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/.rubocop.yml +5 -0
- data/.yardopts +1 -0
- data/lib/presigned_upload/models.rb +1 -1
- data/lib/presigned_upload/railtie.rb +1 -5
- data/lib/presigned_upload/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db1a9758dacddbb8efeffaf2b99b13c08fca378a82f93a628bba3b7ee38c5c3b
|
|
4
|
+
data.tar.gz: 93f42f25157570cdf9b036f513c53a588c3453c86777fe6157d58ec2b943a6c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5f58a70348ab99eb0ed36adcbca0d3d8f81336b76ea8c7206a9fc2cb4d9b4b4d0c215ecebcf4064ba722f694ce4be535bfcd45c3dc87446ad41f46b2ef9845b
|
|
7
|
+
data.tar.gz: 9e37103e3febbb2056ddadda8307d597d82c751d9fcd10de96eb4ec82fcdc9648fd80a688ef13bce0c72b632d6c9db93eca505a894f1fdc901c5aca04c08bb53
|
data/.rubocop.yml
CHANGED
data/.yardopts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
--exclude lib/generators/presigned_upload/templates/
|
|
@@ -26,7 +26,7 @@ module PresignedUpload
|
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# rubocop:disable Metrics/MethodLength
|
|
29
|
-
|
|
29
|
+
|
|
30
30
|
# Calling this method in the context of the model class includes Uploadable::Model module, which includes
|
|
31
31
|
# all the behavior from the Uploadable module and the Uploadable::Model, including validations and callbacks
|
|
32
32
|
#
|
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
require "rails/railtie"
|
|
4
4
|
require "presigned_upload/models"
|
|
5
5
|
|
|
6
|
-
# rubocop:disable Style/Documentation
|
|
7
|
-
|
|
8
6
|
module PresignedUpload
|
|
9
|
-
class Railtie < Rails::Railtie
|
|
7
|
+
class Railtie < Rails::Railtie # :nodoc:
|
|
10
8
|
initializer "presigned_upload.initialize" do
|
|
11
9
|
ActiveSupport.on_load(:active_record) do
|
|
12
10
|
ActiveRecord::Base.extend PresignedUpload::Models
|
|
@@ -14,5 +12,3 @@ module PresignedUpload
|
|
|
14
12
|
end
|
|
15
13
|
end
|
|
16
14
|
end
|
|
17
|
-
|
|
18
|
-
# rubocop:enable Style/Documentation
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: presigned_upload
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Denis Stael
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -64,6 +64,7 @@ extra_rdoc_files: []
|
|
|
64
64
|
files:
|
|
65
65
|
- ".rspec"
|
|
66
66
|
- ".rubocop.yml"
|
|
67
|
+
- ".yardopts"
|
|
67
68
|
- CHANGELOG.md
|
|
68
69
|
- Gemfile
|
|
69
70
|
- LICENSE.txt
|