Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bump to 3.1.12 and release on gemcutter.

  • Loading branch information...
commit f0fff81f03f26ff70a455f916b0f2f9a7dad70be 1 parent d6363a6
@josevalim josevalim authored
View
27 Rakefile
@@ -54,29 +54,12 @@ task :default do
end
desc "Publish release files to RubyForge"
-task :release => :package do
- require 'rubyforge'
-
- r = RubyForge.new
- r.configure
-
- puts "Logging in..."
- r.login
-
+task :release => [:gemspec, :package] do
REMARKABLE_GEMS.each do |gem|
- packages = %w(gem tgz zip).collect{ |ext| File.join(PACKAGE_DIR, "#{gem}-#{GEM_VERSION}.#{ext}") }
+ path = File.join(PACKAGE_DIR, "#{gem}-#{GEM_VERSION}.gem")
+ command = "gem push #{path}"
- begin
- puts "Adding #{gem} #{GEM_VERSION}..."
- r.add_release RUBY_FORGE_PROJECT, gem.to_s, GEM_VERSION, *packages
- packages.each{|p| r.add_file(RUBY_FORGE_PROJECT, gem.to_s, GEM_VERSION, p) }
- rescue Exception => e
- if e.message =~ /You have already released this version/
- puts "You already released #{gem}-#{GEM_VERSION}. Continuing..."
- puts
- else
- raise e
- end
- end
+ puts command
+ system command
end
end
View
2  remarkable/lib/remarkable/version.rb
@@ -1,3 +1,3 @@
module Remarkable
- VERSION = '3.1.11' unless self.const_defined?(:VERSION)
+ VERSION = '3.1.12' unless self.const_defined?(:VERSION)
end
View
2  remarkable_datamapper/README
@@ -1,3 +1,3 @@
= Remarkable Datamapper
-Coming soon...
+Coming soon... feel free to fork and help!
Please sign in to comment.
Something went wrong with that request. Please try again.