dkdeploy-typo3-cms 7.0.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +3 -0
  3. data/.rubocop.yml +8 -0
  4. data/.travis.yml +3 -2
  5. data/Berksfile.lock +33 -41
  6. data/CHANGELOG.md +18 -0
  7. data/LICENSE +1 -1
  8. data/README.md +5 -5
  9. data/Vagrantfile +7 -14
  10. data/config/vm/cookbooks/dkdeploy-typo3-cms/metadata.rb +3 -3
  11. data/config/vm/cookbooks/dkdeploy-typo3-cms/recipes/default.rb +3 -3
  12. data/dkdeploy-typo3-cms.gemspec +10 -8
  13. data/features/cli.feature +24 -33
  14. data/features/step_definitions/mysql.rb +6 -4
  15. data/features/step_definitions/typo3.rb +1 -5
  16. data/features/support/env.rb +8 -1
  17. data/features/typo3.feature +38 -1
  18. data/lib/capistrano/dkdeploy/typo3_cms.rb +60 -3
  19. data/lib/dkdeploy/typo3/cms/helpers/cli.rb +4 -4
  20. data/lib/dkdeploy/typo3/cms/helpers/mysql.rb +26 -0
  21. data/lib/dkdeploy/typo3/cms/tasks/cache.rake +1 -1
  22. data/lib/dkdeploy/typo3/cms/tasks/caretaker_key_management.rake +1 -1
  23. data/lib/dkdeploy/typo3/cms/tasks/cli.rake +0 -18
  24. data/lib/dkdeploy/typo3/cms/tasks/typo3.rake +19 -11
  25. data/lib/dkdeploy/typo3/cms/version.rb +1 -1
  26. data/spec/fixtures/application/config/deploy.rb +5 -0
  27. data/spec/fixtures/application/config/deploy/dev.rb +4 -4
  28. data/spec/fixtures/application/htdocs/catalog/variable_injection_test.phpsh +2 -0
  29. data/spec/fixtures/application/htdocs/composer.json +3 -3
  30. data/spec/fixtures/application/htdocs/composer.lock +1888 -0
  31. data/spec/fixtures/application/htdocs/typo3conf/LocalConfiguration.php +1 -0
  32. data/spec/fixtures/capistrano/configuration/additional_configuration_for_server.rb +1 -1
  33. data/spec/fixtures/capistrano/configuration/cli_test_tasks_variable_injection.rb +5 -0
  34. data/spec/fixtures/capistrano/configuration/cli_test_tasks_with_path.rb +6 -0
  35. metadata +65 -18
  36. data/spec/fixtures/application/htdocs/typo3/cli_dispatch.phpsh +0 -2
@@ -24,5 +24,6 @@ return [
24
24
  'systemLog' => 'error_log,,0',
25
25
  't3lib_cs_convMethod' => 'mbstring',
26
26
  't3lib_cs_utils' => 'mbstring',
27
+ 'encryptionKey' => 'iamarandompw'
27
28
  ],
28
29
  ];
@@ -1 +1 @@
1
- server 'dkdeploy-typo3-cms.dev', roles: %w(web app), additional_configuration_file: 'config/typo3/ServerConfiguration.php'
1
+ server 'dkdeploy-typo3-cms.dev', roles: %w[web app], additional_configuration_file: 'config/typo3/ServerConfiguration.php'
@@ -0,0 +1,5 @@
1
+ set :path_to_typo3_cli, File.join('catalog', 'variable_injection_test.phpsh')
2
+
3
+ set :typo3_environment_cli, {
4
+ CUSTOM_VARIABLE: 1
5
+ }
@@ -12,4 +12,10 @@ namespace :typo3 do
12
12
  end
13
13
  end
14
14
 
