armg 0.7.2 → 0.8.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: 8c66526b53ea3a9ca16e83155baa7545a81f509b82a3db2980f9260225f10cde
4
- data.tar.gz: 23161898a3807a84c83c37f3638e4bfa10dbf732acf8f6d9c132ce3bac6309ef
3
+ metadata.gz: 3e4ca3fe09582ef36a6cfadc4e3f56010ad26a6abbf09be3702e759c39d4e607
4
+ data.tar.gz: 11d7a00ae8b7965ffe45de2f1f0b0acb23d0f21387d279c7277b26a665ef6061
5
5
  SHA512:
6
- metadata.gz: ffb9e81eb9f5caac6668e86be3807d6371ce1b202b37292abdd91b531b3c19f01a0f477dd62cf78187ecdceb2c13e64a736559baccf94f6a4e0cf5884dec7bfa
7
- data.tar.gz: 4821ba89863c87396a04a18e5c2703a0bc10b50ac5a752bf735f521426682519fd7011d6bba984eacdca98d6e15cae170659400e22007e46dd1ff281b9fc73dd
6
+ metadata.gz: 75278e9e72486f578d831c7559811259408411c7551eac3adb99823a6625b7dfa1e135646909756a00270a695300ce991efaac92c5a239adefc8ebc11fc3b398
7
+ data.tar.gz: f7011b294d0dcbdfd4d801f8ff0c2c782b1dc7f1fb423e99c341e32fafa09f9f1b03c86113787926a34e4af7c2e86068904a3816ad6ff69bd2d6b90a2f504302
data/.travis.yml CHANGED
@@ -12,6 +12,7 @@ gemfile:
12
12
  - gemfiles/ar50.gemfile
13
13
  - gemfiles/ar51.gemfile
14
14
  - gemfiles/ar52.gemfile
15
+ - gemfiles/ar60.gemfile
15
16
  before_script:
16
17
  - sudo service mysql stop
17
18
  - docker-compose up -d
@@ -26,3 +27,7 @@ env:
26
27
  - ARMG_TEST_MYSQL_PORT=10057 ARMG_TEST_MYSQL_ENGINE=InnoDB
27
28
  script:
28
29
  - bundle exec rake
30
+ matrix:
31
+ exclude:
32
+ - rvm: 2.4.9
33
+ gemfile: gemfiles/ar60.gemfile
data/Appraisals CHANGED
@@ -11,3 +11,7 @@ end
11
11
  appraise 'ar52' do
12
12
  gem 'activerecord', '~> 5.2.0'
13
13
  end
14
+
15
+ appraise 'ar60' do
16
+ gem 'activerecord', '~> 6.0.0'
17
+ end
data/armg.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ['lib']
24
24
 
25
- spec.add_dependency 'activerecord', '~> 5'
25
+ spec.add_dependency 'activerecord', '>= 5', '< 7'
26
26
  spec.add_dependency 'rgeo'
27
27
  spec.add_development_dependency 'appraisal', '>= 2.2.0'
28
28
  spec.add_development_dependency 'bundler'
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 6.0.0"
6
+
7
+ gemspec path: "../"
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.7.2'
4
+ VERSION = '0.8.0'
5
5
  end
@@ -12,8 +12,10 @@ module Armg
12
12
  }.freeze
13
13
 
14
14
  def initialize(factory: nil, wkb_parser_options: {}, wkt_generator_options: {})
15
- @wkb_parser = RGeo::WKRep::WKBParser.new(factory,
16
- DEFAULT_WKB_PARSER_OPTIONS.merge(wkb_parser_options))
15
+ @wkb_parser = RGeo::WKRep::WKBParser.new(
16
+ factory,
17
+ DEFAULT_WKB_PARSER_OPTIONS.merge(wkb_parser_options)
18
+ )
17
19
  @wkt_generator = RGeo::WKRep::WKTGenerator.new(
18
20
  DEFAULT_WKT_GENERATOR_OPTIONS.merge(wkt_generator_options)
19
21
  )
@@ -15,8 +15,10 @@ module Armg
15
15
  @wkb_generator = RGeo::WKRep::WKBGenerator.new(
16
16
  DEFAULT_WKB_GENERATOR_OPTIONS.merge(wkb_generator_options)
17
17
  )
18
- @wkt_parser = RGeo::WKRep::WKTParser.new(factory,
19
- DEFAULT_WKT_PARSER_OPTIONS.merge(wkt_parser_options))
18
+ @wkt_parser = RGeo::WKRep::WKTParser.new(
19
+ factory,
20
+ DEFAULT_WKT_PARSER_OPTIONS.merge(wkt_parser_options)
21
+ )
20
22
  end
21
23
 
22
24
  def serialize(wkt)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: armg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
@@ -14,16 +14,22 @@ dependencies:
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '5'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '7'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '5'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '7'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rgeo
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -174,6 +180,7 @@ files:
174
180
  - gemfiles/ar50.gemfile
175
181
  - gemfiles/ar51.gemfile
176
182
  - gemfiles/ar52.gemfile
183
+ - gemfiles/ar60.gemfile
177
184
  - lib/armg.rb
178
185
  - lib/armg/abstract_mysql_adapter_ext.rb
179
186
  - lib/armg/armg.rb