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 +4 -4
- data/lib/occams-record/results/results.rb +2 -1
- data/lib/occams-record/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8396c1695d88e04c27d2807e5435ba155aab811270acd24b44d4618703394153
|
4
|
+
data.tar.gz: 70e401a280a6fe8b31529965600e4eb1abf96b8e5b779ddc9c3ddb46ba00c3ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
#
|
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.
|
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-
|
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: '
|
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: '
|
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:
|
82
|
+
version: 1.3.1
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
85
|
rubygems_version: 2.7.6
|