Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add gem building and skip the gemspec

  • Loading branch information...
commit ab5b7e75f6745b85d50d63e963c6296fb3d4d24e 1 parent e2e804a
@raggi authored
Showing with 6 additions and 1 deletion.
  1. +5 −0 Rakefile
  2. +1 −1  openid_active_record_store.gemspec
View
5 Rakefile
@@ -22,3 +22,8 @@ RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
+
+desc "build gem"
+task :gem do
+ sh "gem build openid_active_record_store.gemspec"
+end
View
2  openid_active_record_store.gemspec
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
s.summary = 'An ActiveRecord store for OpenID'
s.description = 'An ActiveRecord store for OpenID, forked from its original author for rails 3 support'
- s.files = `git ls-files` - %w[.gitignore]
+ s.files = `git ls-files` - %W[.gitignore #{File.basename __FILE__}]
if s.respond_to? :specification_version then
s.specification_version = 3
Please sign in to comment.
Something went wrong with that request. Please try again.