hostelify 0.5.2 → 0.5.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/Manifest +2 -1
- data/README.markdown +11 -0
- data/Rakefile +3 -1
- data/hostelify.gemspec +5 -5
- data/lib/hostelify.rb +0 -1
- metadata +6 -6
- data/README.rdoc +0 -1
data/Manifest
CHANGED
data/README.markdown
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Hostelify
|
|
2
|
+
|
|
3
|
+
>This a gem which creates an API for booking and pricing data for the following sites:
|
|
4
|
+
|
|
5
|
+
* Hostelworld
|
|
6
|
+
* Hostelbookers
|
|
7
|
+
* Gomio (removed too slow to speak of)
|
|
8
|
+
|
|
9
|
+
Hostelworld's real API is commercial and it sucks to high heaven... it was written as an afterthought by a Rent-a-coder.
|
|
10
|
+
Hostelbookers' is also commercial only, but is quite ok.
|
|
11
|
+
|
data/Rakefile
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
require 'rubygems'
|
|
2
2
|
require 'rake'
|
|
3
3
|
require 'echoe'
|
|
4
|
+
require 'hpricot'
|
|
5
|
+
require 'mechanize'
|
|
4
6
|
|
|
5
|
-
Echoe.new('hostelify', '0.5.
|
|
7
|
+
Echoe.new('hostelify', '0.5.3') do |p|
|
|
6
8
|
p.description = "Simple Hostel Webscrapper."
|
|
7
9
|
p.url = "http://github.com/holden/hostelify"
|
|
8
10
|
p.author = "Holden Thomas"
|
data/hostelify.gemspec
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{hostelify}
|
|
5
|
-
s.version = "0.5.
|
|
5
|
+
s.version = "0.5.3"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Holden Thomas"]
|
|
9
|
-
s.date = %q{2010-
|
|
9
|
+
s.date = %q{2010-10-05}
|
|
10
10
|
s.description = %q{Simple Hostel Webscrapper.}
|
|
11
11
|
s.email = %q{holden.thomas@gmail.com}
|
|
12
|
-
s.extra_rdoc_files = ["README.
|
|
13
|
-
s.files = ["Manifest", "README.
|
|
12
|
+
s.extra_rdoc_files = ["README.markdown", "lib/hostelify.rb", "lib/hostelify/gomio.rb", "lib/hostelify/hostel.rb", "lib/hostelify/hostelbookers.rb", "lib/hostelify/hostelify.rb", "lib/hostelify/hostelworld.rb", "lib/items.rb"]
|
|
13
|
+
s.files = ["Manifest", "README.markdown", "Rakefile", "lib/hostelify.rb", "lib/hostelify/gomio.rb", "lib/hostelify/hostel.rb", "lib/hostelify/hostelbookers.rb", "lib/hostelify/hostelify.rb", "lib/hostelify/hostelworld.rb", "lib/items.rb", "spec/_helper.rb", "spec/hb_find_by_hostel.spec", "spec/hb_find_hostels.spec", "spec/helper.rb", "spec/hw_find_by_hostel.spec", "spec/hw_find_hostels.spec", "hostelify.gemspec"]
|
|
14
14
|
s.homepage = %q{http://github.com/holden/hostelify}
|
|
15
|
-
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Hostelify", "--main", "README.
|
|
15
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Hostelify", "--main", "README.markdown"]
|
|
16
16
|
s.require_paths = ["lib"]
|
|
17
17
|
s.rubyforge_project = %q{hostelify}
|
|
18
18
|
s.rubygems_version = %q{1.3.6}
|
data/lib/hostelify.rb
CHANGED
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 5
|
|
8
|
-
-
|
|
9
|
-
version: 0.5.
|
|
8
|
+
- 3
|
|
9
|
+
version: 0.5.3
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Holden Thomas
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-
|
|
17
|
+
date: 2010-10-05 00:00:00 +02:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies: []
|
|
20
20
|
|
|
@@ -25,7 +25,7 @@ executables: []
|
|
|
25
25
|
extensions: []
|
|
26
26
|
|
|
27
27
|
extra_rdoc_files:
|
|
28
|
-
- README.
|
|
28
|
+
- README.markdown
|
|
29
29
|
- lib/hostelify.rb
|
|
30
30
|
- lib/hostelify/gomio.rb
|
|
31
31
|
- lib/hostelify/hostel.rb
|
|
@@ -35,7 +35,7 @@ extra_rdoc_files:
|
|
|
35
35
|
- lib/items.rb
|
|
36
36
|
files:
|
|
37
37
|
- Manifest
|
|
38
|
-
- README.
|
|
38
|
+
- README.markdown
|
|
39
39
|
- Rakefile
|
|
40
40
|
- lib/hostelify.rb
|
|
41
41
|
- lib/hostelify/gomio.rb
|
|
@@ -62,7 +62,7 @@ rdoc_options:
|
|
|
62
62
|
- --title
|
|
63
63
|
- Hostelify
|
|
64
64
|
- --main
|
|
65
|
-
- README.
|
|
65
|
+
- README.markdown
|
|
66
66
|
require_paths:
|
|
67
67
|
- lib
|
|
68
68
|
required_ruby_version: !ruby/object:Gem::Requirement
|
data/README.rdoc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Nothin yet... still...
|