-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
137 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,47 @@ | ||
# -*- encoding: utf-8 -*- | ||
$: << File.expand_path("../lib", __FILE__) | ||
require "apartment/version" | ||
# frozen_string_literal: true | ||
|
||
$LOAD_PATH << File.expand_path('lib', __dir__) | ||
require 'apartment/version' | ||
|
||
Gem::Specification.new do |s| | ||
s.name = %q{apartment} | ||
s.name = 'ros-apartment' | ||
s.version = Apartment::VERSION | ||
|
||
s.authors = ["Ryan Brunner", "Brad Robertson"] | ||
s.summary = %q{A Ruby gem for managing database multitenancy} | ||
s.description = %q{Apartment allows Rack applications to deal with database multitenancy through ActiveRecord} | ||
s.email = ["ryan@influitive.com", "brad@influitive.com"] | ||
s.authors = ['Ryan Brunner', 'Brad Robertson', 'Rui Baltazar'] | ||
s.summary = 'A Ruby gem for managing database multitenancy. Apartment Gem drop in replacement' | ||
s.description = 'Apartment allows Rack applications to deal with database multitenancy through ActiveRecord' | ||
s.email = ['ryan@influitive.com', 'brad@influitive.com', 'rui.p.baltazar@gmail.com'] | ||
s.files = `git ls-files`.split($/) | ||
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) } | ||
s.executables = s.files.grep(%r{^bin/}).map { |f| File.basename(f) } | ||
s.test_files = s.files.grep(%r{^(test|spec|features)/}) | ||
s.require_paths = ["lib"] | ||
s.require_paths = ['lib'] | ||
|
||
s.homepage = %q{https://github.com/influitive/apartment} | ||
s.licenses = ["MIT"] | ||
s.homepage = 'https://github.com/rails-on-services/apartment' | ||
s.licenses = ['MIT'] | ||
|
||
# must be >= 3.1.2 due to bug in prepared_statements | ||
s.add_dependency 'activerecord', '>= 3.1.2', '< 6.0' | ||
s.add_dependency 'rack', '>= 1.3.6' | ||
s.add_dependency 'public_suffix', '>= 2' | ||
s.add_dependency 'activerecord', '>= 3.1.2', '< 6.1' | ||
s.add_dependency 'parallel', '>= 0.7.1' | ||
s.add_dependency 'public_suffix', '>= 2' | ||
s.add_dependency 'rack', '>= 1.3.6' | ||
|
||
s.add_development_dependency 'appraisal' | ||
s.add_development_dependency 'bundler', '>= 1.3', '< 2.0' | ||
s.add_development_dependency 'capybara', '~> 2.0' | ||
s.add_development_dependency 'rake', '~> 0.9' | ||
s.add_development_dependency 'rspec', '~> 3.4' | ||
s.add_development_dependency 'rspec-rails', '~> 3.4' | ||
s.add_development_dependency 'capybara', '~> 2.0' | ||
|
||
if defined?(JRUBY_VERSION) | ||
s.add_development_dependency 'activerecord-jdbc-adapter' | ||
s.add_development_dependency 'activerecord-jdbcpostgresql-adapter' | ||
s.add_development_dependency 'activerecord-jdbcmysql-adapter' | ||
s.add_development_dependency 'jdbc-postgres' | ||
s.add_development_dependency 'activerecord-jdbcpostgresql-adapter' | ||
s.add_development_dependency 'jdbc-mysql' | ||
s.add_development_dependency 'jdbc-postgres' | ||
s.add_development_dependency 'jruby-openssl' | ||
else | ||
s.add_development_dependency 'mysql2' | ||
s.add_development_dependency 'pg' | ||
s.add_development_dependency 'sqlite3' | ||
s.add_development_dependency 'sqlite3', '~> 1.3.6' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "http://rubygems.org" | ||
|
||
gem "rails", "~> 6.0.0.rc1" | ||
|
||
group :local do | ||
gem "pry" | ||
gem "guard-rspec", "~> 4.2" | ||
end | ||
|
||
platforms :ruby do | ||
gem "sqlite3", "~> 1.4" | ||
end | ||
|
||
platforms :jruby do | ||
gem "activerecord-jdbc-adapter", "~> 60.0.rc1" | ||
gem "activerecord-jdbcpostgresql-adapter", "~> 60.0.rc1" | ||
gem "activerecord-jdbcmysql-adapter", "~> 60.0.rc1" | ||
end | ||
|
||
gemspec path: "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Apartment | ||
VERSION = "2.2.1" | ||
VERSION = "2.3.0" | ||
end |