ros-apartment 3.0.1 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f06dfaa8f3dfb2df11cb16ee69a9d93a6d2d29ea212f8c836aa3df90065beb3
4
- data.tar.gz: 3c6c900bfc6227c6725c6b92366460a1949c6f9e3a166971adf4b98a3b5de37f
3
+ metadata.gz: d65efc6c04fa15ba20b2cc39f72d586b5dc338e74d7c9ee72efc5a2e4c0442ae
4
+ data.tar.gz: ac6292feee7f151d735a7193a5795c37fe139e340bb795595936192752c406ee
5
5
  SHA512:
6
- metadata.gz: 26b9175fc8f056ad74ef2a29d163793b1de9da857d77fe7236458688aec5313501aace5eb78a8ab3583483624c873b9684d083102f3e1defbe54a8385f728fa4
7
- data.tar.gz: 6984614b40488003a64d0ffc45bf16ae68d8f348d1771797cb45085c0fcf57a41d05f62661070bcb1ecf3259db2d2fbc8edf998bdc96f23758704efaebb36e25
6
+ metadata.gz: 400c31dce7d56979a3781932cfce1466d56c001c1a37d469f2580a8ac1d7be65de0f6671a6c56fd623a10f9e4cc0b0dc201e14d4b1a354b5bc97d84f3fb21441
7
+ data.tar.gz: e27b4ff8f0bce850f733824ce57c766aa2a3e70d048106e260af582c9957e0166e3da6ffd8cd223e3519663a7343e52630c2c391363b6d6a72d312b417ad27f7
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.4
1
+ 3.3.1
data/Appraisals CHANGED
@@ -18,9 +18,9 @@ appraise 'rails-7-0' do
18
18
  gem 'sqlite3', '~> 1.4'
19
19
  end
20
20
  platforms :jruby do
21
- gem 'activerecord-jdbc-adapter', '~> 61.0'
22
- gem 'activerecord-jdbcpostgresql-adapter', '~> 61.0'
23
- gem 'activerecord-jdbcmysql-adapter', '~> 61.0'
21
+ gem 'activerecord-jdbc-adapter', '~> 70.0'
22
+ gem 'activerecord-jdbcpostgresql-adapter', '~> 70.0'
23
+ gem 'activerecord-jdbcmysql-adapter', '~> 70.0'
24
24
  end
25
25
  end
26
26
 
@@ -30,20 +30,21 @@ appraise 'rails-7-1' do
30
30
  gem 'sqlite3', '~> 1.6'
31
31
  end
32
32
  platforms :jruby do
33
- gem 'activerecord-jdbc-adapter', '~> 61.0'
34
- gem 'activerecord-jdbcpostgresql-adapter', '~> 61.0'
35
- gem 'activerecord-jdbcmysql-adapter', '~> 61.0'
33
+ gem 'activerecord-jdbc-adapter', '~> 71.0'
34
+ gem 'activerecord-jdbcpostgresql-adapter', '~> 71.0'
35
+ gem 'activerecord-jdbcmysql-adapter', '~> 71.0'
36
36
  end
37
37
  end
38
38
 
39
- appraise 'rails-master' do
40
- gem 'rails', git: 'https://github.com/rails/rails.git'
41
- platforms :ruby do
42
- gem 'sqlite3', '~> 1.4'
43
- end
44
- platforms :jruby do
45
- gem 'activerecord-jdbc-adapter', '~> 61.0'
46
- gem 'activerecord-jdbcpostgresql-adapter', '~> 61.0'
47
- gem 'activerecord-jdbcmysql-adapter', '~> 61.0'
48
- end
49
- end
39
+ # Install Rails from the main branch are failing
40
+ # appraise 'rails-master' do
41
+ # gem 'rails', git: 'https://github.com/rails/rails.git'
42
+ # platforms :ruby do
43
+ # gem 'sqlite3', '~> 2.0'
44
+ # end
45
+ # platforms :jruby do
46
+ # gem 'activerecord-jdbc-adapter', '~> 61.0'
47
+ # gem 'activerecord-jdbcpostgresql-adapter', '~> 61.0'
48
+ # gem 'activerecord-jdbcmysql-adapter', '~> 61.0'
49
+ # end
50
+ # end
@@ -14,7 +14,7 @@ module Apartment
14
14
 
