capistrano-theme-uploader 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-theme-uploader.gemspec +1 -1
- data/lib/capistrano/tasks/upload_theme.rake +2 -11
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c95312a3c3eb25408abd7562aba2cbb8c8eb34eb5dbbac046f47bf085ddc8be6
|
4
|
+
data.tar.gz: 6d517204ce57bf3cc9c1f0a460aa1fab2f417354574a4d41e346e77e7998b051
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d5feba227e559a03bfee0e16d9efcf48397d5590ed22ae46092d694177c8aa42a47c37786760d8edd91d75aed7e9d4fd52fd19260cf7f349b668fd81690dac6
|
7
|
+
data.tar.gz: b2e7e0ca878a0dba38b1fa3f6d954652eed13533b4b6d1aa10e9032ab6179c0e390aa88b4582581956ca9538c395e2d5bcd270cb6864556e43e77a945a1b4050
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'capistrano-theme-uploader'
|
7
|
-
spec.version = '0.0.
|
7
|
+
spec.version = '0.0.7'
|
8
8
|
spec.authors = ['Nicolas RENAULT']
|
9
9
|
spec.email = ['nrenault@tangkoko.com']
|
10
10
|
spec.description = %q{Laravel Mix tasks for Capistrano 3.x}
|
@@ -1,17 +1,8 @@
|
|
1
1
|
namespace "capistrano-theme-uploader" do
|
2
2
|
desc 'upload theme compiled files'
|
3
3
|
task :upload_theme do
|
4
|
-
|
5
|
-
|
6
|
-
info fetch(:themes_to_deploy)
|
7
|
-
ssh_options = server.ssh_options
|
8
|
-
fetch(:themes_to_deploy).each do |theme|
|
9
|
-
themesParentDir = theme.split("/")
|
10
|
-
themesParentDir.pop()
|
11
|
-
print "scp -v -r -P #{server.ssh_options[:port]} #{ENV['SOURCE_PATH']}/#{fetch(:repo_tree)}/#{theme} #{server.user}@#{server.hostname}:#{release_path}/#{themesParentDir.join('/')}"
|
12
|
-
execute "scp -v -r -P #{server.ssh_options[:port]} #{ENV['SOURCE_PATH']}/#{fetch(:repo_tree)}/#{theme} #{server.user}@#{server.hostname}:#{release_path}/#{themesParentDir.join('/')}"
|
13
|
-
end
|
14
|
-
end
|
4
|
+
on roles(:app) do
|
5
|
+
upload! "#{ENV['SOURCE_PATH']}/#{fetch(:repo_tree)}/#{theme}", "#{release_path}/#{themesParentDir.join('/')}", recursive: true
|
15
6
|
end
|
16
7
|
end
|
17
8
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-theme-uploader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas RENAULT
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -73,7 +73,7 @@ homepage: https://github.com/nicoren-tangkoko/capistrano-theme-uploader
|
|
73
73
|
licenses:
|
74
74
|
- MIT
|
75
75
|
metadata: {}
|
76
|
-
post_install_message:
|
76
|
+
post_install_message:
|
77
77
|
rdoc_options: []
|
78
78
|
require_paths:
|
79
79
|
- lib
|
@@ -88,8 +88,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
|
-
rubygems_version: 3.3.
|
92
|
-
signing_key:
|
91
|
+
rubygems_version: 3.3.15
|
92
|
+
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: Laravel Mix tasks for Capistrano 3.x
|
95
95
|
test_files: []
|