sumodev_deploy 0.10.0 → 0.10.1

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
2
  SHA256:
3
- metadata.gz: b0e2e3933f4be3e855e30c2ece504ee88b39c71d38188f0b627bf1e6df1e0bab
4
- data.tar.gz: c08dc1f5a5968864d75d0fda8f285fcfd8d8412a0da8231d1564a72fa7ff4f7b
3
+ metadata.gz: fbe916a075ac71289f8a53aff970d6aeb0a376b7d53fea8db02eefe0a4cf59f4
4
+ data.tar.gz: 504608992e8b49dddb967f9ab3a8bb7a906ea0b3f1ec8287937c79331985d22f
5
5
  SHA512:
6
- metadata.gz: 1cda714d43485b8788aa5cfc48ae2b316b50d195385acb8ea1a013d8f664d786ff98b776bae375e633d3d5e24eac824fd90e72fb7cbde9cf2448e025228f8540
7
- data.tar.gz: f92e135c9fe7a0e38aee006a70a9846759873101b9d3661b9b6d713afe8d9d34b28eab537a0dd0c62bd65b88210af83762c8876385d53de4e13e197efc5b1941
6
+ metadata.gz: ae00efe8378ea0040f917fea221877caae844a90879e3423495e737a3f0d2ac855999675b1998b0293084c27b4be7017870b19228a572b572aebfc2fe31692a5
7
+ data.tar.gz: d3de7548a585954573e6e25a456df315320a0687860a0bc439504d1dc7cda6cace1e9c7be4a712026de99edcb5736342cecc89685b2ddce593b590dc1353b7f2
@@ -0,0 +1,9 @@
1
+ Capistrano::Configuration.instance.load do
2
+ namespace :cache do
3
+ desc "touch the parameters.yml file"
4
+ task :touch_parameters do
5
+ run "if [ -f #{shared_path}/config/library/globals.php ]; then touch #{shared_path}/config/library/globals.php; fi"
6
+ run "if [ -f #{shared_path}/config/parameters.yml ]; then touch #{shared_path}/config/parameters.yml; fi"
7
+ end
8
+ end
9
+ end
@@ -3,7 +3,6 @@ Capistrano::Configuration.instance.load do
3
3
  namespace :errbit do
4
4
  task :after_deploy, :rolse => :app do
5
5
  update_api_key
6
- notify
7
6
  end
8
7
  desc "Updates the Errbit API key"
9
8
  task :update_api_key, :roles => :app do
@@ -11,22 +10,6 @@ Capistrano::Configuration.instance.load do
11
10
  run "if [ -f #{shared_path}/config/library/globals.php ]; then sed -i \"s/define('ERRBIT_API_KEY', '.*');/define('ERRBIT_API_KEY', '#{production_errbit_api_key}');/\" #{shared_path}/config/library/globals.php; fi"
12
11
  run "if [ -f #{shared_path}/config/parameters.yml ]; then sed -i \"s/sumo.errbit_api_key:.*/sumo.errbit_api_key: #{production_errbit_api_key}/\" #{shared_path}/config/parameters.yml; fi"
13
12
  end
14
- desc "Notify Errbit about a dqeploy"
15
- task :notify, :roles => :app do
16
- next if fetch(:production_errbit_api_key, "").empty?
17
- require 'active_support/core_ext/object'
18
-
19
- parameters = {
20
- :api_key => production_errbit_api_key,
21
- :deploy => {
22
- :rails_env => stage,
23
- :local_username => ENV["USER"],
24
- :scm_repository => repository,
25
- :scm_revision => current_revision
26
- }
27
- }
28
- run_locally "curl -d '#{parameters.to_query}' https://errors.sumocoders.be/deploys.txt"
29
- end
30
13
  end
31
14
  end
32
15
  end
@@ -1,4 +1,5 @@
1
1
  Capistrano::Configuration.instance.load do
2
+ require 'sumodev_deploy/tasks/cache'
2
3
  require 'sumodev_deploy/tasks/db'
3
4
  require 'sumodev_deploy/tasks/errbit'
4
5
  require 'sumodev_deploy/tasks/files'
@@ -64,6 +65,7 @@ Capistrano::Configuration.instance.load do
64
65
  role(:db, :primary => true) { db_server }
65
66
 
66
67
  after 'deploy', 'deploy:cleanup', 'sumodev:errbit:after_deploy'
68
+ after 'forkcms:link_configs', 'cache:touch_parameters'
67
69
 
68
70
  namespace :sumodev do
69
71
  namespace :setup do
@@ -2,18 +2,19 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "sumodev_deploy"
5
- s.version = "0.10.0"
5
+ s.version = "0.10.1"
6
6
 
7
- s.authors = ["Jan De Poorter"]
8
- s.date = "2012-04-18"
7
+ s.authors = ["Tijs Verkoyen"]
8
+ s.date = "2020-01-29"
9
9
  s.description = "Deploy to Sumocoders Dev server"
10
- s.summary = "Deployment for Fork [3|4].x.x with Capistrano"
10
+ s.summary = "..."
11
11
  s.email = "info@sumocoders.be"
12
12
  s.files = [
13
13
  "sumodev_deploy.gemspec",
14
14
  "lib/sumodev_deploy.rb",
15
15
  "lib/sumodev_deploy/tasks/assets.rb",
16
16
  "lib/sumodev_deploy/tasks/browse.rb",
17
+ "lib/sumodev_deploy/tasks/cache.rb",
17
18
  "lib/sumodev_deploy/tasks/db.rb",
18
19
  "lib/sumodev_deploy/tasks/errbit.rb",
19
20
  "lib/sumodev_deploy/tasks/files.rb",
@@ -26,4 +27,3 @@ Gem::Specification.new do |s|
26
27
  s.add_dependency "activesupport"
27
28
  s.add_dependency "capistrano", "~> 2.15"
28
29
  end
29
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sumodev_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
- - Jan De Poorter
7
+ - Tijs Verkoyen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2012-04-18 00:00:00.000000000 Z
11
+ date: 2020-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -47,6 +47,7 @@ files:
47
47
  - lib/sumodev_deploy.rb
48
48
  - lib/sumodev_deploy/tasks/assets.rb
49
49
  - lib/sumodev_deploy/tasks/browse.rb
50
+ - lib/sumodev_deploy/tasks/cache.rb
50
51
  - lib/sumodev_deploy/tasks/db.rb
51
52
  - lib/sumodev_deploy/tasks/errbit.rb
52
53
  - lib/sumodev_deploy/tasks/files.rb
@@ -71,8 +72,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
72
  - !ruby/object:Gem::Version
72
73
  version: '0'
73
74
  requirements: []
74
- rubygems_version: 3.0.3
75
+ rubygems_version: 3.0.6
75
76
  signing_key:
76
77
  specification_version: 4
77
- summary: Deployment for Fork [3|4].x.x with Capistrano
78
+ summary: "..."
78
79
  test_files: []