Skip to content

Commit

Permalink
Bumped version to 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Brunner committed Mar 4, 2011
1 parent 12adc1e commit aa48f56
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
24 changes: 21 additions & 3 deletions apartment.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,36 @@

Gem::Specification.new do |s|
s.name = %q{apartment}
s.version = "0.1.2"
s.version = "0.1.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Ryan Brunner"]
s.date = %q{2010-11-29}
s.date = %q{2011-03-04}
s.description = %q{Apartment allows Rails applications to deal with
multitenancy.}
s.email = %q{ryan@ryanbrunner.com}
s.extra_rdoc_files = [
"README.markdown"
]
s.files = [
".bundle/config",
".project",
"Gemfile",
"Gemfile.lock",
"README.markdown",
"Rakefile",
"VERSION",
"lib/apartment.rb"
"apartment-0.1.1.gem",
"apartment-0.1.2.gem",
"apartment.gemspec",
"lib/apartment.rb",
"lib/apartment/associations/multi_tenant_association.rb",
"lib/apartment/config.rb",
"lib/apartment/config/default_config.yml",
"lib/apartment/database.rb",
"lib/apartment/railtie.rb",
"lib/tasks/multi_tenant_migrate.rake",
"pkg/apartment-0.1.0.gem"
]
s.homepage = %q{http://github.com/ryanbrunner/apartment}
s.licenses = ["MIT"]
Expand All @@ -32,17 +47,20 @@ Gem::Specification.new do |s|
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<activesupport>, [">= 2.3.5"])
s.add_development_dependency(%q<shoulda>, [">= 0"])
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
s.add_development_dependency(%q<rcov>, [">= 0"])
else
s.add_dependency(%q<activesupport>, [">= 2.3.5"])
s.add_dependency(%q<shoulda>, [">= 0"])
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
s.add_dependency(%q<rcov>, [">= 0"])
end
else
s.add_dependency(%q<activesupport>, [">= 2.3.5"])
s.add_dependency(%q<shoulda>, [">= 0"])
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
Expand Down
1 change: 1 addition & 0 deletions lib/apartment/database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def self.switch(database)
end

def self.create(database)
config = get_default_database
if config["adapter"] == "postgresql"
ActiveRecord::Base.connection.execute('create table schema_migrations(version varchar(255))')
end
Expand Down
Binary file added pkg/apartment-0.1.3.gem
Binary file not shown.

0 comments on commit aa48f56

Please sign in to comment.