activerecord-disable-inverse-of-heuristics 1.1.0 → 1.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a16d9644f67406dec5aacd72cb1dec17ee83c8952ea290b27bdad6110ccba2f0
|
4
|
+
data.tar.gz: ab314fec5c8eff122c81ad1e18e75f71238eb531a5d57463d1388c0a0270c1d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b8845dc8413408da005806094a844756ae3034fb7866bb56437c59aa2bcbbe7c2a4c61543c88e0bfa44d915b1c8cefded1ecab766d9578d0d4511d4959a913a
|
7
|
+
data.tar.gz: 77675a2ac87e24388faf161451ce811f9eedce50e3753892ee7aa3b64d8f94204465287377108a21faa94a6ffdda8cfea2df0006f3bd92b63601fd0ec2707537
|
@@ -1,2 +1,8 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
module ActiveRecordDisableInverseOfHeuristics
|
2
|
+
module NoAutomaticInverseOf
|
3
|
+
private
|
4
|
+
def automatic_inverse_of; end
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
ActiveRecord::Reflection::AssociationReflection.prepend ActiveRecordDisableInverseOfHeuristics::NoAutomaticInverseOf
|
@@ -1,8 +1,6 @@
|
|
1
1
|
require 'active_support'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
module ActiveRecordDisableInverseOfHeuristics; end
|
3
|
+
require_relative 'activerecord-disable-inverse-of-heuristics/version'
|
6
4
|
|
7
5
|
if defined? Rails
|
8
6
|
class ActiveRecordDisableInverseOfHeuristics::Railtie < Rails::Railtie
|
metadata
CHANGED
@@ -1,106 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-disable-inverse-of-heuristics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthias Grosser
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 6.0.0
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 6.0.0
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: sqlite3
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: simplecov
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
16
|
requirements:
|
52
17
|
- - ">="
|
53
18
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
-
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.8.7
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 0.8.7
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: byebug
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
19
|
+
version: 7.0.0
|
20
|
+
- - "<"
|
74
21
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
76
|
-
type: :
|
22
|
+
version: '8'
|
23
|
+
type: :runtime
|
77
24
|
prerelease: false
|
78
25
|
version_requirements: !ruby/object:Gem::Requirement
|
79
26
|
requirements:
|
80
27
|
- - ">="
|
81
28
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
83
|
-
-
|
84
|
-
name: minitest
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
29
|
+
version: 7.0.0
|
30
|
+
- - "<"
|
95
31
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
32
|
+
version: '8'
|
97
33
|
description: In complex applications, there is no place for guessing
|
98
34
|
email: mtgrosser@gmx.net
|
99
35
|
executables: []
|
100
36
|
extensions: []
|
101
37
|
extra_rdoc_files: []
|
102
38
|
files:
|
103
|
-
- CHANGELOG
|
104
39
|
- MIT-LICENSE
|
105
40
|
- README.md
|
106
41
|
- Rakefile
|
@@ -111,7 +46,7 @@ homepage: https://github.com/mtgrosser/activerecord-disable-inverse-of-heuristic
|
|
111
46
|
licenses:
|
112
47
|
- MIT
|
113
48
|
metadata: {}
|
114
|
-
post_install_message:
|
49
|
+
post_install_message:
|
115
50
|
rdoc_options: []
|
116
51
|
require_paths:
|
117
52
|
- lib
|
@@ -126,8 +61,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
61
|
- !ruby/object:Gem::Version
|
127
62
|
version: '0'
|
128
63
|
requirements: []
|
129
|
-
rubygems_version: 3.
|
130
|
-
signing_key:
|
64
|
+
rubygems_version: 3.1.6
|
65
|
+
signing_key:
|
131
66
|
specification_version: 4
|
132
67
|
summary: Stop ActiveRecord from guessing inverse_of associations
|
133
68
|
test_files: []
|