forkcms_deploy 4.1.0 → 4.4.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 64dd86f192a91ff02b0fbc338bf3d2809a950bdd
4
- data.tar.gz: d06b9122114ec4d428eebe021d7891a5b937e284
2
+ SHA256:
3
+ metadata.gz: a5cd57f7beace7c9db320675b068c13d76d836171f8a0a404cc60766ae5563a1
4
+ data.tar.gz: 8b2c1928d7377a029f3a06e4e33e007f4a122e74644d47b60422dab0d15ceb8e
5
5
  SHA512:
6
- metadata.gz: ad8085847fa6be799bf71bb02941677c99b592030f8c35c77c4588bd8dbbca53d707b2f0d7aa099b3aee36e1faf8d3af11b2653a0148ac4c66c03dec23e6dd5d
7
- data.tar.gz: d03fd18835cc7d5c31f9e0e1b5fd1dd0bb262e7eaf269a7fdc8047250d0a0fd5c6e060c66fd119473150040451a03d3f328f8759d95ebabdf018ab337c5c7cff
6
+ metadata.gz: 9d18eb60e50a34c281fc63bb6a9426f3b0af90f63b49de4ca8cee6e17fd65c22757b621b0d3b395489dd62b53337f1a2d9ce12f96058bcfbd6e8d4920e1608a8
7
+ data.tar.gz: eb0c50fa3d92f5743ccaba13ff6f2490d2a06acda16f3d4e1a9a7d8d32cc7f38d0759b8ceec2fc666b591f45bd614de7edf36d6e6842bcf307b9300b5886ede5
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+ source "https://rubygems.org"
3
+
4
+ gem "jeweler"
@@ -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.0)
35
+ multi_json (1.15.0)
36
+ multi_xml (0.6.0)
37
+ multipart-post (2.1.1)
38
+ nokogiri (1.11.0)
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.0
1
+ 4.4.4
@@ -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.1.0 ruby lib
5
+ # stub: forkcms_deploy 4.4.4 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "forkcms_deploy"
9
- s.version = "4.1.0"
8
+ s.name = "forkcms_deploy".freeze
9
+ s.version = "4.4.4"
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 = "2016-08-25"
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-01-05"
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,21 @@ 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 = "2.5.1"
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.1.2".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
50
+ end
48
51
 
49
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
- s.add_runtime_dependency(%q<capistrano>, [">= 2.0.0"])
51
- else
52
- s.add_dependency(%q<capistrano>, [">= 2.0.0"])
53
- 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"])
54
55
  else
55
- s.add_dependency(%q<capistrano>, [">= 2.0.0"])
56
+ s.add_dependency(%q<jeweler>.freeze, [">= 0"])
57
+ s.add_dependency(%q<capistrano>.freeze, [">= 2.0.0"])
56
58
  end
57
59
  end
58
60
 
@@ -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
- php -d 'suhosin.executor.include.whitelist = phar' -d 'date.timezone = UTC' #{shared_path}/composer.phar install -o --no-dev
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 | php -d 'suhosin.executor.include.whitelist = phar' -d 'date.timezone = UTC'; fi
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
@@ -253,7 +253,9 @@ configuration.load do
253
253
  desc "Clears the opcode cache"
254
254
  task :clear do
255
255
  run "touch #{document_root}/php-opcache-reset.php"
256
- run "echo '<?php opcache_reset();' > #{document_root}/php-opcache-reset.php"
256
+ # clearstatcache(true) will clear the file stats cache and the realpath cache
257
+ # opache_reset will clear the opcache if this is available
258
+ run "echo \"<?php clearstatcache(true); if (function_exists('opcache_reset')) { opcache_reset(); }\" > #{document_root}/php-opcache-reset.php"
257
259
  run %{ curl #{url}/php-opcache-reset.php }
258
260
  run "rm #{document_root}/php-opcache-reset.php"
259
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.1.0
4
+ version: 4.4.4
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: 2016-08-25 00:00:00.000000000 Z
14
+ date: 2021-01-05 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
- rubyforge_project:
76
- rubygems_version: 2.5.1
77
- signing_key:
91
+ rubygems_version: 3.1.2
92
+ signing_key:
78
93
  specification_version: 4
79
94
  summary: Deployment for ForkCMS with Capistrano
80
95
  test_files: []