guard-ronn 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,8 +1,14 @@
1
+ ## 0.1.2 - September 3, 2011
2
+
3
+ ### Improvement
4
+
5
+ * Actually clean paths and accept `.ronn` files. ([@rymai][])
6
+
1
7
  ## 0.1.1 - August 13, 2011
2
8
 
3
9
  ### Improvement
4
10
 
5
- * The generated Guardfile now watch for modification on files with the `.ronn` extension as well as `.md` and `.markdown`.
11
+ * The generated Guardfile now watch for modification on files with the `.ronn` extension as well as `.md` and `.markdown`. ([@rymai][])
6
12
 
7
13
  ## 0.1.0 - August 11, 2011
8
14
 
data/README.md CHANGED
@@ -78,7 +78,15 @@ You can use the awesome [gem-man](https://github.com/defunkt/gem-man) by [defunk
78
78
  * Source hosted at [GitHub](https://github.com/guard/guard-ronn)
79
79
  * Report issues/Questions/Feature requests on [GitHub Issues](https://github.com/guard/guard-ronn/issues)
80
80
 
81
- Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make. Also, please update the README and the CHANGELOG.
81
+ Pull requests are very welcome! Please try to follow these simple "rules", though:
82
+
83
+ - Please create a topic branch for every separate change you make;
84
+ - Make sure your patches are well tested;
85
+ - Update the README (if applicable);
86
+ - Update the CHANGELOG (maybe not for a typo but don't hesitate!);
87
+ - Please do not change the version number.
88
+
89
+ For questions please join us on our [Google group](http://groups.google.com/group/guard-dev) or on `#guard` (irc.freenode.net).
82
90
 
83
91
  ## Testing
84
92
 
data/lib/guard/ronn.rb CHANGED
@@ -24,7 +24,7 @@ module Guard
24
24
  end
25
25
 
26
26
  def run_on_change(paths)
27
- Runner.run(paths, @options)
27
+ Runner.run(Inspector.clean(paths), @options)
28
28
  end
29
29
 
30
30
  end
@@ -5,25 +5,25 @@ module Guard
5
5
  def clean(paths)
6
6
  paths.uniq!
7
7
  paths.compact!
8
- clear_markdown_files_list_after do
9
- paths = paths.select { |path| markdown_file?(path) }
8
+ clear_ronn_files_list_after do
9
+ paths = paths.select { |path| ronn_file?(path) }
10
10
  end
11
11
  paths.reject { |p| included_in_other_path?(p, paths) }
12
12
  end
13
13
 
14
14
  private
15
15
 
16
- def markdown_file?(path)
17
- markdown_files.include?(path)
16
+ def ronn_file?(path)
17
+ ronn_files.include?(path)
18
18
  end
19
19
 
20
- def markdown_files
21
- @markdown_files ||= Dir["man/*.{md,markdown}"]
20
+ def ronn_files
21
+ @ronn_files ||= Dir["man/*.{ronn,md,markdown}"]
22
22
  end
23
23
 
24
- def clear_markdown_files_list_after
24
+ def clear_ronn_files_list_after
25
25
  yield
26
- @markdown_files = nil
26
+ @ronn_files = nil
27
27
  end
28
28
 
29
29
  def included_in_other_path?(path, paths)
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module RonnVersion
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-ronn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-13 00:00:00.000000000Z
12
+ date: 2011-09-03 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
- requirement: &2152353700 !ruby/object:Gem::Requirement
16
+ requirement: &2156174640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.2.2
21
+ version: 0.4.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2152353700
24
+ version_requirements: *2156174640
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: ronn
27
- requirement: &2152353000 !ruby/object:Gem::Requirement
27
+ requirement: &2156172020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.7.3
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2152353000
35
+ version_requirements: *2156172020
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bundler
38
- requirement: &2152352340 !ruby/object:Gem::Requirement
38
+ requirement: &2156168020 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,18 +43,18 @@ dependencies:
43
43
  version: '1.0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2152352340
46
+ version_requirements: *2156168020
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &2152351340 !ruby/object:Gem::Requirement
49
+ requirement: &2156165480 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '2.5'
54
+ version: '2.6'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2152351340
57
+ version_requirements: *2156165480
58
58
  description: Guard::Ronn automatically builds manual pages.
59
59
  email:
60
60
  - rymai@rymai.me
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  requirements: []
98
98
  rubyforge_project:
99
- rubygems_version: 1.8.8
99
+ rubygems_version: 1.8.10
100
100
  signing_key:
101
101
  specification_version: 3
102
102
  summary: Guard gem for Ronn.