whatsnew 1.0.0 → 1.0.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: 7afbacce07e4b62f2d0eb05bce8800e1da477ba2
4
- data.tar.gz: afc225b4ba64d76501eaa7699a48d9c7e001c4b5
3
+ metadata.gz: 0a7355d65579f3c73a4581758207ced30fee1b13
4
+ data.tar.gz: 918e5318d6288601a07f689b6044e5ba1db68b2f
5
5
  SHA512:
6
- metadata.gz: 5d5f790215ad630e912dd1de66b0aa4437576225f1de2cec77261aa2ededf8538457e6905389493ec0d99816afb56c06cb4cc92437418331375a9eb4f06df1f3
7
- data.tar.gz: 3f6a9894eea53ff3f0e33743c3f447d29bcf6a9d2eabc249fa2e0fe46e7f42aabe77285a9e5a989444ef87044ed2084a90e841279416e7f8d8af30f800b31c2f
6
+ metadata.gz: 7e3ba24b705d2cc6c14397b8cd434718acba5e9775b1bf083876d5e9aabada15580ea94fba57963fb0fddc5dbfd94e9ea5a73018512a8c1aff8066c947fd28e0
7
+ data.tar.gz: 9ed5b840c168585de3a94180ff64aa5a421a0d94ea2ea5bf8e365072dedf59dcf191a366a8bd647e76eee084e626c90c8ec1cd5617083a19097888c743b9b0cf
@@ -1,8 +1,20 @@
1
1
  # CHANGELOG
2
2
 
3
- ## Unrelease
3
+ ## v1.0.1 - 2016.05.27
4
4
 
