Commit Graph

459 Commits

Author SHA1 Message Date
Petr Korolev
5a5de9ee4a Update gemspec to version 1.8.1 2015-08-25 17:31:54 +03:00
Petr Korolev
7e21aacecc simpify expressin & update change log 2015-08-25 17:31:05 +03:00
Raphaël Pinson
0fae7e0f9e Use since_tag as default for older_tag 2015-08-25 17:31:05 +03:00
Raphaël Pinson
953d2813fb Honor labels in PRs, fix #266 2015-08-25 17:31:04 +03:00
Petr Korolev
bc37d0277b update change log 2015-08-25 15:15:30 +03:00
Petr Korolev
c4846b7ef9 Merge branch 'develop' into feature/fix-262 2015-08-25 15:10:04 +03:00
Petr Korolev
d09dad30f4 update change log 2015-08-25 15:08:09 +03:00
Petr Korolev
82dd0b3cce This commit close #262 2015-08-25 14:27:40 +03:00
Petr Korolev
1ae86e3cb2 rename and convert string to sybol 2015-08-25 13:14:04 +03:00
Petr Korolev
d7b5d77bbf Update gemspec to version 1.8.0 2015-08-24 17:55:23 +03:00
Petr Korolev
80b40d1b36 Merge branch 'feature/due-tag' into develop 2015-08-24 17:52:09 +03:00
Petr Korolev
4261c3494e Add due-tag option and tests 2015-08-24 17:29:07 +03:00
Petr Korolev
d138644925 add docs 2015-08-24 16:47:37 +03:00
Raphaël Pinson
73d4415e14 Add release_url to rake task options 2015-08-24 14:55:57 +02:00
Petr Korolev
8c35215697 Merge branch 'dev/no_replace' of https://github.com/raphink/github-changelog-generator into raphink-dev/no_replace 2015-08-24 14:43:05 +03:00
Raphaël Pinson
9acca33bc2 Test if @options[:base] is set 2015-08-12 16:35:47 +02:00
Petr Korolev
4aa9c61520 Merge pull request #259 from raphink/dev/release_url
Add release_url option
2015-08-09 17:08:52 +03:00
Raphaël Pinson
bfae7b9a45 Auto detect since tag from base file 2015-08-05 10:57:08 +02:00
Raphaël Pinson
4202b95076 Add --base option 2015-08-05 10:40:28 +02:00
Raphaël Pinson
4856a3c8e9 Add release_url option 2015-08-05 10:31:16 +02:00
Raphaël Pinson
5d9b44eac3 Add a rake task 2015-08-05 10:26:29 +02:00
Raphaël Pinson
32f4df5742 Add --since-tag option
Fix #254
2015-08-04 16:15:33 +02:00
Raphaël Pinson
0190d417c2 Typo 2015-08-04 14:56:39 +02:00
Petr Korolev
016f5e690c Update gemspec to version 1.7.0 2015-07-16 17:22:56 +03:00
Petr Korolev
f215694ffb update chanhelog 2015-07-16 15:32:02 +03:00
Petr Korolev
68a045da22 fix: fix help message 2015-07-16 15:29:17 +03:00
Petr Korolev
e274f9992a fix #251 2015-07-16 14:47:01 +03:00
Petr Korolev
4de98a7d16 fix #242 2015-07-16 14:36:25 +03:00
Petr Korolev
d21651776c fix for #242 2015-07-16 14:32:11 +03:00
Petr Korolev
57b33ae6b9 Update gemspec to version 1.6.2 2015-07-16 12:29:24 +03:00
Petr Korolev
36346b5fc6 Fix #250 2015-07-16 12:24:43 +03:00
Petr Korolev
fee976df22 Update gemspec to version 1.6.1 2015-06-12 11:42:02 +03:00
Petr Korolev
4f21ae7768 Add 3 new options. Fix #241. 2015-06-12 11:37:25 +03:00
Petr Korolev
1fa1cccd2a update change log 2015-06-12 10:04:14 +03:00
Petr Korolev
adab012de4 fix: fix crash when github api rate exceeded 2015-06-12 10:03:47 +03:00
Petr Korolev
6c6116381b add < to encaprulated characters. fix #249 2015-06-12 09:34:27 +03:00
Petr Korolev
f527cfff67 fix: multiple printing of "Fetching closed dates for issues: Done!"
string
2015-06-12 09:16:23 +03:00
Petr Korolev
44ce94d7a8 Update gemspec to version 1.6.0 2015-06-11 16:44:43 +03:00
Petr Korolev
67ea3159cd add capital words for exclude labels 2015-06-11 16:44:33 +03:00
Petr Korolev
80a5fdef0c This fixes #54. And fix #240 also. 2015-06-11 16:44:33 +03:00
Petr Korolev
f7e9199841 Fix #246 2015-06-11 16:10:13 +03:00
Petr Korolev
19eb03c54e Add tests to verify sorting algorithm #244 2015-06-11 15:57:32 +03:00
Petr Korolev
8906fe5022 refactoring 2015-06-10 16:49:06 +03:00
Petr Korolev
a415010e86 change internal logic 2015-06-10 14:37:26 +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
9b46d56a9e fix #245 2015-06-10 13:23:46 +03:00
Petr Korolev
c3867a89f1 update test, between tags. 2015-06-10 10:24:39 +03:00
Petr Korolev
f0a22f0378 Update gemspec to version 1.5.0 2015-05-26 16:06:51 +03:00
Petr Korolev
783d8f306e Resolved #214. Added tests for this case. small refacroting 2015-05-26 16:06:37 +03:00
Petr Korolev
6f82741154 add tests 2015-05-26 16:06:37 +03:00
Petr Korolev
b9e7463c3e fix #172 2015-05-26 16:06:37 +03:00
Petr Korolev
b06bb635ed fix log 2015-05-26 16:06:37 +03:00
Petr Korolev
a72ad326c4 fixes #226, and closes #228
fixup

