capistrano-bower 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 407b73a3980fa2ab59c7213933fe7150914003c2
4
- data.tar.gz: 8d47d95048650fb25a45b39524a492a10dd09463
3
+ metadata.gz: 7170390a35102241e612dbecc65cb7201e422b0b
4
+ data.tar.gz: 7023bf855b9e12919b2fd65ff1459c2b67a2383b
5
5
  SHA512:
6
- metadata.gz: 54da6d74827c675fff552ca24f648710422b1077f03cda2d177c9b489563b66be7c9e7f092307574542ef97e4ec6620bfa0e362cb117523674487ed9c9685a5b
7
- data.tar.gz: 4b28d055f5d49fbb85091f51792c0cb96076c5d4754503bbe54aa63ed1f36df531090a68e677ec015a66c2d92a887b632a601450decdadbaf924b26f1b70f84f
6
+ metadata.gz: 590512c7bf9b499a123f39655ba2efd143209547d01a8a02b223587df32a3bde57fad100f662cf4cb66518580692a4cc638f5f9ca7a8f271de675b6511b68fa9
7
+ data.tar.gz: 6a308adb7ebcce26fee75bf3b27a6ed64072f8749e9887661d8f0d7e97acdbabbef72a84fbc88dd0a1e40556cbe9eb97867f905360efe3a50fdecbf4fe15b311
@@ -0,0 +1 @@
1
+ pkg/
data/README.md CHANGED
@@ -6,8 +6,10 @@ Bower for support for Capistrano 3.x
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
- gem 'capistrano-bower'
10
- gem 'capistrano'
9
+ ```ruby
10
+ gem 'capistrano-bower'
11
+ gem 'capistrano'
12
+ ```
11
13
 
12
14
  And then execute:
13
15
 
@@ -21,22 +23,35 @@ Or install it yourself as:
21
23
 
22
24
  Require in `Capfile` to use the default task:
23
25
 
24
- require 'capistrano/bower'
26
+ ```ruby
27
+ require 'capistrano/bower'
28
+ ```
25
29
 
26
30
  The task will run before `deploy:updated` as part of Capistrano's default deploy,
27
31
  or can be run in isolation with `cap production bower:install`
28
32
 
29
33
  Configurable options, shown here with defaults:
30
34
 
31
- set :bower_flags, '--quiet --config.interactive=false'
32
- set :bower_roles, :web
33
- set :bower_target_path, nil
35
+ ```ruby
36
+ set :bower_flags, '--quiet --config.interactive=false'
37
+ set :bower_roles, :web
38
+ set :bower_target_path, nil
39
+ set :bower_bin, :bower
40
+ ```
34
41
 
35
42
  If your bower.json is not in the root directory, set the directory with :bower_target_path. For example with Symfony2:
36
43
 
37
- set :bower_flags, '--quiet --config.interactive=false'
38
- set :bower_roles, :web
39
- set :bower_target_path, "#{release_path}/web"
44
+ ```ruby
45
+ set :bower_flags, '--quiet --config.interactive=false'
46
+ set :bower_roles, :web
47
+ set :bower_target_path, "#{release_path}/web"
48
+ ```
49
+
50
+ If your `bower` executable is not found in the default PATH by capistrano, set the `bower_bin` option. For example:
51
+
52
+ ```ruby
53
+ set :bower_bin, '/usr/local/node/node-default/bin/bower'
54
+ ```
40
55
 
41
56
  ## Contributing
42
57
 
@@ -45,3 +60,15 @@ If your bower.json is not in the root directory, set the directory with :bower_t
45
60
  3. Commit your changes (`git commit -am 'Add some feature'`)
46
61
  4. Push to the branch (`git push origin my-new-feature`)
47
62
  5. Create new Pull Request
63
+
64
+ ## Credits
65
+
66
+ Thank you [contributors](https://github.com/platanus/guides/graphs/contributors)!
67
+
68
+ <img src="http://platan.us/gravatar_with_text.png" alt="Platanus" width="250"/>
69
+
70
+ capistrano-bower is maintained by [platanus](http://platan.us).
71
+
72
+ ## License
73
+
74
+ Guides is © 2014 platanus, spa. It is free software and may be redistributed under the terms specified in the LICENSE file.
@@ -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-bower'
7
- spec.version = '1.0.0'
7
+ spec.version = '1.1.0'
8
8
  spec.authors = ['Juan Ignacio Donoso']
9
9
  spec.email = ['jidonoso@gmail.com']
10
10
  spec.description = %q{Bower support for Capistrano 3.x}
@@ -1 +1 @@
1
- load File.expand_path('../tasks/bower.tasks', __FILE__)
1
+ load File.expand_path('../tasks/bower.rake', __FILE__)
@@ -12,18 +12,20 @@ namespace :bower do
12
12
  task :install do
13
13
  on roles fetch(:bower_roles) do
14
14
  within fetch(:bower_target_path, release_path) do
15
- execute :bower, "install",
15
+ execute fetch(:bower_bin), "install",
16
16
  fetch(:bower_flags)
17
17
  end
18
18
  end
19
19
  end
20
20
 
21
21
  before 'deploy:updated', 'bower:install'
22
+
22
23
  end
23
24
 
24
25
  namespace :load do
25
26
  task :defaults do
26
27
  set :bower_flags, '--quiet --config.interactive=false'
27
28
  set :bower_roles, :web
29
+ set :bower_bin, :bower
28
30
  end
29
31
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-bower
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Ignacio Donoso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-19 00:00:00.000000000 Z
11
+ date: 2015-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Bower support for Capistrano 3.x
@@ -45,6 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - .gitignore
48
49
  - Gemfile
49
50
  - LICENSE
50
51
  - LICENSE.txt
@@ -53,7 +54,7 @@ files:
53
54
  - capistrano-bower.gemspec
54
55
  - lib/capistrano-bower.rb
55
56
  - lib/capistrano/bower.rb
56
- - lib/capistrano/tasks/bower.tasks
57
+ - lib/capistrano/tasks/bower.rake
57
58
  homepage: https://github.com/platanus/capistrano-bower
58
59
  licenses:
59
60
  - MIT
@@ -64,12 +65,12 @@ require_paths:
64
65
  - lib
65
66
  required_ruby_version: !ruby/object:Gem::Requirement
66
67
  requirements:
67
- - - ">="
68
+ - - '>='
68
69
  - !ruby/object:Gem::Version
69
70
  version: '0'
70
71
  required_rubygems_version: !ruby/object:Gem::Requirement
71
72
  requirements:
72
- - - ">="
73
+ - - '>='
73
74
  - !ruby/object:Gem::Version
74
75
  version: '0'
75
76
  requirements: []