dkdeploy-typo3-cms 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +20 -0
- data/.rubocop.yml +23 -0
- data/.travis.yml +12 -0
- data/Berksfile +3 -0
- data/Berksfile.lock +66 -0
- data/CHANGELOG.md +12 -0
- data/CONTRIBUTORS.md +16 -0
- data/Gemfile +3 -0
- data/LICENSE +7 -0
- data/README.md +87 -0
- data/Rakefile +1 -0
- data/Vagrantfile +62 -0
- data/assets/dkdeploy-logo.png +0 -0
- data/config/vm/cookbooks/dkdeploy-typo3-cms/metadata.rb +12 -0
- data/config/vm/cookbooks/dkdeploy-typo3-cms/recipes/default.rb +71 -0
- data/dkdeploy-typo3-cms.gemspec +29 -0
- data/features/advanced_typo3.feature +156 -0
- data/features/caretaker_key_management.feature +36 -0
- data/features/clear_cache_on_rollback.feature +17 -0
- data/features/cli.feature +61 -0
- data/features/step_definitions/mysql.rb +75 -0
- data/features/step_definitions/typo3.rb +16 -0
- data/features/support/env.rb +11 -0
- data/features/typo3.feature +100 -0
- data/features/typoscript_upload_and_merge_config.feature +128 -0
- data/features/typoscript_upload_and_merge_pagets.feature +128 -0
- data/features/typoscript_upload_and_merge_userts.feature +128 -0
- data/features/update_database.feature +23 -0
- data/lib/capistrano/dkdeploy/typo3_cms.rb +37 -0
- data/lib/dkdeploy/typo3/cms.rb +1 -0
- data/lib/dkdeploy/typo3/cms/dsl.rb +27 -0
- data/lib/dkdeploy/typo3/cms/helpers/cli.rb +165 -0
- data/lib/dkdeploy/typo3/cms/helpers/erb.rb +25 -0
- data/lib/dkdeploy/typo3/cms/i18n.rb +111 -0
- data/lib/dkdeploy/typo3/cms/tasks/cache.rake +18 -0
- data/lib/dkdeploy/typo3/cms/tasks/caretaker_key_management.rake +60 -0
- data/lib/dkdeploy/typo3/cms/tasks/cli.rake +45 -0
- data/lib/dkdeploy/typo3/cms/tasks/typo3.rake +272 -0
- data/lib/dkdeploy/typo3/cms/tasks/typoscript.rake +288 -0
- data/lib/dkdeploy/typo3/cms/version.rb +16 -0
- data/spec/fixtures/application/Capfile +8 -0
- data/spec/fixtures/application/Gemfile +3 -0
- data/spec/fixtures/application/config/deploy.rb +8 -0
- data/spec/fixtures/application/config/deploy/dev.rb +41 -0
- data/spec/fixtures/application/htdocs/.hidden/.gitkeep +0 -0
- data/spec/fixtures/application/htdocs/catalog/index.html +1 -0
- data/spec/fixtures/application/htdocs/composer.json +24 -0
- data/spec/fixtures/application/htdocs/typo3/cli_dispatch.phpsh +2 -0
- data/spec/fixtures/application/htdocs/typo3conf/AdditionalConfiguration.php +3 -0
- data/spec/fixtures/application/htdocs/typo3conf/LocalConfiguration.php +28 -0
- data/spec/fixtures/application/htdocs/typo3conf/PackageStates.php +358 -0
- data/spec/fixtures/application/vendor/composer.phar +0 -0
- data/spec/fixtures/capistrano/configuration/additional_configuration_for_server.rb +1 -0
- data/spec/fixtures/capistrano/configuration/cli_break_after_one_run_in_release_path.rb +14 -0
- data/spec/fixtures/capistrano/configuration/cli_break_after_three_runs_in_release_path.rb +14 -0
- data/spec/fixtures/capistrano/configuration/cli_test_tasks.rb +19 -0
- data/spec/fixtures/capistrano/configuration/cli_test_tasks_with_path.rb +15 -0
- data/vendor/AdditionalConfiguration.php.erb +57 -0
- data/vendor/create_caretaker_instance_keys.php.erb +18 -0
- metadata +222 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: de0fa1b1b6b17b993e5bbfc00f3643bec583ff2e
|
4
|
+
data.tar.gz: 8d29b7c6262f3e8fb3862d9a74996844da44ebab
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c77f61659eb8293abdcfd73f7a157b4ef366a4b48822e0cc977b055797915ea9bd733106f7d49c3e651bd9e1cf8fce19d488ce0b0f84d843acec19fc43884689
|
7
|
+
data.tar.gz: 336eef634bf69f19cc13d488f3020ef7445a48c0f80d9d596a0c507314d4b732ea5a2757b96ece0516d7147dc883ed722e58508fe57987998d2bc4de45760ec8
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- 'tmp/**/*'
|
4
|
+
- 'spec/fixtures/application/htdocs/stylesheets/**/config.rb'
|
5
|
+
- 'config/**/*'
|
6
|
+
- 'Vagrantfile'
|
7
|
+
- 'vendor/**/*'
|
8
|
+
GlobalVars:
|
9
|
+
AllowedVariables: []
|
10
|
+
MethodLength:
|
11
|
+
Max: 30
|
12
|
+
LineLength:
|
13
|
+
Max: 200
|
14
|
+
SpecialGlobalVars:
|
15
|
+
Enabled: false
|
16
|
+
BracesAroundHashParameters:
|
17
|
+
Enabled: false
|
18
|
+
CyclomaticComplexity:
|
19
|
+
Max: 10
|
20
|
+
AbcSize:
|
21
|
+
Max: 25
|
22
|
+
SpaceAfterComma:
|
23
|
+
Enabled: false
|
data/.travis.yml
ADDED
data/Berksfile
ADDED
data/Berksfile.lock
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
DEPENDENCIES
|
2
|
+
dkdeploy-typo3-cms
|
3
|
+
path: config/vm/cookbooks/dkdeploy-typo3-cms
|
4
|
+
|
5
|
+
GRAPH
|
6
|
+
apache2 (3.2.2)
|
7
|
+
apt (3.0.0)
|
8
|
+
build-essential (4.0.0)
|
9
|
+
mingw (>= 0.0.0)
|
10
|
+
seven_zip (>= 0.0.0)
|
11
|
+
chef-sugar (3.3.0)
|
12
|
+
chef_handler (1.4.0)
|
13
|
+
compat_resource (12.10.1)
|
14
|
+
database (5.1.2)
|
15
|
+
postgresql (>= 1.0.0)
|
16
|
+
dkdeploy-typo3-cms (1.0.0)
|
17
|
+
apache2 (~> 3.2)
|
18
|
+
apt (~> 3.0)
|
19
|
+
database (~> 5.1)
|
20
|
+
mysql (~> 6.1)
|
21
|
+
mysql2_chef_gem (~> 1.0)
|
22
|
+
php (~> 1.9)
|
23
|
+
iis (4.1.7)
|
24
|
+
windows (>= 1.34.6)
|
25
|
+
mariadb (0.3.1)
|
26
|
+
apt (>= 0.0.0)
|
27
|
+
yum (>= 0.0.0)
|
28
|
+
yum-epel (>= 0.0.0)
|
29
|
+
mingw (1.0.0)
|
30
|
+
compat_resource (>= 0.0.0)
|
31
|
+
seven_zip (>= 0.0.0)
|
32
|
+
mysql (6.1.3)
|
33
|
+
smf (>= 0.0.0)
|
34
|
+
yum-mysql-community (>= 0.0.0)
|
35
|
+
mysql2_chef_gem (1.1.0)
|
36
|
+
build-essential (>= 0.0.0)
|
37
|
+
mariadb (>= 0.0.0)
|
38
|
+
mysql (>= 6.0)
|
39
|
+
openssl (4.4.0)
|
40
|
+
chef-sugar (>= 3.1.1)
|
41
|
+
php (1.9.0)
|
42
|
+
build-essential (>= 0.0.0)
|
43
|
+
iis (>= 0.0.0)
|
44
|
+
mysql (>= 6.0.0)
|
45
|
+
windows (>= 1.39.1)
|
46
|
+
xml (>= 0.0.0)
|
47
|
+
yum-epel (>= 0.0.0)
|
48
|
+
postgresql (4.0.6)
|
49
|
+
apt (>= 1.9.0)
|
50
|
+
build-essential (>= 0.0.0)
|
51
|
+
openssl (~> 4.0)
|
52
|
+
rbac (1.0.3)
|
53
|
+
seven_zip (2.0.0)
|
54
|
+
windows (>= 1.2.2)
|
55
|
+
smf (2.2.8)
|
56
|
+
rbac (>= 1.0.1)
|
57
|
+
windows (1.41.0)
|
58
|
+
chef_handler (>= 0.0.0)
|
59
|
+
xml (2.0.0)
|
60
|
+
build-essential (>= 0.0.0)
|
61
|
+
chef-sugar (>= 0.0.0)
|
62
|
+
yum (3.10.0)
|
63
|
+
yum-epel (0.7.0)
|
64
|
+
yum (>= 3.6.3)
|
65
|
+
yum-mysql-community (0.2.0)
|
66
|
+
yum (>= 3.2)
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# dkdeploy-typo3-cms CHANGELOG
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
This project adheres to [Semantic Versioning](http://semver.org/).
|
5
|
+
|
6
|
+
## [7.0.0] - 2017-01-16
|
7
|
+
### Summary
|
8
|
+
|
9
|
+
- first public release
|
10
|
+
|
11
|
+
[Unreleased]: https://github.com/dkdeploy/dkdeploy-typo3-cms/compare/master...develop
|
12
|
+
[7.0.0]: https://github.com/dkdeploy/dkdeploy-typo3-cms/releases/tag/v7.0.0
|
data/CONTRIBUTORS.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# dkdeploy CONTRIBUTORS
|
2
|
+
|
3
|
+
The dkdeploy core maintainers would like to recognize following contributors (in alphabetic order):
|
4
|
+
|
5
|
+
- Sascha Egerer
|
6
|
+
- Christoph Gerold
|
7
|
+
- Johannes Goslar
|
8
|
+
- Kieran Hayes
|
9
|
+
- Wilfried Irßlinger
|
10
|
+
- Thomas Jahnke
|
11
|
+
- Gleb Levitin
|
12
|
+
- Luka Lüdicke
|
13
|
+
- Nicolai Reuschling
|
14
|
+
- Lars Tode
|
15
|
+
- Timo Webler
|
16
|
+
- Mike Zaschka
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
Copyright (c) 2014-2016 dkd Internet Service GmbH, Frankfurt am Main (Germany), https://dkd.de
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
|
+
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
6
|
+
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
![dkdeploy](assets/dkdeploy-logo.png)
|
2
|
+
|
3
|
+
# Dkdeploy::Typo3::Cms
|
4
|
+
|
5
|
+
[![Build Status](https://api.travis-ci.org/dkdeploy/dkdeploy-typo3-cms.svg?branch=master)](https://travis-ci.org/repositories/dkdeploy/dkdeploy-typo3-cms)
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/dkdeploy-typo3-cms.svg)](https://badge.fury.io/rb/dkdeploy-typo3-cms) [![Inline docs](http://inch-ci.org/github/dkdeploy/dkdeploy-typo3-cms.svg?branch=master)](http://inch-ci.org/github/dkdeploy/dkdeploy-typo3-cms)
|
7
|
+
|
8
|
+
## Description
|
9
|
+
|
10
|
+
dkdeploy-typo3-cms ruby gem represents the extension of [Capistrano](http://capistranorb.com/) tasks directed to the advanced deployment process.
|
11
|
+
|
12
|
+
## Installation
|
13
|
+
|
14
|
+
Add this line to your application's `Gemfile`
|
15
|
+
|
16
|
+
gem 'dkdeploy-typo3-cms', '~> 7.0'
|
17
|
+
|
18
|
+
and then execute
|
19
|
+
|
20
|
+
bundle install
|
21
|
+
|
22
|
+
or install it yourself as
|
23
|
+
|
24
|
+
gem install dkdeploy-typo3-cms
|
25
|
+
|
26
|
+
## Usage
|
27
|
+
|
28
|
+
Run in your project root
|
29
|
+
|
30
|
+
cap install STAGES='dev,integration,testing,production'
|
31
|
+
|
32
|
+
This command will create the following Capistrano file structure with all the standard pre-configured constants.
|
33
|
+
Please be aware of the difference to the [native installation](http://capistranorb.com/documentation/getting-started/preparing-your-application/) of Capistrano.
|
34
|
+
Certainly you have to adjust `config/deploy.rb` and respective stages and customize them for your needs.
|
35
|
+
|
36
|
+
<pre>
|
37
|
+
├── Capfile
|
38
|
+
└── config
|
39
|
+
├── deploy
|
40
|
+
│ ├── dev.rb
|
41
|
+
│ ├── integration.rb
|
42
|
+
│ ├── testing.rb
|
43
|
+
│ └── production.rb
|
44
|
+
└── deploy.rb
|
45
|
+
</pre>
|
46
|
+
|
47
|
+
As next you have to append the following line to the `Capfile` in order to make use of dkdeploy extensions in addition to the standard Capistrano tasks:
|
48
|
+
|
49
|
+
require 'capistrano/dkdeploy/typo3-cms'
|
50
|
+
|
51
|
+
To convince yourself, that Capistrano tasks list has benn extended, please run
|
52
|
+
|
53
|
+
cap -vT
|
54
|
+
|
55
|
+
Please note, that dkdeploy uses the local copy strategy and overwrites the `:scm` constant. If you want to use it,
|
56
|
+
you should do nothing more. However if you want to change it for example to `:git`, please add the following line to `deploy.rb`
|
57
|
+
|
58
|
+
set :scm, :git
|
59
|
+
|
60
|
+
For more information about available Capistrano constants please use the [Capistrano documentation](http://capistranorb.com/documentation/getting-started/preparing-your-application/).
|
61
|
+
The complete list of the dkdeploy constants you find in `/lib/capistrano/dkdeploy` in # TODO: set link
|
62
|
+
|
63
|
+
## Testing
|
64
|
+
|
65
|
+
### Prerequisite
|
66
|
+
|
67
|
+
Add the virtual box alias to your `hosts` file
|
68
|
+
|
69
|
+
192.168.156.183 dkdeploy-typo3-cms.dev
|
70
|
+
|
71
|
+
### Running tests
|
72
|
+
|
73
|
+
1. Start the local box (`vagrant up --provision`)
|
74
|
+
2. Check coding styles (`rubocop`)
|
75
|
+
3. Run BDD cucumber tests (`cucumber`)
|
76
|
+
|
77
|
+
## Contributing
|
78
|
+
|
79
|
+
1. Install [git flow](https://github.com/nvie/gitflow)
|
80
|
+
2. Install [Homebrew](http://brew.sh/) and run `brew install mysql-connector-c`
|
81
|
+
3. If project is not checked out already do git clone `git@github.com:dkdeploy/dkdeploy-typo3-cms.git`
|
82
|
+
4. Checkout origin develop branch (`git checkout --track -b develop origin/develop`)
|
83
|
+
5. Git flow initialize `git flow init -d`
|
84
|
+
6. Installing gems `bundle install`
|
85
|
+
7. Create new feature branch (`git flow feature start my-new-feature`)
|
86
|
+
8. Run tests (README.md Testing)
|
87
|
+
9. Commit your changes (`git commit -am 'Add some feature'`)
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
data/Vagrantfile
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
unless Vagrant.has_plugin?('vagrant-berkshelf')
|
2
|
+
puts "Please install vagrant plugin vagrant-berkshelfs first\n"
|
3
|
+
puts " vagrant plugin install vagrant-berkshelf\n\n"
|
4
|
+
puts "Exit vagrant\n\n"
|
5
|
+
abort
|
6
|
+
end
|
7
|
+
|
8
|
+
unless Vagrant.has_plugin?('vagrant-omnibus')
|
9
|
+
puts "Please install vagrant plugin vagrant-omnibus first\n"
|
10
|
+
puts " vagrant plugin install vagrant-omnibus\n\n"
|
11
|
+
puts "Exit vagrant\n\n"
|
12
|
+
abort
|
13
|
+
end
|
14
|
+
|
15
|
+
chef_version = '12.9.41'
|
16
|
+
|
17
|
+
Vagrant.require_version '>= 1.8.1'
|
18
|
+
|
19
|
+
Vagrant.configure('2') do |config|
|
20
|
+
domain = 'dkdeploy-typo3-cms.dev'
|
21
|
+
ip_address = '192.168.156.183'
|
22
|
+
|
23
|
+
config.vm.box = 'ubuntu/trusty64'
|
24
|
+
config.vm.box_check_update = false
|
25
|
+
|
26
|
+
config.berkshelf.enabled = true
|
27
|
+
config.omnibus.chef_version = chef_version
|
28
|
+
|
29
|
+
config.vm.define 'dkdeploy-typo3-cms', primary: true do |master_config|
|
30
|
+
master_config.vm.network 'private_network', ip: ip_address
|
31
|
+
master_config.vm.provision :chef_solo do |chef|
|
32
|
+
chef.install = false # omnibus does it already
|
33
|
+
chef.version = chef_version
|
34
|
+
chef.log_level = :info
|
35
|
+
chef.add_recipe 'dkdeploy-typo3-cms'
|
36
|
+
|
37
|
+
# Specify custom JSON attributes:
|
38
|
+
chef.json = { apache: { mpm: 'prefork' } }
|
39
|
+
end
|
40
|
+
|
41
|
+
# Memory limit and name of VirtualBox
|
42
|
+
master_config.vm.provider 'virtualbox' do |virtualbox|
|
43
|
+
virtualbox.gui = ENV['ENABLE_GUI_MODE'] && ENV['ENABLE_GUI_MODE'] =~ /^(true|yes|y|1)$/i
|
44
|
+
virtualbox.customize [
|
45
|
+
'modifyvm', :id,
|
46
|
+
'--natdnsproxy1', 'off',
|
47
|
+
'--natdnshostresolver1', 'on',
|
48
|
+
'--memory', '1024',
|
49
|
+
'--name', 'dkdeploy-typo3-cms'
|
50
|
+
]
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
if Vagrant.has_plugin?('landrush')
|
55
|
+
config.landrush.enabled = true
|
56
|
+
config.landrush.guest_redirect_dns = false
|
57
|
+
config.landrush.tld = 'dev'
|
58
|
+
config.landrush.host domain, ip_address
|
59
|
+
else
|
60
|
+
config.vm.post_up_message = "Either install Vagrant plugin 'landrush' or add this entry to your host file: #{ip_address} #{domain}"
|
61
|
+
end
|
62
|
+
end
|
Binary file
|
@@ -0,0 +1,12 @@
|
|
1
|
+
name 'dkdeploy-typo3-cms'
|
2
|
+
maintainer 'dkd Internet Service GmbH'
|
3
|
+
license 'MIT'
|
4
|
+
description 'Project cookbook'
|
5
|
+
version '1.0'
|
6
|
+
|
7
|
+
depends 'mysql', '~> 6.1'
|
8
|
+
depends 'mysql2_chef_gem', '~> 1.0'
|
9
|
+
depends 'database', '~> 5.1'
|
10
|
+
depends 'apache2', '~> 3.2'
|
11
|
+
depends 'php', '~> 1.9'
|
12
|
+
depends 'apt', '~> 3.0' # version 2.9 is causing dependency issues
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# update apt packages
|
2
|
+
include_recipe 'apt'
|
3
|
+
|
4
|
+
# Create unix user for tests
|
5
|
+
user 'test-user' do
|
6
|
+
action :create
|
7
|
+
end
|
8
|
+
|
9
|
+
group 'test-group' do
|
10
|
+
action :create
|
11
|
+
append true
|
12
|
+
members 'test-user'
|
13
|
+
end
|
14
|
+
|
15
|
+
group 'www-data' do
|
16
|
+
action :create
|
17
|
+
append true
|
18
|
+
members 'vagrant'
|
19
|
+
end
|
20
|
+
|
21
|
+
# PHP
|
22
|
+
include_recipe 'php'
|
23
|
+
include_recipe 'php::module_mysql'
|
24
|
+
|
25
|
+
# Apache
|
26
|
+
include_recipe 'apache2'
|
27
|
+
include_recipe 'apache2::mod_php5'
|
28
|
+
|
29
|
+
# install apache2-utils. It is needed for the assets:add_htpasswd task
|
30
|
+
package 'apache2-utils' do
|
31
|
+
action :install
|
32
|
+
end
|
33
|
+
|
34
|
+
mysql_service 'default' do
|
35
|
+
port '3306'
|
36
|
+
# Need for remote connection
|
37
|
+
bind_address '0.0.0.0'
|
38
|
+
action [:create, :start]
|
39
|
+
end
|
40
|
+
|
41
|
+
mysql2_chef_gem 'default' do
|
42
|
+
action :install
|
43
|
+
end
|
44
|
+
|
45
|
+
mysql_connection_info = {
|
46
|
+
host: '127.0.0.1',
|
47
|
+
username: 'root',
|
48
|
+
password: 'ilikerandompasswords'
|
49
|
+
}
|
50
|
+
|
51
|
+
mysql_database_user 'root' do
|
52
|
+
connection mysql_connection_info
|
53
|
+
password 'ilikerandompasswords'
|
54
|
+
host '%'
|
55
|
+
action :create
|
56
|
+
privileges [:all]
|
57
|
+
action :grant
|
58
|
+
end
|
59
|
+
|
60
|
+
mysql_database 'dkdeploy_typo3_cms' do
|
61
|
+
action :create
|
62
|
+
# password node['mysql']['server_root_password']
|
63
|
+
connection mysql_connection_info
|
64
|
+
end
|
65
|
+
|
66
|
+
directory '/var/www/' do
|
67
|
+
owner 'vagrant' # deployment is done by vagrant user
|
68
|
+
group 'www-data' # apache2 is executed by www-data and needs access to directory
|
69
|
+
mode '0770'
|
70
|
+
action :create
|
71
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'dkdeploy/typo3/cms/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'dkdeploy-typo3-cms'
|
8
|
+
spec.version = Dkdeploy::Typo3::Cms::Version
|
9
|
+
spec.authors = ['Kieran Hayes', 'Timo Webler', 'Nicolai Reuschling', 'Luka Lüdicke']
|
10
|
+
spec.email = %w(kieran.hayes@dkd.de timo.webler@dkd.de nicolai.reuschling@dkd.de luka.luedicke@dkd.de)
|
11
|
+
spec.description = 'dkd TYPO3 deployment tasks and strategies'
|
12
|
+
spec.summary = 'dkd TYPO3 deployment tasks and strategies'
|
13
|
+
spec.homepage = 'https://github.com/dkdeploy/dkdeploy-typo3-cms'
|
14
|
+
spec.required_ruby_version = '~> 2.1'
|
15
|
+
spec.license = 'MIT'
|
16
|
+
|
17
|
+
spec.files = `git ls-files`.split($/)
|
18
|
+
spec.executables = spec.files.grep(%r{^bin\/}) { |f| File.basename(f) }
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)\/})
|
20
|
+
spec.require_paths = ['lib']
|
21
|
+
|
22
|
+
spec.add_development_dependency 'bundler', '~> 1.12.5'
|
23
|
+
spec.add_development_dependency 'rake', '~> 11.2'
|
24
|
+
spec.add_development_dependency 'rubocop', '~> 0.46'
|
25
|
+
spec.add_development_dependency 'dkdeploy-test_environment', '~> 1.0'
|
26
|
+
|
27
|
+
spec.add_dependency 'dkdeploy-php', '~> 7.0'
|
28
|
+
spec.add_dependency 'phpass-ruby', '~> 0.1'
|
29
|
+
end
|