tmm1-amqp 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'amqp'
3
- s.version = '0.6.3'
3
+ s.version = '0.6.4'
4
4
  s.date = '2009-01-09'
5
5
  s.summary = 'AMQP client implementation in Ruby/EventMachine'
6
6
  s.email = "amqp@tmm1.net"
@@ -32,7 +32,7 @@ module AMQP
32
32
 
33
33
  def to_binary
34
34
  buf = Buffer.new
35
- buf.write :short, self.class.parent.id
35
+ buf.write :short, self.class.section.id
36
36
  buf.write :short, self.class.id
37
37
 
38
38
  bits = []
@@ -1,6 +1,6 @@
1
1
 
2
2
  #:stopdoc:
3
- # this file was autogenerated on Sat Jan 03 14:05:57 -0600 2009
3
+ # this file was autogenerated on Thu Jul 09 15:17:33 -0700 2009
4
4
  # using amqp-0.8.json (mtime: Sat Jan 03 08:58:13 -0600 2009)
5
5
  #
6
6
  # DO NOT EDIT! (edit protocol/codegen.rb instead, and run `rake codegen`)
@@ -96,9 +96,9 @@ module AMQP
96
96
 
97
97
  def arguments() @arguments ||= [] end
98
98
 
99
- def parent() Protocol.const_get(self.to_s[/Protocol::(.+?)::/,1]) end
100
- def id() self::ID end
101
- def name() self::NAME end
99
+ def section() Protocol.const_get(self.to_s[/Protocol::(.+?)::/,1]) end
100
+ def id() self::ID end
101
+ def name() self::NAME end
102
102
  end
103
103
 
104
104
  def == b
@@ -117,8 +117,8 @@ module AMQP
117
117
  def self.inherited klass
118
118
  klass.const_set(:ID, #{id})
119
119
  klass.const_set(:NAME, :#{name.to_s})
120
- klass.parent.methods[#{id}] = klass
121
- klass.parent.methods[klass::NAME] = klass
120
+ klass.section.methods[#{id}] = klass
121
+ klass.section.methods[klass::NAME] = klass
122
122
  end
123
123
  ]
124
124
  end
@@ -90,9 +90,9 @@ puts ERB.new(%q[
90
90
 
91
91
  def arguments() @arguments ||= [] end
92
92
 
93
- def parent() Protocol.const_get(self.to_s[/Protocol::(.+?)::/,1]) end
94
- def id() self::ID end
95
- def name() self::NAME end
93
+ def section() Protocol.const_get(self.to_s[/Protocol::(.+?)::/,1]) end
94
+ def id() self::ID end
95
+ def name() self::NAME end
96
96
  end
97
97
 
98
98
  def == b
@@ -111,8 +111,8 @@ puts ERB.new(%q[
111
111
  def self.inherited klass
112
112
  klass.const_set(:ID, #{id})
113
113
  klass.const_set(:NAME, :#{name.to_s})
114
- klass.parent.methods[#{id}] = klass
115
- klass.parent.methods[klass::NAME] = klass
114
+ klass.section.methods[#{id}] = klass
115
+ klass.section.methods[klass::NAME] = klass
116
116
  end
117
117
  ]
118
118
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmm1-amqp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aman Gupta