guard-ronn 1.1.0 → 2.0.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 +4 -4
- data/CHANGELOG.md +1 -42
- data/LICENSE +2 -2
- data/README.md +8 -9
- data/lib/guard/ronn.rb +4 -4
- data/lib/guard/ronn/notifier.rb +2 -2
- data/lib/guard/ronn/runner.rb +1 -1
- data/lib/guard/ronn/version.rb +3 -1
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dda9a1c77dbb9a91ac7b0e1143a567fa42a3db49
|
4
|
+
data.tar.gz: 228f491889ca2db22649d9409bd324604f651440
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d09673d22c6bbb25258b7443b64d0970b9f6dbd1bd1e4a6464d6247e0dbef3006f7750f7f89016bc3199f602506151e3f2b2cac6bdc0b15b20e0eed6c127184
|
7
|
+
data.tar.gz: ee1b6b6407ae2f3429d11160af8c3c83db664079ffbe127482bb5f2a71d07ac353bee5d4a56d062d10706b88695b4c6be030a808f28659b82bb4d18e1098ae8e
|
data/CHANGELOG.md
CHANGED
@@ -1,42 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
No changes.
|
4
|
-
|
5
|
-
## 1.1.0 - September 12, 2013
|
6
|
-
|
7
|
-
### Improvements
|
8
|
-
|
9
|
-
* Depend on Guard >= 1.8. ([@rymai][])
|
10
|
-
* Rename `Formatter` to `Notifier` and instantiate it in `Runner`'s constructor. ([@rymai][])
|
11
|
-
* Use an instance of Runner instead of calling a class method on it. ([@rymai][])
|
12
|
-
* Get rid of `autoload`. ([@rymai][])
|
13
|
-
|
14
|
-
## 1.0.0 - April 20, 2013
|
15
|
-
|
16
|
-
### Bug fix
|
17
|
-
|
18
|
-
* Ensure #run_all generates manual for Ronn files only!. ([@rymai][])
|
19
|
-
|
20
|
-
## 0.2.0 - June 3, 2012
|
21
|
-
|
22
|
-
### Change
|
23
|
-
|
24
|
-
* Updated for Guard 1.1 ([@rymai][])
|
25
|
-
|
26
|
-
## 0.1.2 - September 3, 2011
|
27
|
-
|
28
|
-
### Improvement
|
29
|
-
|
30
|
-
* Actually clean paths and accept `.ronn` files. ([@rymai][])
|
31
|
-
|
32
|
-
## 0.1.1 - August 13, 2011
|
33
|
-
|
34
|
-
### Improvement
|
35
|
-
|
36
|
-
* The generated Guardfile now watch for modification on files with the `.ronn` extension as well as `.md` and `.markdown`. ([@rymai][])
|
37
|
-
|
38
|
-
## 0.1.0 - August 11, 2011
|
39
|
-
|
40
|
-
### Initial release ([@rymai][])
|
41
|
-
|
42
|
-
[@rymai]: https://github.com/rymai
|
1
|
+
# Moved to [GitHub releases](https://github.com/guard/guard-ronn/releases) page.
|
data/LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c)
|
1
|
+
Copyright (c) 2013 Rémy Coutable
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
@@ -17,4 +17,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
17
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
18
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
19
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# Guard::Ronn
|
2
2
|
[](http://badge.fury.io/rb/guard-ronn) [](https://travis-ci.org/guard/guard-ronn) [](https://gemnasium.com/guard/guard-ronn) [](https://codeclimate.com/github/guard/guard-ronn) [](https://coveralls.io/r/guard/guard-ronn)
|
3
3
|
|
4
|
-
[Ronn](https://github.com/rtomayko/ronn)
|
4
|
+
[Ronn](https://github.com/rtomayko/ronn) Guard plugin automatically build manuals when markdown source files are modified.
|
5
5
|
|
6
|
-
* Compatible with Ronn ~> 0.7.
|
7
|
-
* Tested against Ruby 1.
|
6
|
+
* Compatible with Ronn ~> 0.7.
|
7
|
+
* Tested against Ruby 1.9.3, 2.0.0, Rubinius & JRuby (1.9 mode only).
|
8
8
|
|
9
9
|
## Install
|
10
10
|
|
@@ -41,7 +41,7 @@ Please read the [Guard documentation](https://github.com/guard/guard#readme) for
|
|
41
41
|
You can pass any of the standard Ronn CLI options using the `:cli` option:
|
42
42
|
|
43
43
|
``` ruby
|
44
|
-
guard 'ronn', :
|
44
|
+
guard 'ronn', cli: "--html" do
|
45
45
|
# ...
|
46
46
|
end
|
47
47
|
```
|
@@ -49,8 +49,8 @@ end
|
|
49
49
|
### Available options
|
50
50
|
|
51
51
|
``` ruby
|
52
|
-
:
|
53
|
-
:
|
52
|
+
cli: '--html' # pass arbitrary Ronn CLI arguments, default: ''
|
53
|
+
bundler: false # don't use "bundle exec" to run the Ronn command, default: true
|
54
54
|
```
|
55
55
|
|
56
56
|
## Bonus: reading gems' man pages from the `man` command
|
@@ -68,7 +68,6 @@ Pull requests are very welcome! Please try to follow these simple rules if appli
|
|
68
68
|
* Make sure your patches are well tested. All specs must pass on [Travis CI](https://travis-ci.org/guard/guard-ronn).
|
69
69
|
* Update the [Yard](http://yardoc.org/) documentation.
|
70
70
|
* Update the [README](https://github.com/guard/guard-ronn/blob/master/README.md).
|
71
|
-
* Update the [CHANGELOG](https://github.com/guard/guard-ronn/blob/master/CHANGELOG.md) for noteworthy changes (don't forget to run `bundle exec pimpmychangelog` and watch the magic happen)!
|
72
71
|
* Please **do not change** the version number.
|
73
72
|
|
74
73
|
For questions please join us in our [Google group](http://groups.google.com/group/guard-dev) or on
|
@@ -76,8 +75,8 @@ For questions please join us in our [Google group](http://groups.google.com/grou
|
|
76
75
|
|
77
76
|
## Author
|
78
77
|
|
79
|
-
[Rémy Coutable](https://github.com/rymai) ([@rymai](http://twitter.com/rymai), [
|
78
|
+
[Rémy Coutable](https://github.com/rymai) ([@rymai](http://twitter.com/rymai), [rym.ai](http://rym.ai))
|
80
79
|
|
81
80
|
## Contributors
|
82
81
|
|
83
|
-
https://github.com/guard/guard-ronn/contributors
|
82
|
+
[https://github.com/guard/guard-ronn/graphs/contributors](https://github.com/guard/guard-ronn/graphs/contributors)
|
data/lib/guard/ronn.rb
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
require 'guard'
|
2
|
-
require 'guard/
|
2
|
+
require 'guard/plugin'
|
3
3
|
require 'ronn'
|
4
4
|
|
5
5
|
module Guard
|
6
|
-
class Ronn <
|
6
|
+
class Ronn < Plugin
|
7
7
|
require 'guard/ronn/runner'
|
8
8
|
require 'guard/ronn/inspector'
|
9
9
|
require 'guard/ronn/notifier'
|
10
10
|
|
11
11
|
attr_reader :runner
|
12
12
|
|
13
|
-
def initialize(
|
13
|
+
def initialize(options = {})
|
14
14
|
super
|
15
15
|
@runner = Runner.new(@options)
|
16
16
|
end
|
@@ -21,7 +21,7 @@ module Guard
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def run_all
|
24
|
-
@runner.run(Inspector.ronn_files, :
|
24
|
+
@runner.run(Inspector.ronn_files, message: 'Building all manuals')
|
25
25
|
end
|
26
26
|
|
27
27
|
def run_on_changes(paths)
|
data/lib/guard/ronn/notifier.rb
CHANGED
data/lib/guard/ronn/runner.rb
CHANGED
data/lib/guard/ronn/version.rb
CHANGED
metadata
CHANGED
@@ -1,60 +1,59 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-ronn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rémy Coutable
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.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: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: ronn
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0.7'
|
34
34
|
type: :runtime
|
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.7'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
55
|
-
description: Guard::Ronn automatically builds manual pages.
|
56
|
-
email:
|
57
|
-
- remy@rymai.me
|
54
|
+
version: '0'
|
55
|
+
description: Guard::Ronn automatically builds your manual pages.
|
56
|
+
email: remy@rymai.me
|
58
57
|
executables: []
|
59
58
|
extensions: []
|
60
59
|
extra_rdoc_files: []
|
@@ -68,8 +67,9 @@ files:
|
|
68
67
|
- CHANGELOG.md
|
69
68
|
- LICENSE
|
70
69
|
- README.md
|
71
|
-
homepage:
|
72
|
-
licenses:
|
70
|
+
homepage: https://rubygems.org/gems/guard-ronn
|
71
|
+
licenses:
|
72
|
+
- MIT
|
73
73
|
metadata: {}
|
74
74
|
post_install_message:
|
75
75
|
rdoc_options: []
|
@@ -79,7 +79,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
80
80
|
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 1.9.2
|
83
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
85
|
- - '>='
|
@@ -90,5 +90,5 @@ rubyforge_project:
|
|
90
90
|
rubygems_version: 2.0.7
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
|
-
summary: Guard
|
93
|
+
summary: Guard plugin for Ronn.
|
94
94
|
test_files: []
|