diff --git a/Rakefile b/Rakefile index b92bc98169..0e63d2ff69 100644 --- a/Rakefile +++ b/Rakefile @@ -211,6 +211,7 @@ require "tasks/changelog_task" Fog::Rake::ChangelogTask.new require "tasks/github_release_task" +Fog::Rake::GithubReleaseTask.new task :coveralls_push_workaround do use_coveralls = (Gem::Version.new(RUBY_VERSION) > Gem::Version.new('1.9.2')) diff --git a/gemfiles/Gemfile-ruby-1.8.7 b/gemfiles/Gemfile-ruby-1.8.7 index cb8f190b16..7e98322efa 100644 --- a/gemfiles/Gemfile-ruby-1.8.7 +++ b/gemfiles/Gemfile-ruby-1.8.7 @@ -7,7 +7,7 @@ group :development, :test do # This is here because gemspec doesn't support require: false gem 'coveralls', :require => false gem "netrc", :require => false - gem "octokit", :require => false + gem "octokit", '~> 2.7.2', :require => false gem 'rake', '~> 10.1.0' end diff --git a/lib/tasks/github_release_task.rb b/lib/tasks/github_release_task.rb index 4ae7919999..ee7ad79bd2 100644 --- a/lib/tasks/github_release_task.rb +++ b/lib/tasks/github_release_task.rb @@ -5,7 +5,7 @@ module Fog module Rake - class ChangelogTask < ::Rake::TaskLib + class GithubReleaseTask < ::Rake::TaskLib def initialize desc "Update the changelog since the last release"