ronn-ng 0.8.1 → 0.10.1.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +32 -3
  3. data/Gemfile.lock +70 -0
  4. data/INSTALLING.md +2 -2
  5. data/README.md +40 -30
  6. data/Rakefile +4 -4
  7. data/bin/ronn +23 -11
  8. data/lib/ronn.rb +3 -8
  9. data/lib/ronn/document.rb +23 -12
  10. data/lib/ronn/index.rb +2 -4
  11. data/lib/ronn/roff.rb +18 -8
  12. data/lib/ronn/template.rb +1 -0
  13. data/man/ronn-format.7 +8 -8
  14. data/man/ronn.1 +24 -20
  15. data/man/ronn.1.ronn +10 -7
  16. data/ronn-ng.gemspec +23 -13
  17. data/test/angle_bracket_syntax.html +11 -1
  18. data/test/angle_bracket_syntax.roff +24 -0
  19. data/test/angle_bracket_syntax.ronn +10 -0
  20. data/test/code_blocks.html +38 -0
  21. data/test/code_blocks.roff +38 -0
  22. data/test/{code_blocks.7.ronn → code_blocks.ronn} +0 -0
  23. data/test/code_blocks_regression +19 -0
  24. data/test/code_blocks_regression.html +38 -0
  25. data/test/code_blocks_regression.ronn +40 -0
  26. data/test/definition_list_syntax.html +2 -2
  27. data/test/definition_list_syntax.roff +1 -1
  28. data/test/dots_at_line_start_test.roff +3 -3
  29. data/test/ellipses.roff +2 -2
  30. data/test/entity_encoding_test.html +20 -12
  31. data/test/entity_encoding_test.roff +26 -15
  32. data/test/entity_encoding_test.ronn +9 -0
  33. data/test/markdown_syntax.html +8 -10
  34. data/test/markdown_syntax.roff +49 -49
  35. data/test/middle_paragraph.roff +1 -1
  36. data/test/missing_spaces.roff +1 -1
  37. data/test/nested_list_with_code.html +6 -7
  38. data/test/nested_list_with_code.roff +4 -4
  39. data/test/ordered_list.html +8 -10
  40. data/test/ordered_list.roff +1 -1
  41. data/test/pre_block_with_quotes.roff +1 -1
  42. data/test/section_reference_links.roff +2 -2
  43. data/test/single_quotes.html +11 -0
  44. data/test/single_quotes.roff +5 -0
  45. data/test/single_quotes.ronn +9 -0
  46. data/test/test_ronn.rb +9 -9
  47. data/test/underline_spacing_test.roff +1 -1
  48. metadata +72 -61
  49. data/test/url_formatting.ronn +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '078c363c172599ee081ef5ccd7418db877361bc403fbc534aa3154bba06e71c6'
4
- data.tar.gz: 69cd991067704f87ddb02c335c5c6538073c7117b44ca5f0ae798d257f8e980c
3
+ metadata.gz: 717e3056a1751d795f7584cdc1024e2b3f391ab1fad7a415f92384e2c09466fb
4
+ data.tar.gz: 6bfc3273ec1218c858248fe7783db4280f7bee0330b2deaf1673210ad1c0b1a0
5
5
  SHA512:
6
- metadata.gz: 7b07f6839425415fef229d2198274f72ebf194bf6dde8690f9940d49006f6ddb5c3f7332cf35f567b85c993d40d63127801f5ff0e3c2f1ea611b2b969d3f17de
7
- data.tar.gz: 914e3c27b9fc4c95b066d130ea87b6f5f6eb84f7cd5dcce5cad86a5dc080a24cb7e69d1f0c5556d204c6f2a5a52f3358d81649ebdcc9c72481dca6611c2b97e8
6
+ metadata.gz: afaf5a115cf75430f54f4699d2cc693172c358c5e2d8d4e86517bed361e5950066a0a923579b1e2aa660fdcedc317f565382e32adf109b51e3531e5e2af7d414
7
+ data.tar.gz: 20a63fce583758ce3ec9330a7550e451a735402997fe71f9d59fb90ce51bd2b7c8d7a94310d872173232d3012187a2423606f0daf689215e65fa61d1c99d6398
data/CHANGES CHANGED
@@ -1,11 +1,40 @@
1
1
  Ronn-NG CHANGES
