rosemary 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -4
- data/lib/rosemary/tags.rb +2 -0
- data/lib/rosemary/version.rb +1 -1
- data/spec/models/node_spec.rb +9 -0
- metadata +3 -3
data/README.md
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
# Rosemary: OpenStreetMap for Ruby
|
2
2
|
|
3
|
-
[![
|
4
|
-
|
5
|
-
|
6
|
-
[2]: https://secure.travis-ci.org/sozialhelden/rosemary.png
|
3
|
+
[![Build Status](https://travis-ci.org/sozialhelden/rosemary.png?branch=master)](https://travis-ci.org/sozialhelden/rosemary)
|
4
|
+
[![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/sozialhelden/rosemary)
|
5
|
+
[![Gem Version](https://fury-badge.herokuapp.com/rb/rosemary.png)](http://badge.fury.io/rb/rosemary)
|
7
6
|
|
8
7
|
This ruby gem is an API client for the current OpenStreetMap [API v0.6](http://wiki.openstreetmap.org/wiki/API_v0.6). It provides easy access to OpenStreetMap (OSM) data.
|
9
8
|
|
data/lib/rosemary/tags.rb
CHANGED
data/lib/rosemary/version.rb
CHANGED
data/spec/models/node_spec.rb
CHANGED
@@ -165,4 +165,13 @@ describe Node do
|
|
165
165
|
second_node.tags[:name] = 'white horse'
|
166
166
|
first_node.should_not == second_node
|
167
167
|
end
|
168
|
+
|
169
|
+
it "should be ok to pass tags with emtpy value" do
|
170
|
+
lambda {
|
171
|
+
subject.add_tags({"wheelchair_description"=>"", "type"=>"convenience",
|
172
|
+
"street"=>nil, "name"=>"Kochhaus", "wheelchair"=>nil, "postcode"=>nil,
|
173
|
+
"phone"=>nil, "city"=>nil, "website"=>nil, "lon"=>"13.35598468780518",
|
174
|
+
"lat"=>"52.48627569798567", "housenumber"=>nil})
|
175
|
+
}.should_not raise_error
|
176
|
+
end
|
168
177
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rosemary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -241,7 +241,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
241
241
|
version: '0'
|
242
242
|
segments:
|
243
243
|
- 0
|
244
|
-
hash:
|
244
|
+
hash: 2834099730103194430
|
245
245
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
246
246
|
none: false
|
247
247
|
requirements:
|