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 +4 -4
- data/.travis.yml +5 -0
- data/Appraisals +4 -0
- data/armg.gemspec +1 -1
- data/gemfiles/ar60.gemfile +7 -0
- data/lib/armg/version.rb +1 -1
- data/lib/armg/wkt_deserializer.rb +4 -2
- data/lib/armg/wkt_serializer.rb +4 -2
- metadata +10 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e4ca3fe09582ef36a6cfadc4e3f56010ad26a6abbf09be3702e759c39d4e607
|
4
|
+
data.tar.gz: 11d7a00ae8b7965ffe45de2f1f0b0acb23d0f21387d279c7277b26a665ef6061
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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', '
|
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'
|
data/lib/armg/version.rb
CHANGED
@@ -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(
|
16
|
-
|
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
|
)
|
data/lib/armg/wkt_serializer.rb
CHANGED
@@ -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(
|
19
|
-
|
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.
|
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
|