Commit Graph

767 Commits

Author SHA1 Message Date
Petr Korolev
1494fcdd8f Add CodeClimate and Inch CI. Fix #219 2015-03-27 01:09:27 +02:00
tuexss
8fa85475eb Merge pull request #1 from skywinder/tuexss-cleanup
rubocop cleanup
2015-03-26 23:36:04 +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
eb497471b9 move all ignoring warnings to rubocop_todo 2015-03-26 22:37:23 +02:00
Petr Korolev
9d43384198 Merge branch 'develop' 2015-03-26 19:09:40 +02:00
Petr Korolev
2e5aec751f add lineLength ingore 2015-03-26 19:09:01 +02:00
Petr Korolev
92735a2fc8 modify rubocop yml by rubocop --auto-gen-config 2015-03-26 19:06:25 +02:00
Petr Korolev
8af5c4c6b0 Merge branch 'master' into develop 2015-03-26 18:44:16 +02:00
Petr Korolev
0f7fd939bf Merge branch 'estahn-feature/parse-existing-changelog-file' 2015-03-26 18:41:39 +02: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
fb601cf552 Merge branch 'master' into develop 2015-03-26 16:34:25 +02:00
Petr Korolev
990b32cf71 Merge branch 'feature/add-rspec' 2015-03-26 16:34:18 +02:00
Petr Korolev
c5df1c22bb add identations (rubocop fix) 2015-03-26 16:27:49 +02:00
Enrico Stahn
6ef182a1fc Add RSpec and Rubocop 2015-03-26 15:57:24 +02:00
Enrico Stahn
34cd8f75f7 Configure travis to use bundler and new rake tasks 2015-03-26 15:55:44 +02:00
Petr Korolev
9e69a1c853 add rubocop and rspec to Gemfile 2015-03-26 15:54:28 +02:00
Petr Korolev
cca8e5d810 rubocop auto-fixes 2015-03-26 15:50:56 +02:00
Petr Korolev
a09b6affd4 add rubocop and rspec to Rakefile 2015-03-26 15:33:56 +02:00
Enrico Stahn
3ca25bfff0 Merge branch 'master' into feature/parse-existing-changelog-file 2015-03-27 00:07:30 +11:00
Petr Korolev
f48236e47b change default configs 2015-03-26 12:51:04 +02:00
Petr Korolev
a9baa37c64 add rspec init files 2015-03-26 12:51:04 +02:00
Petr Korolev
2576706e9f Merge branch 'develop' 2015-03-26 12:49:41 +02:00
Petr Korolev
5a2f10a47d Merge branch 'master' into develop
Conflicts:
	lib/github_changelog_generator.rb
2015-03-26 09:31:03 +02:00
Enrico Stahn
692a4f156b Add missing RSpec gem 2015-03-26 16:10:04 +11:00
Enrico Stahn
5fd3f51d78 Update Gemfile.lock with new Gems 2015-03-26 16:05:46 +11:00
Enrico Stahn
2cf62707d7 Configure travis to use bundler and new rake tasks 2015-03-26 16:01:07 +11:00
Enrico Stahn
ea89cec43a Add RSpec and Rubocop 2015-03-26 16:00:36 +11:00
Enrico Stahn
0a3ecbb81b Add RSpec and Rubocop 2015-03-26 16:00:08 +11:00
Enrico Stahn
61a6e19417 Add RSpec Tests for Reader class 2015-03-26 15:59:48 +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
a1c7ffb765 Relatively require github_changelog_generator library
During development its possible for the gem installed version of github_changelog_generator lib to get required instead of the current development version of the library. This ensures that Ruby pulls in the correct version of the lib, specifically for development without breaking production builds.
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
Petr Korolev
8841583c02 Merge pull request #207 from sneal/use-relative-require
Relatively require github_changelog_generator library
2015-03-24 11:33:43 +02:00
Petr Korolev
d6cbfe3c38 Merge pull request #76 from sneal/issue-71-add-max-issues-arg
Add --max-issues argument to limit requests
2015-03-24 11:26:14 +02:00
Shawn Neal
5978f35cce Relatively require github_changelog_generator library
During development its possible for the gem installed version of github_changelog_generator lib to get required instead of the current development version of the library. This ensures that Ruby pulls in the correct version of the lib, specifically for development without breaking production builds.
2015-03-23 10:39:26 -07: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
Petr Korolev
d43ef05287 Merge branch 'master' into develop 2015-03-23 10:09:58 +02: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
c428666106 Merge pull request #75 from skywinder/feature/fix-rate-limit-crash
Add  fallback with warning message to prevent crash in case of exceed API Rate Limit (temporary workaround for #71)
2015-03-21 02:21:37 +02:00