capistrano-yeoman 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -15,3 +15,5 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ atlassian-ide-plugin.xml
19
+ .idea/
@@ -1,5 +1,10 @@
1
- SSHKit.config.command_map[:bower] = File.join(current_path, 'node_modules', 'bower', 'bin', "bower")
2
- SSHKit.config.command_map[:grunt] = File.join(current_path, 'node_modules', 'grunt-cli', 'bin', "grunt")
1
+ namespace :config do
2
+ task :set_paths do
3
+ SSHKit.config.command_map[:bower] = File.join(release_path, 'node_modules', 'bower', 'bin', "bower")
4
+ SSHKit.config.command_map[:grunt] = File.join(release_path, 'node_modules', 'grunt-cli', 'bin', "grunt")
5
+ end
6
+ end
7
+
3
8
 
4
9
  namespace :yo do
5
10
  # task :set_path do
@@ -20,6 +25,7 @@ namespace :yo do
20
25
  end
21
26
 
22
27
  task :build do
28
+ invoke 'config:set_paths'
23
29
  invoke 'yo:install'
24
30
  invoke 'npm:install'
25
31
  invoke 'bower:install'
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Yeoman
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-yeoman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-02 00:00:00.000000000 Z
12
+ date: 2014-05-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler