capistrano-npm-build 2.0.1 → 2.0.2

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: 6cad039e4229e7e8f3906d012d26d02ac5c2ac70783c6e8d9b2281c34421ef1c
4
- data.tar.gz: 191cba2dd993852c8dbff10ea6216f5df33f32980add09749c6ccf9f2cf92444
3
+ metadata.gz: b91ff1a6c66ba7df6dfb079820cf5b8a9c6acd02ff6aedff1617b6581eb4d5ab
4
+ data.tar.gz: 5c52a87660aabbc5bef81c80c9b66a38d4af129709fd3eced7798dcc2d79df2c
5
5
  SHA512:
6
- metadata.gz: 82ea228db9320f89390a9778359c5f47059d8c3f3a3d9ae91a597ecdf49f6c9409b6d1427c6ad5cf3a51561e849b2425861b95f8cb2bfdbe6da05cac9d0fd705
7
- data.tar.gz: 54d0b0416da7c279da43eb74ef32d8f05cf3dc46be8b89fae321317ea22a22a52aae5fa1af6e8a2a9959e3f91f64939e0b9b8b00c6bd5056ca32f9818945e323
6
+ metadata.gz: e62bb4d900ef406e0a3d50a7922a4f84e2da97ac19b66596569a6c921df29ccefb1c77bac8761c235fc67e7f7c1b050446b0ac5b6e89d6b0a807bd9857141da7
7
+ data.tar.gz: 30431024bdd550626858a93b144c29e94ca5db0597d31da36786aba5f90d6882045667d77d1894a28e9c7d2704f22a0f5336aeabc96e439b16172506e6599e83
data/README.md CHANGED
@@ -1,7 +1,8 @@
1
- # Capistrano::npm::Build
1
+ # Capistrano::npm::Build [![Gem Version](https://badge.fury.io/rb/capistrano-npm-build.svg)](https://badge.fury.io/rb/capistrano-npm-build)
2
2
 
3
3
  npm support for Capistrano 3.x
4
4
 
5
+
5
6
  ## Installation
6
7
 
7
8
  Add this line to your application's Gemfile:
@@ -37,6 +38,7 @@ set :npm_target_path, -> { release_path.join('subdir') } # default not set
37
38
  set :npm_flags, '--production --silent --no-progress' # default
38
39
  set :npm_roles, :all # default
39
40
  set :npm_env_variables, {} # default
41
+ set :build_command, 'npm run build' # default not set. Don't forget to set this.
40
42
  ```
41
43
 
42
44
  ### Dependencies
@@ -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-npm-build'
7
- spec.version = '2.0.1'
7
+ spec.version = '2.0.2'
8
8
  spec.authors = ['Abhilash Reddy']
9
9
  spec.email = ['abhilashmv@outlook.com']
10
10
  spec.description = %q{npm build support for Capistrano 3.x}
@@ -14,7 +14,7 @@ namespace :npm do
14
14
  on roles fetch(:npm_roles) do
15
15
  within fetch(:npm_target_path, release_path) do
16
16
  with fetch(:npm_env_variables, {}) do
17
- execute "sh -c \"cd #{fetch(:deploy_to)}/current/ && #{fetch(:build_command)}\""
17
+ execute "sh -c \"cd #{release_path} && #{fetch(:build_command)}\""
18
18
  end
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-npm-build
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abhilash Reddy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-31 00:00:00.000000000 Z
11
+ date: 2018-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -65,6 +65,8 @@ files:
65
65
  - README.md
66
66
  - Rakefile
67
67
  - capistrano-npm-build-1.0.1.gem
68
+ - capistrano-npm-build-2.0.1.gem
69
+ - capistrano-npm-build-2.0.gem
68
70
  - capistrano-npm-build.gemspec
69
71
  - lib/capistrano-npm-build.rb
70
72
  - lib/capistrano/npm_build.rb