vandamme 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +5 -2
- data/README.md +4 -4
- data/lib/vandamme/parser.rb +1 -1
- data/lib/vandamme/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90be228a4af9a50ee255a4a203cd0b0121555192
|
4
|
+
data.tar.gz: 2deabd32c6c609c23736b5c36350ab86aac26ea8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31bcf2f7df7f7d454bdb56fef0c33d1717c8f00cb9047efad7e91f44443a98a6102ae9f5494fcc9f17388aa05630ec629d903ced1f483d30a39ad205a0bbfb20
|
7
|
+
data.tar.gz: c8b483c40c055516876422151e45048ceac457f27b4e5a1952d25f4f629836274d1dd5205224a3876bc21921e489c6d6f441383f82499f618c22424ad4382441
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,10 @@
|
|
1
|
+
# 0.0.9 / 2015-01-26
|
2
|
+
|
3
|
+
* Let non-word character instead of \/ as the separator (#10)
|
4
|
+
|
1
5
|
# 0.0.8 / 2014-12-29
|
2
6
|
|
3
|
-
* Add support for full english
|
4
|
-
* Update requirements of dependencies
|
7
|
+
* Add support for full english date format (#10)
|
5
8
|
|
6
9
|
# 0.0.7 / 2013-09-09
|
7
10
|
|
data/README.md
CHANGED
@@ -138,9 +138,9 @@ Example in Markdown:
|
|
138
138
|
+ LEVEL 1 (or 2) HEADER WITH VERSION **MUST** at least contain the version number (```{{version_number}}```)
|
139
139
|
+ If the release date is present, it **MUST** follow the form ```{{version_number}} / {{release_date}}```
|
140
140
|
+ {{release_date}} is optional but if present it **MUST** follow one of these formats:
|
141
|
-
|
142
|
-
|
143
|
-
|
141
|
+
+ the full english style format: "December 14th, 2014" (ordinal suffix is optional)
|
142
|
+
+ the ISO 8601 format: "YYYY-MM-DD"
|
143
|
+
+ the text "Unreleased"
|
144
144
|
+ VERSION CHANGES **MAY** contain more levels, but MUST follow the markup syntax.
|
145
145
|
+ {{version_number}} **SHOULD** follow the [semver](http://semver.org/) convention.
|
146
146
|
+ {{version_number}} **MUST** contain at least a dot (ex: "1.2").
|
@@ -168,7 +168,7 @@ Changelogs following these rules will be automatically included in Gemnasium.
|
|
168
168
|
The regexp used is
|
169
169
|
|
170
170
|
```
|
171
|
-
^#{0,3} ?([\w\d\.-]+\.[\w\d\.-]+[a-zA-Z0-9])(?:
|
171
|
+
^#{0,3} ?([\w\d\.-]+\.[\w\d\.-]+[a-zA-Z0-9])(?: \W (\w+ \d{1,2}(?:st|nd|rd|th)?,\s\d{4}|\d{4}-\d{2}-\d{2}|\w+))?\n?[=-]*
|
172
172
|
```
|
173
173
|
|
174
174
|
Check your changelog using Rubular if you want to be sure:
|
data/lib/vandamme/parser.rb
CHANGED
@@ -5,7 +5,7 @@ require 'vandamme/monkey_patch_markup'
|
|
5
5
|
module Vandamme
|
6
6
|
class Parser
|
7
7
|
|
8
|
-
DEFAULT_REGEXP = Regexp.new('^#{0,3} ?([\w\d\.-]+\.[\w\d\.-]+[a-zA-Z0-9])(?:
|
8
|
+
DEFAULT_REGEXP = Regexp.new('^#{0,3} ?([\w\d\.-]+\.[\w\d\.-]+[a-zA-Z0-9])(?: \W (\w+ \d{1,2}(?:st|nd|rd|th)?,\s\d{4}|\d{4}-\d{2}-\d{2}|\w+))?\n?[=-]*')
|
9
9
|
|
10
10
|
# Create a new changelog parser
|
11
11
|
#
|
data/lib/vandamme/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vandamme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philippe Lafoucrière
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|