craigler 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
+ require 'yaml'
3
4
 
4
5
  begin
5
6
  require 'jeweler'
@@ -9,10 +10,14 @@ begin
9
10
  gem.email = "quixoten@gmail.com"
10
11
  gem.homepage = "http://github.com/threetrieslater/craigler"
11
12
  gem.authors = ["Devin Christensen"]
13
+ gem.add_dependency "hpricot", "~> 0.8.4"
12
14
  gem.add_development_dependency "shoulda", ">= 2.10.3"
15
+ gem.add_development_dependency "rdoc", "~> 3.11.0"
13
16
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
14
17
  end
15
18
 
19
+ Jeweler::GemcutterTasks.new
20
+
16
21
  rescue LoadError
17
22
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
18
23
  end
@@ -40,10 +45,10 @@ end
40
45
 
41
46
  task :default => :test
42
47
 
43
- require 'rake/rdoctask'
48
+ require 'rdoc/task'
44
49
  Rake::RDocTask.new do |rdoc|
45
50
  if File.exist?('VERSION.yml')
46
- config = YAML.load(File.read('VERSION.yml'))
51
+ config = YAML::load(File.read('VERSION.yml'))
47
52
  version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
48
53
  else
49
54
  version = ""
@@ -1,5 +1,5 @@
1
1
  ---
2
- :minor: 3
3
- :patch: 0
4
2
  :major: 1
3
+ :minor: 3
4
+ :patch: 1
5
5
  :build:
@@ -1,5 +1,5 @@
1
1
  require 'open-uri'
2
- require 'Hpricot'
2
+ require 'hpricot'
3
3
 
4
4
  require 'craigler/constants'
5
5
  require 'craigler/search'
@@ -33,4 +33,4 @@ module Craigler
33
33
  results
34
34
  end
35
35
  end
36
- end
36
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: craigler
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
4
+ hash: 25
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 0
10
- version: 1.3.0
9
+ - 1
10
+ version: 1.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Devin Christensen
@@ -15,13 +15,28 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-05 00:00:00 -06:00
19
- default_executable:
18
+ date: 2011-11-08 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- name: shoulda
21
+ name: hpricot
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ hash: 55
29
+ segments:
30
+ - 0
31
+ - 8
32
+ - 4
33
+ version: 0.8.4
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: shoulda
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
25
40
  none: false
26
41
  requirements:
27
42
  - - ">="
@@ -33,7 +48,23 @@ dependencies:
33
48
  - 3
34
49
  version: 2.10.3
35
50
  type: :development
36
- version_requirements: *id001
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
53
+ name: rdoc
54
+ prerelease: false
55
+ requirement: &id003 !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ hash: 43
61
+ segments:
62
+ - 3
63
+ - 11
64
+ - 0
65
+ version: 3.11.0
66
+ type: :development
67
+ version_requirements: *id003
37
68
  description:
38
69
  email: quixoten@gmail.com
39
70
  executables: []
@@ -45,25 +76,22 @@ extra_rdoc_files:
45
76
  - README.rdoc
46
77
  files:
47
78
  - .document
48
- - .gitignore
49
79
  - LICENSE
50
80
  - README.rdoc
51
81
  - Rakefile
52
82
  - VERSION.yml
53
- - craigler.gemspec
54
83
  - lib/craigler.rb
55
84
  - lib/craigler/constants.rb
56
85
  - lib/craigler/search.rb
57
86
  - test/craigler_search_test.rb
58
87
  - test/craigler_test.rb
59
88
  - test/test_helper.rb
60
- has_rdoc: true
61
89
  homepage: http://github.com/threetrieslater/craigler
62
90
  licenses: []
63
91
 
64
92
  post_install_message:
65
- rdoc_options:
66
- - --charset=UTF-8
93
+ rdoc_options: []
94
+
67
95
  require_paths:
68
96
  - lib
69
97
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -87,11 +115,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
115
  requirements: []
88
116
 
89
117
  rubyforge_project:
90
- rubygems_version: 1.3.7
118
+ rubygems_version: 1.8.10
91
119
  signing_key:
92
120
  specification_version: 3
93
121
  summary: Search API for craigslist
94
- test_files:
95
- - test/craigler_search_test.rb
96
- - test/craigler_test.rb
97
- - test/test_helper.rb
122
+ test_files: []
123
+
data/.gitignore DELETED
@@ -1,5 +0,0 @@
1
- *.sw?
2
- .DS_Store
3
- coverage
4
- rdoc
5
- pkg
@@ -1,57 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{craigler}
8
- s.version = "1.3.0"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Devin Christensen"]
12
- s.date = %q{2010-09-05}
13
- s.email = %q{quixoten@gmail.com}
14
- s.extra_rdoc_files = [
15
- "LICENSE",
16
- "README.rdoc"
17
- ]
18
- s.files = [
19
- ".document",
20
- ".gitignore",
21
- "LICENSE",
22
- "README.rdoc",
23
- "Rakefile",
24
- "VERSION.yml",
25
- "craigler.gemspec",
26
- "lib/craigler.rb",
27
- "lib/craigler/constants.rb",
28
- "lib/craigler/search.rb",
29
- "test/craigler_search_test.rb",
30
- "test/craigler_test.rb",
31
- "test/test_helper.rb"
32
- ]
33
- s.homepage = %q{http://github.com/threetrieslater/craigler}
34
- s.rdoc_options = ["--charset=UTF-8"]
35
- s.require_paths = ["lib"]
36
- s.rubygems_version = %q{1.3.7}
37
- s.summary = %q{Search API for craigslist}
38
- s.test_files = [
39
- "test/craigler_search_test.rb",
40
- "test/craigler_test.rb",
41
- "test/test_helper.rb"
42
- ]
43
-
44
- if s.respond_to? :specification_version then
45
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
46
- s.specification_version = 3
47
-
48
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
- s.add_development_dependency(%q<shoulda>, [">= 2.10.3"])
50
- else
51
- s.add_dependency(%q<shoulda>, [">= 2.10.3"])
52
- end
53
- else
54
- s.add_dependency(%q<shoulda>, [">= 2.10.3"])
55
- end
56
- end
57
-