guard-ronn 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +3 -3
- data/lib/guard/ronn.rb +6 -6
- data/lib/guard/ronn/inspector.rb +1 -1
- data/lib/guard/ronn/notifier.rb +3 -3
- data/lib/guard/ronn/runner.rb +2 -2
- data/lib/guard/ronn/version.rb +1 -1
- metadata +32 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abb9efd573c653f887fb503edc9f84c509ec304a
|
4
|
+
data.tar.gz: 319d5b162b9db961f67f1c992a21ed4581acb6c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d119f0527779ac6db2f8098073921af59256947bcfeb577c19f510c3db6251d78c3f9bf5c92ce0723c676c764f393f770a3355b825110c06ba874734c75d724f
|
7
|
+
data.tar.gz: 2122ee24a63be4d9246a95dc1933cdb0993d6d0142eead99210c37f623ee5d9bf2c94b432a88ae90531c753bdb6e8f6b32fcf0909b2d13760e8de804e61e2389
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# Guard::Ronn
|
2
|
-
[![Gem Version](https://
|
2
|
+
[![Gem Version](https://img.shields.io/gem/v/guard-ronn.svg?style=flat)](https://rubygems.org/gems/guard-ronn) [![Build Status](https://travis-ci.org/guard/guard-ronn.png?branch=master)](https://travis-ci.org/guard/guard-ronn) [![Dependency Status](https://gemnasium.com/guard/guard-ronn.png)](https://gemnasium.com/guard/guard-ronn) [![Code Climate](https://codeclimate.com/github/guard/guard-ronn.png)](https://codeclimate.com/github/guard/guard-ronn) [![Test Coverage](https://codeclimate.com/github/guard/guard-ronn/badges/coverage.svg)](https://codeclimate.com/github/guard/guard-ronn)
|
3
3
|
|
4
4
|
[Ronn](https://github.com/rtomayko/ronn) Guard plugin automatically build manuals when markdown source files are modified.
|
5
5
|
|
6
6
|
* Compatible with Ronn ~> 0.7.
|
7
|
-
* Tested against Ruby
|
7
|
+
* Tested against Ruby 2.0.0, 2.1.7, 2.2.3 & Rubinius (1.9 mode only).
|
8
8
|
|
9
9
|
## Install
|
10
10
|
|
@@ -75,7 +75,7 @@ For questions please join us in our [Google group](http://groups.google.com/grou
|
|
75
75
|
|
76
76
|
## Author
|
77
77
|
|
78
|
-
[Rémy Coutable](https://github.com/rymai)
|
78
|
+
[Rémy Coutable](https://github.com/rymai)
|
79
79
|
|
80
80
|
## Contributors
|
81
81
|
|
data/lib/guard/ronn.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
require 'guard'
|
2
|
-
require 'guard/plugin'
|
1
|
+
require 'guard/compat/plugin'
|
3
2
|
require 'ronn'
|
4
3
|
|
4
|
+
require 'guard/ronn/runner'
|
5
|
+
require 'guard/ronn/inspector'
|
6
|
+
require 'guard/ronn/notifier'
|
7
|
+
|
5
8
|
module Guard
|
6
9
|
class Ronn < Plugin
|
7
|
-
require 'guard/ronn/runner'
|
8
|
-
require 'guard/ronn/inspector'
|
9
|
-
require 'guard/ronn/notifier'
|
10
10
|
|
11
11
|
attr_reader :runner
|
12
12
|
|
@@ -17,7 +17,7 @@ module Guard
|
|
17
17
|
|
18
18
|
# Call once when guard starts
|
19
19
|
def start
|
20
|
-
UI.info "Guard::Ronn is running, with Ronn #{::Ronn.version}!"
|
20
|
+
Guard::Compat::UI.info "Guard::Ronn is running, with Ronn #{::Ronn.version}!"
|
21
21
|
end
|
22
22
|
|
23
23
|
def run_all
|
data/lib/guard/ronn/inspector.rb
CHANGED
data/lib/guard/ronn/notifier.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
module Guard
|
2
|
-
class Ronn
|
2
|
+
class Ronn < Plugin
|
3
3
|
class Notifier
|
4
4
|
|
5
5
|
def notify(result)
|
6
6
|
@result = result
|
7
7
|
|
8
|
-
|
8
|
+
Guard::Compat::UI.notify(guard_message, title: 'Ronn results',
|
9
9
|
image: guard_image)
|
10
10
|
end
|
11
11
|
|
@@ -21,4 +21,4 @@ module Guard
|
|
21
21
|
|
22
22
|
end
|
23
23
|
end
|
24
|
-
end
|
24
|
+
end
|
data/lib/guard/ronn/runner.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Guard
|
2
|
-
class Ronn
|
2
|
+
class Ronn < Plugin
|
3
3
|
class Runner
|
4
4
|
|
5
5
|
attr_reader :notifier
|
@@ -15,7 +15,7 @@ module Guard
|
|
15
15
|
options = @options.merge(options)
|
16
16
|
message = options[:message] || "Running: #{paths.join(' ')}"
|
17
17
|
|
18
|
-
::
|
18
|
+
Compat::UI.info(message, reset: true)
|
19
19
|
|
20
20
|
result = system(ronn_command(paths, options))
|
21
21
|
|
data/lib/guard/ronn/version.rb
CHANGED
metadata
CHANGED
@@ -1,55 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-ronn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.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:
|
11
|
+
date: 2015-12-14 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: '2.
|
19
|
+
version: '2.1'
|
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: '2.
|
26
|
+
version: '2.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: guard-compat
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.1'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: ronn
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
|
-
- -
|
45
|
+
- - ">="
|
32
46
|
- !ruby/object:Gem::Version
|
33
47
|
version: '0.7'
|
34
48
|
type: :runtime
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- -
|
52
|
+
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '0.7'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: bundler
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- -
|
59
|
+
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
61
|
version: '0'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- -
|
66
|
+
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
55
69
|
description: Guard::Ronn automatically builds your manual pages.
|
@@ -58,15 +72,15 @@ executables: []
|
|
58
72
|
extensions: []
|
59
73
|
extra_rdoc_files: []
|
60
74
|
files:
|
75
|
+
- CHANGELOG.md
|
76
|
+
- LICENSE
|
77
|
+
- README.md
|
78
|
+
- lib/guard/ronn.rb
|
61
79
|
- lib/guard/ronn/inspector.rb
|
62
80
|
- lib/guard/ronn/notifier.rb
|
63
81
|
- lib/guard/ronn/runner.rb
|
64
82
|
- lib/guard/ronn/templates/Guardfile
|
65
83
|
- lib/guard/ronn/version.rb
|
66
|
-
- lib/guard/ronn.rb
|
67
|
-
- CHANGELOG.md
|
68
|
-
- LICENSE
|
69
|
-
- README.md
|
70
84
|
homepage: https://rubygems.org/gems/guard-ronn
|
71
85
|
licenses:
|
72
86
|
- MIT
|
@@ -77,18 +91,19 @@ require_paths:
|
|
77
91
|
- lib
|
78
92
|
required_ruby_version: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- -
|
94
|
+
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: 1.9.2
|
83
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
98
|
requirements:
|
85
|
-
- -
|
99
|
+
- - ">="
|
86
100
|
- !ruby/object:Gem::Version
|
87
101
|
version: '0'
|
88
102
|
requirements: []
|
89
103
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.0
|
104
|
+
rubygems_version: 2.5.0
|
91
105
|
signing_key:
|
92
106
|
specification_version: 4
|
93
107
|
summary: Guard plugin for Ronn.
|
94
108
|
test_files: []
|
109
|
+
has_rdoc:
|