famoseagle-carrot 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,4 +5,11 @@ class CarrotTest < Test::Unit::TestCase
5
5
  test "simple server connection" do
6
6
  c = Carrot.new
7
7
  end
8
+
9
+ test "large messages" do
10
+ msg = 'a' * 1024 * 1024
11
+ q = Carrot.queue('_carrot_test')
12
+ q.publish(msg)
13
+ assert_equal msg, q.pop
14
+ end
8
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: famoseagle-carrot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amos Elliston
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-22 00:00:00 -07:00
12
+ date: 2009-08-26 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -19,12 +19,16 @@ executables: []
19
19
 
20
20
  extensions: []
21
21
 
22
- extra_rdoc_files: []
23
-
22
+ extra_rdoc_files:
23
+ - LICENSE
24
+ - README.markdown
24
25
  files:
26
+ - .gitignore
27
+ - LICENSE
25
28
  - README.markdown
29
+ - Rakefile
26
30
  - VERSION.yml
27
- - lib/amqp
31
+ - carrot.gemspec
28
32
  - lib/amqp/buffer.rb
29
33
  - lib/amqp/exchange.rb
30
34
  - lib/amqp/frame.rb
@@ -34,15 +38,18 @@ files:
34
38
  - lib/amqp/server.rb
35
39
  - lib/amqp/spec.rb
36
40
  - lib/carrot.rb
37
- - lib/examples
38
41
  - lib/examples/simple_pop.rb
42
+ - protocol/amqp-0.8.json
43
+ - protocol/amqp-0.8.xml
44
+ - protocol/codegen.rb
45
+ - protocol/doc.txt
39
46
  - test/carrot_test.rb
40
47
  - test/test_helper.rb
41
48
  has_rdoc: true
42
49
  homepage: http://github.com/famoseagle/carrot
50
+ licenses:
43
51
  post_install_message:
44
52
  rdoc_options:
45
- - --inline-source
46
53
  - --charset=UTF-8
47
54
  require_paths:
48
55
  - lib
@@ -61,9 +68,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
68
  requirements: []
62
69
 
63
70
  rubyforge_project:
64
- rubygems_version: 1.2.0
71
+ rubygems_version: 1.3.5
65
72
  signing_key:
66
73
  specification_version: 2
67
74
  summary: TODO
68
- test_files: []
69
-
75
+ test_files:
76
+ - test/carrot_test.rb
77
+ - test/test_helper.rb