forkcms_deploy 4.4.1 → 4.4.6
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.lock +37 -35
- data/VERSION +1 -1
- data/forkcms_deploy.gemspec +8 -11
- data/lib/forkcms_deploy/forkcms_3.rb +4 -16
- metadata +6 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 3796651f483a11c99b316820d8f51d23507eaaa0080ec5b18750a21a3d466f5f
|
|
4
|
+
data.tar.gz: 6105280febb2dd5cb9c7e3a994ac1e1665719d5548a79ca99e17bbc3605728cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 80d97b433253b2859bc0ea6efa00fd709e3522b30de17f42f68a388dc4e9369f5fe8fb918045146437d8042a5773a04b0c9fbcaddd13c163b894adf35ba563d1
|
|
7
|
+
data.tar.gz: b940286598664c4e050848568ae105661a3f63b64ab755488a0d12bf63b57303c17583ccb2bb6305388c3318c91f650d2c64d34042474148f260bce4d3f3a7b9
|
data/Gemfile.lock
CHANGED
|
@@ -1,55 +1,57 @@
|
|
|
1
1
|
GEM
|
|
2
2
|
remote: https://rubygems.org/
|
|
3
3
|
specs:
|
|
4
|
-
addressable (2.
|
|
5
|
-
|
|
6
|
-
builder (3.2.2)
|
|
4
|
+
addressable (2.4.0)
|
|
5
|
+
builder (3.2.4)
|
|
7
6
|
descendants_tracker (0.0.4)
|
|
8
7
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
9
8
|
faraday (0.9.2)
|
|
10
9
|
multipart-post (>= 1.2, < 3)
|
|
11
|
-
git (1.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
15
|
faraday (~> 0.8, < 0.10)
|
|
16
|
-
hashie (>=
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
jeweler (2.3.0)
|
|
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)
|
|
23
22
|
builder
|
|
24
|
-
bundler
|
|
23
|
+
bundler
|
|
25
24
|
git (>= 1.2.5)
|
|
26
|
-
github_api (~> 0.
|
|
25
|
+
github_api (~> 0.16.0)
|
|
27
26
|
highline (>= 1.6.15)
|
|
28
27
|
nokogiri (>= 1.5.10)
|
|
29
|
-
psych
|
|
28
|
+
psych
|
|
30
29
|
rake
|
|
31
30
|
rdoc
|
|
32
|
-
|
|
33
|
-
jwt (
|
|
34
|
-
|
|
35
|
-
|
|
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
36
|
multi_xml (0.6.0)
|
|
37
|
-
multipart-post (2.
|
|
38
|
-
nokogiri (1.
|
|
39
|
-
mini_portile2 (~> 2.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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)
|
|
43
44
|
multi_json (~> 1.3)
|
|
44
45
|
multi_xml (~> 0.5)
|
|
45
46
|
rack (>= 1.2, < 3)
|
|
46
|
-
psych (
|
|
47
|
-
|
|
48
|
-
rack (2.
|
|
49
|
-
rake (
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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)
|
|
53
55
|
|
|
54
56
|
PLATFORMS
|
|
55
57
|
ruby
|
|
@@ -58,4 +60,4 @@ DEPENDENCIES
|
|
|
58
60
|
jeweler
|
|
59
61
|
|
|
60
62
|
BUNDLED WITH
|
|
61
|
-
|
|
63
|
+
2.2.4
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.4.
|
|
1
|
+
4.4.6
|
data/forkcms_deploy.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
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.4.
|
|
5
|
+
# stub: forkcms_deploy 4.4.6 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "forkcms_deploy".freeze
|
|
9
|
-
s.version = "4.4.
|
|
9
|
+
s.version = "4.4.6"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
13
13
|
s.authors = ["Tijs Verkoyen".freeze, "Jan De Poorter".freeze, "Sam Tubbax".freeze, "Wouter Sioen".freeze]
|
|
14
|
-
s.date = "
|
|
14
|
+
s.date = "2021-06-15"
|
|
15
15
|
s.description = "Deployment for ForkCMS with Capistrano".freeze
|
|
16
16
|
s.email = "info@sumocoders.be".freeze
|
|
17
17
|
s.extra_rdoc_files = [
|
|
@@ -42,19 +42,16 @@ Gem::Specification.new do |s|
|
|
|
42
42
|
]
|
|
43
43
|
s.homepage = "https://github.com/sumocoders/forkcms_deploy".freeze
|
|
44
44
|
s.licenses = ["MIT".freeze]
|
|
45
|
-
s.rubygems_version = "
|
|
45
|
+
s.rubygems_version = "3.1.2".freeze
|
|
46
46
|
s.summary = "Deployment for ForkCMS with Capistrano".freeze
|
|
47
47
|
|
|
48
48
|
if s.respond_to? :specification_version then
|
|
49
49
|
s.specification_version = 4
|
|
50
|
+
end
|
|
50
51
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
else
|
|
55
|
-
s.add_dependency(%q<jeweler>.freeze, [">= 0"])
|
|
56
|
-
s.add_dependency(%q<capistrano>.freeze, [">= 2.0.0"])
|
|
57
|
-
end
|
|
52
|
+
if s.respond_to? :add_runtime_dependency then
|
|
53
|
+
s.add_runtime_dependency(%q<jeweler>.freeze, [">= 0"])
|
|
54
|
+
s.add_runtime_dependency(%q<capistrano>.freeze, [">= 2.0.0"])
|
|
58
55
|
else
|
|
59
56
|
s.add_dependency(%q<jeweler>.freeze, [">= 0"])
|
|
60
57
|
s.add_dependency(%q<capistrano>.freeze, [">= 2.0.0"])
|
|
@@ -4,7 +4,7 @@ configuration = Capistrano::Configuration.respond_to?(:instance) ? Capistrano::C
|
|
|
4
4
|
|
|
5
5
|
configuration.load do
|
|
6
6
|
# define some extra folder to create
|
|
7
|
-
set :shared_children, %w(files config/frontend config/backend config/library
|
|
7
|
+
set :shared_children, %w(files config/frontend config/backend config/library)
|
|
8
8
|
|
|
9
9
|
# custom events configuration
|
|
10
10
|
after 'deploy:setup' do
|
|
@@ -14,7 +14,6 @@ configuration.load do
|
|
|
14
14
|
|
|
15
15
|
after 'deploy:update_code' do
|
|
16
16
|
forkcms.link_configs
|
|
17
|
-
forkcms.link_sessions
|
|
18
17
|
forkcms.link_files
|
|
19
18
|
end
|
|
20
19
|
|
|
@@ -88,17 +87,6 @@ configuration.load do
|
|
|
88
87
|
}
|
|
89
88
|
end
|
|
90
89
|
|
|
91
|
-
desc 'Link the session files'
|
|
92
|
-
task :link_sessions do
|
|
93
|
-
|
|
94
|
-
run %{
|
|
95
|
-
mkdir -p #{shared_path}/sessions &&
|
|
96
|
-
cp -r #{release_path}/app/sessions #{shared_path}/ &&
|
|
97
|
-
rm -rf #{release_path}/app/sessions &&
|
|
98
|
-
ln -s #{shared_path}/sessions #{release_path}/app/sessions
|
|
99
|
-
}
|
|
100
|
-
end
|
|
101
|
-
|
|
102
90
|
desc 'link the document root to the current/default_www-folder'
|
|
103
91
|
task :link_document_root do
|
|
104
92
|
# create symlink for document_root if it doesn't exists
|
|
@@ -205,8 +193,8 @@ configuration.load do
|
|
|
205
193
|
migrationFiles = capture("ls -1 #{migrationpath}").split(/\r?\n/)
|
|
206
194
|
|
|
207
195
|
migrationFiles.each do |filename|
|
|
208
|
-
run "cd #{release_path}/tools &&
|
|
209
|
-
run "cd #{release_path} &&
|
|
196
|
+
run "cd #{release_path}/tools && #{php_bin} install_locale.php -f #{migrationpath}/#{filename} -o" if filename.index('locale.xml') != nil
|
|
197
|
+
run "cd #{release_path} && #{php_bin} #{migrationpath}/#{filename}" if filename.index('update.php') != nil
|
|
210
198
|
if filename.index('update.sql') != nil
|
|
211
199
|
set :mysql_update_file, "#{migrationpath}/#{filename}"
|
|
212
200
|
migrations.mysql_update
|
|
@@ -267,7 +255,7 @@ configuration.load do
|
|
|
267
255
|
run "touch #{document_root}/php-opcache-reset.php"
|
|
268
256
|
# clearstatcache(true) will clear the file stats cache and the realpath cache
|
|
269
257
|
# opache_reset will clear the opcache if this is available
|
|
270
|
-
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"
|
|
271
259
|
run %{ curl #{url}/php-opcache-reset.php }
|
|
272
260
|
run "rm #{document_root}/php-opcache-reset.php"
|
|
273
261
|
end
|
metadata
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: forkcms_deploy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.4.
|
|
4
|
+
version: 4.4.6
|
|
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-06-15 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: jeweler
|
|
@@ -73,7 +73,7 @@ homepage: https://github.com/sumocoders/forkcms_deploy
|
|
|
73
73
|
licenses:
|
|
74
74
|
- MIT
|
|
75
75
|
metadata: {}
|
|
76
|
-
post_install_message:
|
|
76
|
+
post_install_message:
|
|
77
77
|
rdoc_options: []
|
|
78
78
|
require_paths:
|
|
79
79
|
- lib
|
|
@@ -88,9 +88,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: '0'
|
|
90
90
|
requirements: []
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
signing_key:
|
|
91
|
+
rubygems_version: 3.1.2
|
|
92
|
+
signing_key:
|
|
94
93
|
specification_version: 4
|
|
95
94
|
summary: Deployment for ForkCMS with Capistrano
|
|
96
95
|
test_files: []
|