occams-record 1.12.0 → 1.13.0

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: d4e051033114483887f29a642acfd83c92907d10f15ebac551cbbb61bcc73bf3
4
- data.tar.gz: b14f0462cdf4b04c3264f40e9bad8ec11042f23abad2fa0933b16ea02ff03d44
3
+ metadata.gz: 29615d5553b1bda52eebe8bb2c5883eb4cd7a24434dac8298b006c925d415bed
4
+ data.tar.gz: 0a7dea0524dbb874341b05cb3c44563a2ff6ccaf6138f20bcef13fead9af4088
5
5
  SHA512:
6
- metadata.gz: 2ccd9b91278ba7e95ba178ae786e17721d058c5f433b1594982fcd8e9e3c75c304d3bbe6a28f80ca543c71e53a0c053503f200a82083f2fe7d20e4072c99b86b
7
- data.tar.gz: 575e5804b5d6a14f8f02c3afa1309310111a93bf77788d10b5e67d24bc67a88b072e9a2f9c25b31715a96bb47098066b47bbb5d9fceaf4c4da7cf0b0d4d2fc76
6
+ metadata.gz: d0f3f9d0c5c7a85ea41c88ed3e4bc4e61593a9a1f329d59baf7aa02065ebc3455ae9028cc6bdfd14d0ea50e904f510725ac54b73946f16ef56101d7ea869f2ad
7
+ data.tar.gz: fce1957894506de0ce88481ffaabb6b7ec87406cb048a9e196e0291b344a86ddc8a6750d1a2989b0cd20c1bf44ff352d38f8119ac908582535cb07d56fd67eb2
data/README.md CHANGED
@@ -361,8 +361,8 @@ It's possible to run tests without Docker Compose, but you'll be limited by the
361
361
 
362
362
  ```bash
363
363
  bundle install
364
- bundle exec appraisal ar-7.0 bundle install
365
- bundle exec appraisal ar-7.0 rake test
364
+ bundle exec appraisal ar-8.0 bundle install
365
+ bundle exec appraisal ar-8.0 rake test
366
366
  ```
367
367
 
368
368
  # License
@@ -1,3 +1,5 @@
1
+ require 'benchmark'
2
+
1
3
  module OccamsRecord
2
4
  Measurements = Struct.new(:total_time, :queries)
3
5
  Measurement = Struct.new(:table_name, :sql, :time)
@@ -3,7 +3,7 @@ module OccamsRecord
3
3
  # @private
4
4
  CASTER =
5
5
  case ActiveRecord::VERSION::MAJOR
6
- when 6, 7 then :deserialize
6
+ when 6, 7, 8 then :deserialize
7
7
  else raise "OccamsRecord::TypeCaster::CASTER does yet support this version of ActiveRecord"
8
8
  end
9
9
 
@@ -3,5 +3,5 @@
3
3
  #
4
4
  module OccamsRecord
5
5
  # @private
6
- VERSION = "1.12.0".freeze
6
+ VERSION = "1.13.0".freeze
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: occams-record
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Hollinger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-31 00:00:00.000000000 Z
11
+ date: 2024-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '6.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.3'
22
+ version: '8.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '6.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.3'
32
+ version: '8.1'
33
33
  description: A faster, lower-memory, fuller-featured querying API for ActiveRecord
34
34
  that returns results as unadorned, read-only objects.
35
35
  email: jordan.hollinger@gmail.com