activerecord-mysql2spatial-adapter 0.5.0.nonrelease → 0.5.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +19 -0
  3. metadata +11 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8d40564381c47e55e634419b4fc6b0dc12d1b03
4
- data.tar.gz: a1d0306b64f627235233e3d67c48e6b42805cfd0
3
+ metadata.gz: 4e0355482d69a9a61f3203be06617b850e0dbb93
4
+ data.tar.gz: da4405cc6053a3cd31543117ca358c385aa9d3b7
5
5
  SHA512:
6
- metadata.gz: 7ec780b7f04438865d5a10711ce9f8fd1597151bd34d4692253f12937b7f66c7adcb10d5e8447ce34bdb53322b45ad6d41f3bb38dd1c3e6273dc78562f6c41c5
7
- data.tar.gz: 87d5a303fdee4b95a3adba3e0ee19fab5ced228ea907955a28c4a3f225fc9c903ecd850d5a7011a0dff08a0120d4e80b35c206441885bd804a3bad8afb9ae2ca
6
+ metadata.gz: 4fe576886ecee007ad374b02e5e95a23e89732af3520fab01e372366781cf945e858cc245f0a535fdeba5addfb7bb49b7c48ed6937cccde2804076052d3b610f
7
+ data.tar.gz: 8326aa53f576abd0cd646fa5d2d9e6ba1697064a0bf23d76389f47186019638a568bd21575377a102766f113edb5a2bd738da098959bd0c06fdc4551a964fdfe
data/README.rdoc CHANGED
@@ -149,6 +149,25 @@ Rails as of Rails 3.0.3, so we hope it will get rectified at some point.
149
149
 
150
150
  === Development and support
151
151
 
152
+ ==== Set-up
153
+
154
+ Create a test database configuration file <tt>test/database.yml</tt> with the following content (replace with proper dbname/username/password):
155
+
156
+ adapter: mysql2spatial
157
+ encoding: utf8
158
+ reconnect: true
159
+ host: localhost
160
+ database: YOUR_DATABASE_NAME
161
+ username: YOUR_USER_NAME
162
+ password: PASSWORD_OR_NOTHING
163
+
164
+ Install required gems with <tt>bundle install</tt> (remove Gemfile.lock and then install gems if there are any issues with gem versions).
165
+
166
+ Run the test suite before committing or publishing any changes:
167
+
168
+ bundle exec rake test
169
+
170
+
152
171
  Documentation is available at http://rgeo.github.com/activerecord-mysql2spatial-adapter/rdoc
153
172
 
154
173
  Source code is hosted on Github at http://github.com/rgeo/activerecord-mysql2spatial-adapter
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-mysql2spatial-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.nonrelease
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-24 00:00:00.000000000 Z
11
+ date: 2017-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rgeo-activerecord
@@ -31,6 +31,9 @@ dependencies:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.2.13
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: 0.4.0
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -38,6 +41,9 @@ dependencies:
38
41
  - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: 0.2.13
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: 0.4.0
41
47
  description: This is an ActiveRecord connection adapter for MySQL Spatial Extensions.
42
48
  It is based on the stock MySQL2 adapter, but provides built-in support for spatial
43
49
  columns. It uses the RGeo library to represent spatial data in Ruby.
@@ -73,12 +79,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
79
  version: 1.9.3
74
80
  required_rubygems_version: !ruby/object:Gem::Requirement
75
81
  requirements:
76
- - - ">"
82
+ - - ">="
77
83
  - !ruby/object:Gem::Version
78
- version: 1.3.1
84
+ version: '0'
79
85
  requirements: []
80
86
  rubyforge_project: virtuoso
81
- rubygems_version: 2.4.3
87
+ rubygems_version: 2.5.2
82
88
  signing_key:
83
89
  specification_version: 4
84
90
  summary: An ActiveRecord adapter for MySQL Spatial Extensions, based on RGeo and the
@@ -86,4 +92,3 @@ summary: An ActiveRecord adapter for MySQL Spatial Extensions, based on RGeo and
86
92
  test_files:
87
93
  - test/tc_basic.rb
88
94
  - test/tc_spatial_queries.rb
89
- has_rdoc: