iwannagothere 0.0.2 → 0.0.3
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.
- data/lib/iwannagothere/place.rb +1 -1
- metadata +7 -11
- data/README.rdoc +0 -3
- data/Rakefile +0 -21
- data/iwannagothere.gemspec +0 -54
data/lib/iwannagothere/place.rb
CHANGED
@@ -2,7 +2,7 @@ module IWannaGoThere
|
|
2
2
|
class Place < Element
|
3
3
|
attr_accessor :country_id, :created_at, :delta, :geoname_id, :id, :items_count,
|
4
4
|
:lat, :long, :map_id, :name, :nicename, :updated_at, :long_guid,
|
5
|
-
:hierarchy, :alternative_names, :users_count, :meta
|
5
|
+
:hierarchy, :alternative_names, :users_count, :meta, :main_place
|
6
6
|
|
7
7
|
def photos(size = 'square', limit = 10)
|
8
8
|
r = IWannaGoThere.get(@urls[:place_photos].params({ :geoname_id => @geoname_id }), @options, { :limit => limit, :size => size })
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iwannagothere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 25
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jordi Villar
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-03-27 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -40,13 +40,9 @@ extensions: []
|
|
40
40
|
|
41
41
|
extra_rdoc_files:
|
42
42
|
- README.md
|
43
|
-
- README.rdoc
|
44
43
|
files:
|
45
44
|
- README.md
|
46
|
-
- README.rdoc
|
47
|
-
- Rakefile
|
48
45
|
- examples/all_methods.rb
|
49
|
-
- iwannagothere.gemspec
|
50
46
|
- lib/core_ext/string.rb
|
51
47
|
- lib/iwannagothere.rb
|
52
48
|
- lib/iwannagothere/client.rb
|
@@ -58,7 +54,7 @@ files:
|
|
58
54
|
- lib/iwannagothere/urls.rb
|
59
55
|
- lib/iwannagothere/user.rb
|
60
56
|
has_rdoc: true
|
61
|
-
homepage: https://github.com/
|
57
|
+
homepage: https://github.com/jrdi/iwannagothere
|
62
58
|
licenses: []
|
63
59
|
|
64
60
|
post_install_message:
|
@@ -87,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
83
|
requirements: []
|
88
84
|
|
89
85
|
rubyforge_project:
|
90
|
-
rubygems_version: 1.
|
86
|
+
rubygems_version: 1.6.2
|
91
87
|
signing_key:
|
92
88
|
specification_version: 3
|
93
89
|
summary: Ruby wrapper for iwannagothere API
|
data/README.rdoc
DELETED
data/Rakefile
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'rake'
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'jeweler'
|
6
|
-
Jeweler::Tasks.new do |gemspec|
|
7
|
-
gemspec.name = "iwannagothere"
|
8
|
-
gemspec.version = "0.0.2"
|
9
|
-
gemspec.summary = "Ruby wrapper for iwannagothere API "
|
10
|
-
gemspec.description = "Ruby wrapper for iwannagothere API "
|
11
|
-
gemspec.email = "jrdi.villar@gmail.com"
|
12
|
-
gemspec.homepage = "https://github.com/jrd/iwannagothere"
|
13
|
-
gemspec.authors = ["Jordi Villar"]
|
14
|
-
gemspec.add_dependency("httparty")
|
15
|
-
end
|
16
|
-
Jeweler::GemcutterTasks.new
|
17
|
-
rescue LoadError
|
18
|
-
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
19
|
-
end
|
20
|
-
|
21
|
-
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
|
data/iwannagothere.gemspec
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{iwannagothere}
|
8
|
-
s.version = "0.0.1"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Jordi Villar"]
|
12
|
-
s.date = %q{2010-11-20}
|
13
|
-
s.description = %q{Ruby wrapper for iwannagothere API }
|
14
|
-
s.email = %q{jrdi.villar@gmail.com}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"README.md",
|
17
|
-
"README.rdoc"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
"README.md",
|
21
|
-
"examples/all_methods.rb",
|
22
|
-
"lib/core_ext/string.rb",
|
23
|
-
"lib/iwannagothere.rb",
|
24
|
-
"lib/iwannagothere/client.rb",
|
25
|
-
"lib/iwannagothere/element.rb",
|
26
|
-
"lib/iwannagothere/item.rb",
|
27
|
-
"lib/iwannagothere/item_route.rb",
|
28
|
-
"lib/iwannagothere/photo.rb",
|
29
|
-
"lib/iwannagothere/place.rb",
|
30
|
-
"lib/iwannagothere/urls.rb",
|
31
|
-
"lib/iwannagothere/user.rb"
|
32
|
-
]
|
33
|
-
s.homepage = %q{https://github.com/jrd/iwannagothere}
|
34
|
-
s.require_paths = ["lib"]
|
35
|
-
s.rubygems_version = %q{1.3.7}
|
36
|
-
s.summary = %q{Ruby wrapper for iwannagothere API}
|
37
|
-
s.test_files = [
|
38
|
-
"examples/all_methods.rb"
|
39
|
-
]
|
40
|
-
|
41
|
-
if s.respond_to? :specification_version then
|
42
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
43
|
-
s.specification_version = 3
|
44
|
-
|
45
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
46
|
-
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
47
|
-
else
|
48
|
-
s.add_dependency(%q<httparty>, [">= 0"])
|
49
|
-
end
|
50
|
-
else
|
51
|
-
s.add_dependency(%q<httparty>, [">= 0"])
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|