Andrew Waage
7f7a7f957c
using strings instead of symbols
2016-09-29 23:09:04 +02:00
Andrew Waage
a764632dd2
reverting the old fetcher where I changed to string
2016-09-29 23:09:04 +02:00
Andrew Waage
2347cc4220
added specs for the new octo_fetcher. Also had to refactor a bit to deal with hashes and arrays instead of objects
2016-09-29 23:09:04 +02:00
Andrew Waage
8277aa4319
added VCR and specs for original fetcher
2016-09-29 23:09:04 +02:00
Andrew Waage
df64ab5ba1
first pass at caching. still WIP. Need to parameterize some things
2016-09-29 23:09:04 +02:00
Andrew Waage
df510ef183
fixed some bugs and how errors were rescued
2016-09-29 23:09:03 +02:00
Andrew Waage
d7b88a521a
changed the format of how dates are fetched from commit
2016-09-29 23:09:03 +02:00
Andrew Waage
52233f44f7
changed the rescued exceptions
2016-09-29 23:09:03 +02:00
Andrew Waage
61cd09f206
moved parse_url_for_vars to private method
2016-09-29 23:09:03 +02:00
Andrew Waage
53377388ee
clean up
2016-09-29 23:09:03 +02:00
Andrew Waage
a8e6c5406e
created a new fetcher with octokit. functionality should remain same
2016-09-29 23:09:03 +02:00
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
Dlani Mendes
ba7c565374
Rspec and README
2015-09-17 11:59:02 +03:00
Olle Jonsson
eccecd6875
Feature: exclude_tags using regular expression
2015-09-17 11:59:01 +03:00
Dlani Mendes
0862e54f42
Auto parse options from file .github_changelog_generator
2015-09-17 11:59:01 +03:00
Petr Korolev
d14694a6d6
Merge branch 'release/1.8.5'
2015-09-15 09:06:03 +03:00
Petr Korolev
aa64fa131c
Update gemspec to version 1.8.5
2015-09-15 09:06:00 +03:00
Olle Jonsson
14d7c29808
Rake task: Be able to set false value in config
2015-09-15 00:35:07 +02:00
Petr Korolev
0a7c4886ec
Update gemspec to version 1.8.4
2015-09-01 09:13:37 +03:00
Petr Korolev
b902897a22
This commit will fix #274 .
2015-09-01 09:13:27 +03:00
Petr Korolev
b0f264a928
Update gemspec to version 1.8.3
2015-08-31 15:41:25 +03:00
Raphaël Pinson
1ec72afe32
Do not alter pull_requests while iterating on it
...
Deleting elements of an array while iterating on it
results in never seeing the last element.
> a = [1,2,3]
=> [1, 2, 3]
> a.each do |e|
> p a
> a.delete(e)
> end
[1, 2, 3]
[2, 3]
=> [2]
2015-08-31 15:15:42 +03:00
Petr Korolev
1589df3959
Update gemspec to version 1.8.2
2015-08-26 17:02:00 +03:00
Petr Korolev
a0779a5811
This fix #270
2015-08-26 17:01:18 +03:00
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
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
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