Skip to content

Commit

Permalink
Fixed init
Browse files Browse the repository at this point in the history
  • Loading branch information
pjb3 committed Jul 20, 2009
1 parent afdba10 commit 7cdeee6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Rakefile
Expand Up @@ -9,8 +9,6 @@ begin
gem.email = "mail@paulbarry.com"
gem.homepage = "http://github.com/pjb3/has-bit-field"
gem.authors = ["Paul Barry"]
gem.files << "rails/init.rb"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end

rescue LoadError
Expand Down
3 changes: 1 addition & 2 deletions has-bit-field.gemspec
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = %q{has-bit-field}
s.version = "0.2.1"
s.version = "0.2.2"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Paul Barry"]
Expand All @@ -22,7 +22,6 @@ Gem::Specification.new do |s|
"has-bit-field.gemspec",
"lib/has-bit-field.rb",
"rails/init.rb",
"rails/init.rb",
"test/has-bit-field_test.rb",
"test/test_helper.rb"
]
Expand Down
3 changes: 2 additions & 1 deletion rails/init.rb
@@ -1 +1,2 @@
ActiveRecord::Base.extend(HasBitField)
require 'has-bit-field'
ActiveRecord::Base.extend HasBitField

0 comments on commit 7cdeee6

Please sign in to comment.