activerecord-mysql2spatial-adapter 0.5.0 → 0.5.1

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 (5) hide show
  1. checksums.yaml +4 -4
  2. data/History.rdoc +5 -0
  3. data/README.rdoc +15 -5
  4. data/Version +1 -1
  5. metadata +69 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e0355482d69a9a61f3203be06617b850e0dbb93
4
- data.tar.gz: da4405cc6053a3cd31543117ca358c385aa9d3b7
3
+ metadata.gz: 6cb3f862d46c36a623e20fcaafc1057a2f638e20
4
+ data.tar.gz: 8cfa1b9a643ec7fe194576612f85224376772188
5
5
  SHA512:
6
- metadata.gz: 4fe576886ecee007ad374b02e5e95a23e89732af3520fab01e372366781cf945e858cc245f0a535fdeba5addfb7bb49b7c48ed6937cccde2804076052d3b610f
7
- data.tar.gz: 8326aa53f576abd0cd646fa5d2d9e6ba1697064a0bf23d76389f47186019638a568bd21575377a102766f113edb5a2bd738da098959bd0c06fdc4551a964fdfe
6
+ metadata.gz: 61ff68681870db9d9513d8cf2e7ea12f3b16e3515ef272fb5a73682b1f1393a3b6ff140f27335cb39e3616a4b70f75669165079cc4fb2fcc13f0d672dde0ff89
7
+ data.tar.gz: b7b4716dd434ae38dc682324dfc809be29d6685517f397545e8b2a96dd9fb8f3b2bcb635c7295866a0962a14ec27cba721cb8f796129a9150ab4a24e6fcf1045
@@ -1,3 +1,8 @@
1
+ === 0.5.1 / 2017-07-04
2
+
3
+ * Move dependency on rgeo-activerecord from unreleased 1.0 branch to 1.3.0 release.
4
+ * Document how to run tests.
5
+
1
6
  === 0.5.0 / 2015-08-06
2
7
 
3
8
  * Compatibility with ActiveRecord >= 4.0, < 4.2 and with rgeo-activerecord 1.x.
@@ -149,9 +149,17 @@ 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
152
+ ==== Setup
153
153
 
154
- Create a test database configuration file <tt>test/database.yml</tt> with the following content (replace with proper dbname/username/password):
154
+ To install the most recent supported versions of required gems and run the tests against them,
155
+
156
+ Install {GEOS}[https://trac.osgeo.org/geos/] as appropriate for your OS.
157
+ rgeo works to some extent without GEOS, but this gem's tests require it.
158
+ Be sure to install GEOS before installing gems so that it's compiled into rgeo.
159
+
160
+ Create a test database configuration file <tt>test/database.yml</tt> with the following content.
161
+ If you like you can copy <tt>test/database-example.yml</tt> to <tt>test/database.yml</tt>.
162
+ Replace the database, username and password with correct values.
155
163
 
156
164
  adapter: mysql2spatial
157
165
  encoding: utf8
@@ -161,12 +169,14 @@ Create a test database configuration file <tt>test/database.yml</tt> with the fo
161
169
  username: YOUR_USER_NAME
162
170
  password: PASSWORD_OR_NOTHING
163
171
 
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:
172
+ Then,
167
173
 
174
+ bundle install
168
175
  bundle exec rake test
169
176
 
177
+ Always do this before sharing a revision with others.
178
+
179
+ ==== Resources
170
180
 
171
181
  Documentation is available at http://rgeo.github.com/activerecord-mysql2spatial-adapter/rdoc
172
182
 
data/Version CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
metadata CHANGED
@@ -1,29 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-mysql2spatial-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-28 00:00:00.000000000 Z
11
+ date: 2017-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '4.2'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '4.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '4.2'
13
33
  - !ruby/object:Gem::Dependency
14
34
  name: rgeo-activerecord
15
35
  requirement: !ruby/object:Gem::Requirement
16
36
  requirements:
17
37
  - - "~>"
18
38
  - !ruby/object:Gem::Version
19
- version: '1.0'
39
+ version: '1.3'
20
40
  type: :runtime
21
41
  prerelease: false
22
42
  version_requirements: !ruby/object:Gem::Requirement
23
43
  requirements:
24
44
  - - "~>"
25
45
  - !ruby/object:Gem::Version
26
- version: '1.0'
46
+ version: '1.3'
27
47
  - !ruby/object:Gem::Dependency
28
48
  name: mysql2
29
49
  requirement: !ruby/object:Gem::Requirement
@@ -44,6 +64,48 @@ dependencies:
44
64
  - - "<"
45
65
  - !ruby/object:Gem::Version
46
66
  version: 0.4.0
67
+ - !ruby/object:Gem::Dependency
68
+ name: pry
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ - !ruby/object:Gem::Dependency
82
+ name: rake
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: 0.9.2
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 0.9.2
95
+ - !ruby/object:Gem::Dependency
96
+ name: rdoc
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '3.12'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: '3.12'
47
109
  description: This is an ActiveRecord connection adapter for MySQL Spatial Extensions.
48
110
  It is based on the stock MySQL2 adapter, but provides built-in support for spatial
49
111
  columns. It uses the RGeo library to represent spatial data in Ruby.
@@ -65,7 +127,7 @@ files:
65
127
  - lib/active_record/connection_adapters/mysql2spatial_adapter/version.rb
66
128
  - test/tc_basic.rb
67
129
  - test/tc_spatial_queries.rb
68
- homepage: http://dazuma.github.com/activerecord-mysql2spatial-adapter
130
+ homepage:
69
131
  licenses: []
70
132
  metadata: {}
71
133
  post_install_message:
@@ -83,12 +145,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
145
  - !ruby/object:Gem::Version
84
146
  version: '0'
85
147
  requirements: []
86
- rubyforge_project: virtuoso
148
+ rubyforge_project:
87
149
  rubygems_version: 2.5.2
88
150
  signing_key:
89
151
  specification_version: 4
90
152
  summary: An ActiveRecord adapter for MySQL Spatial Extensions, based on RGeo and the
91
153
  mysql2 gem.
92
- test_files:
93
- - test/tc_basic.rb
94
- - test/tc_spatial_queries.rb
154
+ test_files: []