Permalink
Browse files

version 0.8.1 release, ruby 2.0 support

  • Loading branch information...
1 parent 6a9c769 commit f300a4f3e8303b7d11e010897e2dd6c7c9aef7ae @banister committed Oct 17, 2012
Showing with 7 additions and 7 deletions.
  1. +3 −3 Rakefile
  2. +1 −1 lib/method_source/version.rb
  3. +3 −3 method_source.gemspec
View
@@ -1,8 +1,8 @@
-dlext = Config::CONFIG['DLEXT']
+dlext = RbConfig::CONFIG['DLEXT']
direc = File.dirname(__FILE__)
require 'rake/clean'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
require "#{direc}/lib/method_source/version"
CLOBBER.include("**/*.#{dlext}", "**/*~", "**/*#*", "**/*.log", "**/*.o")
@@ -50,7 +50,7 @@ namespace :ruby do
s.platform = Gem::Platform::RUBY
end
- Rake::GemPackageTask.new(spec) do |pkg|
+ Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = false
pkg.need_tar = false
end
@@ -1,3 +1,3 @@
module MethodSource
- VERSION = "0.8"
+ VERSION = "0.8.1"
end
View
@@ -2,17 +2,17 @@
Gem::Specification.new do |s|
s.name = "method_source"
- s.version = "0.8"
+ s.version = "0.8.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["John Mair (banisterfiend)"]
- s.date = "2012-07-05"
+ s.date = "2012-10-17"
s.description = "retrieve the sourcecode for a method"
s.email = "jrmair@gmail.com"
s.files = [".gemtest", ".travis.yml", ".yardopts", "Gemfile", "LICENSE", "README.markdown", "Rakefile", "lib/method_source.rb", "lib/method_source/code_helpers.rb", "lib/method_source/source_location.rb", "lib/method_source/version.rb", "method_source.gemspec", "test/test.rb", "test/test_code_helpers.rb", "test/test_helper.rb"]
s.homepage = "http://banisterfiend.wordpress.com"
s.require_paths = ["lib"]
- s.rubygems_version = "1.8.24"
+ s.rubygems_version = "1.8.23"
s.summary = "retrieve the sourcecode for a method"
s.test_files = ["test/test.rb", "test/test_code_helpers.rb", "test/test_helper.rb"]

0 comments on commit f300a4f

Please sign in to comment.