trestle-active_storage 2.2.1 → 3.0.0
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/README.md +10 -5
- data/lib/trestle/active_storage.rb +7 -6
- data/lib/trestle/active_storage/engine.rb +4 -1
- data/lib/trestle/active_storage/version.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb04373f55898190ff541b714e60a76339a9973d6c685e0361d81372e3ac51f7
|
|
4
|
+
data.tar.gz: 7c21f06234ffa638875cf25053ab5cc4748a2b754ae7c26177dc989f279725b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f64a0a1b8b7f3c473fc52c0bc8750f7b30ae37781298963e00a66b9162422d6234eb09d3f5164b4349150854b8d622da4c2aaa770b25d1d7305e7d818844b5a
|
|
7
|
+
data.tar.gz: d6b98ed4b70d17116d477ba9bcb77ffc56de015918c3bf0de9acb4ddf843e56db6187999d25d591521c4dfabf32a30b323a534729c47c4d48ed0bcef641fb15d
|
data/README.md
CHANGED
|
@@ -52,16 +52,21 @@ If you'd like to get up and running on Heroku, check out their [documentation on
|
|
|
52
52
|
|
|
53
53
|
Thanks goes out to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
54
54
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
55
|
-
<!-- prettier-ignore -->
|
|
55
|
+
<!-- prettier-ignore-start -->
|
|
56
|
+
<!-- markdownlint-disable -->
|
|
56
57
|
<table>
|
|
57
58
|
<tr>
|
|
58
|
-
<td align="center"><a href="https://www.cityspotters.com"><img src="https://avatars1.githubusercontent.com/u/75705?v=4" width="100px;" alt="
|
|
59
|
-
<td align="center"><a href="http://aboobacker.in"><img src="https://avatars1.githubusercontent.com/u/3112976?v=4" width="100px;" alt="
|
|
60
|
-
<td align="center"><a href="http://euodeiovoce.com.br"><img src="https://avatars2.githubusercontent.com/u/1027961?v=4" width="100px;" alt="
|
|
61
|
-
<td align="center"><a href="https://github.com/hoenth"><img src="https://avatars2.githubusercontent.com/u/62977?v=4" width="100px;" alt="
|
|
59
|
+
<td align="center"><a href="https://www.cityspotters.com"><img src="https://avatars1.githubusercontent.com/u/75705?v=4" width="100px;" alt=""/><br /><sub><b>Richard Venneman</b></sub></a><br /><a href="#ideas-richardvenneman" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/richardvenneman/trestle-active_storage/commits?author=richardvenneman" title="Code">💻</a> <a href="https://github.com/richardvenneman/trestle-active_storage/commits?author=richardvenneman" title="Documentation">📖</a> <a href="#question-richardvenneman" title="Answering Questions">💬</a> <a href="https://github.com/richardvenneman/trestle-active_storage/pulls?q=is%3Apr+reviewed-by%3Arichardvenneman" title="Reviewed Pull Requests">👀</a></td>
|
|
60
|
+
<td align="center"><a href="http://aboobacker.in"><img src="https://avatars1.githubusercontent.com/u/3112976?v=4" width="100px;" alt=""/><br /><sub><b>Aboobacker MK</b></sub></a><br /><a href="#ideas-tachyons" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
61
|
+
<td align="center"><a href="http://euodeiovoce.com.br"><img src="https://avatars2.githubusercontent.com/u/1027961?v=4" width="100px;" alt=""/><br /><sub><b>Rafael Porto</b></sub></a><br /><a href="https://github.com/richardvenneman/trestle-active_storage/commits?author=PunkMaldito" title="Code">💻</a></td>
|
|
62
|
+
<td align="center"><a href="https://github.com/hoenth"><img src="https://avatars2.githubusercontent.com/u/62977?v=4" width="100px;" alt=""/><br /><sub><b>Tom Hoen</b></sub></a><br /><a href="https://github.com/richardvenneman/trestle-active_storage/issues?q=author%3Ahoenth" title="Bug reports">🐛</a> <a href="https://github.com/richardvenneman/trestle-active_storage/commits?author=hoenth" title="Code">💻</a></td>
|
|
63
|
+
<td align="center"><a href="https://github.com/basharabdullah"><img src="https://avatars3.githubusercontent.com/u/167290?v=4" width="100px;" alt=""/><br /><sub><b>Bashar Abdullah</b></sub></a><br /><a href="https://github.com/richardvenneman/trestle-active_storage/issues?q=author%3Abasharabdullah" title="Bug reports">🐛</a></td>
|
|
64
|
+
<td align="center"><a href="https://github.com/McRipper"><img src="https://avatars2.githubusercontent.com/u/58031?v=4" width="100px;" alt=""/><br /><sub><b>Emanuele Barban</b></sub></a><br /><a href="https://github.com/richardvenneman/trestle-active_storage/commits?author=McRipper" title="Code">💻</a></td>
|
|
62
65
|
</tr>
|
|
63
66
|
</table>
|
|
64
67
|
|
|
68
|
+
<!-- markdownlint-enable -->
|
|
69
|
+
<!-- prettier-ignore-end -->
|
|
65
70
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
66
71
|
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification.
|
|
67
72
|
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
require_relative 'active_storage/version'
|
|
2
|
+
|
|
2
3
|
require 'trestle'
|
|
3
4
|
|
|
4
5
|
module Trestle
|
|
5
6
|
module ActiveStorage
|
|
6
|
-
extend ActiveSupport::Autoload
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
require_relative "active_storage/builder"
|
|
9
|
+
require_relative "active_storage/resource"
|
|
10
|
+
require_relative "active_storage/controller_concern"
|
|
11
|
+
|
|
11
12
|
end
|
|
12
13
|
end
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
require_relative 'active_storage/engine' if defined?(Rails)
|
|
@@ -3,10 +3,13 @@ module Trestle
|
|
|
3
3
|
class Engine < Rails::Engine
|
|
4
4
|
config.assets.precompile << 'activestorage.js' << 'trestle/active_storage_fields.js'
|
|
5
5
|
|
|
6
|
+
config.to_prepare do
|
|
7
|
+
Trestle::ResourceController.send(:include, Trestle::ActiveStorage::ControllerConcern)
|
|
8
|
+
end
|
|
9
|
+
|
|
6
10
|
initializer :extensions do
|
|
7
11
|
Trestle::Resource.send(:include, Trestle::ActiveStorage::Resource)
|
|
8
12
|
Trestle::Resource::Builder.send(:include, Trestle::ActiveStorage::Builder)
|
|
9
|
-
Trestle::Resource::Controller.send(:include, Trestle::ActiveStorage::ControllerConcern)
|
|
10
13
|
end
|
|
11
14
|
end
|
|
12
15
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trestle-active_storage
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Venneman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-06-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -36,14 +36,20 @@ dependencies:
|
|
|
36
36
|
requirements:
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version:
|
|
39
|
+
version: 0.9.0
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: 0.9.3
|
|
40
43
|
type: :runtime
|
|
41
44
|
prerelease: false
|
|
42
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
43
46
|
requirements:
|
|
44
47
|
- - "~>"
|
|
45
48
|
- !ruby/object:Gem::Version
|
|
46
|
-
version:
|
|
49
|
+
version: 0.9.0
|
|
50
|
+
- - ">="
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: 0.9.3
|
|
47
53
|
description: ActiveStorage integration plugin for the Trestle admin framework.
|
|
48
54
|
email:
|
|
49
55
|
- richardvenneman@me.com
|
|
@@ -85,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
85
91
|
- !ruby/object:Gem::Version
|
|
86
92
|
version: '0'
|
|
87
93
|
requirements: []
|
|
88
|
-
rubygems_version: 3.
|
|
94
|
+
rubygems_version: 3.1.2
|
|
89
95
|
signing_key:
|
|
90
96
|
specification_version: 4
|
|
91
97
|
summary: ActiveStorage integration plugin for the Trestle admin framework
|