Commit Graph

534 Commits

Author SHA1 Message Date
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
Petr Korolev
bffe7cd9ff issue 20 in test repo didn't appear in change log. 2016-01-05 11:28:44 +02:00
Petr Korolev
9832dce93c works! 2016-01-05 11:18:04 +02:00
Petr Korolev
d2fa9d3565 Merge branch 'develop' into SteveGilvarry-Add_Release_Branch 2016-01-05 11:07:44 +02:00
Petr Korolev
8f7af37d1e update changelog 2016-01-05 11:04:18 +02: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
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