Tom Duffield
b91609283e
Don't show untagged PRs
...
As far as I can tell, `add_pr_wo_labels` wasn't actually
implemented. Implementing this per the documentation.
Signed-off-by: Tom Duffield <tom@chef.io>
2017-07-27 10:37:55 -07:00
Tom Duffield
174baec266
Use first SHA for last tag
...
Rather than having the last tag be an empty husk, generate a full
changelog link using the first sha from the repository.
Signed-off-by: Tom Duffield <tom@chef.io>
2017-07-27 10:37:49 -07:00
Tom Duffield
f57b4c283d
Rename tag section mapping test
...
Signed-off-by: Tom Duffield <tom@chef.io>
2017-07-27 10:37:44 -07:00
Tom Duffield
ee5a507f76
Filter excluded tags within the section map builder
...
Because we need might need excluded tags to build compare links, the
section map generator needs to have access to those tags. But, we don't
want excluded tags to have section headers. So instead, we'll create
another copy of the list that doesn't have tags excluded.
Signed-off-by: Tom Duffield <tom@chef.io>
2017-07-27 10:37:38 -07:00
Tom Duffield
66177c58e3
DRY up the tests and address Rubocop feedback
...
Signed-off-by: Tom Duffield <tom@chef.io>
2017-07-27 10:37:32 -07:00
Tom Duffield
d6c26ef4a9
Generate mapping that will match expectations
...
This change neccesitated changing the behavior or the
`filter_since_tag`. Since we want our compare links to include the since
tag, we need to keep that tag in the filtered list. Instead, we detect
that the tag is the since tag and filter it out. This will prevent the
since_tag header from being duplicated when pulling from a base.
The same goes for the first tag listed in between_tags. We don't want an
empty section header for this.
Signed-off-by: Tom Duffield <tom@chef.io>
2017-07-27 10:37:26 -07:00
Tom Duffield
c718930fb1
Add initial tests for tag_section_mapping
...
Before we do anything, let's get a solid expectation of what we want our
section headers to look like.
Signed-off-by: Tom Duffield <tom@chef.io>
2017-07-27 10:36:11 -07:00
Ian Roberts
4c26bbd7c0
Add newline after version ( #548 )
...
Add newline after version name and Full Changelog link
2017-07-19 15:26:40 +02:00
Olle Jonsson
8dd91f6f10
README: repair broken Markdown [ci skip]
...
- and be more clear about the skywinder/changelog_test repo
2017-07-16 17:52:47 +02:00
Lucas Huang
b21e7eaaf7
Update generator_generation.rb ( #542 )
...
Fix the syntax so `credit_line` is recognizable as a variable. #541
2017-06-28 16:55:42 +02:00
Olle Jonsson
ee4c72c7aa
Revert "AppVeyor: drop init line, add .gitattributes ( #539 )"
...
This reverts commit e37ce502ea
.
2017-06-27 21:14:37 +02:00
Olle Jonsson
e37ce502ea
AppVeyor: drop init line, add .gitattributes ( #539 )
2017-06-27 21:08:10 +02:00
Olle Jonsson
e77202163c
AppVeyor: Windows configuration to pass RuboCop ( #538 )
...
* AppVeyor: Windows configuration to pass RuboCop
* README: AppVeyor build badge
* AppVeyor: GitHubPullRequest notification
2017-06-27 20:40:55 +02:00
Lucas Huang
d0e7593e98
Fix the syntax ambiguity on credit-line-bug ( #537 )
...
* fix a syntax ambiguity
2017-06-27 19:45:57 +02:00
Lucas Huang
fb7e21f9f8
Credit line bug ( #535 )
...
* Fix a bug that generates multiple credit lines
2017-06-27 07:45:59 +02:00
Lucas Huang
3798d0637c
Update README.md ( #534 )
2017-06-25 10:48:55 +02:00
Lucas Huang
f643b3e44e
Update README.md ( #531 )
...
A better README.md file
2017-06-25 08:41:12 +02:00
Olle Jonsson
0be0631320
Travis: jruby-9.1.12.0
2017-06-19 09:16:23 +02:00
Alexander Delgado
a26bcc326b
README: Update the token failure example to OctoKit 404 failure ( #525 )
2017-05-29 08:54:32 +02:00
Olle Jonsson
20d059b78e
Travis: jruby-9.1.10.0 ( #523 )
2017-05-26 12:24:51 +02:00
Olle Jonsson
6ad5aa106d
Bug: require ActiveSupport core_ext blank ( #520 )
2017-05-25 14:07:34 +02:00
Lucas Huang
e9ee9556ce
remove --between_tags option ( #501 )
2017-05-25 00:29:31 +02:00
Olle Jonsson
6707927c1e
Travis CI: Drop 2.1 ( #517 )
2017-05-25 00:19:08 +02:00
Olle Jonsson
1093c75250
Travis: use jruby-9.1.9.0 ( #506 )
2017-05-25 00:11:31 +02:00
Olle Jonsson
874c23c64f
Chore: Rubocop 0.49.0 ( #516 )
...
* Rubocoping
2017-05-25 00:11:02 +02:00
Olle Jonsson
26b124a67c
bundled cacert.pem with --ssl-ca-file PATH option ( #480 )
...
* Add a bundled cacert.pem from curl's website
* Using the --ssl-ca-file PATH option overrides ENV var SSL_CA_PATH
* Having none of those allow you to use the default, the bundled cacert.pem
* Octokit's SSL config uses this new setting
* Rake task to update_ssl_ca_file
* Rubocop target 2.2
2017-05-24 23:43:31 +02:00
fatData
4798a8a3d8
Update README.md ( #490 )
2017-05-21 23:53:16 +02:00
Lucas Huang
9bbfa3add5
Rescue invalid commands and present the valid options list ( #498 )
...
* rescue invalid commands
* recuse invalid command
2017-05-14 21:30:43 +02:00
Dreckiger-Dan
1492c406e9
Fixed headline in README.md ( #496 )
...
###Alternatives -> ### Alternatives
2017-05-09 06:36:12 +02:00
Olle Jonsson
f72d8d9912
Travis: use latest rubies ( #488 )
2017-04-20 16:42:37 +02:00
Olle Jonsson
bf20ab7543
Use ruby-2.4.1 in CI ( #487 )
2017-04-13 09:04:23 +02:00
Olle Jonsson
9cb6306b47
Travis: jruby-9.1.8.0 ( #485 )
2017-03-10 10:12:33 +01:00
Olle Jonsson
d334aa01f2
Option parsing: Remove tag1, tag2 cruft ( #479 )
2017-02-08 21:58:30 +01:00
Olle Jonsson
1e9e72f1a5
Update to latest CodeClimate ( #478 )
...
* Update to latest CodeClimate
* SpecHelper: drop CodeClimate formatter
2017-02-08 21:09:23 +01:00
Olle Jonsson
acf1c1604a
Gemspec: update retriable to 3.0 ( #477 )
2017-02-08 20:45:19 +01:00
Olle Jonsson
d29c117454
Travis: new JRuby, develop on 2.4.0 ( #476 )
...
* Travis: new JRuby, develop on 2.4.0
* CircleCI: ensure new rubygems
* Rubocop: RegexpMatch too edgy; long blocks OK in specs
* Travis: JRuby head fails bundle install
* Travis: Allow failures for jruby-head
2017-02-08 19:52:53 +01:00
Olle Jonsson
8d74965019
Create temporary cache files in Dir.tmpdir ( #459 )
...
* OctoFetcher: http_cache options conditional
* Locate cache directory using Dir.tmpdir
* Cache files options can not have defaults
2017-02-08 18:14:02 +01:00
Danny Guo
17702543ef
Fix readme typos ( #467 )
2016-12-31 18:38:03 +01:00
Olle Jonsson
4ec3ad4a54
Gemspec: demand rainbow 2.2.1+ ( #466 )
2016-12-31 11:01:43 +01:00
Olle Jonsson
08e7a954ff
Generated CHANGELOG.md
2016-12-31 10:41:00 +01:00
Olle Jonsson
8ea623fd81
v1.14.3
2016-12-31 10:33:06 +01:00
Olle Jonsson
6e61dfb378
CodeClimate configuration file ( #465 )
2016-12-30 01:31:40 +01:00
Olle Jonsson
3fee4fca75
Build against 2.4.0
2016-12-27 19:59:53 +01:00
Olle Jonsson
9fc00f3dc3
Travis: add jruby-head, 2.4.0-rc1 ( #463 )
2016-12-21 16:14:07 +01:00
Olle Jonsson
132ecf255c
Gemfiles for building versions separately dropped ( #461 )
...
- simpler build by using the ruby version marker in shared gemfile
2016-12-03 13:51:28 +01:00
Olle Jonsson
238f779d38
Order Gemfile gems ( #460 )
...
Order Gemfile gems A-Z; add ruby version marker
2016-12-02 22:25:45 +01:00
Olle Jonsson
0b88c3bd54
Travis: Use ruby 2.3.3 and 2.2.6 ( #452 )
...
* Travis: Use ruby 2.3.3 and 2.2.6
2016-11-22 21:14:04 +01:00
Olle Jonsson
9c0f7c723f
Merge pull request #455 from eliperkins/fix-enterprise
...
Use Octokit::Client for both .com and Enterprise
2016-11-22 20:57:27 +01:00
Eli Perkins
881ecc161c
Use Octokit::Client for both .com and Enterprise
...
Octokit:EnterpriseAdminClient is only meant to be used for GHE admin
panel endpoints, such as Admin Stats, Management Console, etc.
This repairs GHE functionality by passing the API endpoint parameters
into Octokit::Client and letting it handle the rest.
2016-11-22 13:07:48 -05:00
Olle Jonsson
88cbcd22ed
Merge pull request #454 from edusantana/show-where-task-param-are
...
README: Documentation update about RakeTask params and how to translate labels
2016-11-21 14:28:48 +01:00