Commit Graph

348 Commits

Author SHA1 Message Date
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
Olle Jonsson
9acfcf103c Merge pull request #391 from olleolleolle/feature/parser-docstrings
Parser: YARD docstrings and a rename, and RegExp named capture groups
2016-07-14 00:34:44 +02:00
Per Lundberg
408b12111d Added a missing OPTION
I noted that this was missing when trying to use it. 😄
2016-07-06 15:12:22 +03:00
Petr Korolev
c2083a4df5 Merge branch 'release/1.13.0' 2016-07-04 11:11:45 +03:00
Petr Korolev
0c2e62954d Update gemspec to version 1.13.0 2016-07-04 11:11:43 +03:00
Olle Jonsson
3962474e9f usernames_as_github_logins: Use option 2016-07-02 17:20:31 +02:00
Olle Jonsson
58bfa047c4 Option usernames_as_github_logins: Mention Markdown 2016-07-02 17:19:54 +02:00
phase
59db1c7821 CLI option for GitHub tags
Not actually implemented yet
2016-07-02 17:10:56 +02:00
phase
0e671a96da Remove trailing whitespace 2016-07-02 17:10:56 +02:00
phase
4c737c9373 Extract username tagging 2016-07-02 17:10:56 +02:00
phase
df31f98ce3 Use GitHub tags to reference GitHub users
This will use @tags to notify the contributor that their contribution is in the changelog.

As discussed in https://github.com/github/linguist/pull/2698#issuecomment-150887871
2016-07-02 17:10:56 +02:00
Olle Jonsson
b63d9d623e Parser: RegExp with named capture groups 2016-07-02 10:49:49 +02:00
Olle Jonsson
d9e2cdeeac Parser: YARD docstrings and a rename 2016-07-02 10:33:15 +02:00
Petr Korolev
8bd4578e44 check that page is not nil 2016-06-06 10:23:38 +03:00
Petr Korolev
29540ced2c Update gemspec to version 1.12.1 2016-05-09 15:23:19 +03:00
Olle Jonsson
01a254e412 Avoid nil bug in detect_since_tag 2016-05-09 15:22:56 +03:00
Petr Korolev
6a51c0b435 Merge branch 'release/1.12.0' 2016-04-01 13:32:34 +03:00
Petr Korolev
7b78c3f8d0 Update gemspec to version 1.12.0 2016-04-01 13:32:32 +03:00
Petr Korolev
519ca91cd7 Merge pull request #320 from ITV/filter-tags
Added tag exclusion with a filter (string or regex)
2016-03-28 13:04:06 +03:00
Adam
61ec650801 refactor 2016-03-24 12:40:42 +00:00
Adam
6a0ade1194 refactor 2016-03-24 12:22:33 +00:00
Adam
dd149d7ad9 implement #filter_excluded_tags_regex with regex exclude_tags 2016-03-24 11:59:20 +00:00
Petr Korolev
61bfba69c5 Merge branch 'release/1.11.8' 2016-03-22 14:38:02 +02:00
Petr Korolev
11d85bff41 Update gemspec to version 1.11.8 2016-03-22 14:37:59 +02:00
Olle Jonsson
0fccc4396f ParserFile: Config format allows empty lines
- defined as: lines that consist only of whitespace
2016-03-19 17:12:30 +01:00
Olle Jonsson
4569fad479 ParserFile: Allow comments in settings file
- Ruby-style or semi-colon-style accepted
2016-03-19 16:50:39 +01:00
Olle Jonsson
7c2b95d24b ParserFile: shorter error message due to context 2016-03-19 16:17:10 +01:00
Olle Jonsson
1a289c872d ParserFile: rename private method 2016-03-19 16:09:34 +01:00
Olle Jonsson
6b64d4e4a2 Docs 2016-03-19 15:50:05 +01:00
Olle Jonsson
29b5ef3d53 ParserFile: config failure line number 2016-03-19 15:18:20 +01:00
Olle Jonsson
2e8e2a62e1 ParserFile: removed public method 2016-03-19 15:13:12 +01:00
Olle Jonsson
15d92cea45 ParserFile: Drop unused public method 2016-03-19 15:09:08 +01:00
Olle Jonsson
93df2d5646 ParserFile: use a File instead of a filename
- spec: can use StringIOs instead of loose files
2016-03-19 13:59:58 +01:00
Olle Jonsson
5071b596d2 Refactor: call it option_name
- also, add a IRREGULAR_OPTIONS hash
2016-03-19 09:40:42 +01:00
Olle Jonsson
d0bd44e0c8 Translate option names 2016-03-17 21:08:17 +01:00
Olle Jonsson
44bbd9ca01 Parse options file options
- this proof-of-concept code duplicates OptionParser information to
   get something going
 - take care to respect the type of each option from the OptionParser
