capistrano-sumo 1.3.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/capistrano/sumo/version.rb +1 -1
- data/lib/capistrano/tasks/redirect.rake +3 -3
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3dff6dfb173ff214a005c0883f455585d9ec0cde42a402ea89a60f2b3243ff3f
|
4
|
+
data.tar.gz: 5ea981f799733e65095dfa3f25999c38dc65bb4fdeb07cacc21dc64ef5778478
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1b216f5e9cfedaa3199b5011d1565bc5f6eca8068eac2484b5d0a390ca254146cc891a61a59c17dc4f2bae27c65ce17cbdd0d7a92c4a51c207f93a53edc7e6b
|
7
|
+
data.tar.gz: 7abae6735f19d59e3c59294811aa0b450119afbe2c599fd9cf532690a56926787edc7f0f3ee3d33feeacc586560de983b3e259959845890b7f4786fb019eb86f
|
@@ -4,12 +4,12 @@ namespace :sumo do
|
|
4
4
|
task :enable do
|
5
5
|
on roles(:web) do
|
6
6
|
execute :mkdir, '-p', "#{shared_path}/redirect"
|
7
|
-
execute :wget, '-qO', "#{shared_path}/redirect/index.php http://static.sumocoders.be/
|
8
|
-
execute :wget, '-qO', "#{shared_path}/redirect/.htaccess http://static.sumocoders.be/
|
7
|
+
execute :wget, '-qO', "#{shared_path}/redirect/index.php http://static.sumocoders.be/redirect2/index.phps"
|
8
|
+
execute :wget, '-qO', "#{shared_path}/redirect/.htaccess http://static.sumocoders.be/redirect2/htaccess"
|
9
9
|
execute :sed, '-i', "'s|<real-url>|#{fetch :production_url}|' #{shared_path}/redirect/index.php"
|
10
10
|
execute :rm, '-f', "#{fetch :deploy_to}/current"
|
11
11
|
execute :ln, '-s', "#{shared_path}/redirect #{fetch :deploy_to}/current"
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|
15
|
-
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-sumo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tijs Verkoyen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,8 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
|
-
|
98
|
-
rubygems_version: 2.6.14
|
97
|
+
rubygems_version: 3.0.3
|
99
98
|
signing_key:
|
100
99
|
specification_version: 4
|
101
100
|
summary: SumoCoders specific task for Capistrano 3.x.
|