avm-eac_rails_base0 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/eac_rails_base0/instances/base.rb +11 -1
- data/lib/avm/eac_rails_base0/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a08fe6d6d49c558a4929daa6ac583a3bad9566595145db8caae11b1e59e4b8b0
|
4
|
+
data.tar.gz: 104b3fbe1d073abe151ccb842f8d4b813bd892f5774076d73658ad94810b25d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed890deeed63c1eb23e0e2ea22c97ec462829e60af998b074a73a687f05b4f4015871ae56a5383d46667cb0f0a20023677d41cd5b4ec45166e38e4e61be6d1a0
|
7
|
+
data.tar.gz: c09cfb2a63e5dcbc32638bea3d7e02418b96c7dfc5bc1620270aea03cdec5ff2e4c423cd7d501b7ce089a32aec3ede9f49de32a4beee5556fd0362e90b484888
|
@@ -7,7 +7,17 @@ module Avm
|
|
7
7
|
module EacRailsBase0
|
8
8
|
module Instances
|
9
9
|
class Base < ::Avm::EacRailsBase1::Instances::Base
|
10
|
-
|
10
|
+
UPLOADS_UNIT_SUBPATH = 'public/uploads'
|
11
|
+
|
12
|
+
# @return [Avm::Instances::Data::Package]
|
13
|
+
def data_package_create
|
14
|
+
super.add_unit('uploads', uploads_unit)
|
15
|
+
end
|
16
|
+
|
17
|
+
# @return [Avm::Instances::Data::FilesUnit]
|
18
|
+
def uploads_unit
|
19
|
+
::Avm::Instances::Data::FilesUnit.new(self, UPLOADS_UNIT_SUBPATH)
|
20
|
+
end
|
11
21
|
end
|
12
22
|
end
|
13
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avm-eac_rails_base0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Put here the authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm-eac_rails_base1
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '0.8'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.8.
|
22
|
+
version: 0.8.3
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '0.8'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.8.
|
32
|
+
version: 0.8.3
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: eac_ruby_utils
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|