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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a58380cdb99713ebff2a92c6ef226122dcf8a4150cc618a7ff02e9d25d9d2df2
4
- data.tar.gz: 8c1531c58c19033403601f39bc5671dc2714255a19dac34649a8998008adc916
3
+ metadata.gz: a08fe6d6d49c558a4929daa6ac583a3bad9566595145db8caae11b1e59e4b8b0
4
+ data.tar.gz: 104b3fbe1d073abe151ccb842f8d4b813bd892f5774076d73658ad94810b25d4
5
5
  SHA512:
6
- metadata.gz: d2624ba89ab88b72b17a67db2bea01827280f14c39bd9580945843e450532f8e21940ecef3a4534590f06145057cac6d75f543b8d04b0fe8ba16e30e48e58bf7
7
- data.tar.gz: 80a3e9f97086690298ec7480e3aa59f5a39908c369e31c5c4f77387dfb1321e52d5b44d0a4dc2d1e2907bd0dcf5f348fd2741839d0fe2a62d77eb1efa6684a31
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
- FILES_UNITS = { uploads: 'public/uploads' }.freeze
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRailsBase0
5
- VERSION = '0.10.0'
5
+ VERSION = '0.10.1'
6
6
  end
7
7
  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.0
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-01 00:00:00.000000000 Z
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.1
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.1
32
+ version: 0.8.3
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: eac_ruby_utils
35
35
  requirement: !ruby/object:Gem::Requirement