rgeo-activerecord 7.0.0 → 7.0.1

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: 9c1442b0141a1655c582e412962a3328b702e52da302e3a4874a3d22ee3f8fbc
4
- data.tar.gz: 86933cf076e3c728ea34d3918bff61f56baef30c7e31dce99e56093a2049a5cd
3
+ metadata.gz: 32e44e9ec5d1c3416c4acddd27a1abbf2eb1e7d60e1d3bffa32576b16c1c1cc7
4
+ data.tar.gz: 109a5c4b94e7a770ec55125ac19f810441c19cd97ba1a580c90114025d0a8dcf
5
5
  SHA512:
6
- metadata.gz: d4b10c1f4ab732aa52545bce0f920fd36511e68c4c560b5f29f3b5907243e82cc8723bb54abd7ce1277a1857d2783749e0d1bc8a452117d4b9b7f5f6da1262ea
7
- data.tar.gz: 46b20c80597ca7dd822987fcf2592c56d68c0f413684eb5e87de012a5139f77a8b6ded059553001b5791c7f6be867a9897b01b4aca4ef5dda361d4259482d79b
6
+ metadata.gz: fe3abd106906d2e1882f3bd23e19f6d31d75df521ea5f00f5024070590739cf478b2acc8cad400f4c6908f879b29dfad94076d53dcec87268bdd25898147a81e
7
+ data.tar.gz: 461b289050ed2a49013609ec71a06e3e1326fad4464e62adb06808e7ec6415cb140889afef68ebbad27c3ec664c65270b0a922f4063bdc7c853c0c48b2ce86d6
data/History.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 7.0.1 / 2021-02-23
2
+
3
+ * Fix malformed Arel queries using `as` (ugisozols)
4
+
1
5
  ### 7.0.0 / 2020-12-15
2
6
 
3
7
  * Update visit_* methods and Arel interface to support RGeo features.
data/README.md CHANGED
@@ -29,6 +29,8 @@ Gemfile:
29
29
  gem 'rgeo-activerecord'
30
30
  ```
31
31
 
32
+ Version `6.2+` supports ActiveRecord 5.x and 6.x with `rgeo` 1.0+
33
+
32
34
  Version `6.1` supports ActiveRecord 5.x and 6.0 with `rgeo` 1.0+.
33
35
 
34
36
  Version `6.0` supports ActiveRecord 5.x with `rgeo` 1.x.
@@ -32,7 +32,10 @@ module RGeo
32
32
  collector << ", " unless index == node.expressions.size - 1
33
33
  end
34
34
  collector << ")"
35
- collector << " AS #{visit(node.alias, collector)}" if node.alias
35
+ if node.alias
36
+ collector << " AS "
37
+ visit node.alias, collector
38
+ end
36
39
  collector
37
40
  end
38
41
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RGeo
4
4
  module ActiveRecord
5
- VERSION = "7.0.0"
5
+ VERSION = "7.0.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgeo-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-12-18 00:00:00.000000000 Z
12
+ date: 2021-02-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -171,7 +171,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
171
171
  requirements:
172
172
  - - ">="
173
173
  - !ruby/object:Gem::Version
174
- version: 2.3.0
174
+ version: 2.5.0
175
175
  required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - ">="