capistrano-grunt 0.0.2 → 0.0.3

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,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NjczODM4OTAxMjIzMzNkMDBkMmIxMTMzMTA5ZDdjYzY1Y2Q3YzA5ZQ==
5
- data.tar.gz: !binary |-
6
- MWQ5OTJiOTE3NjBhMjhiYWE0OWJkN2QyMDMwMGYyMTRhMjUzZWY2MA==
2
+ SHA1:
3
+ metadata.gz: 7daa7e8a990bb7a50231ad38f3ab2bc6d698ef9b
4
+ data.tar.gz: 795b083f90bfb5ed8ed9ad473b903d451159cfc9
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- OGY3NTgwMDExNDAwMmZkNDZkMTJjNDU2NWFjZGM0MjFkMjE3Yzc0ZTUxZDQx
10
- NzUwODU3MGMxOWQ0NDk3MTc1NTY2OWRlODg5Y2UwOTM1NDhhYTE3M2E0MzNk
11
- NDE1MzM1OTRjMjA0YzJlODYxOTE1MTY3NjM3N2QwYTUzN2EwNjg=
12
- data.tar.gz: !binary |-
13
- YmQ5NTMxY2RjNmM3MDBjOGZmMjRmODg1ZjBmNDI4NDg1NDQyOWQyMzYzMTQ0
14
- ZWZlMDQwODIxYTJkNjE0NmFiY2E5MTc5OGUxZDM0NGNlYzg4YzQ3NWFmZDRh
15
- NmRlNGJlNWJkNGMyYmJiZjVkNWY2ZTU2NDk4MWE1ZjA2MGU3MGQ=
6
+ metadata.gz: 5fa481f007b8c190c012f59219271e83c441a2c3bad086afce91deedf2af2cee799c6bfeb59736649e9e9f744b02b3a3521067528b66e95097c3b0e192d7fdb0
7
+ data.tar.gz: 5e6950d705e775bb907b6ecb53ff740744e0ba865f3bcb9f4c9f90dcc8af55601ed2afb109b6904e2f26ea14b8ce06eaffd9700068d15c68634175a08e9c3310
data/README.md CHANGED
@@ -54,19 +54,20 @@ before :updated, 'grunt'
54
54
 
55
55
  ## Configuration
56
56
 
57
- ### Gruntfile
58
-
59
57
  To specify a `Gruntfile`, use the `:grunt_file` option:
60
58
 
61
59
  ```ruby
62
60
  set :grunt_file, -> { release_path.join('config/Gruntfile.js') }
63
61
  ```
64
62
 
65
- Other configurable options are shown here with the defaults:
63
+ All configurable options are shown here with their defaults:
66
64
 
67
65
  ```ruby
66
+ set :grunt_file, nil
67
+ set :grunt_tasks, nil
68
68
  set :grunt_flags, '--no-color'
69
69
  set :grunt_roles, :all
70
+ set :grunt_target_path, nil
70
71
  ```
71
72
 
72
73
  ## Contributing
@@ -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-grunt'
7
- spec.version = '0.0.2'
7
+ spec.version = '0.0.3'
8
8
  spec.authors = ['Scott Walkinshaw', 'Koen Punt']
9
9
  spec.email = ['scott.walkinshaw@gmail.com', 'me@koen.pt']
10
10
  spec.description = %q{Grunt support for Capistrano 3.x}
@@ -1 +1 @@
1
- load File.expand_path('../tasks/grunt.cap', __FILE__)
1
+ load File.expand_path('../tasks/grunt.rake', __FILE__)
@@ -8,11 +8,12 @@ desc <<-DESC
8
8
  set :grunt_file, nil
9
9
  set :grunt_tasks, nil
10
10
  set :grunt_flags, '--no-color'
11
+ set :grunt_target_path, nil
11
12
  set :grunt_roles, :all
12
13
  DESC
13
14
  task :grunt do
14
15
  on roles fetch(:grunt_roles) do
15
- within release_path do
16
+ within fetch(:grunt_target_path, :release_path) do
16
17
  options = [
17
18
  fetch(:grunt_flags)
18
19
  ]
@@ -34,6 +35,7 @@ namespace :load do
34
35
  set :grunt_file, nil
35
36
  set :grunt_tasks, nil
36
37
  set :grunt_flags, '--no-color'
38
+ set :grunt_target_path, nil
37
39
  set :grunt_roles, :all
38
40
  end
39
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-grunt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Walkinshaw
@@ -9,20 +9,20 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-07 00:00:00.000000000 Z
12
+ date: 2013-12-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ! '>='
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: 3.0.0.pre
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ! '>='
25
+ - - '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: 3.0.0.pre
28
28
  - !ruby/object:Gem::Dependency
@@ -43,14 +43,14 @@ dependencies:
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ! '>='
46
+ - - '>='
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ! '>='
53
+ - - '>='
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  description: Grunt support for Capistrano 3.x
@@ -68,7 +68,7 @@ files:
68
68
  - capistrano-grunt.gemspec
69
69
  - lib/capistrano-grunt.rb
70
70
  - lib/capistrano/grunt.rb
71
- - lib/capistrano/tasks/grunt.cap
71
+ - lib/capistrano/tasks/grunt.rake
72
72
  homepage: https://github.com/roots/capistrano-grunt
73
73
  licenses:
74
74
  - MIT
@@ -79,17 +79,17 @@ require_paths:
79
79
  - lib
80
80
  required_ruby_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - ! '>='
82
+ - - '>='
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []
91
91
  rubyforge_project:
92
- rubygems_version: 2.1.10
92
+ rubygems_version: 2.0.0
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: Grunt support for Capistrano 3.x