where_exists 1.2.3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/MIT-LICENSE +0 -0
- data/README.markdown +6 -2
- data/Rakefile +0 -0
- data/lib/where_exists/version.rb +1 -1
- data/lib/where_exists.rb +0 -0
- data/test/belongs_to_polymorphic_test.rb +0 -0
- data/test/belongs_to_test.rb +0 -0
- data/test/db/test.db +0 -0
- data/test/documentation_test.rb +0 -0
- data/test/has_and_belongs_to_many.rb +0 -0
- data/test/has_many_polymorphic_test.rb +0 -0
- data/test/has_many_test.rb +0 -0
- data/test/has_many_through_test.rb +0 -0
- data/test/test_helper.rb +0 -0
- metadata +26 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f3ba0936a289c595a6efec3b73bcc9f46f445981150a43fa72af419eb13dec8
|
|
4
|
+
data.tar.gz: 022c543b783c601be1076b4de866e9052d1c6b352b727b52a793585a571aed61
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 265df32741d7633eaaac17b5dfa27a33e813ba4680a98ca4c8fd05d58d839adf4439944dd5e0942b1b44af850a14fb2bf5b48848d73fb8c4beb6fb2b94766749
|
|
7
|
+
data.tar.gz: 7dd2b69d952f63f4bb96999b0e4c86672fe08cdd77f37755a48a7d6d2aab0072bf0a65b5f6aed8183a6688dcbdff453fd00d41a035e29009762cfc69fcc8a261
|
data/MIT-LICENSE
CHANGED
|
File without changes
|
data/README.markdown
CHANGED
|
@@ -29,7 +29,7 @@ Syntax:
|
|
|
29
29
|
Model.where_exists(association, additional_finder_parameters)
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Supported Rails versions: >=
|
|
32
|
+
Supported Rails versions: >= 5.2.
|
|
33
33
|
|
|
34
34
|
## Example of usage
|
|
35
35
|
|
|
@@ -155,7 +155,11 @@ Also,
|
|
|
155
155
|
* Submit pull request with new features or bug fixes
|
|
156
156
|
* Enhance or clarify the documentation that you are reading
|
|
157
157
|
|
|
158
|
-
To run tests:
|
|
158
|
+
To run tests:
|
|
159
|
+
```
|
|
160
|
+
> bundle exec appraisal install
|
|
161
|
+
> bundle exec appraisal rake test
|
|
162
|
+
```
|
|
159
163
|
|
|
160
164
|
## License
|
|
161
165
|
|
data/Rakefile
CHANGED
|
File without changes
|
data/lib/where_exists/version.rb
CHANGED
data/lib/where_exists.rb
CHANGED
|
File without changes
|
|
File without changes
|
data/test/belongs_to_test.rb
CHANGED
|
File without changes
|
data/test/db/test.db
CHANGED
|
Binary file
|
data/test/documentation_test.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/test/has_many_test.rb
CHANGED
|
File without changes
|
|
File without changes
|
data/test/test_helper.rb
CHANGED
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: where_exists
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eugene Zolotarev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -16,20 +16,20 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '5.2'
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: '
|
|
22
|
+
version: '7.1'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '
|
|
29
|
+
version: '5.2'
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '
|
|
32
|
+
version: '7.1'
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: sqlite3
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -86,6 +86,20 @@ dependencies:
|
|
|
86
86
|
- - "~>"
|
|
87
87
|
- !ruby/object:Gem::Version
|
|
88
88
|
version: '6.0'
|
|
89
|
+
- !ruby/object:Gem::Dependency
|
|
90
|
+
name: appraisal
|
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - ">="
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '0'
|
|
96
|
+
type: :development
|
|
97
|
+
prerelease: false
|
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - ">="
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: '0'
|
|
89
103
|
description: Rails way to harness the power of SQL "EXISTS" statement
|
|
90
104
|
email:
|
|
91
105
|
- eugzol@gmail.com
|
|
@@ -126,17 +140,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
126
140
|
- !ruby/object:Gem::Version
|
|
127
141
|
version: '0'
|
|
128
142
|
requirements: []
|
|
129
|
-
rubygems_version: 3.1.
|
|
143
|
+
rubygems_version: 3.1.6
|
|
130
144
|
signing_key:
|
|
131
145
|
specification_version: 4
|
|
132
146
|
summary: "#where_exists extension of ActiveRecord"
|
|
133
147
|
test_files:
|
|
134
|
-
- test/has_and_belongs_to_many.rb
|
|
135
148
|
- test/belongs_to_polymorphic_test.rb
|
|
136
|
-
- test/
|
|
149
|
+
- test/belongs_to_test.rb
|
|
137
150
|
- test/db/test.db
|
|
138
|
-
- test/
|
|
151
|
+
- test/documentation_test.rb
|
|
152
|
+
- test/has_and_belongs_to_many.rb
|
|
139
153
|
- test/has_many_polymorphic_test.rb
|
|
140
154
|
- test/has_many_test.rb
|
|
141
|
-
- test/
|
|
142
|
-
- test/
|
|
155
|
+
- test/has_many_through_test.rb
|
|
156
|
+
- test/test_helper.rb
|