sumodev_deploy 0.7 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sumodev_deploy/tasks/assets.rb +10 -3
- data/sumodev_deploy.gemspec +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aeebde36a538bfa6337c2966affa64b8eb2b7ca2
|
4
|
+
data.tar.gz: ac9108fece46775a58f5867d411092516b3bbfa0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fca78f784204c602c3657475014e22e183f3d81aa84abe7bfc6f44b4595f85c9689b7f70e9a38983130f3eb4654a56a96c0b344d28fd68caa96514325cf2bdf7
|
7
|
+
data.tar.gz: f007ad38c2ea5ca25e91491739d0da8624ec70ab816bb31513923c637b6c216cf505a245d34ff2c2388f661adb45fae9925589e20ee4f3ac065832a0a507a7d2
|
@@ -2,15 +2,22 @@ Capistrano::Configuration.instance.load do
|
|
2
2
|
namespace :assets do
|
3
3
|
desc "Compile and upload the assets"
|
4
4
|
task :precompile do
|
5
|
-
if
|
6
|
-
logger.important "No Gruntfile.coffee found"
|
7
|
-
else
|
5
|
+
if File.exist?("Gruntfile.coffee")
|
8
6
|
run_locally "grunt build"
|
9
7
|
run %{
|
10
8
|
rm -rf #{latest_release.shellescape}/src/Frontend/Themes/#{theme}/Core &&
|
11
9
|
mkdir -p #{latest_release.shellescape}/src/Frontend/Themes/#{theme}/Core
|
12
10
|
}
|
13
11
|
upload "./src/Frontend/Themes/#{theme}/Core", "#{latest_release.shellescape}/src/Frontend/Themes/#{theme}/Core"
|
12
|
+
else if File.exist?("gulpfile.js")
|
13
|
+
run_locally "gulp build"
|
14
|
+
run %{
|
15
|
+
rm -rf #{latest_release.shellescape}/src/Frontend/Themes/#{theme}/Core &&
|
16
|
+
mkdir -p #{latest_release.shellescape}/src/Frontend/Themes/#{theme}/Core
|
17
|
+
}
|
18
|
+
upload "./src/Frontend/Themes/#{theme}/Core", "#{latest_release.shellescape}/src/Frontend/Themes/#{theme}/Core"
|
19
|
+
else
|
20
|
+
logger.important "No Gruntfile.coffee or gulpfile.js found"
|
14
21
|
end
|
15
22
|
end
|
16
23
|
end
|
data/sumodev_deploy.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sumodev_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan De Poorter
|
@@ -14,28 +14,28 @@ dependencies:
|
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: capistrano
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: Deploy to Sumocoders Dev server
|
@@ -44,14 +44,14 @@ executables: []
|
|
44
44
|
extensions: []
|
45
45
|
extra_rdoc_files: []
|
46
46
|
files:
|
47
|
-
- sumodev_deploy.gemspec
|
48
47
|
- lib/sumodev_deploy.rb
|
49
48
|
- lib/sumodev_deploy/tasks/assets.rb
|
49
|
+
- lib/sumodev_deploy/tasks/browse.rb
|
50
50
|
- lib/sumodev_deploy/tasks/db.rb
|
51
51
|
- lib/sumodev_deploy/tasks/errbit.rb
|
52
52
|
- lib/sumodev_deploy/tasks/files.rb
|
53
53
|
- lib/sumodev_deploy/tasks/redirect.rb
|
54
|
-
-
|
54
|
+
- sumodev_deploy.gemspec
|
55
55
|
homepage: https://github.com/sumocoders/sumodev_deploy
|
56
56
|
licenses: []
|
57
57
|
metadata: {}
|
@@ -61,17 +61,17 @@ require_paths:
|
|
61
61
|
- lib
|
62
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- -
|
64
|
+
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
73
|
rubyforge_project:
|
74
|
-
rubygems_version: 2.
|
74
|
+
rubygems_version: 2.5.1
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Deployment for Fork 3.x.x with Capistrano
|