armg 0.6.0 → 0.6.1

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
  SHA1:
3
- metadata.gz: 96bf61ee4daaa6960675b6f6101419636ecc4a7f
4
- data.tar.gz: 6e2c5da9a1c844b0ac43ab44ab3d7b460f904adc
3
+ metadata.gz: 07c8f55b8c71984ffb01ac0cf5787358369ae915
4
+ data.tar.gz: dd67c479eb6948e91b44b5959a23a60072402f4d
5
5
  SHA512:
6
- metadata.gz: 2900aa7568ee144478e6ae4c4da3323693b6bb9a764676ed1a5f32580b8908ae12cb81e642cb695e2d9360a8698266b38b569671a56b6f82e4a86f5c26388270
7
- data.tar.gz: 268ea2385fd6e0c6ccfa634c64889812c9d708a402eac724ea26dacfffecd02e7b9d6b5d6b97e704fa0a8b670eae98ae9b2f17c4718fe5d789242d990897f354
6
+ metadata.gz: d169d993f452f7510b1fc3287c571bb349c85a9405c98788e70ce6866612d40f9ce2d11a36d32937616923c2327b6a764ccc6a09729902705a96a7635304131c
7
+ data.tar.gz: 672db4f1161d23a0217359847c4e3f811b2d3fa9f9f7012bf0ef50a7fd52cc0e501c5369f175233a6c605fe0f1a3d7a4d8d046819474da116dae68fa54700dd8
@@ -1,10 +1,10 @@
1
1
  # see https://dev.mysql.com/doc/refman/5.7/en/gis-data-formats.html
2
2
  module Armg::Utils
3
- def mysql_geometry_to_wkb(wkb)
4
- wkb = wkb.b
5
- srid = wkb.slice!(0..3)
6
- wkb[4] = "\x20"
7
- wkb.insert(5, srid)
3
+ def mysql_geometry_to_wkb(mysql_geometry)
4
+ mysql_geometry = mysql_geometry.b
5
+ srid = mysql_geometry.slice!(0..3)
6
+ mysql_geometry[4] = "\x20"
7
+ mysql_geometry.insert(5, srid)
8
8
  end
9
9
  module_function :mysql_geometry_to_wkb
10
10
 
@@ -1,3 +1,3 @@
1
1
  module Armg
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
3
3
  end
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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara