tanker 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/indextank_client.rb +3 -3
  3. data/tanker.gemspec +3 -4
  4. metadata +10 -5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.5
1
+ 0.5.6
@@ -10,13 +10,13 @@ module IndexTank
10
10
  class RestClient
11
11
  def GET(path, params={})
12
12
  path = "#{path}?#{to_query(params)}" if params
13
- request = Net::HTTP::Get.new "#{@uri}#{path}"
13
+ request = Net::HTTP::Get.new "#{@uri.path}#{path}"
14
14
  authorize request
15
15
  return execute(request)
16
16
  end
17
17
 
18
18
  def PUT(path, body={})
19
- request = Net::HTTP::Put.new "#{@uri}#{path}"
19
+ request = Net::HTTP::Put.new "#{@uri.path}#{path}"
20
20
  authorize request
21
21
  request.body = body.to_json if body
22
22
  return execute(request)
@@ -24,7 +24,7 @@ module IndexTank
24
24
 
25
25
  def DELETE(path, params={})
26
26
  path = "#{path}?#{to_query(params)}" if params
27
- request = Net::HTTP::Delete.new "#{@uri}#{path}"
27
+ request = Net::HTTP::Delete.new "#{@uri.path}#{path}"
28
28
  authorize request
29
29
  return execute(request)
30
30
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tanker}
8
- s.version = "0.5.5"
8
+ s.version = "0.5.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["@kidpollo"]
12
- s.date = %q{2010-10-22}
12
+ s.date = %q{2011-02-02}
13
13
  s.description = %q{IndexTank is a great search indexing service, this gem tries to make any orm keep in sync with indextank with ease}
14
14
  s.email = %q{kidpollo@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -40,7 +40,7 @@ Gem::Specification.new do |s|
40
40
  s.homepage = %q{http://github.com/kidpollo/tanker}
41
41
  s.rdoc_options = ["--charset=UTF-8"]
42
42
  s.require_paths = ["lib"]
43
- s.rubygems_version = %q{1.3.7}
43
+ s.rubygems_version = %q{1.4.2}
44
44
  s.summary = %q{IndexTank integration to your favorite orm}
45
45
  s.test_files = [
46
46
  "spec/spec_helper.rb",
@@ -49,7 +49,6 @@ Gem::Specification.new do |s|
49
49
  ]
50
50
 
51
51
  if s.respond_to? :specification_version then
52
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
53
52
  s.specification_version = 3
54
53
 
55
54
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tanker
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 7
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
8
  - 5
8
- - 5
9
- version: 0.5.5
9
+ - 6
10
+ version: 0.5.6
10
11
  platform: ruby
11
12
  authors:
12
13
  - "@kidpollo"
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-10-22 00:00:00 -05:00
18
+ date: 2011-02-02 00:00:00 -08:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
@@ -25,6 +26,7 @@ dependencies:
25
26
  requirements:
26
27
  - - ">="
27
28
  - !ruby/object:Gem::Version
29
+ hash: 62196431
28
30
  segments:
29
31
  - 2
30
32
  - 0
@@ -42,6 +44,7 @@ dependencies:
42
44
  requirements:
43
45
  - - ">="
44
46
  - !ruby/object:Gem::Version
47
+ hash: 29
45
48
  segments:
46
49
  - 2
47
50
  - 3
@@ -92,6 +95,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
95
  requirements:
93
96
  - - ">="
94
97
  - !ruby/object:Gem::Version
98
+ hash: 3
95
99
  segments:
96
100
  - 0
97
101
  version: "0"
@@ -100,13 +104,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
104
  requirements:
101
105
  - - ">="
102
106
  - !ruby/object:Gem::Version
107
+ hash: 3
103
108
  segments:
104
109
  - 0
105
110
  version: "0"
106
111
  requirements: []
107
112
 
108
113
  rubyforge_project:
109
- rubygems_version: 1.3.7
114
+ rubygems_version: 1.4.2
110
115
  signing_key:
111
116
  specification_version: 3
112
117
  summary: IndexTank integration to your favorite orm