fx
2015-05-25 16:27:15 +03:00
Petr Korolev
da4bc8952d simplify code complexity 2015-05-25 15:47:43 +03:00
Petr Korolev
d2cd79e710 fix arg is nil 2015-05-25 15:39:24 +03:00
Petr Korolev
8f4a931256 reduce complexity accouding codeclimate recomendations 2015-05-25 15:17:51 +03:00
Petr Korolev
171e536e76 add tests for regex 2015-05-25 14:21:23 +03:00
Petr Korolev
757f6d40b4 add tests 2015-05-25 13:34:37 +03:00
Petr Korolev
c3b9455dfd fix regex mess 2015-05-25 13:02:10 +03:00
Petr Korolev
134c18ba06 typo 2015-05-25 09:56:59 +03:00
Petr Korolev
4ffb493787 slice fetching 2015-05-25 09:18:58 +03:00
Petr Korolev
b10707b259 reorganaize issues fetching in more clear way 2015-05-22 17:44:06 +03:00
Petr Korolev
3f076b3069 spread methods by files 2015-05-22 16:39:08 +03:00
Petr Korolev
9a24eb1cb3 rubocop autofixes 2015-05-22 15:59:29 +03:00
Petr Korolev
cf7ae57e3d prettify code. fix rubocop waning. move all methods with change log
generation to generator
2015-05-22 15:55:37 +03:00
Petr Korolev
3c289de79b move 2 other methods 2015-05-22 15:28:43 +03:00
Petr Korolev
4a96a7c0c9 move compund to generator 2015-05-22 14:11:29 +03:00
Petr Korolev
7f696b6b09 rename, prepare to moving methods to generator 2015-05-22 14:06:48 +03:00
Petr Korolev
536b39c961 add doc 2015-05-22 13:37:06 +03:00
Petr Korolev
944adc92cd refacktoring. move separation logic in funciton 2015-05-22 13:34:01 +03:00
Petr Korolev
3fc3e3e143 minor changes 2015-05-22 09:22:44 +03:00
Petr Korolev
a5d43b3d23 Update gemspec to version 1.4.1 2015-05-19 12:19:26 +03:00
Petr Korolev
66152e59de Fix #237 2015-05-19 11:55:32 +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
f3e484b508 Merge pull request #231 from inaka/master
Add future release option
2015-05-13 09:14:34 +03:00
Petr Korolev
6710078766 Update gemspec to version 1.4.0 2015-05-07 17:14:25 +03:00
Roberto Romero
a0dce72151 Fixes #1: Add future release option 2015-04-30 20:24:03 -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
9ab84ac181 Merge branch 'master' into feature/fetcher 2015-04-04 03:41:09 +03:00
Petr Korolev
26e202d7f0 add documentation 2015-04-04 03:37:31 +03:00
Petr Korolev
b598bd5ba1 add docs. add fail statment 2015-04-04 03:30:35 +03:00
Petr Korolev
c44be45ce4 add doc fix bug with filtering in case of nil issues 2015-04-04 03:18:12 +03:00
Petr Korolev
177b7aa18f code cleanup. remove code duplication 2015-04-04 03:10:16 +03:00
Petr Korolev
e495b58682 Merge branch 'develop' into feature/fetcher
Conflicts:
	.rubocop_todo.yml
	lib/github_changelog_generator.rb
