avm-eac_rails_base1 0.9.1 → 0.9.3

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: 8d35a1b12d44832530794803f2e70220692515fcc3f16c33434a1f884601e1b8
4
- data.tar.gz: a752ce4e225c1e92229f14fa4c98e9829096bb15c145c2de7f6a1dbe87494c15
3
+ metadata.gz: 394f2e59649a1ac568b05dea035cc3a18d5b53624f0762130bf114ce0bc9bade
4
+ data.tar.gz: 3d7b5afef877fb2509403d021d9b0d0136494988cb02524a589c7aad88b47aa3
5
5
  SHA512:
6
- metadata.gz: b96e1bdfdc10c70d703ee1a938e17da12e0e6544a8aaaf919be616294b7cc7935618d99b926a089783803e6cef16e729ba15d79a86ffb59c72bca5fdb805efab
7
- data.tar.gz: 64e47ba4d7abdbe5b19a55a28c2f16efc98bbe0f239e66d482ecb1f5dae8b94263f9deb4e56f2f53e43d46826b9e97b928dfe527be48b705743657e19356f239
6
+ metadata.gz: ad30d09bbfaa29152334678ff28b0de769f3b970dc5fecc38678b592ec8d9f25105cb1dc54f0472ab2e0d203dc8e9c6bde5fd53673ae611c06774339b8a5a748
7
+ data.tar.gz: fac42454bc1dd6b1acb8fb50fd6ebd06ffaa1a0d49bb764146bfd42d5b7d87095837ba569208542fdfddea033906fd5f5eef9b3e396983572c30abccd6022bc6
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+
5
+ module Avm
6
+ module EacRailsBase1
7
+ module Instances
8
+ module ApacheBase
9
+ # @return [String]
10
+ def document_root
11
+ ::File.join(super, 'public')
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
@@ -1,14 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'avm/eac_rails_base1/instances/apache_base'
3
4
  require 'avm/eac_webapp_base0/instances/apache_host'
4
5
 
5
6
  module Avm
6
7
  module EacRailsBase1
7
8
  module Instances
8
9
  class ApacheHost < ::Avm::EacWebappBase0::Instances::ApacheHost
9
- def document_root
10
- "#{instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)}/public"
11
- end
10
+ prepend ::Avm::EacRailsBase1::Instances::ApacheBase
12
11
 
13
12
  def extra_content
14
13
  'PassengerEnabled On'
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/eac_rails_base1/instances/apache_base'
4
+ require 'avm/eac_webapp_base0/instances/apache_path'
5
+ require 'eac_templates/core_ext'
6
+
7
+ module Avm
8
+ module EacRailsBase1
9
+ module Instances
10
+ class ApachePath < ::Avm::EacWebappBase0::Instances::ApachePath
11
+ prepend ::Avm::EacRailsBase1::Instances::ApacheBase
12
+
13
+ # @return [String]
14
+ def extra_content
15
+ ::Avm::EacRailsBase1::Instances::ApachePath.template.child('extra_content.conf')
16
+ .apply(instance)
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'avm/eac_rails_base1/instances/apache_host'
4
+ require 'avm/eac_rails_base1/instances/apache_path'
3
5
  require 'avm/eac_rails_base1/instances/processes/tasks_scheduler'
4
6
  require 'avm/eac_rails_base1/instances/runners'
5
7
  require 'avm/eac_ruby_base1/instances/mixin'
@@ -12,7 +12,7 @@ module Avm
12
12
 
13
13
  # @return [Boolean]
14
14
  def available?
15
- instance.the_gem.gemfile_lock_gem_version(gem_name).present?
15
+ instance.application.local_source.gemfile_lock_gem_version(gem_name).present?
16
16
  end
17
17
 
18
18
  def disable
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRailsBase1
5
- VERSION = '0.9.1'
5
+ VERSION = '0.9.3'
6
6
  end
7
7
  end
@@ -0,0 +1,5 @@
1
+ <Location "%%WEB.PATH%%">
2
+ PassengerBaseURI "%%WEB.PATH%%"
3
+ PassengerAppRoot "%%INSTALL.PATH%%"
4
+ PassengerAppEnv production
5
+ </Location>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-eac_rails_base1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.3
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-06-09 00:00:00.000000000 Z
11
+ date: 2023-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm
@@ -16,34 +16,34 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.78'
19
+ version: '0.79'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.78'
26
+ version: '0.79'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: avm-eac_ruby_base1
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.30'
33
+ version: '0.31'
34
34
  - - ">="
35
35
  - !ruby/object:Gem::Version
36
- version: 0.30.3
36
+ version: 0.31.1
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - "~>"
42
42
  - !ruby/object:Gem::Version
43
- version: '0.30'
43
+ version: '0.31'
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 0.30.3
46
+ version: 0.31.1
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: avm-eac_webapp_base0
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -53,7 +53,7 @@ dependencies:
53
53
  version: '0.18'
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: 0.18.1
56
+ version: 0.18.2
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -63,27 +63,27 @@ dependencies:
63
63
  version: '0.18'
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: 0.18.1
66
+ version: 0.18.2
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: eac_ruby_utils
69
69
  requirement: !ruby/object:Gem::Requirement
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: '0.117'
73
+ version: '0.119'
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: 0.117.1
76
+ version: 0.119.1
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '0.117'
83
+ version: '0.119'
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- version: 0.117.1
86
+ version: 0.119.1
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: eac_ruby_gem_support
89
89
  requirement: !ruby/object:Gem::Requirement
@@ -106,7 +106,9 @@ extra_rdoc_files: []
106
106
  files:
107
107
  - lib/avm/eac_rails_base1.rb
108
108
  - lib/avm/eac_rails_base1/instances.rb
109
+ - lib/avm/eac_rails_base1/instances/apache_base.rb
109
110
  - lib/avm/eac_rails_base1/instances/apache_host.rb
111
+ - lib/avm/eac_rails_base1/instances/apache_path.rb
110
112
  - lib/avm/eac_rails_base1/instances/base.rb
111
113
  - lib/avm/eac_rails_base1/instances/processes.rb
112
114
  - lib/avm/eac_rails_base1/instances/processes/daemon.rb
@@ -127,6 +129,7 @@ files:
127
129
  - lib/avm/eac_rails_base1/runner_with/rails_environment.rb
128
130
  - lib/avm/eac_rails_base1/sources/base.rb
129
131
  - lib/avm/eac_rails_base1/version.rb
132
+ - template/avm/eac_rails_base1/instances/apache_path/extra_content.conf
130
133
  - template/avm/eac_rails_base1/instances/systemd_unit/tasks_scheduler.service
131
134
  - template/avm/eac_rails_base1/instances/systemd_unit/tasks_scheduler_command.sh
132
135
  homepage: