forkcms_deploy 4.2.0 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d87d8d3fc92cf0c8a0a4e6fa5b1b2b31b998a0d0
4
- data.tar.gz: 9b797dc4042bba52d27591c3d58149453d88f03b
3
+ metadata.gz: 181b11f5e6c120cd244a9e53e4f615fb4b262f9a
4
+ data.tar.gz: 137eba30422e0429d71190a19f1d1afb17639fc9
5
5
  SHA512:
6
- metadata.gz: 64a26d63f5e2b51672f89335ba218b4c95bfe99c6ce60c6a3b71edb654371dbe7dccb325b75570ff77269e1d0804c99a805bff109293a840b03048f01f04b168
7
- data.tar.gz: 33aa0299bfaf7e99ab94779d648892d54cc9331525d15e30a9079ed456a617e241ad014e5155afdbd020aacfffc8c5d2759bb4737e109113b88e4dc1a311b475
6
+ metadata.gz: bfec6f8875178d826f45ef2e1b3c5857dee569e9c0f09989b88704f6d9c14dc87551a8ed6306578ee1ca1aedf169c0e4bd1858a0548a871bc282e39860338ff4
7
+ data.tar.gz: '08430d9427495f0ebaf2676e0858ea7ceed5ae0cd8e20221e91b38bf073ed8d63824979886bd38899d5d18533180de3966767ef4eeec9bf9c6e3fb7b418e8287'
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+ source "https://rubygems.org"
3
+
4
+ gem "jeweler"
data/Gemfile.lock ADDED
@@ -0,0 +1,61 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ addressable (2.5.0)
5
+ public_suffix (~> 2.0, >= 2.0.2)
6
+ builder (3.2.2)
7
+ descendants_tracker (0.0.4)
8
+ thread_safe (~> 0.3, >= 0.3.1)
9
+ faraday (0.9.2)
10
+ multipart-post (>= 1.2, < 3)
11
+ git (1.3.0)
12
+ github_api (0.11.3)
13
+ addressable (~> 2.3)
14
+ descendants_tracker (~> 0.0.1)
15
+ faraday (~> 0.8, < 0.10)
16
+ hashie (>= 1.2)
17
+ multi_json (>= 1.7.5, < 2.0)
18
+ nokogiri (~> 1.6.0)
19
+ oauth2
20
+ hashie (3.4.6)
21
+ highline (1.7.8)
22
+ jeweler (2.3.0)
23
+ builder
24
+ bundler (>= 1.0)
25
+ git (>= 1.2.5)
26
+ github_api (~> 0.11.0)
27
+ highline (>= 1.6.15)
28
+ nokogiri (>= 1.5.10)
29
+ psych (~> 2.2)
30
+ rake
31
+ rdoc
32
+ semver
33
+ jwt (1.5.6)
34
+ mini_portile2 (2.1.0)
35
+ multi_json (1.12.1)
36
+ multi_xml (0.6.0)
37
+ multipart-post (2.0.0)
38
+ nokogiri (1.6.8.1)
39
+ mini_portile2 (~> 2.1.0)
40
+ oauth2 (1.2.0)
41
+ faraday (>= 0.8, < 0.10)
42
+ jwt (~> 1.0)
43
+ multi_json (~> 1.3)
44
+ multi_xml (~> 0.5)
45
+ rack (>= 1.2, < 3)
46
+ psych (2.2.2)
47
+ public_suffix (2.0.4)
48
+ rack (2.0.1)
49
+ rake (12.0.0)
50
+ rdoc (5.0.0)
51
+ semver (1.0.1)
52
+ thread_safe (0.3.5)
53
+
54
+ PLATFORMS
55
+ ruby
56
+
57
+ DEPENDENCIES
58
+ jeweler
59
+
60
+ BUNDLED WITH
61
+ 1.13.6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.2.0
1
+ 4.4.1
@@ -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.2.0 ruby lib
5
+ # stub: forkcms_deploy 4.4.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "forkcms_deploy"
9
- s.version = "4.2.0"
8
+ s.name = "forkcms_deploy".freeze
9
+ s.version = "4.4.1"
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-26"
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 = "2016-12-22"
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 = "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 = "2.5.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
48
50
 
49
51
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
- s.add_runtime_dependency(%q<capistrano>, [">= 2.0.0"])
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<capistrano>, [">= 2.0.0"])
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<capistrano>, [">= 2.0.0"])
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
- 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
@@ -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 sessions)
8
8
 
9
9
  # custom events configuration
10
10
  after 'deploy:setup' do
@@ -14,6 +14,7 @@ configuration.load do
14
14
 
15
15
  after 'deploy:update_code' do
16
16
  forkcms.link_configs
17
+ forkcms.link_sessions
17
18
  forkcms.link_files
18
19
  end
19
20
 
@@ -87,6 +88,17 @@ configuration.load do
87
88
  }
88
89
  end
89
90
 
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
+
90
102
  desc 'link the document root to the current/default_www-folder'
91
103
  task :link_document_root do
92
104
  # create symlink for document_root if it doesn't exists
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forkcms_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tijs Verkoyen
@@ -11,8 +11,22 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-08-26 00:00:00.000000000 Z
14
+ date: 2016-12-22 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
@@ -73,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
89
  version: '0'
74
90
  requirements: []
75
91
  rubyforge_project:
76
- rubygems_version: 2.5.1
92
+ rubygems_version: 2.5.2
77
93
  signing_key:
78
94
  specification_version: 4
79
95
  summary: Deployment for ForkCMS with Capistrano