5
- - Add support for GitHub releases [#9](https://github.com/jollygoodcode/whatsnew/pull/9)
5
+ - Add support for `RELEASE_NOTES.*` [#10](https://github.com/jollygoodcode/whatsnew/pull/10)
6
+
7
+ ## v1.0.0 - 2015-12-27
8
+
9
+ - Add support for searching GitHub releases [#9](https://github.com/jollygoodcode/whatsnew/pull/9)
10
+ - CLI rewrite in Thor gem
11
+ - Switch test suite to RSpec
12
+
13
+ ### Incompatibilities
14
+
15
+ - `Whatsnew.about` API changes, please consult the [v1.0.0 README.md](https://github.com/jollygoodcode/whatsnew/blob/v1.0.0/README.md)
16
+
17
+ ### API changes
6
18
 
7
19
  ## v0.4.1 - 2015-08-09
8
20
 
data/README.md CHANGED
@@ -2,10 +2,11 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/whatsnew.svg)](http://badge.fury.io/rb/whatsnew)
4
4
  [![Build Status](https://travis-ci.org/jollygoodcode/whatsnew.svg?branch=master)](https://travis-ci.org/jollygoodcode/whatsnew)
5
+ [![Code Climate](https://codeclimate.com/github/jollygoodcode/whatsnew/badges/gpa.svg)](https://codeclimate.com/github/jollygoodcode/whatsnew)
5
6
 
6
7
  What's New in a project?
7
8
 
8
- This gem is used in [deppbot](https://www.deppbot.com) to find changelog in Pull Request body, an example could be found in [this Pull Request on ruby-bench/ruby-bench-web](https://github.com/ruby-bench/ruby-bench-web/pull/122).
9
+ This gem is used in [deppbot](https://www.deppbot.com) to retrieve a ruby gem's changelog for use in a Pull Request body, an example could be found in [this Pull Request on ruby-bench/ruby-bench-web](https://github.com/ruby-bench/ruby-bench-web/pull/122).
9
10
 
10
11
  --
11
12
 
@@ -31,27 +32,27 @@ $ gem install whatsnew
31
32
 
32
33
  ## Usage
33
34
 
34
- ### First Setup a OAuth Token
35
+ ### First Setup an OAuth Token
35
36
 
36
- Either pass in as command line argument
37
+ Either pass it in as a command line argument
37
38
 
38
39
  ```
39
40
  whatsnew --access-token=<your-40-char-token>
40
41
  ```
41
42
 
42
- Or stored in ENV variable: `OAUTH_ACCESS_TOKEN`.
43
+ Or store it as an ENV variable: `OAUTH_ACCESS_TOKEN`.
43
44
 
44
45
  ### Get a OAuth Token
45
46
 
46
- You can either get a [Personal Access Token](https://help.github.com/articles/creating-an-access-token-for-command-line-use/) or [get an OAuth token](https://developer.github.com/v3/oauth).
47
+ You can either get a [Personal Access Token](https://help.github.com/articles/creating-an-access-token-for-command-line-use/) or [an OAuth token](https://developer.github.com/v3/oauth).
47
48
 
48
49
  If you need to access private repository, make sure to specify the `repo` scope while creating your token.
49
50
 
50
- If no OAuth token is provided, unauthenticated limits to [60 requests per hour](https://developer.github.com/v3/#rate-limiting).
51
+ If no OAuth token is provided, unauthenticated requests are limited to [60 requests per hour](https://developer.github.com/v3/#rate-limiting).
51
52
 
52
53
  ### Command Line Usage
53
54
 
54
- By default `whatsnew about` without argument will search for current folder:
55
+ By default `whatsnew about` without argument will search for changelog in the current folder:
55
56
 
56
57
  ```
57
58
  $ whatsnew about
@@ -59,7 +60,7 @@ What's New:
59
60
  See CHANGELOG.md: https://github.com/jollygoodcode/whatsnew/blob/master/CHANGELOG.md.
60
61
  ```
61
62
 
62
- You can also search for a GitHub repository:
63
+ You can also search for changelog in a GitHub repository:
63
64
 
64
65
  ```
65
66
  $ whatsnew about jollygoodcode/twemoji
@@ -145,7 +146,7 @@ news.read
145
146
 
146
147
  Then search for GitHub Releases with non-empty body.
147
148
 
148
- ```
149
+ ```ruby
149
150
  news = Whatsnew.about "benbalter/licensee", oauth_token: "e72e16c7e42f292c6912e7710c838347ae178b4a"
150
151
 
151
152
  news.file_name
@@ -181,4 +182,4 @@ Please see the [LICENSE.md](/LICENSE.md) file.
181
182
 
182
183
  [![Jolly Good Code](https://cloud.githubusercontent.com/assets/1000669/9362336/72f9c406-46d2-11e5-94de-5060e83fcf83.jpg)](http://www.jollygoodcode.com)
183
184
 
184
- We specialise in Agile practices and Ruby, and we love contributing to open source. [Speak to us](http://www.jollygoodcode.com/#get-in-touch) about your next big idea, or [check out our projects](http://www.jollygoodcode.com/open-source).
185
+ We specialise in rapid development of high quality MVPs. [Hire us](http://www.jollygoodcode.com/#get-in-touch) to turn your product idea into reality.
@@ -4,5 +4,5 @@ module Whatsnew
4
4
  EMPTY_STRING = "".freeze
5
5
  STAR = "*".freeze
6
6
  NOT_FOUND = "NOT FOUND".freeze
7
- FILES_TO_SEARCH_REGEXP = %r{(CHANGE|CHANGES|CHANGELOG|NEWS|HISTORY)}i.freeze
7
+ FILES_TO_SEARCH_REGEXP = %r{(CHANGE|CHANGES|CHANGELOG|NEWS|HISTORY|RELEASE_NOTES)}i.freeze
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module Whatsnew
2
- VERSION = "1.0.0".freeze
2
+ VERSION = "1.0.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whatsnew
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juanito Fatas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-26 00:00:00.000000000 Z
11
+ date: 2016-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -101,8 +101,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  version: '0'
102
102
  requirements: []
103
103
  rubyforge_project:
104
- rubygems_version: 2.4.5.1
104
+ rubygems_version: 2.6.2
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Find out what's new about a project
108
108
  test_files: []
109
+ has_rdoc: