forkcms_deploy 4.2.0 → 4.4.5
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.
- checksums.yaml +5 -5
- data/Gemfile +4 -0
- data/Gemfile.lock +63 -0
- data/VERSION +1 -1
- data/forkcms_deploy.gemspec +21 -16
- data/lib/forkcms_deploy/defaults.rb +3 -1
- data/lib/forkcms_deploy/forkcms_3.4.rb +2 -2
- data/lib/forkcms_deploy/forkcms_3.rb +1 -1
- metadata +22 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 7f6badb5e236b8e42608ae0aa58861de41c42b3dcd01b19bc686bc583290729e
|
|
4
|
+
data.tar.gz: c82e0c934bf61c89df7d9be1ee9384f3be7b6d292e8e0407559c7261089e5c2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f31d6fd426fbc4f1feefe64dfea2ab9458e95e3cba6c7b2ab33449e24912bf051495fdd7648bf14176e536d850631f60f73970df8b8a895c961a32bd7fd75cc5
|
|
7
|
+
data.tar.gz: 2904255e81006e4230ef51bdfbcd380be0543d048093712eeb458772f914ed96b0230af8c074f1ee4454dc9ffd623b341c2c095d36d8394f19a13a0b48b8c980
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
GEM
|
|
2
|
+
remote: https://rubygems.org/
|
|
3
|
+
specs:
|
|
4
|
+
addressable (2.4.0)
|
|
5
|
+
builder (3.2.4)
|
|
6
|
+
descendants_tracker (0.0.4)
|
|
7
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
|
8
|
+
faraday (0.9.2)
|
|
9
|
+
multipart-post (>= 1.2, < 3)
|
|
10
|
+
git (1.8.1)
|
|
11
|
+
rchardet (~> 1.8)
|
|
12
|
+
github_api (0.16.0)
|
|
13
|
+
addressable (~> 2.4.0)
|
|
14
|
+
descendants_tracker (~> 0.0.4)
|
|
15
|
+
faraday (~> 0.8, < 0.10)
|
|
16
|
+
hashie (>= 3.4)
|
|
17
|
+
mime-types (>= 1.16, < 3.0)
|
|
18
|
+
oauth2 (~> 1.0)
|
|
19
|
+
hashie (4.1.0)
|
|
20
|
+
highline (2.0.3)
|
|
21
|
+
jeweler (2.3.9)
|
|
22
|
+
builder
|
|
23
|
+
bundler
|
|
24
|
+
git (>= 1.2.5)
|
|
25
|
+
github_api (~> 0.16.0)
|
|
26
|
+
highline (>= 1.6.15)
|
|
27
|
+
nokogiri (>= 1.5.10)
|
|
28
|
+
psych
|
|
29
|
+
rake
|
|
30
|
+
rdoc
|
|
31
|
+
semver2
|
|
32
|
+
jwt (2.2.2)
|
|
33
|
+
mime-types (2.99.3)
|
|
34
|
+
mini_portile2 (2.5.1)
|
|
35
|
+
multi_json (1.15.0)
|
|
36
|
+
multi_xml (0.6.0)
|
|
37
|
+
multipart-post (2.1.1)
|
|
38
|
+
nokogiri (1.11.4)
|
|
39
|
+
mini_portile2 (~> 2.5.0)
|
|
40
|
+
racc (~> 1.4)
|
|
41
|
+
oauth2 (1.4.4)
|
|
42
|
+
faraday (>= 0.8, < 2.0)
|
|
43
|
+
jwt (>= 1.0, < 3.0)
|
|
44
|
+
multi_json (~> 1.3)
|
|
45
|
+
multi_xml (~> 0.5)
|
|
46
|
+
rack (>= 1.2, < 3)
|
|
47
|
+
psych (3.3.0)
|
|
48
|
+
racc (1.5.2)
|
|
49
|
+
rack (2.2.3)
|
|
50
|
+
rake (13.0.3)
|
|
51
|
+
rchardet (1.8.0)
|
|
52
|
+
rdoc (6.3.0)
|
|
53
|
+
semver2 (3.4.2)
|
|
54
|
+
thread_safe (0.3.6)
|
|
55
|
+
|
|
56
|
+
PLATFORMS
|
|
57
|
+
ruby
|
|
58
|
+
|
|
59
|
+
DEPENDENCIES
|
|
60
|
+
jeweler
|
|
61
|
+
|
|
62
|
+
BUNDLED WITH
|
|
63
|
+
2.2.4
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.
|
|
1
|
+
4.4.5
|
data/forkcms_deploy.gemspec
CHANGED
|
@@ -2,22 +2,24 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: forkcms_deploy 4.
|
|
5
|
+
# stub: forkcms_deploy 4.4.5 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
|
-
s.name = "forkcms_deploy"
|
|
9
|
-
s.version = "4.
|
|
8
|
+
s.name = "forkcms_deploy".freeze
|
|
9
|
+
s.version = "4.4.5"
|
|
10
10
|
|
|
11
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
|
-
s.require_paths = ["lib"]
|
|
13
|
-
s.authors = ["Tijs Verkoyen", "Jan De Poorter", "Sam Tubbax", "Wouter Sioen"]
|
|
14
|
-
s.date = "
|
|
15
|
-
s.description = "Deployment for ForkCMS with Capistrano"
|
|
16
|
-
s.email = "info@sumocoders.be"
|
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
|
+
s.require_paths = ["lib".freeze]
|
|
13
|
+
s.authors = ["Tijs Verkoyen".freeze, "Jan De Poorter".freeze, "Sam Tubbax".freeze, "Wouter Sioen".freeze]
|
|
14
|
+
s.date = "2021-05-25"
|
|
15
|
+
s.description = "Deployment for ForkCMS with Capistrano".freeze
|
|
16
|
+
s.email = "info@sumocoders.be".freeze
|
|
17
17
|
s.extra_rdoc_files = [
|
|
18
18
|
"README.md"
|
|
19
19
|
]
|
|
20
20
|
s.files = [
|
|
21
|
+
"Gemfile",
|
|
22
|
+
"Gemfile.lock",
|
|
21
23
|
"README.md",
|
|
22
24
|
"Rakefile",
|
|
23
25
|
"VERSION",
|
|
@@ -38,21 +40,24 @@ Gem::Specification.new do |s|
|
|
|
38
40
|
"lib/maintenance/index.html",
|
|
39
41
|
"test/test_forkcms_deploy.rb"
|
|
40
42
|
]
|
|
41
|
-
s.homepage = "https://github.com/sumocoders/forkcms_deploy"
|
|
42
|
-
s.licenses = ["MIT"]
|
|
43
|
-
s.rubygems_version = "
|
|
44
|
-
s.summary = "Deployment for ForkCMS with Capistrano"
|
|
43
|
+
s.homepage = "https://github.com/sumocoders/forkcms_deploy".freeze
|
|
44
|
+
s.licenses = ["MIT".freeze]
|
|
45
|
+
s.rubygems_version = "3.0.8".freeze
|
|
46
|
+
s.summary = "Deployment for ForkCMS with Capistrano".freeze
|
|
45
47
|
|
|
46
48
|
if s.respond_to? :specification_version then
|
|
47
49
|
s.specification_version = 4
|
|
48
50
|
|
|
49
51
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
50
|
-
s.add_runtime_dependency(%q<
|
|
52
|
+
s.add_runtime_dependency(%q<jeweler>.freeze, [">= 0"])
|
|
53
|
+
s.add_runtime_dependency(%q<capistrano>.freeze, [">= 2.0.0"])
|
|
51
54
|
else
|
|
52
|
-
s.add_dependency(%q<
|
|
55
|
+
s.add_dependency(%q<jeweler>.freeze, [">= 0"])
|
|
56
|
+
s.add_dependency(%q<capistrano>.freeze, [">= 2.0.0"])
|
|
53
57
|
end
|
|
54
58
|
else
|
|
55
|
-
s.add_dependency(%q<
|
|
59
|
+
s.add_dependency(%q<jeweler>.freeze, [">= 0"])
|
|
60
|
+
s.add_dependency(%q<capistrano>.freeze, [">= 2.0.0"])
|
|
56
61
|
end
|
|
57
62
|
end
|
|
58
63
|
|
|
@@ -16,6 +16,8 @@ configuration.load do
|
|
|
16
16
|
# 3 releases should be enough.
|
|
17
17
|
_cset(:keep_releases) { 3 }
|
|
18
18
|
|
|
19
|
+
_cset(:php_bin) { "php" }
|
|
20
|
+
|
|
19
21
|
# remote caching will keep a local git repo on the server you're deploying to and simply run a fetch from that
|
|
20
22
|
# rather than an entire clone. This is probably the best option and will only fetch the differences each deploy
|
|
21
23
|
_cset(:deploy_via) { remote_cache }
|
|
@@ -29,4 +31,4 @@ configuration.load do
|
|
|
29
31
|
# set version control type and copy strategy
|
|
30
32
|
set :scm, :git
|
|
31
33
|
set :copy_strategy, :checkout
|
|
32
|
-
end
|
|
34
|
+
end
|
|
@@ -13,14 +13,14 @@ configuration.load do
|
|
|
13
13
|
composer.install_composer
|
|
14
14
|
run %{
|
|
15
15
|
cd #{latest_release} &&
|
|
16
|
-
|
|
16
|
+
#{php_bin} -d 'suhosin.executor.include.whitelist = phar' -d 'date.timezone = UTC' #{shared_path}/composer.phar install -o --no-dev
|
|
17
17
|
}
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
desc 'Install composer'
|
|
21
21
|
task :install_composer do
|
|
22
22
|
run %{
|
|
23
|
-
if [ ! -e #{shared_path}/composer.phar ]; then cd #{shared_path}; curl -ks https://getcomposer.org/installer |
|
|
23
|
+
if [ ! -e #{shared_path}/composer.phar ]; then cd #{shared_path}; curl -ks https://getcomposer.org/installer | #{php_bin} -d 'suhosin.executor.include.whitelist = phar' -d 'date.timezone = UTC'; fi
|
|
24
24
|
}
|
|
25
25
|
end
|
|
26
26
|
end
|
|
@@ -255,7 +255,7 @@ configuration.load do
|
|
|
255
255
|
run "touch #{document_root}/php-opcache-reset.php"
|
|
256
256
|
# clearstatcache(true) will clear the file stats cache and the realpath cache
|
|
257
257
|
# opache_reset will clear the opcache if this is available
|
|
258
|
-
run "echo \"<?php clearstatcache(true); if (function_exists('
|
|
258
|
+
run "echo \"<?php clearstatcache(true); if (function_exists('opcache_reset')) { opcache_reset(); }\" > #{document_root}/php-opcache-reset.php"
|
|
259
259
|
run %{ curl #{url}/php-opcache-reset.php }
|
|
260
260
|
run "rm #{document_root}/php-opcache-reset.php"
|
|
261
261
|
end
|
metadata
CHANGED
|
@@ -1,18 +1,32 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: forkcms_deploy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.4.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tijs Verkoyen
|
|
8
8
|
- Jan De Poorter
|
|
9
9
|
- Sam Tubbax
|
|
10
10
|
- Wouter Sioen
|
|
11
|
-
autorequire:
|
|
11
|
+
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date:
|
|
14
|
+
date: 2021-05-25 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
|
+
- !ruby/object:Gem::Dependency
|
|
17
|
+
name: jeweler
|
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
|
19
|
+
requirements:
|
|
20
|
+
- - ">="
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '0'
|
|
23
|
+
type: :runtime
|
|
24
|
+
prerelease: false
|
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
+
requirements:
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '0'
|
|
16
30
|
- !ruby/object:Gem::Dependency
|
|
17
31
|
name: capistrano
|
|
18
32
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -34,6 +48,8 @@ extensions: []
|
|
|
34
48
|
extra_rdoc_files:
|
|
35
49
|
- README.md
|
|
36
50
|
files:
|
|
51
|
+
- Gemfile
|
|
52
|
+
- Gemfile.lock
|
|
37
53
|
- README.md
|
|
38
54
|
- Rakefile
|
|
39
55
|
- VERSION
|
|
@@ -57,7 +73,7 @@ homepage: https://github.com/sumocoders/forkcms_deploy
|
|
|
57
73
|
licenses:
|
|
58
74
|
- MIT
|
|
59
75
|
metadata: {}
|
|
60
|
-
post_install_message:
|
|
76
|
+
post_install_message:
|
|
61
77
|
rdoc_options: []
|
|
62
78
|
require_paths:
|
|
63
79
|
- lib
|
|
@@ -72,9 +88,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
72
88
|
- !ruby/object:Gem::Version
|
|
73
89
|
version: '0'
|
|
74
90
|
requirements: []
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
signing_key:
|
|
91
|
+
rubygems_version: 3.0.8
|
|
92
|
+
signing_key:
|
|
78
93
|
specification_version: 4
|
|
79
94
|
summary: Deployment for ForkCMS with Capistrano
|
|
80
95
|
test_files: []
|