where-or 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/README.md +1 -1
- data/lib/where-or.rb +0 -2
- metadata +18 -18
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 138aa57bd50d50b7b1fc88f0c411c73b7257d39d
|
4
|
+
data.tar.gz: 4176e88a054aec7052478b2f978f4f886f6f61d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ae9797fa74bf7dfe59c31a4c0ff3e9f4441a55378ed664341f2ea8ca25fbad9af3441d7051e64f6eb573b5dafde59dc1103eb86908fdb84281236cc68d8be22
|
7
|
+
data.tar.gz: d8cacd58d3b68b46282aa086fa597750b8c226c152cd2eed5f98ceba9323ff4b7a65faa1056257175de51a5e5c8e463ecf3c3bc3f8db4b123f175fa0db6df810
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[Where or](https://github.com/rails/rails/pull/16052) function backport from Rails 5 for Rails 4.2
|
4
4
|
|
5
|
-
Confirm works from Rails 4.2.3 to 4.2.6, including for preloading
|
5
|
+
Confirm works from Rails 4.2.3 to 4.2.6, including for preloading, higher version may also works. Please create [issue](https://github.com/Eric-Guo/where-or/issue) with your experience.
|
6
6
|
|
7
7
|
[![Gem Version](https://badge.fury.io/rb/where-or.svg)](https://badge.fury.io/for/rb/where-or)
|
8
8
|
|
data/lib/where-or.rb
CHANGED
@@ -1,6 +1,4 @@
|
|
1
1
|
abort "Congrats for being on Rails 5. Now please remove this patch by getting rid of the `where-or` gem" if ActiveRecord::VERSION::MAJOR > 4
|
2
|
-
# Tested on Rails Rails 4.2.3
|
3
|
-
warn "Patching ActiveRecord::Relation#or. This might blow up" if ActiveRecord.version.to_s < '4.2.3'
|
4
2
|
# https://github.com/rails/rails/commit/9e42cf019f2417473e7dcbfcb885709fa2709f89.patch
|
5
3
|
# CHANGELOG.md
|
6
4
|
# * Added the `#or` method on ActiveRecord::Relation, allowing use of the OR
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: where-or
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Fleischer
|
@@ -13,25 +13,25 @@ cert_chain:
|
|
13
13
|
-----BEGIN CERTIFICATE-----
|
14
14
|
MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMRMwEQYDVQQDDAplcmlj
|
15
15
|
Lmd1b2N6MRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNj
|
16
|
-
|
16
|
+
b20wHhcNMTcwNzI1MDEwMDU1WhcNMTgwNzI1MDEwMDU1WjBBMRMwEQYDVQQDDApl
|
17
17
|
cmljLmd1b2N6MRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZ
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
18
|
+
FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDw/v3xTyrXOdzt
|
19
|
+
0J3aFwBQ0mnDKW/E4INUekx4xzLnlCaGxZwUiv0tXfmXHPrCBjYcOYzA0viUNElO
|
20
|
+
jPNn+LvcZsTsiYLai8sIBHeBGlGTKfnMFDXABhLUD0wafCcjKvhcxLzCkvBwQWO3
|
21
|
+
sWukYhGTW1fPfUybWVRVtswwGIyqqLezKPbYTY56t7RCz1suv32ViAfg8kCSGoMz
|
22
|
+
hgrp9FLSMKyeYW/LrA8adF+9NLotRleaec75INi+9JJJ190iJU27rwGE9iXOhpJS
|
23
|
+
BUwYoduU3RJGwEr1HLmq20gZlTv5RKuQ91L4i7xDjmhJIVJTBoPNLXjE8dCJ/ZXs
|
24
|
+
FmDSu7R5AgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
|
25
|
+
BBSLMIsOJrcOkTsQvamhOVFJWD+ADDAfBgNVHREEGDAWgRRlcmljLmd1b2N6QGdt
|
26
26
|
YWlsLmNvbTAfBgNVHRIEGDAWgRRlcmljLmd1b2N6QGdtYWlsLmNvbTANBgkqhkiG
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
27
|
+
9w0BAQUFAAOCAQEA237a0TwFF52WZloXGIuH3O5ceswbp/A30UpHGZKHgtY3SWkZ
|
28
|
+
c2F3wlYoGZvM8l9Ec+ZEobcxuvq7wU5BSI3PFTUpFkt7m5wD0PW8AP+pGY/d5kBn
|
29
|
+
1AQAUJG4mGdKO3oWuWqs2TBFHuCgcNTGm00UMqnrV/tgI6iIoMWay/Y9R+0SAUJ+
|
30
|
+
DxjKAQnkF0JBznatQrHLMmKznDiR3DfgDTte7o0pvMf9mQzs9D+im0EhoASWFE/i
|
31
|
+
fGxGnQhzVaW07NKOCRrAZlrF8iqso4JR7Vm9bhFdzxUPLr70njwHLtDS2CHgo1VW
|
32
|
+
1xAjN8ZXXpAmVv7V6cI9RTmQHPu/fFn+E0sG9w==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2017-09-29 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rails
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
86
|
rubyforge_project:
|
87
|
-
rubygems_version: 2.6.
|
87
|
+
rubygems_version: 2.6.13
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Where or function backport from Rails 5 for Rails 4.2
|
metadata.gz.sig
CHANGED
Binary file
|