15
+ set :path_to_typo3_cli, File.join('catalog', 'variable_injection_test.phpsh')
16
+
17
+ set :typo3_environment_cli, {
18
+ CUSTOM_VARIABLE: 1
19
+ }
20
+
15
21
  before 'deploy:publishing', 'typo3:cms:cli:run_in_release_path' # with this release_path is defined for the rake task during runtime
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dkdeploy-typo3-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kieran Hayes
@@ -11,78 +11,120 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-01-16 00:00:00.000000000 Z
14
+ date: 2018-02-09 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  requirements:
20
- - - "~>"
20
+ - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.12.5
22
+ version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 1.12.5
29
+ version: '0'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ - !ruby/object:Gem::Dependency
45
+ name: cucumber
32
46
  requirement: !ruby/object:Gem::Requirement
33
47
  requirements:
34
48
  - - "~>"
35
49
  - !ruby/object:Gem::Version
36
- version: '11.2'
50
+ version: '2.4'
37
51
  type: :development
38
52
  prerelease: false
39
53
  version_requirements: !ruby/object:Gem::Requirement
40
54
  requirements:
41
55
  - - "~>"
42
56
  - !ruby/object:Gem::Version
43
- version: '11.2'
57
+ version: '2.4'
44
58
  - !ruby/object:Gem::Dependency
45
59
  name: rubocop
60
+ requirement: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - '='
63
+ - !ruby/object:Gem::Version
64
+ version: 0.50.0
65
+ type: :development
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - '='
70
+ - !ruby/object:Gem::Version
71
+ version: 0.50.0
72
+ - !ruby/object:Gem::Dependency
73
+ name: aruba
74
+ requirement: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - "~>"
77
+ - !ruby/object:Gem::Version
78
+ version: 0.14.1
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: 0.14.1
86
+ - !ruby/object:Gem::Dependency
87
+ name: mysql2
46
88
  requirement: !ruby/object:Gem::Requirement
47
89
  requirements:
48
90
  - - "~>"
49
91
  - !ruby/object:Gem::Version
50
- version: '0.46'
92
+ version: '0.3'
51
93
  type: :development
52
94
  prerelease: false
53
95
  version_requirements: !ruby/object:Gem::Requirement
54
96
  requirements:
55
97
  - - "~>"
56
98
  - !ruby/object:Gem::Version
57
- version: '0.46'
99
+ version: '0.3'
58
100
  - !ruby/object:Gem::Dependency
59
101
  name: dkdeploy-test_environment
60
102
  requirement: !ruby/object:Gem::Requirement
61
103
  requirements:
62
104
  - - "~>"
63
105
  - !ruby/object:Gem::Version
64
- version: '1.0'
106
+ version: '2.0'
65
107
  type: :development
66
108
  prerelease: false
67
109
  version_requirements: !ruby/object:Gem::Requirement
68
110
  requirements:
69
111
  - - "~>"
70
112
  - !ruby/object:Gem::Version
71
- version: '1.0'
113
+ version: '2.0'
72
114
  - !ruby/object:Gem::Dependency
73
115
  name: dkdeploy-php
74
116
  requirement: !ruby/object:Gem::Requirement
75
117
  requirements:
76
118
  - - "~>"
77
119
  - !ruby/object:Gem::Version
78
- version: '7.0'
120
+ version: '8.0'
79
121
  type: :runtime
80
122
  prerelease: false
81
123
  version_requirements: !ruby/object:Gem::Requirement
82
124
  requirements:
83
125
  - - "~>"
84
126
  - !ruby/object:Gem::Version
85
- version: '7.0'
127
+ version: '8.0'
86
128
  - !ruby/object:Gem::Dependency
87
129
  name: phpass-ruby
88
130
  requirement: !ruby/object:Gem::Requirement
@@ -140,6 +182,7 @@ files:
140
182
  - lib/dkdeploy/typo3/cms/dsl.rb
141
183
  - lib/dkdeploy/typo3/cms/helpers/cli.rb
142
184
  - lib/dkdeploy/typo3/cms/helpers/erb.rb
185
+ - lib/dkdeploy/typo3/cms/helpers/mysql.rb
143
186
  - lib/dkdeploy/typo3/cms/i18n.rb
