simpler-tiles 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/ext/simpler_tiles/depend +0 -7
- data/ext/simpler_tiles/extconf.rb +2 -0
- data/ext/simpler_tiles/map.c +3 -3
- data/index.html +2 -0
- data/lib/simpler_tiles/version.rb +1 -1
- metadata +8 -22
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8dba966aa1bd8f4d0d8bcf1f3bcac61e7adaf602
|
4
|
+
data.tar.gz: c00487458f7f585dd4ac9726df6a3e1cc96d19e5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 490c6e0cb73e4bd374dfb4a066a799ee9cc49d2dec359ebe7d633e3b59210398b8aa8791466da61c22aab61a0065511c01c3fcb301860769d96884e38525340a
|
7
|
+
data.tar.gz: 3e82dc7486c01b151f77b1cb0bc1e2ebd7c1ec5e1b1387df639bddbce088d2bfa650d5e7380fc98c2f015168d98d80dc9113b1d8ee655a710a4941ff6be60404
|
data/ext/simpler_tiles/depend
CHANGED
@@ -1,7 +0,0 @@
|
|
1
|
-
bounds.o: bounds.c bounds.h simpler_tiles.h map.h layer.h query.h style.h
|
2
|
-
layer.o: layer.c layer.h simpler_tiles.h map.h bounds.h query.h style.h
|
3
|
-
map.o: map.c map.h simpler_tiles.h bounds.h layer.h query.h style.h
|
4
|
-
query.o: query.c query.h simpler_tiles.h map.h bounds.h layer.h style.h
|
5
|
-
simpler_tiles.o: simpler_tiles.c simpler_tiles.h map.h bounds.h layer.h \
|
6
|
-
query.h style.h
|
7
|
-
style.o: style.c style.h simpler_tiles.h map.h bounds.h layer.h query.h
|
@@ -12,6 +12,7 @@ $LIBS << " #{ENV["LIBS"]}" << `pkg-config --libs simple-tiles pangocairo`.chomp
|
|
12
12
|
HEADER_DIRS = [
|
13
13
|
'/usr/local/include',
|
14
14
|
'/usr/X11/include',
|
15
|
+
'/usr/local/opt/gettext/include',
|
15
16
|
INCLUDEDIR,
|
16
17
|
'/usr/include'
|
17
18
|
]
|
@@ -19,6 +20,7 @@ HEADER_DIRS = [
|
|
19
20
|
LIB_DIRS = [
|
20
21
|
'/usr/local/lib',
|
21
22
|
'/usr/X11/lib',
|
23
|
+
'/usr/local/opt/gettext/lib',
|
22
24
|
LIBDIR,
|
23
25
|
'/usr/lib',
|
24
26
|
]
|
data/ext/simpler_tiles/map.c
CHANGED
@@ -255,7 +255,7 @@ save(VALUE self, VALUE path){
|
|
255
255
|
if(simplet_map_get_status(map) == SIMPLET_OK) {
|
256
256
|
return Qtrue;
|
257
257
|
} else {
|
258
|
-
rb_raise(rb_eRuntimeError, simplet_map_status_to_string(map));
|
258
|
+
rb_raise(rb_eRuntimeError, "%s", simplet_map_status_to_string(map));
|
259
259
|
return Qfalse;
|
260
260
|
}
|
261
261
|
}
|
@@ -281,7 +281,7 @@ to_png_stream(VALUE self, VALUE block){
|
|
281
281
|
|
282
282
|
simplet_map_render_to_stream(map, (void *)block, stream);
|
283
283
|
if(simplet_map_get_status(map) != SIMPLET_OK)
|
284
|
-
rb_raise(rb_eRuntimeError, simplet_map_status_to_string(map));
|
284
|
+
rb_raise(rb_eRuntimeError, "%s", simplet_map_status_to_string(map));
|
285
285
|
|
286
286
|
return Qnil;
|
287
287
|
}
|
@@ -296,7 +296,7 @@ static VALUE
|
|
296
296
|
slippy(VALUE self, VALUE x, VALUE y, VALUE z){
|
297
297
|
simplet_map_t *map = get_map(self);
|
298
298
|
if(simplet_map_set_slippy(map, NUM2INT(x), NUM2INT(y), NUM2INT(z)) != SIMPLET_OK)
|
299
|
-
rb_raise(rb_eRuntimeError, simplet_map_status_to_string(map));
|
299
|
+
rb_raise(rb_eRuntimeError, "%s", simplet_map_status_to_string(map));
|
300
300
|
return Qnil;
|
301
301
|
}
|
302
302
|
|
data/index.html
CHANGED
@@ -415,6 +415,8 @@ $ gem install simpler-tiles
|
|
415
415
|
<h2>Change Log</h2>
|
416
416
|
|
417
417
|
<dl>
|
418
|
+
<dd><b>0.0.8</b> — April, 11th 2013</dd>
|
419
|
+
<dt>Fix missing constant</dt>
|
418
420
|
<dd><b>0.0.7</b> — February, 27th 2013</dd>
|
419
421
|
<dt>Fix deprecation warnings and compatibility with Simple Tiles 0.3.0, (thanks <a href="http://github.com/adamtrilling">adamtrilling</a>)</dt>
|
420
422
|
<dd><b>0.0.6</b> — January, 30th 2013</dd>
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simpler-tiles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.9
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jeff Larson
|
@@ -14,23 +13,20 @@ dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake-compiler
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: bundler
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: shoulda
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: yard
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -121,30 +112,25 @@ files:
|
|
121
112
|
homepage: http://github.com/propublica/simpler-tiles
|
122
113
|
licenses:
|
123
114
|
- MIT
|
115
|
+
metadata: {}
|
124
116
|
post_install_message:
|
125
117
|
rdoc_options: []
|
126
118
|
require_paths:
|
127
119
|
- lib
|
128
120
|
required_ruby_version: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
121
|
requirements:
|
131
|
-
- -
|
122
|
+
- - '>='
|
132
123
|
- !ruby/object:Gem::Version
|
133
124
|
version: '0'
|
134
|
-
segments:
|
135
|
-
- 0
|
136
|
-
hash: -2716362726922951089
|
137
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
|
-
none: false
|
139
126
|
requirements:
|
140
|
-
- -
|
127
|
+
- - '>='
|
141
128
|
- !ruby/object:Gem::Version
|
142
129
|
version: '0'
|
143
130
|
requirements: []
|
144
131
|
rubyforge_project:
|
145
|
-
rubygems_version:
|
132
|
+
rubygems_version: 2.0.14
|
146
133
|
signing_key:
|
147
|
-
specification_version:
|
134
|
+
specification_version: 4
|
148
135
|
summary: A set of ruby bindings for the Simple Tiles mapping library.
|
149
136
|
test_files: []
|
150
|
-
has_rdoc:
|