postgres_ext-postgis 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3ebfeda4eadd075cabe4ec92ff88ebe06673214
4
- data.tar.gz: 06eac67b90a351b8b271a6e762734e0590c28e05
3
+ metadata.gz: cac0a121247af03c4780517dede0b21df7dc69be
4
+ data.tar.gz: af8fe65cdd16c85c0406143ae9114a311fd2c578
5
5
  SHA512:
6
- metadata.gz: 533b45da56945fd706b071f7aa213f64cc49f13168c41ad190c49daef4c36540e7ede36148279eea86213bf7f20f04223adedb95058aeb512293121bd5f10a5d
7
- data.tar.gz: 2480b4bff28cc49ddedf4744036ffec76aa05cb3ace801e6121dbe089be16ca9e771926e82e0cbc9e707f621bfb2757b2240019240c9e543c398240f68577336
6
+ metadata.gz: bb6ec89eaf2a20b87e3dc77504cd51bbad1c7e7af2dfcd48c1e7ac27970f4453b5d62dc523656051826d8a1749fdd13b531abb9e78b110e34e86b8e520580cf6
7
+ data.tar.gz: 9380cb66cf6a2a3aad3a3c2043b51d4908384bbfdc00ceea12e5806eb1433f245095bb7da678127ca40bbd836a107ff12b1144a134980a3a5e89f1a0bb0a290e
data/README.md CHANGED
@@ -33,7 +33,8 @@ end
33
33
 
34
34
  ### Type Casting
35
35
 
36
- PostGIS geometry types are converted to [RGeo]() objects. You can set
36
+ PostGIS geometry types are converted to
37
+ [RGeo](http://dazuma.github.io/rgeo/) objects. You can set
37
38
  your PostGIS types in ActiveRecord using either the Extended Well-Known Binary
38
39
  (WKB) or Extended Well-Known Text (WKT) representation:
39
40
 
@@ -44,7 +45,8 @@ user.location = 'SRID=4623;POINT(1 1)'
44
45
  ### Querying
45
46
 
46
47
  #### Contains
47
- Using the [contains querying interface from postgres\_ext](), we can
48
+ Using the [contains querying interface from postgres\_ext that arrays
49
+ utilize](https://github.com/dockyard/postgres_ext/blob/master/docs/querying.md#---array-contains-operator), we can
48
50
  query if geometry column contains the specified object
49
51
 
50
52
  ```ruby
@@ -1,5 +1,5 @@
1
1
  module PostgresExt
2
2
  module Postgis
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_runtime_dependency 'postgres_ext', '~> 2.1.0'
21
+ spec.add_runtime_dependency 'postgres_ext', '~> 2.1'
22
22
  spec.add_runtime_dependency 'rgeo'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.3'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postgres_ext-postgis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan McClain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-07 00:00:00.000000000 Z
11
+ date: 2014-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: postgres_ext
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.0
19
+ version: '2.1'
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: 2.1.0
26
+ version: '2.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rgeo
29
29
  requirement: !ruby/object:Gem::Requirement