2015-04-04 02:31:44 +03:00
Petr Korolev
e82a75611c refactoring 2015-04-04 02:30:02 +03:00
Petr Korolev
38576e23e3 update changelog
set default debug repo
add documentation
2015-04-04 02:23:30 +03:00
Petr Korolev
79d228c7a0 cleanup 2015-04-04 00:25:14 +03:00
Petr Korolev
e1161f9d90 code cleanup. remove duplicate code 2015-04-04 00:22:40 +03:00
Petr Korolev
dae68ee3b5 rubocop fixes 2015-04-04 00:08:00 +03:00
Petr Korolev
2b656c83b6 add doc + fix raise 2015-04-03 19:13:50 +03:00
Petr Korolev
4e9ed5df28 add error class and documentation 2015-04-03 18:59:37 +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
da60c73502 Go with souble quotes. (See https://github.com/skywinder/github-changelog-generator/pull/220#discussion_r27262657 ) 2015-04-02 12:05:26 +03:00
Petr Korolev
b5d073c0af Merge branch 'develop' into feature/fetcher 2015-04-01 14:17:14 +03:00
Petr Korolev
d361baaec5 add documentation 2015-03-27 17:15:08 +02:00
Petr Korolev
ae0d1d16de Fix missed sub-section headers and add documentation 2015-03-27 17:06:09 +02:00
Petr Korolev
c8584a1749 add documentation 2015-03-27 16:48:13 +02: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
tuexss
c5a01bb24f Merge branch 'cleanup' of https://github.com/tuexss/github-changelog-generator into cleanup 2015-03-27 00:46:37 +01:00
tuexss
d425ae1a9a Change option name from format to dateformat 2015-03-27 00:23:28 +01:00
tuexss
fb50acca57 Sort option defaults as listed 2015-03-27 00:21:42 +01:00
tuexss
3bd3dae016 Set default for simple-list 2015-03-27 00:18:09 +01:00
tuexss
fd2beef12a Set default for include labels 2015-03-27 00:16:35 +01:00
tuexss
c088349bc3 Cleanup for parser helpmessages 2015-03-27 00:14:50 +01:00
Petr Korolev
8462f017b7 rubocop cleanup 2015-03-27 00:24:55 +02:00
tuexss
57ef59d76c Don't pass log as parameter 2015-03-26 23:09:31 +01:00
tuexss
808155ee3a Slim down newer_tag initialization 2015-03-26 23:03:49 +01:00
tuexss
d80a6803be Optimize feedback when no tags found 2015-03-26 22:30:13 +01:00
tuexss
93291dde7c Remove misspelled and unused method 2015-03-26 22:12:45 +01:00
tuexss
c67909959b Consistent print/put messages and style 2015-03-26 22:01:58 +01:00
tuexss
2c8ba4965b Fix method name typo 2015-03-26 21:47:17 +01:00
Petr Korolev
cc6ac05254 Merge branch 'feature/parse-existing-changelog-file' of https://github.com/estahn/github-changelog-generator into estahn-feature/parse-existing-changelog-file
Conflicts:
	Gemfile
	Gemfile.lock
	Rakefile
2015-03-26 18:41:24 +02:00
Petr Korolev
cca8e5d810 rubocop auto-fixes 2015-03-26 15:50:56 +02:00
Enrico Stahn
3ca25bfff0 Merge branch 'master' into feature/parse-existing-changelog-file 2015-03-27 00:07:30 +11:00
Enrico Stahn
6af43b63e1 Include Reader class 2015-03-26 15:58:16 +11:00
Enrico Stahn
9f06a20741 Refactor Reader class to conform with Rubocop 2015-03-26 15:57:51 +11:00
Enrico Stahn
1eee5bffd8 Implement Reader class to parse ChangeLog.md 2015-03-26 00:40:24 +11:00
Petr Korolev
0d0a37b653 fix logic of rescue. 2015-03-24 16:51:51 +02:00
Petr Korolev
5f6756e8dd Add warrning in case of 0 tags in repo. Fix #208. Reformat + prettify output. 2015-03-24 16:51:51 +02:00
Shawn Neal
1456ba8913 Improved --max-issues docs and messaging
- defaulted max issues to be unlimited in number allowing user to optionally limit issues returned
- added FAQ section on rate limiting and API rate limit exceeded warning
2015-03-24 16:51:51 +02:00
Shawn Neal
90f6436af6 Add --max-issues argument to limit requests
This addresses issue 71 by providing a configurable limit on the number of issues to retrieve. By default this limits the number of issues to 500 which should help users stay under the GitHub API limit and keep change logs from growing ridiculous in size for older repos.
2015-03-24 16:51:51 +02:00
Shawn Neal
856ad3a742 Improved --max-issues docs and messaging
- defaulted max issues to be unlimited in number allowing user to optionally limit issues returned
- added FAQ section on rate limiting and API rate limit exceeded warning
2015-03-23 08:13:44 -07:00
Shawn Neal
643f2f9eab Add --max-issues argument to limit requests
This addresses issue 71 by providing a configurable limit on the number of issues to retrieve. By default this limits the number of issues to 500 which should help users stay under the GitHub API limit and keep change logs from growing ridiculous in size for older repos.
2015-03-20 18:45:40 -07:00
Petr Korolev
7b38f0f56a Update gemspec to version 1.3.11 2015-03-21 02:13:09 +02:00
Petr Korolev
7704dc9ecd Add rescue fallback with warning message to prevent crash in case of exceed Rate Limit (temporary workaround for #71) 2015-03-21 02:12:58 +02:00
Petr Korolev
3cc6418048 Update gemspec to version 1.3.10 2015-03-18 10:27:29 +02:00
Petr Korolev
a4f93feb7d This commit fix #69. 2015-03-18 10:18:58 +02:00
Petr Korolev
b0be9f8b06 Fix termination in case of empty unreleased section with --unreleased-only option. 2015-03-18 09:39:21 +02:00
Petr Korolev
c2e73edc29 Update gemspec to version 1.3.9 2015-03-06 16:47:28 +02:00
Petr Korolev
045dff7cbc Fix: Improve method of detecting owner and repository. Fix #63 2015-03-06 16:32:59 +02:00
Petr Korolev
cc65da5153 update changelog 2015-03-06 16:08:02 +02:00
Petr Korolev
c22f8b4a31 increase number of threads to 50, typo fix 2015-03-06 15:09:13 +02:00
Petr Korolev
2c46d32531 limit fetching up to 10 threads 2015-03-06 14:57:55 +02:00
Petr Korolev
aa88122d48 Update gemspec to version 1.3.8 2015-03-05 17:14:51 +02:00
Petr Korolev
a69c2b5343 update gem 2015-03-05 17:14:40 +02:00
Petr Korolev
87f95140d9 fix: remote branch parsing 2015-03-05 17:07:04 +02:00
Petr Korolev
0706f89c02 Update gemspec to version 1.3.6 2015-03-05 14:35:54 +02:00
Petr Korolev
419e7e78ad Fix: exception in case no tags in repo 2015-03-05 14:33:01 +02:00
Petr Korolev
6159ebba2f refactoring 2015-03-05 13:20:51 +02:00
Petr Korolev
c20529bf32 Update gemspec to version 1.3.5 2015-03-04 21:27:03 +02:00
Petr Korolev
26c393c2cc Fix #60. Thanks, @GeekOnCoffee! 2015-03-04 21:25:21 +02:00
Petr Korolev
f8f887093a update changelog test repo 2015-03-04 19:40:15 +02:00
Petr Korolev
63bf4a59d4 fix help message 2015-03-04 16:45:18 +02:00
Petr Korolev
8d27718648 Update gemspec to version 1.3.4 2015-03-03 19:19:52 +02:00
Petr Korolev
8f8be4740d fix #59 2015-03-03 19:19:08 +02:00
Petr Korolev
84c52dba98 Update gemspec to version 1.3.3 2015-03-03 17:59:03 +02:00
Petr Korolev
2b5c1297b1 Fix: remove date from unreleased section 2015-03-03 17:53:30 +02:00
Petr Korolev
7f68f3db13 fix #58 2015-03-03 17:33:51 +02:00
Petr Korolev
911e6a6e6f Update gemspec to version 1.3.2 2015-03-03 17:20:21 +02:00
Petr Korolev
8201de3758 fix #57 2015-03-03 17:19:58 +02:00
Petr Korolev
711241621f Update gemspec to version 1.3.1 2015-02-27 15:24:59 +02:00
Petr Korolev
54eb81bc6a Fix: replace ###headers to **bold** in sections names 2015-02-27 15:17:10 +02:00
Petr Korolev
004b37b7b9 Fix: Remove redudant spaces between sections 2015-02-27 15:05:22 +02:00
Petr Korolev
3a6670cc02 Update gemspec to version 1.3.0 2015-02-26 12:49:14 +02:00
Petr Korolev
2918d9c385 Fix #31 2015-02-26 12:48:58 +02:00
Petr Korolev
a40105b718 implement pull request parsing 2015-02-26 12:48:58 +02:00
Petr Korolev
08f61216c8 update parser 2015-02-26 12:48:58 +02:00
Petr Korolev
2edd6097bd Fix #55. 2015-02-25 13:52:41 +02:00
Petr Korolev
3a0c6a8558 fix sign 2015-02-24 18:08:50 +02:00
Petr Korolev
922fa9fc7e fix: Changelog -> Change Log 2015-02-24 16:44:52 +02:00
Petr Korolev
d16c4109dc miror fixes 2015-02-20 11:51:07 +02:00
Petr Korolev
27ab2a906c refactoring 2015-02-19 17:37:50 +02:00
Petr Korolev
dd2be24d3b format fix 2015-02-18 23:36:07 +02:00
Petr Korolev
c4f91f55ff Fix #44. 2015-02-18 23:32:40 +02:00
Petr Korolev
1dd82cddf4 cm 2015-02-18 23:28:54 +02:00
Petr Korolev
c8db84a4a5 prettify output: display tag fetching status 2015-02-18 22:29:30 +02:00
Petr Korolev
563ddb7f30 refactoring 2015-02-18 22:21:23 +02:00
Petr Korolev
1d7f09e9bb change include to exclude default rule 2015-02-18 22:11:11 +02:00
Petr Korolev
48e3a75251 implement eclude labels feature. Fix #52. 2015-02-18 22:08:10 +02:00
Petr Korolev
9b8291ab69 rename oprion 2015-02-18 22:00:27 +02:00
Petr Korolev
a90c276a9f Fix milesones support for unreleased issues. Fix #47 2015-02-18 21:43:05 +02:00
Petr Korolev
e6dc367f99 Add ability to include and exclude Unreleased by keys.
Add ability to generate only unreleased changelog
2015-02-18 20:16:10 +02:00
Petr Korolev
454bfb5a86 cm 2015-02-18 19:58:24 +02:00
Petr Korolev
07073ea02c fix: Change CHANGELOG format for date presentation. More info here: https://github.com/olivierlacan/keep-a-changelog/issues/59 and here http://en.wikipedia.org/wiki/ISO_8601 2015-02-18 18:57:10 +02:00
Petr Korolev
3e981bb741 fix: fix date format more info at: http://xkcd.com/1179/ 2015-02-18 18:34:32 +02:00
Petr Korolev
9c19ae00b1 Merge branch 'feature/add-pr-milestones' into develop 2015-02-18 01:30:39 +02:00
Petr Korolev
53ec89beb0 Merge branch 'feature/fix-37' into develop
Conflicts:
	lib/CHANGELOG.md
2015-02-18 01:29:09 +02:00
Petr Korolev
bcae804809 Add filtering of Pull Requests by milestones 2015-02-18 01:24:51 +02:00
Petr Korolev
f8a59643ca update chlg 2015-02-18 01:11:25 +02:00
Petr Korolev
e50ab5318d Update gemspec to version 1.2.8 2015-02-18 00:48:41 +02:00
Petr Korolev
9d49b1488a Finaly fixed! Thanks, @runar ! :) Fix #37. 2015-02-18 00:48:21 +02:00
Petr Korolev
3a9eca4233 add todo reminder 2015-02-18 00:48:20 +02:00
Petr Korolev
04f1173616 Make it works async and fast! 2015-02-18 00:48:20 +02:00