occams-record 1.0.3 → 1.1.0.beta2

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: 0c3286a31a994b2afe81cefe35abf494e8edb02ce52fb231d63ca8381e3dba01
4
- data.tar.gz: e61a7565407ddccb61e60f89094afe634ef1d02b965969396e43f1a43d21627c
3
+ metadata.gz: 8396c1695d88e04c27d2807e5435ba155aab811270acd24b44d4618703394153
4
+ data.tar.gz: 70e401a280a6fe8b31529965600e4eb1abf96b8e5b779ddc9c3ddb46ba00c3ff
5
5
  SHA512:
6
- metadata.gz: acfaec212fea40cf693f276165c649de408ab5a6d6aabfa47ff996a94daaf09fec651d6f2eb9e03168da29df1c9a4bdec572d4aca55506b1f5058e3b175fa3bd
7
- data.tar.gz: db1a088f0e15dd813034a2b1a97490de7d8b4d81a1aa5e949572c20180e2fd3ad52746d1edad02c56ddbe1b0eb3c90c9966cc3ba8d1dcc9d29a7248036ad4919
6
+ metadata.gz: 66d83d639237ad10fa32cdcbfa1110d3d6f646abcaca365486673f11c5f3e7f37eb7c96c0eeedc30617d6762ffaa616f61ccf343947a2812f5af4c8055667b18
7
+ data.tar.gz: 5dd60b455bc38dbe7466e5fa09cf505d59067db1f0460132b553af9f49b0069951eb44f70cfc793588cbfb95352dee37646473ebcf325a5b9d5c6c9e95cdafab
@@ -4,7 +4,8 @@ module OccamsRecord
4
4
  # ActiveRecord's internal type casting API changes from version to version.
5
5
  CASTER = case ActiveRecord::VERSION::MAJOR
6
6
  when 4 then :type_cast_from_database
7
- when 5 then :deserialize
7
+ when 5, 6 then :deserialize
8
+ else raise "OccamsRecord::Results::CASTER does yet support this version of ActiveRecord"
8
9
  end
9
10
 
10
11
  #
@@ -3,5 +3,5 @@
3
3
  #
4
4
  module OccamsRecord
5
5
  # Library version
6
- VERSION = '1.0.3'.freeze
6
+ VERSION = "1.1.0.beta2".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.0.3
4
+ version: 1.1.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Hollinger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-08 00:00:00.000000000 Z
11
+ date: 2019-04-13 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: '4.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.3'
22
+ version: '6.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: '4.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.3'
32
+ version: '6.1'
33
33
  description: A faster, lower-memory querying API for ActiveRecord that returns results
34
34
  as unadorned, read-only objects.
35
35
  email: jordan.hollinger@gmail.com
@@ -77,9 +77,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  version: 2.3.0
78
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - ">"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 1.3.1
83
83
  requirements: []
84
84
  rubyforge_project:
85
85
  rubygems_version: 2.7.6