capistrano-yeoman 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bd35b72e9b661e31a1898cef47589fc48cf45816
4
+ data.tar.gz: 1dc51a88e05711a6b99212c437341936c765efa6
5
+ SHA512:
6
+ metadata.gz: 628ff0020f24916f72634d775edaf9c3d3b2d5a44bd5d76c9e852dcedab9a494e3a2a22f733d07e697cdb9185cd7ed86fe83d10e773bb2d263e74a0c28f6c5f6
7
+ data.tar.gz: be58ff5b59cb47165f41f67b39ee661d2d4c2897b6dd851ff19a4fed862caa093c5c82deacafe20956fa9bb95d5e7d19e6381cda44cffa6267098e77123a9569
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Capistrano plugin that integrates Yeoman workflow into capistrano deployment script.
4
4
 
5
+ [![RST](http://rst-it.com/files/rstwithpassion.png)](http://rst-it.com) [![RST](http://rst-it.com/files/howwedoapps.png)](http://howwedoapps.com)
6
+
5
7
  ## Installation
6
8
 
7
9
  ### If you have Gemfile
@@ -21,21 +23,15 @@ And then execute:
21
23
 
22
24
  ## Usage
23
25
 
26
+ ```ruby
27
+ # Capfile
28
+ require 'capistrano/yeoman'
24
29
  ```
25
- # Capfile
26
- require 'capistrano/yeoman'
27
-
28
- ```
29
-
30
- ```
31
- # config/deploy.rb
32
- set :linked_dirs, %w{node_modules app/bower_components}
33
- namespace :deploy do
34
- ...
35
- after :published, "yo:build"
36
- ...
37
- end
38
30
 
31
+ ```ruby
32
+ # config/deploy.rb
33
+ set :linked_dirs, %w{node_modules app/bower_components}
34
+ after "deploy:updated", "yo:build"
39
35
  ```
40
36
 
41
37
  and link your ...appdir/curent/dist folder in your nginx/apache/other web serwer.
@@ -5,18 +5,10 @@ namespace :config do
5
5
  end
6
6
  end
7
7
 
8
-
9
- namespace :yo do
10
- # task :set_path do
11
- # SSHKit.config.default_env[:path] += [
12
- # "#{shared_path}/node_modules/bower/bin",
13
- # "#{shared_path}/node_modules/grunt-cli/bin",
14
- # ]
15
- # end
16
-
8
+ namespace :yo do
17
9
  task :install do
18
- on roles(:app), in: :sequence, wait: 5 do
19
- within release_path do
10
+ on roles(:app) do
11
+ within release_path do
20
12
  unless test "[ -d #{File.join(current_path, 'node_modules', 'grunt-cli', 'bin')} ]"
21
13
  execute :npm, "install yo"
22
14
  end
@@ -33,11 +25,10 @@ namespace :yo do
33
25
  end
34
26
  end
35
27
 
36
-
37
- namespace :npm do
28
+ namespace :npm do
38
29
  task :install do
39
- on roles(:app), in: :sequence, wait: 5 do
40
- within release_path do
30
+ on roles(:app) do
31
+ within release_path do
41
32
  execute :npm, "install"
42
33
  end
43
34
  end
@@ -46,8 +37,8 @@ end
46
37
 
47
38
  namespace :bower do
48
39
  task :install do
49
- on roles(:app), in: :sequence, wait: 5 do
50
- within release_path do
40
+ on roles(:app) do
41
+ within release_path do
51
42
  execute :bower, "install"
52
43
  end
53
44
  end
@@ -56,8 +47,8 @@ end
56
47
 
57
48
  namespace :grunt do
58
49
  task :build do
59
- on roles(:app), in: :sequence, wait: 5 do
60
- within release_path do
50
+ on roles(:app) do
51
+ within release_path do
61
52
  execute :grunt, "build"
62
53
  end
63
54
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Yeoman
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,78 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-yeoman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Wojtek Krysiak
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-05-03 00:00:00.000000000 Z
11
+ date: 2014-10-26 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.3'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.3'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: capistrano
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '3.1'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '3.1'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: sshkit
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - "~>"
68
60
  - !ruby/object:Gem::Version
69
61
  version: '1.3'
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - "~>"
76
67
  - !ruby/object:Gem::Version
77
68
  version: '1.3'
78
69
  description: yeoman integration for Capistrano
@@ -82,7 +73,7 @@ executables: []
82
73
  extensions: []
83
74
  extra_rdoc_files: []
84
75
  files:
85
- - .gitignore
76
+ - ".gitignore"
86
77
  - Gemfile
87
78
  - LICENSE.txt
88
79
  - README.md
@@ -94,27 +85,25 @@ files:
94
85
  homepage: https://github.com/wojtek-krysiak/capistrano-yeoman
95
86
  licenses:
96
87
  - MIT
88
+ metadata: {}
97
89
  post_install_message:
98
90
  rdoc_options: []
99
91
  require_paths:
100
92
  - lib
101
93
  required_ruby_version: !ruby/object:Gem::Requirement
102
- none: false
103
94
  requirements:
104
- - - ! '>='
95
+ - - ">="
105
96
  - !ruby/object:Gem::Version
106
97
  version: '0'
107
98
  required_rubygems_version: !ruby/object:Gem::Requirement
108
- none: false
109
99
  requirements:
110
- - - ! '>='
100
+ - - ">="
111
101
  - !ruby/object:Gem::Version
112
102
  version: '0'
113
103
  requirements: []
114
104
  rubyforge_project:
115
- rubygems_version: 1.8.24
105
+ rubygems_version: 2.2.2
116
106
  signing_key:
117
- specification_version: 3
107
+ specification_version: 4
118
108
  summary: yeoman integration for Capistrano
119
109
  test_files: []
120
- has_rdoc: