Skip to content

Commit 28bd987

Browse files
author
R. Tyler Croy
committed
Update the changelog with the 0.1.3 milestone
1 parent 969234b commit 28bd987

File tree

2 files changed

+44
-45
lines changed

2 files changed

+44
-45
lines changed

CHANGELOG.md

Lines changed: 7 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,12 @@
11
# Changelog
22

3-
## v2.2.0
43

5-
* Removed `jruby.gemrepo_url` extension point (*hopefully*) before anybody
6-
started using it. Renamed to `jruby.defaultGemRepo` to line up better with
7-
changes that will come in to support [multiple rubygem
8-
repos](https://github.com/rtyler/jruby-gradle-plugin/issues/13)
4+
## 0.1.3
95

10-
## v2.1.0
6+
* [#53](https://github.com/jruby-gradle/jruby-gradle-plugin/issues/53) - JRubyExec should not overwrite gems on every run
7+
* [#57](https://github.com/jruby-gradle/jruby-gradle-plugin/issues/57) - Make JRuby 1.7.16 the default
8+
* [#58](https://github.com/jruby-gradle/jruby-gradle-plugin/issues/58) - Make build independent of project directory name
9+
* [#61](https://github.com/jruby-gradle/jruby-gradle-plugin/issues/61) - "Native" gems are not properly supported
10+
* [#63](https://github.com/jruby-gradle/jruby-gradle-plugin/pull/63) - Make the JRubyExec `script` argument optional provided `jrubyArgs` is present
11+
* [#64](https://github.com/jruby-gradle/jruby-gradle-plugin/pull/64) - Updates to JRubyExec & project.jrubyexec to handle '-S'
1112

12-
* [#18](https://github.com/rtyler/jruby-gradle-plugin/issues/18) allow
13-
changing the Gem installation directory by setting `jruby.gemInstallDir` in
14-
a gradle file
15-
* [#16](https://github.com/rtyler/jruby-gradle-plugin/pull/16) add the
16-
`JRubyExec` task type for executing Ruby code with the embedded JRuby
17-
dependency.
18-
* [#14](https://github.com/rtyler/jruby-gradle-plugin/pull/14) allow a user to
19-
set/choose the version of JRuby they wish to use with the plugin
20-
21-
## v2.0.2
22-
23-
* More futzing with [bintray](http://bintray.com) release code
24-
25-
## v2.0.1
26-
27-
* Add attributes to `build.gradle` for incorporating plugi into
28-
[plugins.gradle.org](http://plugins.gradle.org)
29-
30-
## v2.0.0
31-
32-
* Switch to a fully qualified gradle plugin name: `com.lookout.jruby`
33-
* Add the `war` plugin as a dependency to properly build `jrubyWar`
34-
35-
## v1.1.1
36-
37-
* [#1](https://github.com/rtyler/jruby-gradle-plugin/issues/1) added support
38-
for a user-changeable Gem repo URL, defaulting to
39-
[rubygems-proxy.torquebox.org](http://rubygems-proxy.torquebox.org) by
40-
default.
41-
42-
43-
## v1.1.0
44-
45-
* Added the `jrubyClean` task for nuking `.gemcache` and `.jarcache`
46-
* Added the `gems` configuration for segregating gem-based dependencies
47-
* [#8](https://github.com/rtyler/jruby-gradle-plugin/issues/8) properly set
48-
the Rubygems Maven proxy as a Maven repository
49-
* [#7](https://github.com/rtyler/jruby-gradle-plugin/issues/7) pin byte-code
50-
compatibility to Java 1.7

changelog.rb

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/usr/bin/env ruby
2+
3+
require 'json'
4+
require 'net/https'
5+
require 'uri'
6+
7+
def uri_for(project, milestone)
8+
return URI("https://api.github.com/repos/jruby-gradle/#{project}/issues?state=closed&milestone=#{milestone}")
9+
end
10+
11+
def changelog_for(project, milestone)
12+
uri = uri_for(project, milestone)
13+
http = Net::HTTP.new(uri.host, uri.port)
14+
http.use_ssl = true
15+
response = http.get(uri.request_uri)
16+
17+
raise "Status #{response.code}" unless response.code.to_i == 200
18+
19+
body = JSON.parse(response.body)
20+
21+
body.reverse.each do |issue|
22+
puts "* [##{issue['number']}](#{issue['html_url']}) - #{issue['title']}"
23+
end
24+
end
25+
26+
print 'What project? > '
27+
project = STDIN.gets.chomp
28+
29+
print 'What milestone? > '
30+
milestone = STDIN.gets.chomp
31+
32+
puts
33+
puts "Computing changelog for '#{project}' and milestone '#{milestone}'"
34+
puts
35+
puts '-------------------'
36+
37+
changelog_for(project, milestone)

0 commit comments

Comments
 (0)