razsell 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -0,0 +1,5 @@
1
+ require 'razsell/constants/sort_methods'
2
+ require 'razsell/constants/image_sizes'
3
+ require 'razsell/constants/product_types'
4
+ require 'razsell/constants/sort_periods'
5
+
@@ -1,5 +1,5 @@
1
- require 'http_service'
2
- require 'product_line_parser'
1
+ require 'razsell/http_service'
2
+ require 'razsell/product_line_parser'
3
3
 
4
4
  module Razsell
5
5
  class Engine
@@ -1,5 +1,5 @@
1
1
  require 'hpricot'
2
- require 'product_line'
2
+ require 'razsell/product_line'
3
3
 
4
4
  module Razsell
5
5
  class ProductLineParser
@@ -1,4 +1,4 @@
1
- require 'constants'
1
+ require 'razsell/constants'
2
2
  require 'cgi'
3
3
 
4
4
  module Razsell
data/lib/razsell.rb CHANGED
@@ -1,8 +1,8 @@
1
- require 'query'
2
- require 'results'
3
- require 'item'
4
- require 'engine'
5
- require 'http_service'
1
+ require 'razsell/engine'
2
+ require 'razsell/results'
3
+ require 'razsell/item'
4
+ require 'razsell/query'
5
+
6
6
 
7
7
  module Razsell
8
8
  def request query, opts={}
data/razsell.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{razsell}
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jamal Hansen"]
12
- s.date = %q{2009-12-22}
12
+ s.date = %q{2010-01-10}
13
13
  s.email = %q{jamal.hansen@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -29,19 +29,19 @@ Gem::Specification.new do |s|
29
29
  "features/step_definitions/razsell_steps.rb",
30
30
  "features/support/env.rb",
31
31
  "features/support/razsell_mixed_in.rb",
32
- "lib/constants.rb",
33
- "lib/constants/image_sizes.rb",
34
- "lib/constants/product_types.rb",
35
- "lib/constants/sort_methods.rb",
36
- "lib/constants/sort_periods.rb",
37
- "lib/engine.rb",
38
- "lib/http_service.rb",
39
- "lib/item.rb",
40
- "lib/product_line.rb",
41
- "lib/product_line_parser.rb",
42
- "lib/query.rb",
43
32
  "lib/razsell.rb",
44
- "lib/results.rb",
33
+ "lib/razsell/constants.rb",
34
+ "lib/razsell/constants/image_sizes.rb",
35
+ "lib/razsell/constants/product_types.rb",
36
+ "lib/razsell/constants/sort_methods.rb",
37
+ "lib/razsell/constants/sort_periods.rb",
38
+ "lib/razsell/engine.rb",
39
+ "lib/razsell/http_service.rb",
40
+ "lib/razsell/item.rb",
41
+ "lib/razsell/product_line.rb",
42
+ "lib/razsell/product_line_parser.rb",
43
+ "lib/razsell/query.rb",
44
+ "lib/razsell/results.rb",
45
45
  "razsell.gemspec",
46
46
  "test/engine_test.rb",
47
47
  "test/fixtures.rb",
data/test/engine_test.rb CHANGED
@@ -1,6 +1,4 @@
1
1
  require 'test_helper'
2
- require 'engine'
3
- require 'http_service'
4
2
 
5
3
  module Razsell
6
4
  class EngineTest < Test::Unit::TestCase
@@ -1,4 +1,4 @@
1
- require 'product_line_parser'
1
+ require 'test_helper'
2
2
 
3
3
  class ProductLineParserTest < Test::Unit::TestCase
4
4
  context "parsing the document" do
@@ -1,5 +1,4 @@
1
1
  require 'test_helper'
2
- require 'constants/product_types'
3
2
 
4
3
  class ProductTypesTest < Test::Unit::TestCase
5
4
  include Razsell::ProductTypes
data/test/query_test.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require 'test_helper'
2
- require 'constants'
3
2
 
4
3
  class QueryTest < Test::Unit::TestCase
5
4
  context "has defaulted parameters" do
data/test/test_helper.rb CHANGED
@@ -3,8 +3,8 @@ require 'test/unit'
3
3
  require 'shoulda'
4
4
  require 'fixtures'
5
5
 
6
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
7
- $LOAD_PATH.unshift(File.dirname(__FILE__))
6
+ #$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
7
+ #$LOAD_PATH.unshift(File.dirname(__FILE__))
8
8
  require 'razsell'
9
9
 
10
10
  require 'mocha'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: razsell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamal Hansen
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-22 00:00:00 -06:00
12
+ date: 2010-01-10 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -75,19 +75,19 @@ files:
75
75
  - features/step_definitions/razsell_steps.rb
76
76
  - features/support/env.rb
77
77
  - features/support/razsell_mixed_in.rb
78
- - lib/constants.rb
79
- - lib/constants/image_sizes.rb
80
- - lib/constants/product_types.rb
81
- - lib/constants/sort_methods.rb
82
- - lib/constants/sort_periods.rb
83
- - lib/engine.rb
84
- - lib/http_service.rb
85
- - lib/item.rb
86
- - lib/product_line.rb
87
- - lib/product_line_parser.rb
88
- - lib/query.rb
89
78
  - lib/razsell.rb
90
- - lib/results.rb
79
+ - lib/razsell/constants.rb
80
+ - lib/razsell/constants/image_sizes.rb
81
+ - lib/razsell/constants/product_types.rb
82
+ - lib/razsell/constants/sort_methods.rb
83
+ - lib/razsell/constants/sort_periods.rb
84
+ - lib/razsell/engine.rb
85
+ - lib/razsell/http_service.rb
86
+ - lib/razsell/item.rb
87
+ - lib/razsell/product_line.rb
88
+ - lib/razsell/product_line_parser.rb
89
+ - lib/razsell/query.rb
90
+ - lib/razsell/results.rb
91
91
  - razsell.gemspec
92
92
  - test/engine_test.rb
93
93
  - test/fixtures.rb
data/lib/constants.rb DELETED
@@ -1,5 +0,0 @@
1
- require 'constants/sort_methods'
2
- require 'constants/image_sizes'
3
- require 'constants/product_types'
4
- require 'constants/sort_periods'
5
-
File without changes
File without changes
File without changes
File without changes