activerecord-postgis-adapter 4.0.0.rc1 → 4.0.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
  SHA1:
3
- metadata.gz: 8d9a97b8ed680f31f0f4b8e12f219b53286e6ec3
4
- data.tar.gz: e5520ba58ed0280546f6da330eb99b8e8cbc4d3c
3
+ metadata.gz: 42e1cd7487516855c8e2b070c49655347c18b470
4
+ data.tar.gz: 666b31a09a34a31f72f6d667c5ad9937ad62639e
5
5
  SHA512:
6
- metadata.gz: c0dee7febb3deecbb8ab75653c0b453a9d73b9adf1371410ed921e916701ca8e14e8bd9d0d28ec9cf41e8df691f9fa08073d110eae4dec22a6f8b7f4d63fb977
7
- data.tar.gz: 3ad4565d6dfdacd6d33a255493c745aad089f74679c3d19033de4e0ad35e4fe47bcca56e40eccf5bf24fd312291b4221fa5255646f2666d815238b79561d8064
6
+ metadata.gz: d02e54581b7ed1b08bc1d172be5f769a869259c1e2834786c523e4d588d4695e46998ded13b7c94246a12e7c57ce7dae1907ecb2d9d99834f0713b6cda56fcfe
7
+ data.tar.gz: da2498d4902017d35755df012174c18a7b5a6af95f707a26efde7c1657388064d4d0df557a01f18849a852929b8399dd1622447cd6eb9c36e057d8a9f4decdc0
@@ -31,6 +31,7 @@ module ActiveRecord
31
31
  default,
32
32
  sql_type_metadata,
33
33
  null,
34
+ table_name,
34
35
  default_function,
35
36
  collation,
36
37
  cast_type,
@@ -8,7 +8,7 @@ module ActiveRecord # :nodoc:
8
8
  # cast_type example classes:
9
9
  # OID::Spatial
10
10
  # OID::Integer
11
- def initialize(name, default, sql_type_metadata = nil, null = true, default_function = nil, collation = nil, cast_type = nil, opts = nil)
11
+ def initialize(name, default, sql_type_metadata = nil, null = true, table_name = nil, default_function = nil, collation = nil, cast_type = nil, opts = nil)
12
12
  @cast_type = cast_type
13
13
  @geographic = !!(sql_type_metadata.sql_type =~ /geography\(/i)
14
14
  if opts
@@ -29,7 +29,7 @@ module ActiveRecord # :nodoc:
29
29
  # @geometric_type = geo_type_from_sql_type(sql_type)
30
30
  build_from_sql_type(sql_type_metadata.sql_type)
31
31
  end
32
- super(name, default, sql_type_metadata, null, default_function, collation)
32
+ super(name, default, sql_type_metadata, null, table_name, default_function, collation)
33
33
  if spatial?
34
34
  if @srid
35
35
  @limit = { srid: @srid, type: geometric_type.type_name.underscore }
@@ -1,7 +1,7 @@
1
1
  module ActiveRecord
2
2
  module ConnectionAdapters
3
3
  module PostGIS
4
- VERSION = "4.0.0.rc1"
4
+ VERSION = "4.0.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-postgis-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.rc1
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma, Tee Parham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-13 00:00:00.000000000 Z
11
+ date: 2016-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 5.0.0.rc
19
+ version: 5.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 5.0.0.rc
26
+ version: 5.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rgeo-activerecord
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 5.0.0.rc
33
+ version: 5.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 5.0.0.rc
40
+ version: 5.0.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -133,12 +133,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
133
  version: 2.2.2
134
134
  required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ">"
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 1.3.1
138
+ version: '0'
139
139
  requirements: []
140
140
  rubyforge_project:
141
- rubygems_version: 2.6.2
141
+ rubygems_version: 2.6.4
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: ActiveRecord adapter for PostGIS, based on RGeo.