armg 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +3 -0
- data/.rubocop.yml +2 -0
- data/CHANGELOG.md +13 -2
- data/README.md +8 -0
- data/armg.gemspec +2 -2
- data/docker-compose.yml +6 -0
- data/lib/armg/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d93f5c0ccd639a541a6b5c7f4d6e525bb726ee51dad6b7e10e44bbb5391e661
|
4
|
+
data.tar.gz: a8fc3cf837edfd65e95c989822016205e10cb018142315040e7997f82229eaa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24aecfae70437c9b4c84f34f31dac0b3ab4737e62318895c5808f0b410f929c3953574718bdf82a3eb8c3cb20f11f5958a014bec66e07d6f896ee1a3789d946e
|
7
|
+
data.tar.gz: d526c3fb89a6585b072e524fb99741faa92471a3ede5538d928364ae0b8144f37503b68778aad578fa26fc10da1463dda57d116a8038acd146cfde0ec83964f2
|
data/.github/workflows/test.yml
CHANGED
@@ -18,6 +18,8 @@ jobs:
|
|
18
18
|
- ARMG_TEST_MYSQL_PORT=10056 ARMG_TEST_MYSQL_ENGINE=MyISAM
|
19
19
|
- ARMG_TEST_MYSQL_PORT=10057 ARMG_TEST_MYSQL_ENGINE=MyISAM
|
20
20
|
- ARMG_TEST_MYSQL_PORT=10057 ARMG_TEST_MYSQL_ENGINE=InnoDB
|
21
|
+
- ARMG_TEST_MYSQL_PORT=10080 ARMG_TEST_MYSQL_ENGINE=MyISAM
|
22
|
+
- ARMG_TEST_MYSQL_PORT=10080 ARMG_TEST_MYSQL_ENGINE=InnoDB
|
21
23
|
gemfile:
|
22
24
|
- gemfiles/ar60.gemfile
|
23
25
|
- gemfiles/ar61.gemfile
|
@@ -47,6 +49,7 @@ jobs:
|
|
47
49
|
function mysql_ping { mysqladmin -u root -h 127.0.0.1 -P $1 ping; }
|
48
50
|
for i in {1..60}; do mysql_ping 10056 && break; sleep 1; done
|
49
51
|
for i in {1..60}; do mysql_ping 10057 && break; sleep 1; done
|
52
|
+
for i in {1..60}; do mysql_ping 10080 && break; sleep 1; done
|
50
53
|
env:
|
51
54
|
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
52
55
|
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
6
6
|
|
7
|
-
## Unreleased
|
7
|
+
## [Unreleased]
|
8
8
|
|
9
9
|
### Added
|
10
10
|
|
@@ -18,7 +18,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
18
18
|
|
19
19
|
### Security
|
20
20
|
|
21
|
-
## [
|
21
|
+
## [v0.11.0] - 2023-03-07
|
22
|
+
|
23
|
+
### Added
|
24
|
+
|
25
|
+
- Support MySQL 8.0 (with limitation) [#18](https://github.com/cookpad/armg/pull/18)
|
26
|
+
- Be careful of your SRID when upgrading.
|
27
|
+
|
28
|
+
## [v0.10.0] - 2022-06-18
|
22
29
|
|
23
30
|
### Added
|
24
31
|
|
@@ -29,3 +36,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
29
36
|
|
30
37
|
- Drop support for ActiveRecord 5.0, 5.1, and 5.2 [#15](https://github.com/cookpad/armg/pull/15)
|
31
38
|
- Drop support for Ruby 2.4, 2.5, and 2.6 [#15](https://github.com/cookpad/armg/pull/15)
|
39
|
+
|
40
|
+
[Unreleased]: https://github.com/cookpad/armg/compare/v0.10.0...HEAD
|
41
|
+
[v0.10.0]: https://github.com/cookpad/armg/compare/v0.9.0...v0.10.0
|
42
|
+
[v0.11.0]: https://github.com/cookpad/armg/compare/v0.10.0...v0.11.0
|
data/README.md
CHANGED
@@ -155,6 +155,14 @@ Apply `Schemafile`
|
|
155
155
|
No change
|
156
156
|
```
|
157
157
|
|
158
|
+
## Limitation on MySQL 8.0
|
159
|
+
|
160
|
+
At the moment, armg gem supports only SRIDs with long-lat axis order in MySQL 8.0.
|
161
|
+
e.g. SRID=3857 (WGS 84 / Pseudo-Mercator -- Spherical Mercator, Google Maps, OpenStreetMap, Bing, ArcGIS, ESRI)
|
162
|
+
|
163
|
+
That is, armg does not support SRIDs with lat-long axis order.
|
164
|
+
e.g. SRID=4326 (WGS 84 -- WGS84 - World Geodetic System 1984, used in GPS)
|
165
|
+
|
158
166
|
## Related links
|
159
167
|
|
160
168
|
* [rgeo/rgeo: Geospatial data library for Ruby](https://github.com/rgeo/rgeo)
|
data/armg.gemspec
CHANGED
@@ -7,8 +7,8 @@ require 'armg/version'
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
8
|
spec.name = 'armg'
|
9
9
|
spec.version = Armg::VERSION
|
10
|
-
spec.authors = ['Genki Sugawara']
|
11
|
-
spec.email = ['
|
10
|
+
spec.authors = ['Genki Sugawara', 'Cookpad Inc.']
|
11
|
+
spec.email = ['kaimono-dev@cookpad.com']
|
12
12
|
|
13
13
|
spec.summary = 'Add MySQL geometry type to Active Record.'
|
14
14
|
spec.description = 'Add MySQL geometry type to Active Record.'
|
data/docker-compose.yml
CHANGED
data/lib/armg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: armg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
|
+
- Cookpad Inc.
|
8
9
|
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2023-03-07 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: activerecord
|
@@ -186,7 +187,7 @@ dependencies:
|
|
186
187
|
version: '0'
|
187
188
|
description: Add MySQL geometry type to Active Record.
|
188
189
|
email:
|
189
|
-
-
|
190
|
+
- kaimono-dev@cookpad.com
|
190
191
|
executables: []
|
191
192
|
extensions: []
|
192
193
|
extra_rdoc_files: []
|
@@ -240,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
241
|
- !ruby/object:Gem::Version
|
241
242
|
version: '0'
|
242
243
|
requirements: []
|
243
|
-
rubygems_version: 3.
|
244
|
+
rubygems_version: 3.3.26
|
244
245
|
signing_key:
|
245
246
|
specification_version: 4
|
246
247
|
summary: Add MySQL geometry type to Active Record.
|