eac_tools 0.13.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +39 -19
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/lib/avm/applications/base.rb +2 -2
- data/sub/avm/lib/avm/entries/auto_values/entry.rb +32 -0
- data/sub/avm/lib/avm/entries/auto_values.rb +11 -0
- data/sub/avm/lib/avm/{instances/entries.rb → entries/base.rb} +9 -5
- data/sub/avm/lib/avm/{instances → entries}/entry.rb +3 -12
- data/sub/avm/lib/avm/entries.rb +9 -0
- data/sub/avm/lib/avm/instances/base/auto_values/admin.rb +2 -2
- data/sub/avm/lib/avm/instances/base/auto_values/database.rb +1 -1
- data/sub/avm/lib/avm/instances/base/auto_values/filesystem.rb +9 -8
- data/sub/avm/lib/avm/instances/base/auto_values/install.rb +4 -4
- data/sub/avm/lib/avm/instances/base/auto_values/mailer.rb +5 -4
- data/sub/avm/lib/avm/instances/base/auto_values/ruby.rb +1 -1
- data/sub/avm/lib/avm/instances/base/auto_values/system.rb +3 -3
- data/sub/avm/lib/avm/instances/base/auto_values.rb +3 -4
- data/sub/avm/lib/avm/instances/base.rb +6 -6
- data/sub/avm/lib/avm/instances/entry_keys.rb +2 -2
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm/spec/lib/avm/instances/base_spec.rb +50 -50
- data/sub/avm/spec/lib/avm/instances/base_spec_configs_storage.yml +4 -2
- data/sub/avm-eac_asciidoctor_base0/Gemfile +8 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/avm-eac_asciidoctor_base0.gemspec +0 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/lib/avm/eac_asciidoctor_base0/apache_host.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/lib/avm/eac_asciidoctor_base0/apache_path.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/lib/avm/eac_asciidoctor_base0/deploy.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/lib/avm/eac_asciidoctor_base0/instance.rb +0 -0
- data/sub/{avm-tools/lib/avm/tools/runner/eac_asciidoctor_base0.rb → avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/runners/base.rb} +3 -4
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/runners.rb +11 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/lib/avm/eac_asciidoctor_base0/sources/base.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/lib/avm/eac_asciidoctor_base0/sources/build/file.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/lib/avm/eac_asciidoctor_base0/sources/build.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/lib/avm/eac_asciidoctor_base0/sources/runner/build.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/lib/avm/eac_asciidoctor_base0/sources/runner.rb +0 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/build.rb +54 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners.rb +13 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/lib/avm/eac_asciidoctor_base0/sources.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/lib/avm/eac_asciidoctor_base0.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/spec/lib/avm/eac_asciidoctor_base0/sources/base_spec.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/spec/rubocop_spec.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_asciidoctor_base0 → avm-eac_asciidoctor_base0}/spec/spec_helper.rb +0 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec/add_or_replace_gem_line.rb +62 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec/dependency.rb +19 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec.rb +42 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
- data/sub/avm-eac_webapp_base0/Gemfile +8 -0
- data/sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec +22 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/apache_host.rb +78 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/apache_path.rb +51 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/appended_directories.rb +25 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/build.rb +48 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/file_unit.rb +42 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/git_info.rb +62 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/version.rb +24 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/write_on_target.rb +18 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy.rb +73 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instance/subcommand_parent.rb +24 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instance.rb +62 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/apache_host.rb +35 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/apache_path.rb +40 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data/dump.rb +63 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data/load.rb +55 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data.rb +17 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/deploy.rb +39 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner.rb +12 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/sources/base.rb +15 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/sources.rb +11 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +7 -0
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0.rb +9 -0
- data/sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/sources/base_spec.rb +7 -0
- data/sub/avm-eac_webapp_base0/spec/rubocop_spec.rb +3 -0
- data/sub/avm-eac_webapp_base0/spec/spec_helper.rb +4 -0
- data/sub/avm-eac_webapp_base0/template/avm/eac_webapp_base0/apache_host/no_ssl.conf +11 -0
- data/sub/avm-eac_webapp_base0/template/avm/eac_webapp_base0/apache_path/default.conf +9 -0
- data/sub/avm-eac_wordpress_base0/Gemfile +8 -0
- data/sub/avm-eac_wordpress_base0/avm-eac_wordpress_base0.gemspec +19 -0
- data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb +27 -0
- data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/base.rb +26 -0
- data/sub/{avm-tools/lib/avm/eac_wordpress_base0 → avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances}/deploy.rb +3 -1
- data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances.rb +11 -0
- data/sub/{avm-tools/lib/avm/tools/runner/eac_wordpress_base0.rb → avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/runners/base.rb} +3 -4
- data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/runners.rb +11 -0
- data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/version.rb +7 -0
- data/sub/{avm-tools → avm-eac_wordpress_base0}/lib/avm/eac_wordpress_base0.rb +0 -0
- data/sub/{avm-tools/spec/lib/avm/eac_wordpress_base0 → avm-eac_wordpress_base0/spec/lib/avm/eac_wordpress_base0/instances}/apache_host_spec.rb +4 -4
- data/sub/{avm-tools/spec/lib/avm/eac_wordpress_base0 → avm-eac_wordpress_base0/spec/lib/avm/eac_wordpress_base0/instances}/apache_host_spec_no_ssl_content.conf +0 -0
- data/sub/avm-eac_wordpress_base0/spec/rubocop_spec.rb +3 -0
- data/sub/avm-eac_wordpress_base0/spec/spec_helper.rb +5 -0
- data/sub/{avm-tools → avm-eac_wordpress_base0}/template/avm/eac_wordpress_base0/deploy/wp-config.php.template +10 -10
- data/sub/avm-tools/avm-tools.gemspec +0 -1
- data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
- metadata +127 -36
- data/sub/avm-tools/lib/avm/eac_wordpress_base0/apache_host.rb +0 -25
- data/sub/avm-tools/lib/avm/eac_wordpress_base0/instance.rb +0 -24
- data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_asciidoctor_base0/build.rb +0 -56
- data/sub/avm-tools/lib/avm/tools/runner/app_src/eac_asciidoctor_base0.rb +0 -14
- data/sub/avm-tools/sub/avm-eac_asciidoctor_base0/Gemfile +0 -5
@@ -1,11 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/eac_wordpress_base0/apache_host'
|
4
|
-
require 'avm/eac_wordpress_base0/
|
3
|
+
require 'avm/eac_wordpress_base0/instances/apache_host'
|
4
|
+
require 'avm/eac_wordpress_base0/instances/base'
|
5
5
|
|
6
|
-
RSpec.describe ::Avm::EacWordpressBase0::ApacheHost do
|
6
|
+
RSpec.describe ::Avm::EacWordpressBase0::Instances::ApacheHost do
|
7
7
|
describe '#no_ssl_site_content' do
|
8
|
-
let(:instance) { ::Avm::EacWordpressBase0::
|
8
|
+
let(:instance) { ::Avm::EacWordpressBase0::Instances::Base.by_id('stub-app_0') }
|
9
9
|
let(:apache_host) { described_class.new(instance) }
|
10
10
|
let(:expected_content) do
|
11
11
|
::File.read(::File.join(__dir__, 'apache_host_spec_no_ssl_content.conf'))
|
File without changes
|
@@ -20,22 +20,22 @@
|
|
20
20
|
|
21
21
|
// ** MySQL settings - You can get this info from your web host ** //
|
22
22
|
/** The name of the database for WordPress */
|
23
|
-
define(
|
23
|
+
define('DB_NAME', '%%DATABASE.NAME%%');
|
24
24
|
|
25
25
|
/** MySQL database username */
|
26
|
-
define(
|
26
|
+
define('DB_USER', '%%DATABASE.USER%%');
|
27
27
|
|
28
28
|
/** MySQL database password */
|
29
|
-
define(
|
29
|
+
define('DB_PASSWORD', '%%DATABASE.PASSWORD%%');
|
30
30
|
|
31
31
|
/** MySQL hostname */
|
32
|
-
define(
|
32
|
+
define('DB_HOST', 'localhost');
|
33
33
|
|
34
34
|
/** Database Charset to use in creating database tables. */
|
35
|
-
define(
|
35
|
+
define('DB_CHARSET', 'utf8');
|
36
36
|
|
37
37
|
/** The Database Collate type. Don't change this if in doubt. */
|
38
|
-
define(
|
38
|
+
define('DB_COLLATE', '');
|
39
39
|
|
40
40
|
/**#@+
|
41
41
|
* Authentication Unique Keys and Salts.
|
@@ -77,14 +77,14 @@ $table_prefix = 'wp_';
|
|
77
77
|
*
|
78
78
|
* @link https://codex.wordpress.org/Debugging_in_WordPress
|
79
79
|
*/
|
80
|
-
define(
|
80
|
+
define('WP_DEBUG', false);
|
81
81
|
|
82
82
|
/* That's all, stop editing! Happy publishing. */
|
83
83
|
|
84
84
|
/** Absolute path to the WordPress directory. */
|
85
|
-
if (
|
86
|
-
|
85
|
+
if (! defined('ABSPATH')) {
|
86
|
+
define('ABSPATH', dirname(__FILE__) . '/');
|
87
87
|
}
|
88
88
|
|
89
89
|
/** Sets up WordPress vars and included files. */
|
90
|
-
require_once(
|
90
|
+
require_once(ABSPATH . 'wp-settings.php');
|
@@ -16,7 +16,6 @@ Gem::Specification.new do |s|
|
|
16
16
|
|
17
17
|
s.add_dependency 'aranha-parsers', '~> 0.4'
|
18
18
|
s.add_dependency 'avm', '~> 0.30'
|
19
|
-
s.add_dependency 'avm-eac_asciidoctor_base0', '~> 0.3', '>= 0.3.4'
|
20
19
|
s.add_dependency 'avm-eac_ruby_base1', '~> 0.8'
|
21
20
|
s.add_dependency 'avm-eac_ubuntu_base0', '~> 0.3'
|
22
21
|
s.add_dependency 'avm-files', '~> 0.1'
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.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: 2022-08-
|
11
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: avm-eac_asciidoctor_base0
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.4'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.4'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: avm-eac_generic_base0
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,28 +112,62 @@ dependencies:
|
|
98
112
|
requirements:
|
99
113
|
- - "~>"
|
100
114
|
- !ruby/object:Gem::Version
|
101
|
-
version: '0.
|
115
|
+
version: '0.12'
|
102
116
|
type: :runtime
|
103
117
|
prerelease: false
|
104
118
|
version_requirements: !ruby/object:Gem::Requirement
|
105
119
|
requirements:
|
106
120
|
- - "~>"
|
107
121
|
- !ruby/object:Gem::Version
|
108
|
-
version: '0.
|
122
|
+
version: '0.12'
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: avm-eac_webapp_base0
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - "~>"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0.3'
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 0.3.1
|
133
|
+
type: :runtime
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0.3'
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 0.3.1
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: avm-eac_wordpress_base0
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - "~>"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0.1'
|
150
|
+
type: :runtime
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - "~>"
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0.1'
|
109
157
|
- !ruby/object:Gem::Dependency
|
110
158
|
name: avm-tools
|
111
159
|
requirement: !ruby/object:Gem::Requirement
|
112
160
|
requirements:
|
113
161
|
- - "~>"
|
114
162
|
- !ruby/object:Gem::Version
|
115
|
-
version: '0.
|
163
|
+
version: '0.129'
|
116
164
|
type: :runtime
|
117
165
|
prerelease: false
|
118
166
|
version_requirements: !ruby/object:Gem::Requirement
|
119
167
|
requirements:
|
120
168
|
- - "~>"
|
121
169
|
- !ruby/object:Gem::Version
|
122
|
-
version: '0.
|
170
|
+
version: '0.129'
|
123
171
|
- !ruby/object:Gem::Dependency
|
124
172
|
name: eac_ruby_utils
|
125
173
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,6 +206,27 @@ files:
|
|
158
206
|
- Gemfile.lock
|
159
207
|
- lib/eac_tools.rb
|
160
208
|
- lib/eac_tools/version.rb
|
209
|
+
- sub/avm-eac_asciidoctor_base0/Gemfile
|
210
|
+
- sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec
|
211
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0.rb
|
212
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_host.rb
|
213
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_path.rb
|
214
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/deploy.rb
|
215
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instance.rb
|
216
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/runners.rb
|
217
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/runners/base.rb
|
218
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb
|
219
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb
|
220
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb
|
221
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb
|
222
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner.rb
|
223
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner/build.rb
|
224
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners.rb
|
225
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/build.rb
|
226
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb
|
227
|
+
- sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/sources/base_spec.rb
|
228
|
+
- sub/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb
|
229
|
+
- sub/avm-eac_asciidoctor_base0/spec/spec_helper.rb
|
161
230
|
- sub/avm-eac_generic_base0/Gemfile
|
162
231
|
- sub/avm-eac_generic_base0/avm-eac_generic_base0.gemspec
|
163
232
|
- sub/avm-eac_generic_base0/lib/avm/eac_generic_base0.rb
|
@@ -304,6 +373,9 @@ files:
|
|
304
373
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
|
305
374
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/gemfile.rb
|
306
375
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems.rb
|
376
|
+
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec.rb
|
377
|
+
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec/add_or_replace_gem_line.rb
|
378
|
+
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/gemspec/dependency.rb
|
307
379
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubygems/version_file.rb
|
308
380
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources.rb
|
309
381
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb
|
@@ -344,15 +416,55 @@ files:
|
|
344
416
|
- sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb
|
345
417
|
- sub/avm-eac_ruby_base1/spec/rubocop_spec.rb
|
346
418
|
- sub/avm-eac_ruby_base1/spec/spec_helper.rb
|
419
|
+
- sub/avm-eac_webapp_base0/Gemfile
|
420
|
+
- sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec
|
421
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0.rb
|
422
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/apache_host.rb
|
423
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/apache_path.rb
|
424
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy.rb
|
425
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/appended_directories.rb
|
426
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/build.rb
|
427
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/file_unit.rb
|
428
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/git_info.rb
|
429
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/version.rb
|
430
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/write_on_target.rb
|
431
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instance.rb
|
432
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instance/subcommand_parent.rb
|
433
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner.rb
|
434
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/apache_host.rb
|
435
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/apache_path.rb
|
436
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data.rb
|
437
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data/dump.rb
|
438
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data/load.rb
|
439
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/deploy.rb
|
440
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/sources.rb
|
441
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/sources/base.rb
|
442
|
+
- sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb
|
443
|
+
- sub/avm-eac_webapp_base0/spec/lib/avm/eac_webapp_base0/sources/base_spec.rb
|
444
|
+
- sub/avm-eac_webapp_base0/spec/rubocop_spec.rb
|
445
|
+
- sub/avm-eac_webapp_base0/spec/spec_helper.rb
|
446
|
+
- sub/avm-eac_webapp_base0/template/avm/eac_webapp_base0/apache_host/no_ssl.conf
|
447
|
+
- sub/avm-eac_webapp_base0/template/avm/eac_webapp_base0/apache_path/default.conf
|
448
|
+
- sub/avm-eac_wordpress_base0/Gemfile
|
449
|
+
- sub/avm-eac_wordpress_base0/avm-eac_wordpress_base0.gemspec
|
450
|
+
- sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0.rb
|
451
|
+
- sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances.rb
|
452
|
+
- sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb
|
453
|
+
- sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/base.rb
|
454
|
+
- sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/deploy.rb
|
455
|
+
- sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/runners.rb
|
456
|
+
- sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/runners/base.rb
|
457
|
+
- sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/version.rb
|
458
|
+
- sub/avm-eac_wordpress_base0/spec/lib/avm/eac_wordpress_base0/instances/apache_host_spec.rb
|
459
|
+
- sub/avm-eac_wordpress_base0/spec/lib/avm/eac_wordpress_base0/instances/apache_host_spec_no_ssl_content.conf
|
460
|
+
- sub/avm-eac_wordpress_base0/spec/rubocop_spec.rb
|
461
|
+
- sub/avm-eac_wordpress_base0/spec/spec_helper.rb
|
462
|
+
- sub/avm-eac_wordpress_base0/template/avm/eac_wordpress_base0/deploy/wp-config.php.template
|
347
463
|
- sub/avm-tools/Gemfile
|
348
464
|
- sub/avm-tools/README.textile
|
349
465
|
- sub/avm-tools/avm-tools.gemspec
|
350
466
|
- sub/avm-tools/exe/avm
|
351
467
|
- sub/avm-tools/lib/avm.rb
|
352
|
-
- sub/avm-tools/lib/avm/eac_wordpress_base0.rb
|
353
|
-
- sub/avm-tools/lib/avm/eac_wordpress_base0/apache_host.rb
|
354
|
-
- sub/avm-tools/lib/avm/eac_wordpress_base0/deploy.rb
|
355
|
-
- sub/avm-tools/lib/avm/eac_wordpress_base0/instance.rb
|
356
468
|
- sub/avm-tools/lib/avm/eac_writings_base0.rb
|
357
469
|
- sub/avm-tools/lib/avm/eac_writings_base0/apache_host.rb
|
358
470
|
- sub/avm-tools/lib/avm/eac_writings_base0/commons.rb
|
@@ -436,8 +548,6 @@ files:
|
|
436
548
|
- sub/avm-tools/lib/avm/tools/core_ext.rb
|
437
549
|
- sub/avm-tools/lib/avm/tools/runner.rb
|
438
550
|
- sub/avm-tools/lib/avm/tools/runner/app_src.rb
|
439
|
-
- sub/avm-tools/lib/avm/tools/runner/app_src/eac_asciidoctor_base0.rb
|
440
|
-
- sub/avm-tools/lib/avm/tools/runner/app_src/eac_asciidoctor_base0/build.rb
|
441
551
|
- sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0.rb
|
442
552
|
- sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/build_chapters.rb
|
443
553
|
- sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/build_single.rb
|
@@ -458,9 +568,7 @@ files:
|
|
458
568
|
- sub/avm-tools/lib/avm/tools/runner/application_stereotypes/list.rb
|
459
569
|
- sub/avm-tools/lib/avm/tools/runner/config.rb
|
460
570
|
- sub/avm-tools/lib/avm/tools/runner/config/load_path.rb
|
461
|
-
- sub/avm-tools/lib/avm/tools/runner/eac_asciidoctor_base0.rb
|
462
571
|
- sub/avm-tools/lib/avm/tools/runner/eac_webapp_base0.rb
|
463
|
-
- sub/avm-tools/lib/avm/tools/runner/eac_wordpress_base0.rb
|
464
572
|
- sub/avm-tools/lib/avm/tools/runner/eac_writings_base0.rb
|
465
573
|
- sub/avm-tools/lib/avm/tools/runner/files.rb
|
466
574
|
- sub/avm-tools/lib/avm/tools/runner/files/format.rb
|
@@ -500,8 +608,6 @@ files:
|
|
500
608
|
- sub/avm-tools/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub.rb
|
501
609
|
- sub/avm-tools/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub/version.rb
|
502
610
|
- sub/avm-tools/spec/dummy/ruby_gem_stub/ruby_gem_stub.gemspec
|
503
|
-
- sub/avm-tools/spec/lib/avm/eac_wordpress_base0/apache_host_spec.rb
|
504
|
-
- sub/avm-tools/spec/lib/avm/eac_wordpress_base0/apache_host_spec_no_ssl_content.conf
|
505
611
|
- sub/avm-tools/spec/lib/avm/launcher/context_spec.rb
|
506
612
|
- sub/avm-tools/spec/lib/avm/launcher/context_spec.yml
|
507
613
|
- sub/avm-tools/spec/lib/avm/launcher/git/base_spec.rb
|
@@ -578,23 +684,6 @@ files:
|
|
578
684
|
- sub/avm-tools/spec/spec_helper/stub_templates/stubbed_docker_server/id_rsa.pub
|
579
685
|
- sub/avm-tools/spec/spec_helper/stubbed_docker_server.rb
|
580
686
|
- sub/avm-tools/spec/spec_helper/templates.rb
|
581
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/Gemfile
|
582
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec
|
583
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0.rb
|
584
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_host.rb
|
585
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_path.rb
|
586
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/deploy.rb
|
587
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instance.rb
|
588
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb
|
589
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb
|
590
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb
|
591
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb
|
592
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner.rb
|
593
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner/build.rb
|
594
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb
|
595
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/sources/base_spec.rb
|
596
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb
|
597
|
-
- sub/avm-tools/sub/avm-eac_asciidoctor_base0/spec/spec_helper.rb
|
598
687
|
- sub/avm-tools/sub/avm-eac_postgresql_base0/Gemfile
|
599
688
|
- sub/avm-tools/sub/avm-eac_postgresql_base0/avm-eac_postgresql_base0.gemspec
|
600
689
|
- sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0.rb
|
@@ -983,7 +1072,6 @@ files:
|
|
983
1072
|
- sub/avm-tools/sub/eac_templates/spec/lib/object/template_spec_files/path/my_stub_with_template
|
984
1073
|
- sub/avm-tools/sub/eac_templates/spec/rubocop_spec.rb
|
985
1074
|
- sub/avm-tools/sub/eac_templates/spec/spec_helper.rb
|
986
|
-
- sub/avm-tools/template/avm/eac_wordpress_base0/deploy/wp-config.php.template
|
987
1075
|
- sub/avm-tools/template/avm/eac_writings_base0/commons/all.tex
|
988
1076
|
- sub/avm-tools/template/avm/eac_writings_base0/commons/ebook.tex
|
989
1077
|
- sub/avm-tools/template/avm/eac_writings_base0/commons/images.tex
|
@@ -1022,6 +1110,11 @@ files:
|
|
1022
1110
|
- sub/avm/lib/avm/docker/container.rb
|
1023
1111
|
- sub/avm/lib/avm/docker/image.rb
|
1024
1112
|
- sub/avm/lib/avm/docker/runner.rb
|
1113
|
+
- sub/avm/lib/avm/entries.rb
|
1114
|
+
- sub/avm/lib/avm/entries/auto_values.rb
|
1115
|
+
- sub/avm/lib/avm/entries/auto_values/entry.rb
|
1116
|
+
- sub/avm/lib/avm/entries/base.rb
|
1117
|
+
- sub/avm/lib/avm/entries/entry.rb
|
1025
1118
|
- sub/avm/lib/avm/executables.rb
|
1026
1119
|
- sub/avm/lib/avm/instances.rb
|
1027
1120
|
- sub/avm/lib/avm/instances/base.rb
|
@@ -1039,8 +1132,6 @@ files:
|
|
1039
1132
|
- sub/avm/lib/avm/instances/base/dockerizable.rb
|
1040
1133
|
- sub/avm/lib/avm/instances/base/entry_keys.rb
|
1041
1134
|
- sub/avm/lib/avm/instances/docker_image.rb
|
1042
|
-
- sub/avm/lib/avm/instances/entries.rb
|
1043
|
-
- sub/avm/lib/avm/instances/entry.rb
|
1044
1135
|
- sub/avm/lib/avm/instances/entry_keys.rb
|
1045
1136
|
- sub/avm/lib/avm/instances/runner.rb
|
1046
1137
|
- sub/avm/lib/avm/jobs.rb
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_webapp_base0/apache_host'
|
4
|
-
|
5
|
-
module Avm
|
6
|
-
module EacWordpressBase0
|
7
|
-
class ApacheHost < ::Avm::EacWebappBase0::ApacheHost
|
8
|
-
def document_root
|
9
|
-
instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH)
|
10
|
-
end
|
11
|
-
|
12
|
-
def extra_content
|
13
|
-
"AssignUserID #{system_user} #{system_group}"
|
14
|
-
end
|
15
|
-
|
16
|
-
def system_user
|
17
|
-
instance.read_entry('system.username')
|
18
|
-
end
|
19
|
-
|
20
|
-
def system_group
|
21
|
-
instance.read_entry('system.groupname')
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/instances/entry_keys'
|
4
|
-
require 'avm/eac_webapp_base0/instance'
|
5
|
-
|
6
|
-
module Avm
|
7
|
-
module EacWordpressBase0
|
8
|
-
class Instance < ::Avm::EacWebappBase0::Instance
|
9
|
-
FILES_UNITS = { uploads: 'wp-content/uploads', themes: 'wp-content/themes' }.freeze
|
10
|
-
|
11
|
-
def database_unit
|
12
|
-
web_url = read_entry(::Avm::Instances::EntryKeys::WEB_URL)
|
13
|
-
super.after_load do
|
14
|
-
info 'Fixing web addresses...'
|
15
|
-
run_sql(<<~SQL)
|
16
|
-
update wp_options
|
17
|
-
set option_value = '#{web_url}'
|
18
|
-
where option_name in ('siteurl', 'home')
|
19
|
-
SQL
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
@@ -1,56 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/tools/core_ext'
|
4
|
-
require 'avm/eac_asciidoctor_base0/sources/build'
|
5
|
-
require 'os'
|
6
|
-
|
7
|
-
module Avm
|
8
|
-
module Tools
|
9
|
-
class Runner
|
10
|
-
class AppSrc
|
11
|
-
class EacAsciidoctorBase0
|
12
|
-
class Build
|
13
|
-
runner_with :help do
|
14
|
-
desc 'Build the project'
|
15
|
-
arg_opt '-d', '--target-dir', 'Directory to build'
|
16
|
-
bool_opt '--open', 'Show the result.'
|
17
|
-
end
|
18
|
-
|
19
|
-
def run
|
20
|
-
start_banner
|
21
|
-
build.run
|
22
|
-
open
|
23
|
-
end
|
24
|
-
|
25
|
-
private
|
26
|
-
|
27
|
-
def build_uncached
|
28
|
-
::Avm::EacAsciidoctorBase0::Sources::Build.new(runner_context.call(:project),
|
29
|
-
target_directory: parsed.target_dir)
|
30
|
-
end
|
31
|
-
|
32
|
-
def default_target_directory
|
33
|
-
runner_context.call(:project).root.join('build')
|
34
|
-
end
|
35
|
-
|
36
|
-
def open
|
37
|
-
return unless parsed.open?
|
38
|
-
|
39
|
-
infom "Opening \"#{open_path}\"..."
|
40
|
-
::EacRubyUtils::Envs.local.command(OS.open_file_command, open_path).system!
|
41
|
-
end
|
42
|
-
|
43
|
-
def open_path
|
44
|
-
build.source_files.first.target_path
|
45
|
-
end
|
46
|
-
|
47
|
-
def start_banner
|
48
|
-
runner_context.call(:project_banner)
|
49
|
-
infov 'Target directory', build.target_directory
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_asciidoctor_base0/sources/runner'
|
4
|
-
|
5
|
-
module Avm
|
6
|
-
module Tools
|
7
|
-
class Runner
|
8
|
-
class AppSrc
|
9
|
-
class EacAsciidoctorBase0 < ::Avm::EacAsciidoctorBase0::Sources::Runner
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|