guard-cane 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +15 -6
- data/guard-cane.gemspec +2 -2
- data/lib/guard/cane/templates/Guardfile +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Guard::Cane
|
2
|
-
[![Build Status](https://
|
2
|
+
[![Build Status](https://travis-ci.org/guard/guard-cane.png?branch=master)](https://travis-ci.org/guard/guard-cane)
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/guard-cane.png)](http://badge.fury.io/rb/guard-cane)
|
4
4
|
|
5
5
|
Guard::Cane automatically runs [Cane](https://github.com/square/cane#usage)
|
@@ -10,7 +10,9 @@ when files change.
|
|
10
10
|
Put this in your Gemfile:
|
11
11
|
|
12
12
|
```rb
|
13
|
-
|
13
|
+
group :development
|
14
|
+
gem 'guard-cane'
|
15
|
+
end
|
14
16
|
```
|
15
17
|
|
16
18
|
And then install with:
|
@@ -20,14 +22,21 @@ $ bundle
|
|
20
22
|
$ guard init cane
|
21
23
|
```
|
22
24
|
|
23
|
-
This will place the following in your Guardfile
|
25
|
+
This will place the following in your `Guardfile`:
|
24
26
|
|
25
27
|
```rb
|
26
28
|
guard :cane, cli: "--color" do
|
27
|
-
watch(/.*\.rb/)
|
29
|
+
watch(/.*\.rb/)
|
28
30
|
end
|
29
31
|
```
|
30
32
|
|
31
|
-
|
32
|
-
|
33
|
+
It's also recommended to add a `.cane` file to your project:
|
34
|
+
|
35
|
+
```
|
36
|
+
--abc-max 10
|
37
|
+
--no-doc
|
38
|
+
--style-exclude spec/**/*
|
39
|
+
```
|
40
|
+
|
41
|
+
See [square/cane](https://github.com/square/cane#usage) for detailed usage.
|
33
42
|
|
data/guard-cane.gemspec
CHANGED
@@ -4,12 +4,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = 'guard-cane'
|
7
|
-
gem.version = '0.1.
|
7
|
+
gem.version = '0.1.1'
|
8
8
|
gem.authors = ["Justin Campbell"]
|
9
9
|
gem.email = ["justin@justincampbell.me"]
|
10
10
|
gem.summary = "Guard plugin for Cane"
|
11
11
|
gem.description = "Guard::Cane automatically runs Cane when files change"
|
12
|
-
gem.homepage = "https://github.com/
|
12
|
+
gem.homepage = "https://github.com/guard/guard-cane"
|
13
13
|
|
14
14
|
gem.files = `git ls-files`.split($/)
|
15
15
|
gem.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-cane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -111,7 +111,7 @@ files:
|
|
111
111
|
- lib/guard/cane/templates/Guardfile
|
112
112
|
- spec/guard/cane_spec.rb
|
113
113
|
- spec/spec_helper.rb
|
114
|
-
homepage: https://github.com/
|
114
|
+
homepage: https://github.com/guard/guard-cane
|
115
115
|
licenses: []
|
116
116
|
post_install_message:
|
117
117
|
rdoc_options: []
|