pbf_parser 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/pbf_parser/pbf_parser.c +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b93b6205fb6385cb5b3d69ec0f3a481872df70e7
|
4
|
+
data.tar.gz: ffb0fcb9519e2fc77d52b547d9f325232d859af2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcaf84d9bfd5744ed0adab77ed384e58c7cfb14ee9bfeb73b368b5b50289d918ca73ab5cc40fe88a83a6e22dc21b703fa350f30bf77521cfacafb78d5e1ce857
|
7
|
+
data.tar.gz: 0c84f0292020e173a4b2bd300190b1a38e772be3c7dfd4795156eecc74a4dda9045d98da3671aa0e5a6037cd523df3d53aa8fd7435248efc11857c0a725abbdd
|
data/ext/pbf_parser/pbf_parser.c
CHANGED
@@ -595,14 +595,15 @@ static VALUE iterate(VALUE obj)
|
|
595
595
|
if (!rb_block_given_p())
|
596
596
|
rb_raise(rb_eArgError, "A block is expected");
|
597
597
|
|
598
|
-
|
598
|
+
do
|
599
599
|
{
|
600
600
|
VALUE nodes = nodes_getter(obj);
|
601
601
|
VALUE ways = ways_getter(obj);
|
602
602
|
VALUE relations = relations_getter(obj);
|
603
603
|
|
604
604
|
rb_yield_values(3, nodes, ways, relations);
|
605
|
-
|
605
|
+
|
606
|
+
} while(parse_osm_data(obj) != Qfalse);
|
606
607
|
|
607
608
|
return Qnil;
|
608
609
|
}
|