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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a5c6b1bc5b4cbb35fefd4812e9581d34280f3f2
4
- data.tar.gz: 9b5cc2bc3ae90e6b7db89317da4efd1322626940
3
+ metadata.gz: 90be228a4af9a50ee255a4a203cd0b0121555192
4
+ data.tar.gz: 2deabd32c6c609c23736b5c36350ab86aac26ea8
5
5
  SHA512:
6
- metadata.gz: 1ea6e6fb0cc81e06427182dd9d9143108bd6696c9ee51c7f3b0a463587a98e021423a84e0ebf3142a66d8a4bb898ba6c713cc61fe6dc61f04d89fba475738e42
7
- data.tar.gz: 3fdf7eec47013dad184a80138e49baaae3f754aae7fe9c934386db047497a691e5ea38f84bfb3682c1491fb139edada53a8095726f05cb10f40e1f28e981363b
6
+ metadata.gz: 31bcf2f7df7f7d454bdb56fef0c33d1717c8f00cb9047efad7e91f44443a98a6102ae9f5494fcc9f17388aa05630ec629d903ced1f483d30a39ad205a0bbfb20
7
+ data.tar.gz: c8b483c40c055516876422151e45048ceac457f27b4e5a1952d25f4f629836274d1dd5205224a3876bc21921e489c6d6f441383f82499f618c22424ad4382441
@@ -2,3 +2,4 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
+ - ruby-head
@@ -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 style date format (eg: December 14th, 2014)
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
- ++ the full english style format: "December 14th, 2014" (ordinal suffix is optional)
142
- ++ the ISO 8601 format: "YYYY-MM-DD"
143
- ++ the text "Unreleased"
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])(?: \/ (\w+ \d{1,2}(?:st|nd|rd|th)?,\s\d{4}|\d{4}-\d{2}-\d{2}|\w+))?\n?[=-]*
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:
@@ -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])(?: \/ (\w+ \d{1,2}(?:st|nd|rd|th)?,\s\d{4}|\d{4}-\d{2}-\d{2}|\w+))?\n?[=-]*')
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
  #
@@ -1,3 +1,3 @@
1
1
  module Vandamme
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
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.8
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: 2014-12-29 00:00:00.000000000 Z
11
+ date: 2015-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec