capistrano-bower 0.0.2 → 1.0.0

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: 1bff04045f335a0c12346f04033556a192e135e4
4
- data.tar.gz: 641a89fbaad7c0c043ce9c4b74f426007e169fae
3
+ metadata.gz: 407b73a3980fa2ab59c7213933fe7150914003c2
4
+ data.tar.gz: 8d47d95048650fb25a45b39524a492a10dd09463
5
5
  SHA512:
6
- metadata.gz: 1a1cb13b162746f3ad604d3f01653f2816e2dd3851b375b77538d8562d1efbec8aac6ceb0555df9193927f33a75e0adce7169ae31e49ab4711df6a1ce71d28a8
7
- data.tar.gz: d4a9198e87b31e47e2242ba86ab46d38448318355290b5f713472b9cad96f05a298cb41095f3a67208f1cf89998810e48fdf921b245ebfe5264127370b0e2bbf
6
+ metadata.gz: 54da6d74827c675fff552ca24f648710422b1077f03cda2d177c9b489563b66be7c9e7f092307574542ef97e4ec6620bfa0e362cb117523674487ed9c9685a5b
7
+ data.tar.gz: 4b28d055f5d49fbb85091f51792c0cb96076c5d4754503bbe54aa63ed1f36df531090a68e677ec015a66c2d92a887b632a601450decdadbaf924b26f1b70f84f
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Capistrano::Bower
1
+ # Capistrano::Bower [![Gem Version](https://badge.fury.io/rb/capistrano-bower.png)](http://badge.fury.io/rb/capistrano-bower)
2
2
 
3
3
  Bower for support for Capistrano 3.x
4
4
 
@@ -7,7 +7,7 @@ Bower for support for Capistrano 3.x
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  gem 'capistrano-bower'
10
- gem 'capistrano', github: 'capistrano/capistrano', branch: 'v3'
10
+ gem 'capistrano'
11
11
 
12
12
  And then execute:
13
13
 
@@ -28,8 +28,15 @@ or can be run in isolation with `cap production bower:install`
28
28
 
29
29
  Configurable options, shown here with defaults:
30
30
 
31
- set :bower_flags, '--quiet'
32
- set :bower_roles, :all
31
+ set :bower_flags, '--quiet --config.interactive=false'
32
+ set :bower_roles, :web
33
+ set :bower_target_path, nil
34
+
35
+ If your bower.json is not in the root directory, set the directory with :bower_target_path. For example with Symfony2:
36
+
37
+ set :bower_flags, '--quiet --config.interactive=false'
38
+ set :bower_roles, :web
39
+ set :bower_target_path, "#{release_path}/web"
33
40
 
34
41
  ## Contributing
35
42
 
@@ -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 = '0.0.2'
7
+ spec.version = '1.0.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}
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'capistrano', '>= 3.0.0.pre'
20
+ spec.add_dependency 'capistrano', '~> 3.0'
21
21
 
22
22
  spec.add_development_dependency 'rake'
23
23
  end
@@ -1,16 +1,17 @@
1
1
  namespace :bower do
2
2
  desc <<-DESC
3
3
  Install the current Bower environment. The install command is executed \
4
- with the --quiet flag.
4
+ with the --quiet and --config.interactive=false flag.
5
5
 
6
6
  You can override any of these defaults by setting the variables shown below.
7
7
 
8
- set :bower_flags, '--quiet'
9
- set :bower_roles, :all
8
+ set :bower_flags, '--quiet --config.interactive=false'
9
+ set :bower_roles, :web
10
+ set :bower_target_path, nil
10
11
  DESC
11
12
  task :install do
12
13
  on roles fetch(:bower_roles) do
13
- within release_path do
14
+ within fetch(:bower_target_path, release_path) do
14
15
  execute :bower, "install",
15
16
  fetch(:bower_flags)
16
17
  end
@@ -22,7 +23,7 @@ end
22
23
 
23
24
  namespace :load do
24
25
  task :defaults do
25
- set :bower_flags, '--quiet'
26
- set :bower_roles, :all
26
+ set :bower_flags, '--quiet --config.interactive=false'
27
+ set :bower_roles, :web
27
28
  end
28
29
  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: 0.0.2
4
+ version: 1.0.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: 2013-10-01 00:00:00.000000000 Z
11
+ date: 2014-03-19 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
- version: 3.0.0.pre
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
- version: 3.0.0.pre
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
@@ -64,17 +64,17 @@ require_paths:
64
64
  - lib
65
65
  required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - '>='
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
76
  rubyforge_project:
77
- rubygems_version: 2.0.2
77
+ rubygems_version: 2.0.14
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: Bower support for Capistrano 3.x