2016-03-17 20:39:49 +01:00
Petr Korolev
ce97e212c2 Update gemspec to version 1.11.7 2016-03-04 12:04:47 +02:00
Petr Korolev
aaa71d1ed0 Update gemspec to version 1.11.6 2016-03-01 16:43:27 +02:00
Petr Korolev
eca1ffa418 Update gemspec to version 1.11.5 2016-03-01 11:19:03 +02:00
Petr Korolev
12734dbbe1 Update gemspec to version 1.11.4 2016-02-26 13:18:11 +02:00
Petr Korolev
c5837ad9f0 Update gemspec to version 1.11.3 2016-02-25 20:18:22 +02:00
Petr Korolev
407bf86e57 Update gemspec to version 1.11.2 2016-02-25 15:41:34 +02:00
Petr Korolev
5898dd4eb9 Update gemspec to version 1.11.1 2016-02-25 12:02:42 +02:00
Petr Korolev
6706b10311 rubocop autofix 2016-02-25 12:00:45 +02:00
Petr Korolev
94c52a17e2 bump to yanked version 2016-02-25 11:50:24 +02:00
Petr Korolev
035e160f5e Merge pull request #332 from olleolleolle/feature/exclude-issues-by-labels
[Refactor] Generator#exclude_issues_by_labels simpler, tested
2016-02-24 16:30:14 +02:00
Petr Korolev
60517bffe9 Merge pull request #334 from olleolleolle/feature/refactor-parser-file-to-pathname
[Refactor] ParserFile class use Pathname
2016-02-24 16:16:17 +02:00
Petr Korolev
1167706335 Update gemspec to version 1.10.4 2016-02-24 15:11:01 +02:00
Olle Jonsson
4e6906dccf Add default options filename as constant 2016-02-23 23:54:20 +01:00
Olle Jonsson
179f110b8a Pathnames to iterate over lines, check existence 2016-02-23 23:46:23 +01:00
Olle Jonsson
87b9962a8d Refactoring: introduce local, return early
- use #reject
  - add basic spec around it
2016-02-23 23:17:37 +01:00
Petr Korolev
bfdb5debec Update gemspec to version 1.10.3 2016-02-23 17:45:13 +02:00
Petr Korolev
3a7dbf8138 Update gemspec to version 1.10.2 2016-02-23 17:19:38 +02: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
Petr Korolev
73cba095b2 Fix #328 2016-02-23 11:41:43 +02:00
retorquere
c2032e1235 placate rubocop 2016-02-17 14:37:40 +02:00
retorquere
6f17e7c236 YAML front matter 2016-02-17 14:37:40 +02:00
soundstep
1bae4ea204 filter-tags - Rename option. 2016-01-22 15:11:12 +00:00
soundstep
a676650993 filter-tags - Remove unused index. 2016-01-22 13:34:24 +00:00
soundstep
40dec5346b filter-tags - Added capability to exclude tags with a regular expression by filtering names. 2016-01-22 13:32:31 +00:00
Petr Korolev
9ddc676a44 Update gemspec to version 1.10.1 2016-01-06 09:14:41 +02:00
Olle Jonsson
88ec105c7d Parser: avoid Ruby exit
- made the method take three arguments
- specs all note these three
2016-01-06 09:14:08 +02:00
Petr Korolev
670ced30e3 Merge branch 'release/1.10.0' 2016-01-05 16:44:48 +02:00
Petr Korolev
af97beeb60 Update gemspec to version 1.10.0 2016-01-05 16:44:45 +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
12bc3550e1 Fix Trailing Whitespace error
Rubocop was stopping this from building on Travis.
2016-01-03 07:11:49 +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
1d1965e7fb Swap unless nil? to if 2015-11-19 20:14:04 +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
Steve Gilvarry
3fdf0c64df Add options to def self.user_and_project_from_git to fix parser.rb:193 wrong number of arguments (1 for 0) 2015-11-12 07:55:54 +11:00
Petr Korolev
645f96ace6 Merge pull request #298 from olleolleolle/refactor/reader-positive-boolean
[refactor] Reader: positive Boolean; unused #map
2015-10-23 16:49:36 +03:00
Olle Jonsson
dd0d82ab91 [refactor] Fix YARD datatype, use #map 2015-10-23 07:44:20 +02:00
Olle Jonsson
8a87be8f4e Reader: use positive Boolean, drop unused #map 2015-10-23 07:32:52 +02:00
Petr Korolev
8f78bb0cc6 Merge pull request #296 from olleolleolle/feature/introduce-parsererror-class
Introduce ParserError exception class
2015-10-22 15:25:54 +03:00
Olle Jonsson
3fb75c825f Lint: rename to avoid getter naming
- fixed Rake task, too
2015-10-22 00:09:25 +02:00
Olle Jonsson
d227464c33 Rubocop: less complex methods
- Changed one thing: failed return value on printing the banner when
    no user or project was found.
2015-10-21 23:42:33 +02:00
Olle Jonsson
5a9928c18a Introduce ParserError exception class 2015-10-21 23:13:42 +02:00
John Keiser
fdb89ea805 Add base option to RakeTask 2015-09-30 11:28:21 -07:00
Olle Jonsson
6d36d007ad ParserFile: support values with equals signs 2015-09-22 21:59:24 +02:00
Petr Korolev
d79e70b267 Update gemspec to version 1.9.0 2015-09-17 11:59:30 +03:00