144
187
  - lib/dkdeploy/typo3/cms/tasks/cache.rake
145
188
  - lib/dkdeploy/typo3/cms/tasks/caretaker_key_management.rake
@@ -153,8 +196,9 @@ files:
153
196
  - spec/fixtures/application/config/deploy/dev.rb
154
197
  - spec/fixtures/application/htdocs/.hidden/.gitkeep
155
198
  - spec/fixtures/application/htdocs/catalog/index.html
199
+ - spec/fixtures/application/htdocs/catalog/variable_injection_test.phpsh
156
200
  - spec/fixtures/application/htdocs/composer.json
157
- - spec/fixtures/application/htdocs/typo3/cli_dispatch.phpsh
201
+ - spec/fixtures/application/htdocs/composer.lock
158
202
  - spec/fixtures/application/htdocs/typo3conf/AdditionalConfiguration.php
159
203
  - spec/fixtures/application/htdocs/typo3conf/LocalConfiguration.php
160
204
  - spec/fixtures/application/htdocs/typo3conf/PackageStates.php
@@ -163,6 +207,7 @@ files:
163
207
  - spec/fixtures/capistrano/configuration/cli_break_after_one_run_in_release_path.rb
164
208
  - spec/fixtures/capistrano/configuration/cli_break_after_three_runs_in_release_path.rb
165
209
  - spec/fixtures/capistrano/configuration/cli_test_tasks.rb
210
+ - spec/fixtures/capistrano/configuration/cli_test_tasks_variable_injection.rb
166
211
  - spec/fixtures/capistrano/configuration/cli_test_tasks_with_path.rb
167
212
  - vendor/AdditionalConfiguration.php.erb
168
213
  - vendor/create_caretaker_instance_keys.php.erb
@@ -178,7 +223,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
178
223
  requirements:
179
224
  - - "~>"
180
225
  - !ruby/object:Gem::Version
181
- version: '2.1'
226
+ version: '2.2'
182
227
  required_rubygems_version: !ruby/object:Gem::Requirement
183
228
  requirements:
184
229
  - - ">="
@@ -186,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
231
  version: '0'
187
232
  requirements: []
188
233
  rubyforge_project:
189
- rubygems_version: 2.6.8
234
+ rubygems_version: 2.7.5
190
235
  signing_key:
191
236
  specification_version: 4
192
237
  summary: dkd TYPO3 deployment tasks and strategies
@@ -209,8 +254,9 @@ test_files:
209
254
  - spec/fixtures/application/config/deploy/dev.rb
210
255
  - spec/fixtures/application/htdocs/.hidden/.gitkeep
211
256
  - spec/fixtures/application/htdocs/catalog/index.html
257
+ - spec/fixtures/application/htdocs/catalog/variable_injection_test.phpsh
212
258
  - spec/fixtures/application/htdocs/composer.json
213
- - spec/fixtures/application/htdocs/typo3/cli_dispatch.phpsh
259
+ - spec/fixtures/application/htdocs/composer.lock
214
260
  - spec/fixtures/application/htdocs/typo3conf/AdditionalConfiguration.php
215
261
  - spec/fixtures/application/htdocs/typo3conf/LocalConfiguration.php
216
262
  - spec/fixtures/application/htdocs/typo3conf/PackageStates.php
@@ -219,4 +265,5 @@ test_files:
219
265
  - spec/fixtures/capistrano/configuration/cli_break_after_one_run_in_release_path.rb
220
266
  - spec/fixtures/capistrano/configuration/cli_break_after_three_runs_in_release_path.rb
221
267
  - spec/fixtures/capistrano/configuration/cli_test_tasks.rb
268
+ - spec/fixtures/capistrano/configuration/cli_test_tasks_variable_injection.rb
222
269
  - spec/fixtures/capistrano/configuration/cli_test_tasks_with_path.rb
@@ -1,2 +0,0 @@
1
- <?php
2
- echo "TYPO3_COMPOSER_AUTOLOAD=" . getenv("TYPO3_COMPOSER_AUTOLOAD");