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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f21d8219a8753c5343896f6bac0a9095dcc3b041e2081c2b2f429e5236c2b8c
4
- data.tar.gz: 1537948342121354504c2ae87f7b71271b8407bb2fa23c5f80d8551b81d307ca
3
+ metadata.gz: 1d93f5c0ccd639a541a6b5c7f4d6e525bb726ee51dad6b7e10e44bbb5391e661
4
+ data.tar.gz: a8fc3cf837edfd65e95c989822016205e10cb018142315040e7997f82229eaa1
5
5
  SHA512:
6
- metadata.gz: 613068eaf698bba0925b0b50a07d91cb070e9b6056b42e1662ab5e9a795738f25c0b5296b43a66280c1506bd56dd76f63fa1cbc3fa70e32ca85966fb862f5e39
7
- data.tar.gz: c563b9cd4ee699b03f449773e896db1d004d3cc90abedebe4a2c2f7188acc4e335a51d58350e16885ac139fda90207f9fa9bbdea37c0730b9bea60c8c966cded
6
+ metadata.gz: 24aecfae70437c9b4c84f34f31dac0b3ab4737e62318895c5808f0b410f929c3953574718bdf82a3eb8c3cb20f11f5958a014bec66e07d6f896ee1a3789d946e
7
+ data.tar.gz: d526c3fb89a6585b072e524fb99741faa92471a3ede5538d928364ae0b8144f37503b68778aad578fa26fc10da1463dda57d116a8038acd146cfde0ec83964f2
@@ -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
@@ -25,3 +25,5 @@ Style/HashTransformValues:
25
25
  Enabled: true
26
26
  Gemspec/RequiredRubyVersion:
27
27
  Enabled: false
28
+ Gemspec/DevelopmentDependencies:
29
+ EnforcedStyle: gemspec
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
- ## [0.10.0] - 2022-06-18
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 = ['sugawara@cookpad.com']
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
@@ -12,3 +12,9 @@ services:
12
12
  image: "mysql:5.7"
13
13
  environment:
14
14
  - MYSQL_ALLOW_EMPTY_PASSWORD=1
15
+ mysql80:
16
+ ports:
17
+ - "10080:3306"
18
+ image: "mysql:8.0"
19
+ environment:
20
+ - MYSQL_ALLOW_EMPTY_PASSWORD=1
data/lib/armg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Armg
4
- VERSION = '0.10.0'
4
+ VERSION = '0.11.0'
5
5
  end
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.10.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: 2022-06-18 00:00:00.000000000 Z
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
- - sugawara@cookpad.com
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.2.15
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.