avm-eac_rails_base0 0.10.2 → 0.11.0

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: 248fc137423327c9b4ef9045152d3b9e2d6ab0251713f9001f553cd2b4e8c8c4
4
- data.tar.gz: c602299d85af1b76fc716042ccf085c66e9002fef2f2e94b7a83fcdbdd9ea621
3
+ metadata.gz: a5c4206c23a540f58407dc4f85db559fc9acead3b77fee1860e028c6ae9ec436
4
+ data.tar.gz: 7cf96396a5e10a5a3f6e25c0e783262be7ff76afc16128d4f9076adc8227d78d
5
5
  SHA512:
6
- metadata.gz: 4f1ded735a00417fd76b35d2259ab892dce5b72a4ed04601f16bbe93fd0648e413978f561c8ba5fb6dcf5de94f0d3749bfa62f0c14e1aff284f56389d5980f4b
7
- data.tar.gz: 220fe5d567d3357e2246cac2d95e8fb6ab8f946b28a488e21afc1d658fc095bfb23d2ac19a7448ad9bee7958fd3793861236ab8c293ed482ce0726c50136e241
6
+ metadata.gz: df3d9ec074a9a976bca09f6925c8f0e966a299dfd37744a923e0d543427b363217732dcdcd7c12a8e48602a85f51866eec00955ae053c0b93c371de84cf95001
7
+ data.tar.gz: 35ddcd902ed23820277f67d750aa8c793ad0e213f39ca113df7807548d2b5389dc962ff37951d967d2bd570db3c8ebfc8c74dd93f0eaf70d2be89bba89dc50a1
@@ -1,20 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'eac_templates/core_ext'
4
- require 'avm/eac_webapp_base0/instances/apache_path'
3
+ require 'avm/eac_rails_base1/instances/apache_path'
5
4
  require 'eac_ruby_utils/core_ext'
6
5
 
7
6
  module Avm
8
7
  module EacRailsBase0
9
8
  module Instances
10
- class ApachePath < ::Avm::EacWebappBase0::Instances::ApachePath
11
- def document_root
12
- ::File.join(super, 'public')
13
- end
14
-
15
- def extra_content
16
- template.child('extra_content.conf').apply(instance)
17
- end
9
+ class ApachePath < ::Avm::EacRailsBase1::Instances::ApachePath
18
10
  end
19
11
  end
20
12
  end
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'eac_templates/core_ext'
4
- require 'avm/eac_webapp_base0/instances/deploy'
4
+ require 'avm/eac_rails_base1/instances/deploy'
5
5
  require 'avm/instances/entry_keys'
6
6
 
7
7
  module Avm
8
8
  module EacRailsBase0
9
9
  module Instances
10
- class Deploy < ::Avm::EacWebappBase0::Instances::Deploy
10
+ class Deploy < ::Avm::EacRailsBase1::Instances::Deploy
11
11
  set_callback :assert_instance_branch, :after do
12
12
  bundle_install
13
13
  assert_database
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRailsBase0
5
- VERSION = '0.10.2'
5
+ VERSION = '0.11.0'
6
6
  end
7
7
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  APP_PATH = ::File.dirname(__dir__) unless defined?(APP_PATH)
4
4
  require File.expand_path('boot', __dir__)
5
- require 'eac_rails_base0/app_base/application.rb'
5
+ require 'eac_rails_base0/app_base/application'
6
6
 
7
7
  module EacRailsBase0App
8
8
  class Application
@@ -6,19 +6,19 @@
6
6
  # the maximum value specified for Puma. Default is set to 5 threads for minimum
7
7
  # and maximum; this matches the default thread size of Active Record.
8
8
  #
9
- threads_count = ENV.fetch('RAILS_MAX_THREADS') { 5 }
9
+ threads_count = ENV.fetch('RAILS_MAX_THREADS', 5)
10
10
  threads threads_count, threads_count
11
11
 
12
12
  # Specifies the `port` that Puma will listen on to receive requests; default is 3000.
13
13
  #
14
- port ENV.fetch('PORT') { 3000 }
14
+ port ENV.fetch('PORT', 3000)
15
15
 
16
16
  # Specifies the `environment` that Puma will run in.
17
17
  #
18
- environment ENV.fetch('RAILS_ENV') { 'development' }
18
+ environment ENV.fetch('RAILS_ENV', 'development')
19
19
 
20
20
  # Specifies the `pidfile` that Puma will use.
21
- pidfile ENV.fetch('PIDFILE') { 'tmp/pids/server.pid' }
21
+ pidfile ENV.fetch('PIDFILE', 'tmp/pids/server.pid')
22
22
 
23
23
  # Specifies the number of `workers` to boot in clustered mode.
24
24
  # Workers are forked webserver processes. If using threads and workers together
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.2
4
+ version: 0.11.0
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-05-09 00:00:00.000000000 Z
11
+ date: 2023-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm-eac_rails_base1
@@ -16,48 +16,48 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.8'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 0.8.4
19
+ version: '0.10'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '0.8'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 0.8.4
26
+ version: '0.10'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: eac_ruby_utils
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '0.112'
33
+ version: '0.119'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 0.119.2
40
37
  type: :runtime
41
38
  prerelease: false
42
39
  version_requirements: !ruby/object:Gem::Requirement
43
40
  requirements:
44
41
  - - "~>"
45
42
  - !ruby/object:Gem::Version
46
- version: '0.112'
43
+ version: '0.119'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 0.119.2
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: eac_ruby_gem_support
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 0.5.1
53
+ version: '0.9'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 0.5.1
60
+ version: '0.9'
61
61
  description:
62
62
  email:
63
63
  executables: []
@@ -73,7 +73,6 @@ files:
73
73
  - lib/avm/eac_rails_base0/source_generators/base.rb
74
74
  - lib/avm/eac_rails_base0/sources/base.rb
75
75
  - lib/avm/eac_rails_base0/version.rb
76
- - template/avm/eac_rails_base0/instances/apache_path/extra_content.conf
77
76
  - template/avm/eac_rails_base0/instances/deploy/config/database.yml.template
78
77
  - template/avm/eac_rails_base0/instances/deploy/config/envvars.d/email.yml.template
79
78
  - template/avm/eac_rails_base0/source_generators/base/Gemfile
@@ -114,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
113
  requirements:
115
114
  - - ">="
116
115
  - !ruby/object:Gem::Version
117
- version: '0'
116
+ version: '2.7'
118
117
  required_rubygems_version: !ruby/object:Gem::Requirement
119
118
  requirements:
120
119
  - - ">="
@@ -1,5 +0,0 @@
1
- <Location "%%WEB.PATH%%">
2
- PassengerBaseURI "%%WEB.PATH%%"
3
- PassengerAppRoot "%%INSTALL.PATH%%"
4
- PassengerAppEnv production
5
- </Location>