diff --git a/CHANGELOG.md b/CHANGELOG.md index 40afdae..70ef6ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,50 +1,12 @@ # Changelog -## v2.2.0 - * Removed `jruby.gemrepo_url` extension point (*hopefully*) before anybody - started using it. Renamed to `jruby.defaultGemRepo` to line up better with - changes that will come in to support [multiple rubygem - repos](https://github.com/rtyler/jruby-gradle-plugin/issues/13) +## 0.1.3 -## v2.1.0 +* [#53](https://github.com/jruby-gradle/jruby-gradle-plugin/issues/53) - JRubyExec should not overwrite gems on every run +* [#57](https://github.com/jruby-gradle/jruby-gradle-plugin/issues/57) - Make JRuby 1.7.16 the default +* [#58](https://github.com/jruby-gradle/jruby-gradle-plugin/issues/58) - Make build independent of project directory name +* [#61](https://github.com/jruby-gradle/jruby-gradle-plugin/issues/61) - "Native" gems are not properly supported +* [#63](https://github.com/jruby-gradle/jruby-gradle-plugin/pull/63) - Make the JRubyExec `script` argument optional provided `jrubyArgs` is present +* [#64](https://github.com/jruby-gradle/jruby-gradle-plugin/pull/64) - Updates to JRubyExec & project.jrubyexec to handle '-S' - * [#18](https://github.com/rtyler/jruby-gradle-plugin/issues/18) allow - changing the Gem installation directory by setting `jruby.gemInstallDir` in - a gradle file - * [#16](https://github.com/rtyler/jruby-gradle-plugin/pull/16) add the - `JRubyExec` task type for executing Ruby code with the embedded JRuby - dependency. - * [#14](https://github.com/rtyler/jruby-gradle-plugin/pull/14) allow a user to - set/choose the version of JRuby they wish to use with the plugin - -## v2.0.2 - - * More futzing with [bintray](http://bintray.com) release code - -## v2.0.1 - - * Add attributes to `build.gradle` for incorporating plugi into - [plugins.gradle.org](http://plugins.gradle.org) - -## v2.0.0 - - * Switch to a fully qualified gradle plugin name: `com.lookout.jruby` - * Add the `war` plugin as a dependency to properly build `jrubyWar` - -## v1.1.1 - - * [#1](https://github.com/rtyler/jruby-gradle-plugin/issues/1) added support - for a user-changeable Gem repo URL, defaulting to - [rubygems-proxy.torquebox.org](http://rubygems-proxy.torquebox.org) by - default. - - -## v1.1.0 - - * Added the `jrubyClean` task for nuking `.gemcache` and `.jarcache` - * Added the `gems` configuration for segregating gem-based dependencies - * [#8](https://github.com/rtyler/jruby-gradle-plugin/issues/8) properly set - the Rubygems Maven proxy as a Maven repository - * [#7](https://github.com/rtyler/jruby-gradle-plugin/issues/7) pin byte-code - compatibility to Java 1.7 diff --git a/changelog.rb b/changelog.rb new file mode 100644 index 0000000..f3311d8 --- /dev/null +++ b/changelog.rb @@ -0,0 +1,37 @@ +#!/usr/bin/env ruby + +require 'json' +require 'net/https' +require 'uri' + +def uri_for(project, milestone) + return URI("https://api.github.com/repos/jruby-gradle/#{project}/issues?state=closed&milestone=#{milestone}") +end + +def changelog_for(project, milestone) + uri = uri_for(project, milestone) + http = Net::HTTP.new(uri.host, uri.port) + http.use_ssl = true + response = http.get(uri.request_uri) + + raise "Status #{response.code}" unless response.code.to_i == 200 + + body = JSON.parse(response.body) + + body.reverse.each do |issue| + puts "* [##{issue['number']}](#{issue['html_url']}) - #{issue['title']}" + end +end + +print 'What project? > ' +project = STDIN.gets.chomp + +print 'What milestone? > ' +milestone = STDIN.gets.chomp + +puts +puts "Computing changelog for '#{project}' and milestone '#{milestone}'" +puts +puts '-------------------' + +changelog_for(project, milestone)