capistrano-magepack 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5ce80341a0db44614ddc27696801ad840b304c9d3bb0419b15f885c63f1811f
4
- data.tar.gz: 975772a908d946099d41da515213ec62b989f59207d729e2809d6716199d2ce3
3
+ metadata.gz: b4bee4aac534afed05f79e37c07521cfdb84fd3e4fe7993944e2ec056d19ac0f
4
+ data.tar.gz: 9beef37354d3d1f7a6b71b2f2892379cd33e6cc3c6f2f552ba1355190b777253
5
5
  SHA512:
6
- metadata.gz: 6328923e9b536b048a792b6acf80f8b40abece9d6c716e5e8777e5034868a72b74d25fdcdf8761d31a9b2c9de910b79ca06a769d4384ee00ce2739bf2d7c4df7
7
- data.tar.gz: 4a55f5dfb149a7a9e713e7f5f906c8d0710d2892f8ce225cd268d2cdf6c4f3f30329784d4f95b78a2b7c87614ec320f48c210d8546ff33ed6e1f2243bf5ffce9
6
+ metadata.gz: 3c6a5202bed0054272dec61247c6710af2e131be33fd8453ddaf488a3ec78c5c1e77e25039fa8b8f567883f33db352e30d830cf10777afece611c0ee3cac46e8
7
+ data.tar.gz: 84ab0c59c472c26d6aa467d9e4010003881ebd90d9fcbad2ef3c7a8d52896e16199e97eef005b6b685676f4d8368192179b5d6990a555afdf176024ec588b4c2
@@ -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-magepack'
7
- spec.version = '0.0.3'
7
+ spec.version = '0.0.4'
8
8
  spec.authors = ['Nicolas RENAULT']
9
9
  spec.email = ['nrenault@tangkoko.com']
10
10
  spec.description = %q{Magepack tasks for Capistrano 3.x}
@@ -3,8 +3,11 @@ namespace "capistrano-magepack" do
3
3
  task :bundle_js do
4
4
  on roles(:app) do
5
5
  within release_path do
6
- info 'magepack generate --cms-url="#{ENV['HOME_URL']}" --category-url="#{ENV['CATEGORY_URL']}" --product-url="#{ENV['PRODUCT_URL']}"'
7
- execute 'magepack generate --cms-url="#{ENV['HOME_URL']}" --category-url="#{ENV['CATEGORY_URL']}" --product-url="#{ENV['PRODUCT_URL']}"'
6
+ home_url = ENV['HOME_URL']
7
+ product_url = ENV['PRODUCT_URL']
8
+ category_url = ENV['CATEGORY_URL']
9
+ info "magepack generate --cms-url='#{home_url}' --category-url='#{category_url}' --product-url='#{product_url}'"
10
+ execute 'magepack generate --cms-url='#{home_url}' --category-url='#{category_url}' --product-url='#{product_url}'
8
11
  execute 'magepack bundle'
9
12
  end
10
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-magepack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas RENAULT