Commit Graph

402 Commits

Author SHA1 Message Date
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
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
a5d43b3d23 Update gemspec to version 1.4.1 2015-05-19 12:19:26 +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
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
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
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
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
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
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
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
3cc6418048 Update gemspec to version 1.3.10 2015-03-18 10:27:29 +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
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
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
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
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
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
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
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
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
3e981bb741 fix: fix date format more info at: http://xkcd.com/1179/ 2015-02-18 18:34:32 +02:00
Petr Korolev
e50ab5318d Update gemspec to version 1.2.8 2015-02-18 00:48:41 +02:00
Petr Korolev
f668aedafc prettify help message 2015-02-12 13:49:41 +02:00
Petr Korolev
69e3b17d8b Check for exception 2015-02-06 16:36:52 +02:00
Petr Korolev
f0e713d6ef Update gemspec to version 1.2.7 2015-01-26 17:00:45 +02:00
sue445
8dc50cf483 Add option: --compare-link 2015-01-26 17:00:36 +02:00
Petr Korolev
3e3cc15592 Update gemspec to version 1.2.6 2015-01-21 19:19:23 +01:00
Petr Korolev
a7a75a181e Update gemspec to version 1.2.5 2015-01-15 23:34:47 +01:00
Petr Korolev
e8d59fe66a Merge branch 'master' into develop 2015-01-15 23:27:13 +01:00
Petr Korolev
6b5cf5ab2e Merge pull request #42 from glenlovett/enterprise_github
support enterprise github via command line options
2015-01-15 23:16:54 +01:00
John Schwinghammer
5f019482d2 PrettyPrint class is included using lowercase 'pp' 2015-01-14 13:56:44 -06:00
Petr Korolev
657ce0e838 add ability to disable milestones filtering 2014-12-22 15:41:20 +02:00
Petr Korolev
e6bb728355 remove issues with other milstones 2014-12-22 15:14:01 +02:00
Lovett, Glen
6bad92e899 support enterprise github via command line options 2014-12-19 16:55:42 -05:00
Petr Korolev
5b07fc9614 Update gemspec to version 1.2.4 2014-12-16 17:52:47 +02:00
Petr Korolev
3437fbf278 fx 2014-12-16 17:43:24 +02:00
Petr Korolev
46ae40f250 Update gemspec to version 1.2.3 2014-12-16 17:25:11 +02:00
Petr Korolev
00f98b8ca6 fix #30 2014-12-15 17:02:38 +02:00
Petr Korolev
e29ff3c3a9 fix crash when user in NULL 2014-12-15 15:54:11 +02:00
Petr Korolev
fcd78e6bc4 add parsing feature, fix #38 2014-12-11 18:11:08 +02:00
Petr Korolev
c3373b2343 Update gemspec to version 1.2.2 2014-12-10 12:18:56 +02:00
Petr Korolev
9aa156a02b improve script 2014-12-10 12:18:45 +02:00
Petr Korolev
68a8d8d2c8 fix trimming for issues 2014-12-10 12:18:45 +02:00
Petr Korolev
057fb488d5 create class and implement encapsulation. This fix #34 2014-12-10 12:18:45 +02:00
Petr Korolev
5295389fcc update 2014-11-24 21:38:06 +02:00
Petr Korolev
8e5b4ed191 update 2014-11-24 21:37:10 +02:00
Petr Korolev
80cc3fc625 update parser 2014-11-24 21:33:03 +02:00
Petr Korolev
bec4fdef0e Update gemspec to version 1.2.1 2014-11-22 22:56:23 +02:00
Petr Korolev
e1e5de555b Issues for last tag not in list 2014-11-19 17:28:49 +02:00
Petr Korolev
fa4ccb7e9c gix bug in logic 2014-11-19 16:23:54 +02:00
Petr Korolev
4c5ca562cf Disable default --filter-pull-requests option. 2014-11-19 15:58:14 +02:00
Petr Korolev
bf88bc0a0e Update gemspec to version 1.2.0 2014-11-19 15:48:32 +02:00
Petr Korolev
97311bc5a0 add parse option --filter-pull-requests 2014-11-19 15:45:24 +02:00
Petr Korolev
7aa9b6ca47 Add ability to insert authors of pull-requests (--[no-]author option) 2014-11-19 13:53:36 +02:00
Petr Korolev
865a364dff pretty print for input options 2014-11-19 12:51:23 +02:00
Petr Korolev
9f9f237e96 Update gemspec to version 1.1.4 2014-11-18 15:48:27 +02:00
Petr Korolev
bf17d9e284 Update gemspec to version 1.1.3 2014-11-18 15:27:43 +02:00
Petr Korolev
07e0ec0cfb Move version to separate file 2014-11-17 17:54:13 +02:00
Petr Korolev
03bca478c8 Add token support, resolved #19.
Use CHANGELOG_GITHUB_TOKEN variable to specify token in the shell.
2014-11-13 09:09:12 +02:00
Petr Korolev
1357b3980d Fix bug with auto-detect project name, when there is dot signs in project name
add fix for username also
2014-11-12 11:05:03 +02:00
Petr Korolev
f0716771b5 Sort issues by tags 2014-11-10 16:17:43 +02:00
Petr Korolev
f08685b015 Add ability to add ot exclude issues wothout any labels 2014-11-10 15:37:43 +02:00
Petr Korolev
337c9a7d59 add option that close #11 2014-11-10 14:36:27 +02:00
Petr Korolev
acd2daada3 Remove delimeter and fix parser. This final commit should close #6 enchantment! Yay! 2014-11-07 17:57:32 +02:00
Petr Korolev
381ffeb261 add support for issues 2014-11-07 17:47:42 +02:00
Petr Korolev
f9e6a076bc implement "issues" parsing + check for merged requests 2014-11-07 17:05:01 +02:00
Petr Korolev
8457b764bf update readme and bump gem 2014-11-07 13:52:23 +02:00
Petr Korolev
20095c571d add option for output file, update readme 2014-11-07 11:25:09 +02:00
Petr Korolev
66bebc1398 make it executable + man fix 2014-11-06 18:59:06 +02:00
Petr Korolev
58534f44a7 rename, move to proper folders, separate files 2014-11-06 16:11:45 +02:00