armg 0.5.0 → 0.5.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: cd750e12ff779d85ab6c3e37f061e65fbee07e2f
4
- data.tar.gz: b17f2516d892fb0029552f2577379ff2b8709772
3
+ metadata.gz: e7d8f7013453e88c223550d1ba638e6176698644
4
+ data.tar.gz: ccb39f37a84f7e943b96e3ed53947dde2e189532
5
5
  SHA512:
6
- metadata.gz: 6a6072cb270a02f58750bd7a884a73f82eba207ca57a174e7a12a7c5555f2487fc0a12245268a19ee0031616d220fa0d467ca315ba597f3eb5976fe39cbf97ba
7
- data.tar.gz: bba7d5b0166f2f6310045b87dca715386d200bab7365ecec5f75284b62b56cab39d706ca5c03af1fa457cd8bcbe84904e3fa3c4f3d32a7683f58f2321198cf26
6
+ metadata.gz: 6afc996aa85c36814fae97d98fd959d8abd1177f86d70fb6f7cf3f657428cf215e77a32428bdd831873740fac6c2caa111ec02a9818ecb684f8f684aa33ecbc0
7
+ data.tar.gz: 26fd7834375660e5b4a117c7a8a2400d62cd20ff80f9561c49ceba584133517fa0d40f0373196458d40c69ee0a0633920d64d5fe456984b91afa4f525aafb69b
data/lib/armg/armg.rb CHANGED
@@ -1,9 +1,7 @@
1
1
  module Armg
2
- @deserializer = Armg::WkbDeserializer.new
3
- @serializer = Armg::WkbSerializer.new
4
-
5
2
  class << self
6
3
  def deserializer
4
+ @deserializer ||= Armg::WkbDeserializer.new
7
5
  @deserializer
8
6
  end
9
7
 
@@ -12,6 +10,7 @@ module Armg
12
10
  end
13
11
 
14
12
  def serializer
13
+ @serializer ||= Armg::WkbSerializer.new
15
14
  @serializer
16
15
  end
17
16
 
data/lib/armg/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Armg
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.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.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara