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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb25ac3a827b4dd90acbffff6c2529fd4f70665a
4
- data.tar.gz: 8af01a9d4f4b801a8a6944b66b8fa084c5742d55
3
+ metadata.gz: 138aa57bd50d50b7b1fc88f0c411c73b7257d39d
4
+ data.tar.gz: 4176e88a054aec7052478b2f978f4f886f6f61d5
5
5
  SHA512:
6
- metadata.gz: '07853e00daaa9046abfa3f388b7e887eee0621e63046a32902a132da624a00d93c1311addff9ee943ba7073683f234f29d6507bb15d4f8ee923c52a2d63cd1ad'
7
- data.tar.gz: b318ac9524c5a7d4960627de6fa59838381776dcb46f57289fb9d888a5f9d2227ebee04619861bdff2252d350f6f90b4245cdad1591514440cbb25725cb07192
6
+ metadata.gz: 1ae9797fa74bf7dfe59c31a4c0ff3e9f4441a55378ed664341f2ea8ca25fbad9af3441d7051e64f6eb573b5dafde59dc1103eb86908fdb84281236cc68d8be22
7
+ data.tar.gz: d8cacd58d3b68b46282aa086fa597750b8c226c152cd2eed5f98ceba9323ff4b7a65faa1056257175de51a5e5c8e463ecf3c3bc3f8db4b123f175fa0db6df810
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
 
@@ -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.5
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
- b20wHhcNMTYwNzExMTUyMTU2WhcNMTcwNzExMTUyMTU2WjBBMRMwEQYDVQQDDApl
16
+ b20wHhcNMTcwNzI1MDEwMDU1WhcNMTgwNzI1MDEwMDU1WjBBMRMwEQYDVQQDDApl
17
17
  cmljLmd1b2N6MRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZ
18
- FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC6LSiHb79c6Krm
19
- TeoHq5fko/QJownbKLtlzHmWCGb6B38mIPqYZBSmfaK9EZr6DTf7TJWB7e/u2+Ep
20
- bXCqdUxRDbQZig52DvKfljfgOD/YzALHKAckuk/sskvM2pdtRIowJSYAG/Hz2j1d
21
- mngRZaIDd/09CNttRsgCDXZl+qqsNJKCQWZ3T8OdqmlpwkIxo7llKEQ578fQwgZ3
22
- 8uE4RLMv8fOdFv0EzGXbRyFLCT2WEAH5Ns2Jv12KKbvYCTICdJ36cSV8hOUZT0fG
23
- y4FxEXtV9uJVJ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AZznhSy+R
31
- R5k6Ma92sW8jupX4cqbSu9rntdVQkNRpoHIrfU0MZT0cKsg/D1zMteylxrO3KMsz
32
- SPQRv+nrI1J0zevFqb8010heoR8SDyUA0Mm3+Q==
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: 2016-11-26 00:00:00.000000000 Z
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.8
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