Commit Graph

45 Commits

Author SHA1 Message Date
Andrew Waage
8277aa4319 added VCR and specs for original fetcher 2016-09-29 23:09:04 +02:00
Olle Jonsson
04215618a2 Lint: frozen-string-literal 2016-09-22 19:16:29 +02: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
8bd4578e44 check that page is not nil 2016-06-06 10:23:38 +03:00
Petr Korolev
857b9e6f53 rubocop updates 2016-02-23 17:19:14 +02:00
Petr Korolev
2691a3ef96 Revert "Rubocop fixes"
This reverts commit fa0267b586.
2016-02-23 17:19:14 +02:00
Petr Korolev
fa0267b586 Rubocop fixes 2016-02-23 12:25:55 +02:00
Steve Gilvarry
0e4c775ce4 Revert changes made for trying to use github_options
Reverting other changes made that I missed.
2016-01-05 21:31:38 +11:00
Steve Gilvarry
5d5a48e00e Remove debug code 2016-01-03 07:06:25 +11:00
Steve Gilvarry
35b581240f Reinstate User and Repo options
Trying to use github options to hold repo and user didn’t seem to work
for all commands. Reverting those changes
2016-01-03 07:02:19 +11:00
Steve Gilvarry
29fd202ed0 Clean up user and project from all api calls 2015-11-20 22:17:10 +11:00
Steve Gilvarry
afbb47ecf3 Remove repeated user and repo params
Used the github_options setting to add user and repo values
2015-11-20 22:12:06 +11:00
Steve Gilvarry
06a8fe8169 Add release-branch option to filter the Pull Requests by those applied on a partcular release branch 2015-11-18 16:56:27 +11:00
Petr Korolev
82dd0b3cce This commit close #262 2015-08-25 14:27:40 +03:00
Petr Korolev
adab012de4 fix: fix crash when github api rate exceeded 2015-06-12 10:03:47 +03:00
Petr Korolev
8906fe5022 refactoring 2015-06-10 16:49:06 +03:00
Petr Korolev
67fbb04b31 add documentation 2015-06-10 14:19:53 +03:00
Petr Korolev
ff6115247e Move logging to separate class, disable logging during test execution. 2015-06-10 13:27:27 +03:00
Petr Korolev
6f82741154 add tests 2015-05-26 16:06:37 +03:00
Petr Korolev
9a24eb1cb3 rubocop autofixes 2015-05-22 15:59:29 +03:00
Petr Korolev
ec7c98758c fix #69 2015-05-19 11:47:56 +03:00
Petr Korolev
d0defc4c9b Prettify log output 2015-05-19 10:12:53 +03:00
Petr Korolev
e9cb010f09 fix rubocop warnings 2015-05-18 15:50:10 +03:00
Petr Korolev
1ee1dfd50f wrap github methods in another method 2015-05-18 15:23:56 +03:00
Petr Korolev
8a3ff1b799 Merge branch 'develop' into fetch-refactoring 2015-05-18 13:51:26 +03:00
Petr Korolev
bbeebf7e28 fx 2015-05-18 12:15:42 +03:00
Petr Korolev
583076f32c Merge branch 'develop' into add-tests 2015-05-18 12:00:31 +03:00
Petr Korolev
0ff48a3dba Fix #235 2015-05-18 12:00:08 +03:00
Petr Korolev
866c9f95d3 print error more descriptive 2015-05-18 09:26:36 +03:00
Petr Korolev
7b356bf01a add tests for fetching token 2015-05-14 17:53:17 +03:00
Petr Korolev
819bcf5948 rubocop autofixes, rm bum file 2015-05-14 16:49:05 +03:00
Petr Korolev
0a35113a88 rubocop fixes 2015-04-22 00:33:50 +03:00
Petr Korolev
79a84a14f4 add logger 2015-04-22 00:26:28 +03:00
Petr Korolev
6d8dbd16ad fix long lines (>80) 2015-04-22 00:00:57 +03:00
Petr Korolev
b7980c8900 rubocop autofixes 2015-04-21 23:37:03 +03:00
Petr Korolev
e27fe24a76 refactoring 2015-04-21 23:32:52 +03:00
Petr Korolev
088c98d0bf move methods 2015-04-21 20:42:33 +03:00
Petr Korolev
ce7f35777b Merge branch 'develop' into feature/fetcher
Conflicts:
	lib/github_changelog_generator.rb
2015-04-03 18:40:11 +03:00
Petr Korolev
7c29f3ddd2 move @github to fetcher
Conflicts:
	lib/github_changelog_generator.rb
2015-03-27 16:29:47 +02:00
Petr Korolev
a2cf6810ad add fetcher class 2015-03-27 16:25:57 +02:00