capistrano-gulp 0.0.1 → 0.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
  SHA1:
3
- metadata.gz: 1967ffddb057419569b336984c0bfc548fbd2f26
4
- data.tar.gz: 957425b9ca87070cab49f04a950cf7b1d4d7804c
3
+ metadata.gz: 6243f79b0610d408c771baaece9c8b10346839be
4
+ data.tar.gz: ab3caef8beb93a391473259f3311b9733eb4a00e
5
5
  SHA512:
6
- metadata.gz: 414e6dacefbf077960501b6723513bbd05f23019915e7c3fcb33667ad14493dab31c3383830bffe94ddf852234b9841354aa10c03d0d57920e698cccd32ac22b
7
- data.tar.gz: 994886d6bec7b3e15dc604976ee956267e153b5d7afc4ed130e1df45de322c1e1ed8bade92cac2083e35e782c19a50a9b4a5e15a86e7c8e55e1416fb1fa9b287
6
+ metadata.gz: 9295d4fe9959195370238889c183df0412420435e99c2d6f8b66c4b5bf18e6949079cd2023e73a01318e2d93df4c1af6050bd0db2327050dc6d9948c0af6fdad
7
+ data.tar.gz: 86d9e2af6a1aca3cac87bc65044bc896685f98019cd12001bfe9d7a0de5d785413e0cf01cc9a82918cf9a73d6d422e4dd1d7437062c4e47acebe5ecce4059f00
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Capistrano::Gulp
2
2
 
3
- This gem will let you run [Gulp](http://gulptjs.com/) tasks with Capistrano 3.x.
3
+ This gem will let you run [Gulp](http://gulpjs.com/) tasks with Capistrano 3.x.
4
4
 
5
5
  ## Installation
6
6
 
@@ -8,7 +8,7 @@ Add this line to your application's Gemfile:
8
8
 
9
9
  ```bash
10
10
  gem 'capistrano', '~> 3.0'
11
- gem 'capistrano-gulp', github: 'BRITEWEB/capistrano-gulp'
11
+ gem 'capistrano-gulp', "~> 0.0.2"
12
12
  ```
13
13
 
14
14
  And then execute:
@@ -49,7 +49,9 @@ gulp deploy:production cdn
49
49
  Then add the task to your `deploy.rb`:
50
50
 
51
51
  ```ruby
52
- before :updated, 'gulp'
52
+ namespace :deploy do
53
+ before :updated, 'gulp'
54
+ end
53
55
  ```
54
56
 
55
57
  ## Configuration
@@ -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-gulp'
7
- spec.version = '0.0.1'
7
+ spec.version = '0.0.2'
8
8
  spec.authors = ['Alessandro Biavati']
9
9
  spec.email = ['abiavati@gmail.com']
10
10
  spec.description = %q{Gulp support for Capistrano 3.x}
@@ -5,6 +5,7 @@ desc <<-DESC
5
5
 
6
6
  You can override any of these defaults by setting the variables shown below.
7
7
 
8
+ set :gulp_executable, 'gulp'
8
9
  set :gulp_file, nil
9
10
  set :gulp_tasks, nil
10
11
  set :gulp_flags, '--no-color'
@@ -21,7 +22,7 @@ task :gulp do
21
22
  options << "--gulpfile #{fetch(:gulp_file)}" if fetch(:gulp_file)
22
23
  options << fetch(:gulp_tasks) if fetch(:gulp_tasks)
23
24
 
24
- execute :gulp, options
25
+ execute fetch(:gulp_executable), options
25
26
  end
26
27
  end
27
28
  end
@@ -32,6 +33,7 @@ end
32
33
 
33
34
  namespace :load do
34
35
  task :defaults do
36
+ set :gulp_executable, 'gulp'
35
37
  set :gulp_file, nil
36
38
  set :gulp_tasks, nil
37
39
  set :gulp_flags, '--no-color'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-gulp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Biavati
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-02 00:00:00.000000000 Z
11
+ date: 2016-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  version: '0'
88
88
  requirements: []
89
89
  rubyforge_project:
90
- rubygems_version: 2.2.2
90
+ rubygems_version: 2.4.3
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: This gem will let you run Gulp tasks with Capistrano 3.x.