Commit Graph

459 Commits

Author SHA1 Message Date
Petr Korolev
0c96db9490 Merge branch 'aw/all-merged' of https://github.com/olleolleolle/github-changelog-generator into olleolleolle-aw/all-merged 2016-09-29 19:12:21 +03:00
Olle Jonsson
1c8a2d29ea Style: Use attr_reader for options
- prefer parentheses
2016-09-28 00:49:10 +02:00
Olle Jonsson
fe0fd94ea3 Typo: variable rename 2016-09-28 00:14:26 +02:00
Olle Jonsson
de525fb1e8 Typo, renamed var 2016-09-27 23:54:17 +02:00
Olle Jonsson
db1ffdd59b Linting 2016-09-27 23:44:49 +02:00
Olle Jonsson
0fc6da1a75 Style 2016-09-27 23:03:40 +02:00
Olle Jonsson
6d45d90a5f Drop Hashie dependency 2016-09-27 23:01:14 +02:00
Olle Jonsson
3df84403c4 WIP Remove github_api gem, smaller dependencies
- use VCR with metadata instead of macros
  - upgrade colorize gem
2016-09-27 23:00:34 +02:00
Andrew Waage
1763f9c8ea fixed a bug in fetching tags 2016-09-27 22:58:55 +02:00
Andrew Waage
180b4cb6c9 fixed one bug in filtering excluded tags 2016-09-27 22:58:55 +02:00
Andrew Waage
b82aa64eee fixed 1 bug to work with octokit api 2016-09-27 22:58:55 +02:00
Andrew Waage
cb6286fb83 merged in the tag fixes 2016-09-27 22:58:55 +02:00
Andrew Waage
7dcf617d61 fixed bug in each_with_object 2016-09-27 22:57:43 +02:00
Andrew Waage
e89b03fe48 fixing rubocop and removing original fetcher 2016-09-27 22:56:30 +02:00
Andrew Waage
9ff27b690f max thread 1 2016-09-27 22:46:16 +02:00
Andrew Waage
bcf57dbe0e changing max threads to 4 2016-09-27 22:46:16 +02:00
Andrew Waage
4cfb1e4a5f cleaned up caching and added to options parser 2016-09-27 22:46:16 +02:00
Andrew Waage
b81f8a4169 minor clean up 2016-09-27 22:46:16 +02:00
Andrew Waage
3179f29a7c fixed some handling of hashes 2016-09-27 22:46:16 +02:00
Andrew Waage
aee2f43235 made old fetcher compatible 2016-09-27 22:46:16 +02:00
Andrew Waage
63b3de1281 fixing specs 2016-09-27 22:46:16 +02:00
Andrew Waage
0517674f04 one more place for stringify keys 2016-09-27 22:46:16 +02:00
Andrew Waage
53b0684e67 stringify more keys 2016-09-27 22:46:16 +02:00
Andrew Waage
ca5d6d9675 using strings instead of symbols 2016-09-27 22:46:16 +02:00
Andrew Waage
3cb3584bb9 reverting the old fetcher where I changed to string 2016-09-27 22:45:10 +02:00
Andrew Waage
4fb674b68e added specs for the new octo_fetcher. Also had to refactor a bit to deal with hashes and arrays instead of objects 2016-09-27 22:45:10 +02:00
Andrew Waage
e494fc004e added VCR and specs for original fetcher 2016-09-27 22:38:25 +02:00
Andrew Waage
4ecb21c0b0 first pass at caching. still WIP. Need to parameterize some things 2016-09-27 22:37:26 +02:00
Andrew Waage
3cf2802d9a fixed some bugs and how errors were rescued 2016-09-27 22:34:30 +02:00
Andrew Waage
507b89c665 changed the format of how dates are fetched from commit 2016-09-27 22:34:30 +02:00
Andrew Waage
cd14a86f84 changed the rescued exceptions 2016-09-27 22:34:30 +02:00
Andrew Waage
5d7098282d moved parse_url_for_vars to private method 2016-09-27 22:34:30 +02:00
Andrew Waage
0751082526 clean up 2016-09-27 22:34:30 +02:00
Andrew Waage
baa4e3e659 created a new fetcher with octokit. functionality should remain same 2016-09-27 22:34:30 +02:00
Olle Jonsson
e2020bbab3 Skip logger helper in coverage 2016-09-27 22:08:18 +02:00
Olle Jonsson
7f8131d5cd Lint: avoid multi-line ternary operator 2016-09-22 19:17:23 +02:00
Olle Jonsson
04215618a2 Lint: frozen-string-literal 2016-09-22 19:16:29 +02:00
Olle Jonsson
b259b186a7 Rainbow library: do not extend String
- do not include all the rainbow presenter methods directly in the
    String class
2016-09-01 11:51:53 -07:00
Olle Jonsson
7e77fd6c57 Drop all local color method calls
- The central logging method decides the color of the output
  - pass Rubocop complaints
2016-09-01 11:50:17 -07:00
James Casey
f647dc0d98 Change to use Rainbow instead of colorize
colorize is licensed under GPL-2 which conflicts with the MIT license of
github_changelog_generator.  This changes all usage of colorize to
rainbow which does have a compatible license (MIT)
2016-08-31 14:27:39 -07:00
Olle Jonsson
d23375f5ac Merge pull request #405 from jkeiser/jk/error2
Report actual github error when rate limit exceeded
2016-08-11 00:19:35 +02:00
John Keiser
27f2536a0e Limit number of simultaneous requests to 25 2016-08-09 18:42:58 -07:00
John Keiser
07f4e530a4 Report actual github error when rate limit exceeded
Also, don't report rate limit exceeded error unless the rate limit was exceeded.
2016-08-09 13:28:52 -07:00
John Keiser
c66b0f9aff Make error messages print on error 2016-08-08 12:49:02 -07:00
Petr Korolev
059e4d4bc3 Merge branch 'release/1.13.1' 2016-07-22 11:16:54 +03:00
Petr Korolev
6c2ef97f63 Update gemspec to version 1.13.1 2016-07-22 11:16:51 +03:00
Petr Korolev
74882ef900 fix quote escape 2016-07-22 09:28:06 +03:00
Petr Korolev
939f6fd768 THis fix #397 2016-07-21 17:48:46 +03:00
Petr Korolev
f32a02a75b remove unused puts 2016-07-21 17:47:53 +03:00
Petr Korolev
4f57845465 rename methods to match of it's actions 2016-07-21 17:47:52 +03:00