whatsnew 0.4.0 → 0.4.1

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: 8e65b62f957e1db459c711ace3bffe378b45dbcf
4
- data.tar.gz: ac629b4ff791f3c34e8cabdf0f22c0df9ac0115f
3
+ metadata.gz: 9b53e6d9202e83aafd24207f57421ae4e9036c11
4
+ data.tar.gz: 5b9d8b8a079f77cab4fed803369c6e3b631ede02
5
5
  SHA512:
6
- metadata.gz: 24336375d94687abae9b7b40a185efa2c2fd098ff654a0807777d10cc7447b81f5ad8cdee368e839f393cae2df52c37ac02eb9ebf6ed3ac126dc1295ece21bd9
7
- data.tar.gz: 685cfc1708993d40744908ff31509c4c4c761f3c62b2f121ef14c9e9aa5a92f34b42c0b5c18e8cb7bfcc899e392c13f52fcb02b3ab5c63914e76cdb1fdeb615d
6
+ metadata.gz: 02e767373d4b467d119e005f3c480f3c6012dde3f19e7be05a7d8fd6bdbfa499f6e036f57847fb4cdeb9ec65946c342a05c34f11b02490215ce9ff026d3852cb
7
+ data.tar.gz: 252e036c1d580ecb3688914becf9d5865c71d7fd2c921409ab9fde49c872e6f76dd280f95a41217268067f64083d463f698b30077ab7082e9c120783a5533a1d
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## Unrelease
4
4
 
5
+ ## v0.4.1 - 2015-08-09
6
+
7
+ ### Features
8
+
9
+ - Support more git config url matching [#6](https://github.com/jollygoodcode/whatsnew/pull/6)
10
+
11
+ ### Bug Fixes
12
+
13
+ - Fix `whatsnew` executable failed to execute [#5](https://github.com/jollygoodcode/whatsnew/pull/5)
14
+
5
15
  ## v0.4.0 - 2015-08-09
6
16
 
7
17
  ### API CHANGES
data/README.md CHANGED
@@ -47,6 +47,9 @@ news.file_name
47
47
  news.file_url
48
48
  => "https://github.com/jollygoodcode/whatsnew/blob/master/CHANGELOG.md"
49
49
 
50
+ news.content
51
+ => "Content of CHANGELOG.md"
52
+
50
53
  news.read
51
54
  => "What's New:\nSee CHANGELOG.md: https://github.com/jollygoodcode/whatsnew/blob/master/CHANGELOG.md."
52
55
  ```
@@ -2,7 +2,6 @@
2
2
 
3
3
  Signal.trap("INT") { abort }
4
4
 
5
- require "bundler/setup"
6
5
  require "whatsnew"
7
6
 
8
7
  if news = Whatsnew.about(Dir.pwd)
@@ -36,7 +36,7 @@ module Whatsnew
36
36
  def matched_from_git_config
37
37
  @matched ||= Dir.chdir(Pathname(path).to_path) do
38
38
  `git config --get remote.origin.url`.match(
39
- %r{git.+(?<host>(github.com|bitbucket.com|bitbucket.org))[:/](?<owner>\S+)/(?<repo>\S+)\.git}
39
+ %r{(http://|https://|git.+)(?<host>(github.com|bitbucket.com|bitbucket.org))[:/](?<owner>\S+)/(?<repo>\S+)\.git}
40
40
  )
41
41
  end
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module Whatsnew
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whatsnew
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juanito Fatas