carrot 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -12,6 +12,8 @@ begin
12
12
  s.description = "A synchronous version of the ruby amqp client"
13
13
  s.summary = "A synchronous version of the ruby amqp client"
14
14
  s.authors = ["Amos Elliston"]
15
+ s.add_development_dependency "rcov"
16
+ s.add_development_dependency "mocha"
15
17
  end
16
18
  Jeweler::GemcutterTasks.new
17
19
  rescue LoadError
@@ -19,7 +21,7 @@ rescue LoadError
19
21
  end
20
22
 
21
23
  Rake::TestTask.new do |t|
22
- t.libs << 'lib'
24
+ t.libs << ['lib', 'test']
23
25
  t.pattern = 'test/**/*_test.rb'
24
26
  t.verbose = false
25
27
  end
@@ -33,7 +35,7 @@ Rake::RDocTask.new do |rdoc|
33
35
  end
34
36
 
35
37
  Rcov::RcovTask.new do |t|
36
- t.libs << 'test'
38
+ t.libs << ['lib', 'test']
37
39
  t.test_files = FileList['test/**/*_test.rb']
38
40
  t.verbose = true
39
41
  end
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :build:
3
- :minor: 8
4
- :patch: 0
5
2
  :major: 0
3
+ :minor: 8
4
+ :build:
5
+ :patch: 1
data/carrot.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{carrot}
8
- s.version = "0.8.0"
8
+ s.version = "0.8.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Amos Elliston"]
12
- s.date = %q{2010-06-10}
12
+ s.date = %q{2010-11-01}
13
13
  s.description = %q{A synchronous version of the ruby amqp client}
14
14
  s.email = %q{amos@geni.com}
15
15
  s.extra_rdoc_files = [
@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
43
43
  s.homepage = %q{http://github.com/famoseagle/carrot}
44
44
  s.rdoc_options = ["--charset=UTF-8"]
45
45
  s.require_paths = ["lib"]
46
- s.rubygems_version = %q{1.3.5}
46
+ s.rubygems_version = %q{1.3.7}
47
47
  s.summary = %q{A synchronous version of the ruby amqp client}
48
48
  s.test_files = [
49
49
  "test/carrot_test.rb",
@@ -54,10 +54,16 @@ Gem::Specification.new do |s|
54
54
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
55
55
  s.specification_version = 3
56
56
 
57
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
57
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
58
+ s.add_development_dependency(%q<rcov>, [">= 0"])
59
+ s.add_development_dependency(%q<mocha>, [">= 0"])
58
60
  else
61
+ s.add_dependency(%q<rcov>, [">= 0"])
62
+ s.add_dependency(%q<mocha>, [">= 0"])
59
63
  end
60
64
  else
65
+ s.add_dependency(%q<rcov>, [">= 0"])
66
+ s.add_dependency(%q<mocha>, [">= 0"])
61
67
  end
62
68
  end
63
69
 
data/lib/amqp/server.rb CHANGED
@@ -125,7 +125,7 @@ module Carrot::AMQP
125
125
 
126
126
  send_frame(
127
127
  Protocol::Connection::StartOk.new(
128
- {:platform => 'Ruby', :product => 'Carrot', :information => 'http://github.com/famosagle/carrot', :version => VERSION},
128
+ {:platform => 'Ruby', :product => 'Carrot', :information => 'http://github.com/famosagle/carrot', :version => RUBY_VERSION},
129
129
  'AMQPLAIN',
130
130
  {:LOGIN => @user, :PASSWORD => @pass},
131
131
  'en_US'
data/test/carrot_test.rb CHANGED
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/test_helper'
1
+ require 'test_helper'
2
2
 
3
3
  class CarrotTest < Test::Unit::TestCase
4
4
  TEST_QUEUE = '_carrot_test'
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ hash: 61
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 8
9
+ - 1
10
+ version: 0.8.1
5
11
  platform: ruby
6
12
  authors:
7
13
  - Amos Elliston
@@ -9,10 +15,37 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-06-10 00:00:00 -07:00
18
+ date: 2010-11-01 00:00:00 -07:00
13
19
  default_executable:
14
- dependencies: []
15
-
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rcov
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :development
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: mocha
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
47
+ type: :development
48
+ version_requirements: *id002
16
49
  description: A synchronous version of the ruby amqp client
17
50
  email: amos@geni.com
18
51
  executables: []
@@ -55,21 +88,27 @@ rdoc_options:
55
88
  require_paths:
56
89
  - lib
57
90
  required_ruby_version: !ruby/object:Gem::Requirement
91
+ none: false
58
92
  requirements:
59
93
  - - ">="
60
94
  - !ruby/object:Gem::Version
95
+ hash: 3
96
+ segments:
97
+ - 0
61
98
  version: "0"
62
- version:
63
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
+ none: false
64
101
  requirements:
65
102
  - - ">="
66
103
  - !ruby/object:Gem::Version
104
+ hash: 3
105
+ segments:
106
+ - 0
67
107
  version: "0"
68
- version:
69
108
  requirements: []
70
109
 
71
110
  rubyforge_project:
72
- rubygems_version: 1.3.5
111
+ rubygems_version: 1.3.7
73
112
  signing_key:
74
113
  specification_version: 3
75
114
  summary: A synchronous version of the ruby amqp client