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 +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +3 -0
- data/bin/whatsnew +0 -1
- data/lib/whatsnew/local_files.rb +1 -1
- data/lib/whatsnew/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b53e6d9202e83aafd24207f57421ae4e9036c11
|
4
|
+
data.tar.gz: 5b9d8b8a079f77cab4fed803369c6e3b631ede02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02e767373d4b467d119e005f3c480f3c6012dde3f19e7be05a7d8fd6bdbfa499f6e036f57847fb4cdeb9ec65946c342a05c34f11b02490215ce9ff026d3852cb
|
7
|
+
data.tar.gz: 252e036c1d580ecb3688914becf9d5865c71d7fd2c921409ab9fde49c872e6f76dd280f95a41217268067f64083d463f698b30077ab7082e9c120783a5533a1d
|
data/CHANGELOG.md
CHANGED
@@ -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
|
```
|
data/bin/whatsnew
CHANGED
data/lib/whatsnew/local_files.rb
CHANGED
@@ -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
|
data/lib/whatsnew/version.rb
CHANGED