2
2
  ===============
3
3
 
4
+ Version 0.10.1 (in progress)
5
+ ----------------------------
6
+
7
+ * Switch to GitHub Flavored Markdown, fixing code block rendering (<https://github.com/apjanke/ronn-ng/pull/53>)
8
+ * Revert `\[ci]` back to `\(bu)` (<https://github.com/apjanke/ronn-ng/pull/51>)
9
+ * Minor fix to single-quote escaping (<https://github.com/apjanke/ronn-ng/issues/55>)
10
+ * Elide HTML comments when producing roff output (<https://github.com/apjanke/ronn-ng/issues/65>)
11
+ * Bump to mustache 1.x
12
+
13
+ Version 0.10.0 (never)
14
+ ---------------------------
15
+ * Doesn't exist due to a RubyGems publishing mistake
16
+
17
+ Version 0.9.1 (2020 Apr 09)
18
+ ---------------------------
19
+
20
+ * Fix underlining issue (<https://github.com/apjanke/ronn-ng/pull/41>)
21
+
22
+ Version 0.9.0 (2019 Dec 21)
23
+ ---------------------------
24
+
25
+ * Migrate to kramdown for the underlying Markdown library
26
+ * Minor output formatting and documentation improvements
27
+
28
+ Version 0.8.2 (2019 Mar 5)
29
+ --------------------------
30
+
31
+ * Fixes packaging error in 0.8.1
32
+
4
33
  Version 0.8.1 (2019 Mar 5)
5
- -------------------
34
+ --------------------------
6
35
 
7
- * Fixed URL hyphenation bug. (https://github.com/apjanke/ronn-ng/issues/23) (apjanke)
8
- * Fixed ordered-list bustication. (https://github.com/apjanke/ronn-ng/issues/24) (apjanke)
36
+ * Fixed URL hyphenation bug. (<https://github.com/apjanke/ronn-ng/issues/23>) (apjanke)
37
+ * Fixed ordered-list bustication. (<https://github.com/apjanke/ronn-ng/issues/24>) (apjanke)
9
38
 
10
39
  Version 0.8.0 (2018 Dec 25)
11
40
  ---------------------------
@@ -0,0 +1,70 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ ronn-ng (0.10.1.pre1)
5
+ kramdown (~> 2.1)
6
+ kramdown-parser-gfm (~> 1.0.1)
7
+ mustache (~> 1.0)
8
+ nokogiri (~> 1.9, >= 1.9.0)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ ast (2.4.1)
14
+ kramdown (2.3.0)
15
+ rexml
16
+ kramdown-parser-gfm (1.0.1)
17
+ kramdown (~> 2.0)
18
+ mini_portile2 (2.4.0)
19
+ mustache (1.1.1)
20
+ mustermann (1.1.1)
21
+ ruby2_keywords (~> 0.0.1)
22
+ nokogiri (1.10.10)
23
+ mini_portile2 (~> 2.4.0)
24
+ parallel (1.20.1)
25
+ parser (2.7.2.0)
26
+ ast (~> 2.4.1)
27
+ power_assert (1.2.0)
28
+ rack (2.2.3)
29
+ rack-protection (2.1.0)
30
+ rack
31
+ rainbow (3.0.0)
32
+ rake (12.3.3)
33
+ regexp_parser (2.0.1)
34
+ rexml (3.2.4)
35
+ rubocop (0.93.1)
36
+ parallel (~> 1.10)
37
+ parser (>= 2.7.1.5)
38
+ rainbow (>= 2.2.2, < 4.0)
39
+ regexp_parser (>= 1.8)
40
+ rexml
41
+ rubocop-ast (>= 0.6.0)
42
+ ruby-progressbar (~> 1.7)
43
+ unicode-display_width (>= 1.4.0, < 2.0)
44
+ rubocop-ast (1.3.0)
45
+ parser (>= 2.7.1.5)
46
+ ruby-progressbar (1.10.1)
47
+ ruby2_keywords (0.0.2)
48
+ sinatra (2.1.0)
49
+ mustermann (~> 1.0)
50
+ rack (~> 2.2)
51
+ rack-protection (= 2.1.0)
52
+ tilt (~> 2.0)
53
+ test-unit (3.3.7)
54
+ power_assert
55
+ tilt (2.0.10)
56
+ unicode-display_width (1.7.0)
57
+
58
+ PLATFORMS
59
+ ruby
60
+
61
+ DEPENDENCIES
62
+ rack (~> 2.2, >= 2.2.3)
63
+ rake (~> 12.3, >= 12.3.3)
64
+ ronn-ng!
65
+ rubocop (~> 0.88, >= 0.88.0)
66
+ sinatra (~> 2.0, >= 2.0.8)
67
+ test-unit (~> 3.3, >= 3.3.6)
68
+
69
+ BUNDLED WITH
70
+ 2.1.4
@@ -68,7 +68,7 @@ PATH=$(pwd)/ronn-ng/bin:$PATH
68
68
  The following gems are required for ronn-ng development:
69
69
  * nokogiri
70
70
  * mustache
71
- * rdiscount
71
+ * kramdown
72
72
  * rubocop
73
73
  * sinatra
74
74
  * rack
@@ -76,7 +76,7 @@ The following gems are required for ronn-ng development:
76
76
  * test-unit
77
77
 
78
78
  ```
79
- gem install nokogiri mustache rdiscount rubocop sinatra rack rake test-unit
79
+ gem install nokogiri mustache kramdown rubocop sinatra rack rake test-unit
80
80
  ```
81
81
 
82
82
  Or install them with bundler using the project's gem definition:
data/README.md CHANGED
@@ -14,13 +14,13 @@ detail.
14
14
  The `*.ronn` files found in the [`man/`][1] directory show off a wide range of
15
15
  ronn capabilities:
16
16
 
17
- * [ronn(1)](http://rtomayko.github.com/ronn/ronn.1) command -
18
- [source file](http://github.com/apjanke/ronn-ng/blob/master/man/ronn.1.ronn),
19
- [roff output](http://github.com/apjanke/ronn-ng/blob/master/man/ronn.1)
17
+ * [ronn(1)](http://rtomayko.github.com/ronn/ronn.1) command -
18
+ [source file](http://github.com/apjanke/ronn-ng/blob/master/man/ronn.1.ronn),
19
+ [roff output](http://github.com/apjanke/ronn-ng/blob/master/man/ronn.1)
20
20
 
21
- * [ronn-format(7)](http://rtomayko.github.com/ronn/ronn-format.7) -
22
- [source file](http://github.com/apjanke/ronn-ng/blob/master/man/ronn-format.7.ronn),
23
- [roff output](http://github.com/apjanke/ronn-ng/blob/master/man/ronn-format.7)
21
+ * [ronn-format(7)](http://rtomayko.github.com/ronn/ronn-format.7) -
22
+ [source file](http://github.com/apjanke/ronn-ng/blob/master/man/ronn-format.7.ronn),
23
+ [roff output](http://github.com/apjanke/ronn-ng/blob/master/man/ronn-format.7)
24
24
 
25
25
  [1]: http://github.com/apjanke/ronn-ng/tree/master/man
26
26
 
@@ -30,14 +30,14 @@ As an alternative, you might want to check out [pandoc](http://johnmacfarlane.ne
30
30
 
31
31
  Install with Homebrew on macOS:
32
32
 
33
- ```
33
+ ```bash
34
34
  brew tap apjanke/ronn-ng
35
35
  brew install ronn-ng
36
36
  ```
37
37
 
38
38
  Install with `gem` anywhere that supports it:
39
39
 
40
- ```
40
+ ```bash
41
41
  gem install ronn-ng
42
42
  ```
43
43
 
@@ -47,74 +47,84 @@ See [INSTALLING.md](INSTALLING.md) for details on other systems and installation
47
47
 
48
48
  Build roff and HTML output files for one or more input files:
49
49
 
50
- $ ronn man/ronn.5.ronn
51
- roff: man/ronn.5
52
- html: man/ronn.5.html
50
+ ```bash
51
+ $ ronn man/ronn.5.ronn
52
+ roff: man/ronn.5
53
+ html: man/ronn.5.html
54
+ ```
53
55
 
54
56
  Generate only a standalone HTML version of one or more files:
55
57
 
56
- $ ronn --html man/markdown.5.ronn
57
- html: man/markdown.5.html
58
+ ```bash
59
+ $ ronn --html man/markdown.5.ronn
60
+ html: man/markdown.5.html
61
+ ```
58
62
 
59
63
  Build roff versions of all ronn files in a directory:
60
64
 
61
- $ ronn --roff man/*.ronn
65
+ ```bash
66
+ $ ronn --roff man/*.ronn
67
+ ```
62
68
 
63
69
  View a ronn file as if it were a manpage without building intermediate files:
64
70
 
65
- $ ronn --man man/markdown.5.ronn
71
+ ```bash
72
+ $ ronn --man man/markdown.5.ronn
73
+ ```
66
74
 
67
75
  View roff output with man(1):
68
76
 
69
- $ man man/ronn.5
77
+ ```bash
78
+ $ man man/ronn.5
79
+ ```
70
80
 
71
81
  The [ronn(1)](http://rtomayko.github.com/ronn/ronn.1) manual page includes
72
82
  comprehensive documentation on `ronn` command line options.
73
83
 
74
84
  ## Background
75
85
 
76
- Some think Unix manual pages are a poor and outdated form of documentation. I
77
- disagree:
86
+ Some think Unix manual pages are a poor and outdated form of documentation. Ronn-NG
87
+ disagrees:
78
88
 
79
- - Manpages follow a well defined structure that's immediately familiar. This
89
+ * Manpages follow a well defined structure that's immediately familiar. This
80
90
  gives developers a starting point when documenting new tools, libraries, and
81
91
  formats.
82
92
 
83
- - Manpages get to the point. Because they're written in an inverted style, with
93
+ * Manpages get to the point. Because they're written in an inverted style, with
84
94
  a SYNOPSIS section followed by additional detail, prose and references to
85
95
  other sources of information, manpages provide the best of both cheat sheet
86
96
  and reference style documentation.
87
97
 
88
- - Historically, manpages use an extremely -- unbelievably -- limited set of
98
+ * Historically, manpages use an extremely unbelievably limited set of
89
99
  text formatting capabilities. You get a couple of headings, lists, bold,
90
100
  underline and no more. This is a feature.
91
101
 
92
- - Although two levels of section hierarchy are technically supported, most
102
+ * Although two levels of section hierarchy are technically supported, most
93
103
  manpages use only a single level. Unwieldy document hierarchies complicate
94
104
  otherwise good documentation. Remember that Feynman covered all of physics
95
- -- heavenly bodies through QED -- with only two levels of document hierarchy
105
+ heavenly bodies through QED with only two levels of document hierarchy
96
106
  (_The Feynman Lectures on Physics_, 1970).
97
107
 
98
- - The classical terminal manpage display is typographically well thought out.
108
+ * The classical terminal manpage display is typographically well thought out.
99
109
  Big bold section headings, justified monospace text, nicely indented
100
110
  paragraphs, intelligently aligned definition lists, and an informational
101
111
  header and footer.
102
112
 
103
- - Manpages have a simple referencing syntax; e.g., sh(1), fork(2), markdown(7).
113
+ * Manpages have a simple referencing syntax; e.g., sh(1), fork(2), markdown(7).
104
114
  HTML versions can use this to generate links between pages.
105
115
 
106
116
  Unfortunately, figuring out how to create a manpage is a fairly tedious process.
107
117
  The roff/mandoc/mdoc macro languages are highly extensible, fractured between
108
- multiple dialects, and include a bunch of device specific stuff irrelevant to
109
- modern publishing tools.
118
+ multiple dialects, and include a bunch of device-specific stuff irrelevant to
119
+ modern publishing tools. Ronn aims to solve that problem.
110
120
 
111
121
  ## Requirements
112
122
 
113
- Ruby 2.3 or newer.
123
+ Ruby 2.3 or newer, and gems as listed in `ronn-ng.gemspec`.
114
124
 
115
125
  ## Project Management
116
126
 
117
- The project home page is at https://github.com/apjanke/ronn-ng. Bug reports,
127
+ The project home page is at <https://github.com/apjanke/ronn-ng>. Bug reports,
118
128
  feature requests, and patch submissions are welcome.
119
129
 
120
130
  Ronn-NG was forked from the original Ronn project in 2018 after Ronn
@@ -127,7 +137,7 @@ MIT License.
127
137
 
128
138
  Ronn is Copyright (C) 2010 [Ryan Tomayko](http://tomayko.com/about).
129
139
 
130
- New Ronn-NG material is Copyright (C) 2018, 2019 [Andrew Janke](https://apjanke.net).
140
+ New Ronn-NG material is Copyright (C) 2018-2020 [Andrew Janke](https://apjanke.net).
131
141
 
132
142
  See the file LICENSE.txt for information of licensing and distribution.
133
143
 
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ task :environment do
11
11
  $LOAD_PATH.unshift ROOTDIR unless $LOAD_PATH.include?(ROOTDIR)
12
12
  $LOAD_PATH.unshift LIBDIR unless $LOAD_PATH.include?(LIBDIR)
13
13
  require_library 'nokogiri'
14
- require_library 'rdiscount'
14
+ require_library 'kramdown'
15
15
  ENV['RUBYLIB'] = $LOAD_PATH.join(':')
16
16
  ENV['PATH'] = "#{BINDIR}:#{ENV['PATH']}"
17
17
  end
@@ -19,7 +19,7 @@ end
19
19
  desc 'Run tests'
20
20
  task test: :environment do
21
21
  $LOAD_PATH.unshift "#{ROOTDIR}/test"
22
- Dir['test/test_*.rb'].each { |f| require(f) }
22
+ Dir['test/test_*.rb'].sort.each { |f| require(f) }
23
23
  end
24
24
 
25
25
  desc 'Start the server'
@@ -135,9 +135,9 @@ end
135
135
 
136
136
  def require_library(name)
137
137
  require name
138
- rescue LoadError => boom
138
+ rescue LoadError => e
139
139
  unless defined?(Gem)
140
- warn "warn: #{boom}. trying again with rubygems."
140
+ warn "warn: #{e}. trying again with rubygems."
141
141
  require 'rubygems'
142
142
  retry
143
143
  end
data/bin/ronn CHANGED
@@ -22,19 +22,28 @@
22
22
  # / Document attributes:
23
23
  # / --date=<date> published date in YYYY-MM-DD format (bottom-center)
24
24
  # / --manual=<name> name of the manual (top-center)
25
+ # / --name=<name> title of the manual page (top-left, top-right, bottom-right)
25
26
  # / --organization=<name> publishing group or individual (bottom-left)
27
+ # / --section=<sec> section of the manual page (with name)
26
28
  # /
27
29
  # / Misc options:
28
30
  # / -w, --warnings show troff warnings on stderr
29
31
  # / -W disable previously enabled troff warnings
30
32
  # / --version show ronn version and exit
31
33
  # / --help show this help message
34
+ # / -E <encoding> specify the encoding files are in (default is UTF-8)
35
+ # / Note: this only affects files. Data passed in to ronn's STDIN
36
+ # / must be in UTF-8 regardless of the -E setting.
32
37
  # /
33
38
  # / A <file> named example.1.ronn generates example.1.html (HTML manpage)
34
39
  # / and example.1 (roff manpage) by default.
35
40
  require 'date'
36
41
  require 'optparse'
37
42
 
43
+ # Ronn wants its inputs to be in UTF-8, regardless of the user's
44
+ # locale settings or Ruby version.
45
+ Encoding.default_external = Encoding::UTF_8
46
+
38
47
  def usage
39
48
  puts File.readlines(__FILE__)
40
49
  .grep(/^# \/.*/)
@@ -46,11 +55,11 @@ end
46
55
  # Libraries and LOAD_PATH shenanigans
47
56
 
48
57
  begin
49
- require 'rdiscount'
58
+ require 'kramdown'
50
59
  require 'nokogiri'
51
60
  require 'ronn'
52
- rescue LoadError => boom
53
- if boom.to_s =~ /ronn/
61
+ rescue LoadError => e
62
+ if e.to_s =~ /ronn/
54
63
  libdir = File.expand_path('../lib', __dir__).sub(%r{^#{Dir.pwd}/}, './')
55
64
  if File.directory?(libdir) && !$LOAD_PATH.include?(libdir)
56
65
  # warn "warn: #{boom}. adding #{libdir} to RUBYLIB ..."
@@ -58,11 +67,11 @@ rescue LoadError => boom
58
67
  retry
59
68
  end
60
69
  elsif !defined?(Gem)
61
- warn "warn: #{boom}. loading rubygems ..."
70
+ warn "warn: #{e}. loading rubygems ..."
62
71
  require 'rubygems'
63
72
  retry
64
73
  end
65
- abort boom.to_s
74
+ abort e.to_s
66
75
  end
67
76
 
68
77
  ##
@@ -73,11 +82,12 @@ view = false
73
82
  server = false
74
83
  port_arg = nil
75
84
  formats = nil
85
+ encoding = 'UTF-8'
76
86
  options = {}
77
87
  write_index = false
78
- styles = %w[man]
79
- groff = 'groff -Wall -mtty-char -mandoc -Tascii -t'
80
- pager = ENV['MANPAGER'] || ENV['PAGER'] || 'more -is'
88
+ styles = %w[man]
89
+ groff = 'groff -Wall -mtty-char -mandoc -Tascii -t'
90
+ pager = ENV['MANPAGER'] || ENV['PAGER'] || 'more -is'
81
91
  output_dir = nil
82
92
 
83
93
  ##
@@ -109,9 +119,10 @@ ARGV.options do |argv|
109
119
  argv.on('-f', '--fragment') { (formats ||= []) << 'html_fragment' }
110
120
  argv.on('--markdown') { (formats ||= []) << 'markdown' }
111
121
  argv.on('--yaml') { (formats ||= []) << 'yaml' }
122
+ argv.on('-E', '--encoding=V') { |val| encoding = val }
112
123
 
113
124
  # html output options
114
- argv.on('-s', '--style=V') { |val| styles += val.split(/[, \n]+/) }
125
+ argv.on('-s', '--style=V') { |val| styles += val.split(/[, \n]+/) }
115
126
 
116
127
  # manual attribute options
117
128
  %w[name section manual organization date].each do |attribute|
@@ -156,6 +167,7 @@ formats.delete('html') if formats.include?('html_fragment')
156
167
  options['date'] &&= Date.strptime(options['date'], '%Y-%m-%d')
157
168
  options['styles'] = styles
158
169
  options['outdir'] = output_dir
170
+ options['encoding'] = encoding
159
171
 
160
172
  unless port_arg.nil?
161
173
  begin
@@ -179,7 +191,7 @@ end
179
191
  # Build Pipeline
180
192
 
181
193
  pid = nil
182
- wr = STDOUT
194
+ wr = $stdout
183
195
  documents = ARGV.map { |file| Ronn::Document.new(file, options) }
184
196
  documents.each do |doc|
185
197
  # setup the man pipeline if the --man option was specified
@@ -190,7 +202,7 @@ documents.each do |doc|
190
202
  rd.close
191
203
  else
192
204
  wr.close
193
- STDIN.reopen rd
205
+ $stdin.reopen rd
194
206
  exec "#{groff} | #{pager}"
195
207
  end
196
208
  end
@@ -15,13 +15,11 @@ module Ronn
15
15
  Document.new(filename, attributes, &block)
16
16
  end
17
17
 
18
- # truthy when this a release (\d.\d.\d) version.
18
+ # truthy when this a release (\d\.\d\.\d) version.
19
19
  def self.release?
20
20
  revision != '' && !revision.include?('-')
21
21
  end
22
22
 
23
- # version: 0.6.11
24
- #
25
23
  # A semantic version number based on the git revision. The third element
26
24
  # of the version is incremented by the commit offset, such that version
27
25
  # 0.6.6-5-gdacd74b => 0.6.11
@@ -31,11 +29,8 @@ module Ronn
31
29
  ver.join('.')
32
30
  end
33
31
 
34
- # revision: 0.6.6-5-gdacd74b
35
- # revision: 0.6.25
36
- #
37
32
  # The string revision as reported by: git-describe --tags. This is just the
38
- # tag name when a tag references the HEAD commit (0.6.25). When the HEAD
33
+ # tag name when a tag references the HEAD commit (e.g. 0.6.25). When the HEAD
39
34
  # commit is not tagged, this is a "<tag>-<offset>-<sha1>" string:
40
35
  # <tag> - closest tag name
41
36
  # <offset> - number of commits ahead of <tag>
@@ -47,6 +42,6 @@ module Ronn
47
42
  # value generated by: rake rev
48
43
  # or edit manually; I'm not sure of how rake rev interacts with git
49
44
  # tags -apjanke
50
- REV = '0.8.1.SNAPSHOT'.freeze
45
+ REV = '0.10.1.pre1'.freeze
51
46
  VERSION = version
52
47
  end