15
15
  private
16
16
 
17
- def debug(progname = nil, &)
17
+ def debug(progname = nil, &blk)
18
18
  progname = " #{apartment_log}#{progname}" unless progname.nil?
19
19
 
20
20
  super
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Apartment
4
- VERSION = '3.0.1'
4
+ VERSION = '3.0.4'
5
5
  end
@@ -30,6 +30,8 @@ Gem::Specification.new do |s|
30
30
  'github_repo' => 'ssh://github.com/rails-on-services/apartment'
31
31
  }
32
32
 
33
+ s.required_ruby_version = '>= 3.0', '< 3.4'
34
+
33
35
  s.add_dependency 'activerecord', '>= 6.1.0', '< 7.2'
34
36
  s.add_dependency 'parallel', '< 2.0'
35
37
  s.add_dependency 'public_suffix', '>= 2.0.5', '< 6.0'
@@ -56,7 +58,7 @@ Gem::Specification.new do |s|
56
58
  s.add_development_dependency 'jdbc-postgres'
57
59
  else
58
60
  s.add_development_dependency 'mysql2', '~> 0.5'
59
- s.add_development_dependency 'pg', '~> 1.2'
60
- s.add_development_dependency 'sqlite3', '~> 1.3.6'
61
+ s.add_development_dependency 'pg', '~> 1.5'
62
+ s.add_development_dependency 'sqlite3', '< 2.0'
61
63
  end
62
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ros-apartment
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Brunner
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-05-23 00:00:00.000000000 Z
13
+ date: 2024-05-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord
@@ -280,28 +280,28 @@ dependencies:
280
280
  requirements:
281
281
  - - "~>"
282
282
  - !ruby/object:Gem::Version
283
- version: '1.2'
283
+ version: '1.5'
284
284
  type: :development
285
285
  prerelease: false
286
286
  version_requirements: !ruby/object:Gem::Requirement
287
287
  requirements:
288
288
  - - "~>"
289
289
  - !ruby/object:Gem::Version
290
- version: '1.2'
290
+ version: '1.5'
291
291
  - !ruby/object:Gem::Dependency
292
292
  name: sqlite3
293
293
  requirement: !ruby/object:Gem::Requirement
294
294
  requirements:
295
- - - "~>"
295
+ - - "<"
296
296
  - !ruby/object:Gem::Version
297
- version: 1.3.6
297
+ version: '2.0'
298
298
  type: :development
299
299
  prerelease: false
300
300
  version_requirements: !ruby/object:Gem::Requirement
301
301
  requirements:
302
- - - "~>"
302
+ - - "<"
303
303
  - !ruby/object:Gem::Version
304
- version: 1.3.6
304
+ version: '2.0'
305
305
  description: Apartment allows Rack applications to deal with database multitenancy
306
306
  through ActiveRecord
307
307
  email:
@@ -372,14 +372,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
372
372
  requirements:
373
373
  - - ">="
374
374
  - !ruby/object:Gem::Version
375
- version: '0'
375
+ version: '3.0'
376
+ - - "<"
377
+ - !ruby/object:Gem::Version
378
+ version: '3.4'
376
379
  required_rubygems_version: !ruby/object:Gem::Requirement
377
380
  requirements:
378
381
  - - ">="
379
382
  - !ruby/object:Gem::Version
380
383
  version: '0'
381
384
  requirements: []
382
- rubygems_version: 3.3.26
385
+ rubygems_version: 3.5.10
383
386
  signing_key:
384
387
  specification_version: 4
385
388
  summary: A Ruby gem for managing database multitenancy. Apartment Gem drop in replacement