ioffer 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog.md CHANGED
@@ -1,5 +1,10 @@
1
1
  0.1.0 / 2011-04-04
2
2
  ------------------
3
+ * Bugs:
4
+ * Added runtime dependencies.
5
+
6
+ 0.1.0 / 2011-04-04
7
+ ------------------
3
8
 
4
9
  * Initial release:
5
10
  * Basic search and page parser.
data/Gemfile CHANGED
@@ -11,5 +11,4 @@ group :development do
11
11
  gem 'ore-tasks', '~> 0.4'
12
12
  gem 'rspec', '~> 2.4'
13
13
  gem 'yard', '~> 0.6.0'
14
- gem 'bluecloth', '~> 2.1.0'
15
14
  end
data/README.md CHANGED
@@ -18,27 +18,27 @@ Features
18
18
  Examples
19
19
  --------
20
20
 
21
- require 'ioffer'
22
- require 'open-uri'
23
-
24
- search = IOfferSearch.parse open("http://www.ioffer.com/si/saxphones")
25
-
26
- search.results.each do |result|
27
- puts result.title
28
- puts result.url
29
- end
30
-
31
- result_url = search.results.first.url
32
-
33
- page = IOfferPage.parse open(result_url)
34
- puts page.seller_name
35
- puts page.item_id
36
- puts page.price
21
+ require 'ioffer'
22
+ require 'open-uri'
23
+
24
+ search = IOfferSearch.parse open("http://www.ioffer.com/si/saxphones")
25
+
26
+ search.results.each do |result|
27
+ puts result.title
28
+ puts result.url
29
+ end
30
+
31
+ result_url = search.results.first.url
32
+
33
+ page = IOfferPage.parse open(result_url)
34
+ puts page.seller_name
35
+ puts page.item_id
36
+ puts page.price
37
37
 
38
38
  Install
39
39
  -------
40
40
 
41
- $ gem install ioffer
41
+ $ gem install ioffer
42
42
 
43
43
  Copyright
44
44
  ---------
data/gemspec.yml CHANGED
@@ -7,6 +7,11 @@ email: "ezkl@me.com"
7
7
  homepage: http://rubygems.org/gems/ioffer
8
8
  has_yard: true
9
9
 
10
+ runtime_dependencies:
11
+ nibbler: ~> 1.2.1
12
+ nokogiri: ~> 1.4.4
13
+ sanitize: ~> 2.0.1
14
+
10
15
  development_dependencies:
11
16
  bundler: ~> 1.0.0
12
17
  yard: ~> 0.6.0
@@ -1,4 +1,4 @@
1
1
  module Ioffer
2
2
  # ioffer version
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ioffer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ezekiel Templin
@@ -13,8 +13,41 @@ cert_chain: []
13
13
  date: 2011-04-05 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: bundler
16
+ name: nibbler
17
17
  requirement: &id001 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: 1.2.1
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
27
+ name: nokogiri
28
+ requirement: &id002 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 1.4.4
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
38
+ name: sanitize
39
+ requirement: &id003 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: 2.0.1
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
49
+ name: bundler
50
+ requirement: &id004 !ruby/object:Gem::Requirement
18
51
  none: false
19
52
  requirements:
20
53
  - - ~>
@@ -22,10 +55,10 @@ dependencies:
22
55
  version: 1.0.0
23
56
  type: :development
24
57
  prerelease: false
25
- version_requirements: *id001
58
+ version_requirements: *id004
26
59
  - !ruby/object:Gem::Dependency
27
60
  name: yard
28
- requirement: &id002 !ruby/object:Gem::Requirement
61
+ requirement: &id005 !ruby/object:Gem::Requirement
29
62
  none: false
30
63
  requirements:
31
64
  - - ~>
@@ -33,7 +66,7 @@ dependencies:
33
66
  version: 0.6.0
34
67
  type: :development
35
68
  prerelease: false
36
- version_requirements: *id002
69
+ version_requirements: *id005
37
70
  description: Very basic iOffer.com parser using Nibbler.
38
71
  email:
39
72
  - ezkl@me.com