capistrano-theme-uploader 0.0.2 → 0.0.3

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: a17d6e4e45c4f9fc50a243764dfc5a39b4600c8bbf9551430cb27cff236b0d50
4
- data.tar.gz: dc12d38f1b1c493d4498fac1de9b2ccf8cb969caab8780150f273d9216c9b1f7
3
+ metadata.gz: 1bbf5448fcd6ca70ee6c1504347060a6a69897357ce7e6fc222ee61e575329bc
4
+ data.tar.gz: 7bbb0b9fd8dd73f5ce4f15291b98021b6789064cf1865b075ac14e90f9d67e88
5
5
  SHA512:
6
- metadata.gz: dbbb59a0c243f22078e0773244c83f6618c4cbcc2175224314e8a4ecf07ba12c509eb6609e7b4fcf491f1dc26a642804aa47c0c9498360b2493a72cd37d75e32
7
- data.tar.gz: 9a151e624aef9e6624b0888c5c141de9269be1ce024737f3833bea33c99429e7ec0a6fa6b14ba11f4a7d971a33ad733584a99d968dc043260e61e1b8dc8429f0
6
+ metadata.gz: 97fa65cc7d416dd31fca69d9d362c0547f68dc77955bc20798f07d0fff2f339f9a60c5f1f8dd8b544c79b1534df2260879b3b14579c631b5809bae3ea27ae532
7
+ data.tar.gz: e7dc22c336b8a55e255f171aaa7d3f17203c29b7c7f5155da54144c576bb439e73106d596c2e49a7794d62ca8cc4eb98872e031f24dd179436bc033c7bb98314
@@ -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.2'
7
+ spec.version = '0.0.3'
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,13 +1,14 @@
1
- namespace :capistrano-theme-uploader do
1
+ namespace "capistrano-theme-uploader" do
2
2
  desc 'upload theme compiled files'
3
3
  task :upload_theme do
4
4
  run_locally do
5
5
  role_properties(:app) do |server|
6
- ssh_options = server.ssh_options
7
- fetch(:themes_to_deploy).each do |theme|
8
- themesParentDir = theme.split("/")
9
- themesParentDir.pop()
10
- execute "scp -r -P #{server.ssh_options[:port]} #{ENV['SOURCE_PATH']}/#{fetch(:repo_tree)}/#{theme} #{server.user}@#{server.hostname}:#{release_path}/#{themesParentDir.join("/")}"
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
+ execute "scp -r -P #{server.ssh_options[:port]} #{ENV['SOURCE_PATH']}/#{fetch(:repo_tree)}/#{theme} #{server.user}@#{server.hostname}:#{release_path}/#{themesParentDir.join('/')}"
11
12
  end
12
13
  end
13
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-theme-uploader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas RENAULT
@@ -67,8 +67,8 @@ files:
67
67
  - gemfile
68
68
  - lib/capistrano-theme-uploader.rb
69
69
  - lib/capistrano/capistrano-theme-uploader.rb
70
+ - lib/capistrano/capistrano-theme-uploader/defaults.rb
70
71
  - lib/capistrano/tasks/upload_theme.rake
71
- - lib/capistrano/wp-capistrano/defaults.rb
72
72
  homepage: https://github.com/nicoren-tangkoko/capistrano-theme-uploader
73
73
  licenses:
74
74
  - MIT