qpid_messaging 0.22.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/ChangeLog +5 -1
  3. data/examples/spout.rb +24 -3
  4. data/ext/cqpid/cqpid.cpp +61 -77
  5. metadata +21 -42
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8886546e293e7afb100dcb180a8deca1f9375d8f
4
+ data.tar.gz: 63153ade7182d4dfb6a3697f224e75ded2024b67
5
+ SHA512:
6
+ metadata.gz: e42e14c28cdbe850730d1ced308341e07f95cbd7f276e2c32b511586b57b69efdc3a469cb1451b71a2bf507ff40915409184e95ee040795f6604912972b3aaa6
7
+ data.tar.gz: fc88b868e068dfd4abb2f49d44651093b4e6922a871ed991e4b038371a552fe0d78f6079d41ebd38c1642853718fc375d32cb283905ed3e4623100f1231d6cd8
data/ChangeLog CHANGED
@@ -1,4 +1,8 @@
1
- Verison 0.22:
1
+ Version 0.24:
2
+ * No language-specific changes.
3
+ * QPID-4834: Ruby client examples incorrectly handles '--connection-options' option
4
+
5
+ Version 0.22:
2
6
  * Qpid::Messaging::Address can use an address string on creation.
3
7
  * Qpid::Messaging::Message can use an address string for reply_to.
4
8
  * Removed errors.rb and the KeyError and SessionNameException errors.
data/examples/spout.rb CHANGED
@@ -85,8 +85,9 @@ opts = OptionParser.new do |opts|
85
85
  options[:content] = content
86
86
  end
87
87
 
88
- opts.on(nil, "--connection-options VALUE",
88
+ opts.on("--connection-options VALUE",
89
89
  "connection options string in the form {name1:value1, name2:value2}") do |conopts|
90
+
90
91
  options[:connection_options] = conopts
91
92
  end
92
93
  end
@@ -100,13 +101,33 @@ end
100
101
  # now get the non-arg options
101
102
  options[:address] = ARGV[0] unless ARGV[0].nil?
102
103
 
103
- connection = Qpid::Messaging::Connection.new :url => options[:broker], :options => options[:connection_options]
104
+ # process the connection options
105
+ unless options[:connection_options].nil?
106
+ fields = options[:connection_options].gsub(/^{(.*)}$/, '\1')
107
+ # remove any surrounding braces
108
+ if /{.*}/ =~ fields
109
+ fields = fields[1..-2]
110
+ end
111
+ # break up the options separated by commas
112
+ keysvalues = {}
113
+ fields.split(",").each do |field|
114
+ if /.+:.+/ =~ field
115
+ (key, value) = field.split(":")
116
+ keysvalues[key] = value
117
+ end
118
+ end
119
+ # now store the options
120
+ options[:connection_options] = keysvalues
121
+ end
122
+
123
+ connection = Qpid::Messaging::Connection.new(:url => options[:broker],
124
+ :options => options[:connection_options])
104
125
  connection.open
105
126
  session = connection.create_session
106
127
  sender = session.create_sender options[:address]
107
128
  message = Qpid::Messaging::Message.new
108
129
 
109
- options[:properties].each_key {|key| message.properties[key] = options[:properties][key]}
130
+ options[:properties].each_key {|key| message[key] = options[:properties][key]}
110
131
 
111
132
  (1..options[:count]).each do |count|
112
133
  if !options[:mapped].keys.empty?
data/ext/cqpid/cqpid.cpp CHANGED
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 2.0.8
3
+ * Version 2.0.10
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -422,7 +422,7 @@ SWIGINTERNINLINE int SWIG_CheckState(int r) {
422
422
  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
423
423
  }
424
424
  #else /* no cast-rank mode */
425
- # define SWIG_AddCast
425
+ # define SWIG_AddCast(r) (r)
426
426
  # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
427
427
  #endif
428
428
 
@@ -486,18 +486,18 @@ SWIG_TypeNameComp(const char *f1, const char *l1,
486
486
 
487
487
  /*
488
488
  Check type equivalence in a name list like <name1>|<name2>|...
489
- Return 0 if not equal, 1 if equal
489
+ Return 0 if equal, -1 if nb < tb, 1 if nb > tb
490
490
  */
491
491
  SWIGRUNTIME int
492
- SWIG_TypeEquiv(const char *nb, const char *tb) {
493
- int equiv = 0;
492
+ SWIG_TypeCmp(const char *nb, const char *tb) {
493
+ int equiv = 1;
494
494
  const char* te = tb + strlen(tb);
495
495
  const char* ne = nb;
496
- while (!equiv && *ne) {
496
+ while (equiv != 0 && *ne) {
497
497
  for (nb = ne; *ne; ++ne) {
498
498
  if (*ne == '|') break;
499
499
  }
500
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
500
+ equiv = SWIG_TypeNameComp(nb, ne, tb, te);
501
501
  if (*ne) ++ne;
502
502
  }
503
503
  return equiv;
@@ -505,24 +505,13 @@ SWIG_TypeEquiv(const char *nb, const char *tb) {
505
505
 
506
506
  /*
507
507
  Check type equivalence in a name list like <name1>|<name2>|...
508
- Return 0 if equal, -1 if nb < tb, 1 if nb > tb
508
+ Return 0 if not equal, 1 if equal
509
509
  */
510
510
  SWIGRUNTIME int
511
- SWIG_TypeCompare(const char *nb, const char *tb) {
512
- int equiv = 0;
513
- const char* te = tb + strlen(tb);
514
- const char* ne = nb;
515
- while (!equiv && *ne) {
516
- for (nb = ne; *ne; ++ne) {
517
- if (*ne == '|') break;
518
- }
519
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
520
- if (*ne) ++ne;
521
- }
522
- return equiv;
511
+ SWIG_TypeEquiv(const char *nb, const char *tb) {
512
+ return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
523
513
  }
524
514
 
525
-
526
515
  /*
527
516
  Check the typename
528
517
  */
@@ -1398,7 +1387,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1398
1387
 
1399
1388
  /* Runtime API */
1400
1389
 
1401
- #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
1390
+ #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata)
1402
1391
  #define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
1403
1392
 
1404
1393
 
@@ -1734,7 +1723,7 @@ SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
1734
1723
  }
1735
1724
 
1736
1725
  SWIGRUNTIME swig_module_info *
1737
- SWIG_Ruby_GetModule(void)
1726
+ SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
1738
1727
  {
1739
1728
  VALUE pointer;
1740
1729
  swig_module_info *ret = 0;
@@ -1774,7 +1763,7 @@ SWIG_Ruby_SetModule(swig_module_info *pointer)
1774
1763
  SWIGINTERN
1775
1764
  int SWIG_Ruby_isCallable( VALUE proc )
1776
1765
  {
1777
- if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
1766
+ if ( rb_respond_to( proc, swig_call_id ) )
1778
1767
  return 1;
1779
1768
  return 0;
1780
1769
  }
@@ -1787,7 +1776,7 @@ int SWIG_Ruby_isCallable( VALUE proc )
1787
1776
  SWIGINTERN
1788
1777
  int SWIG_Ruby_arity( VALUE proc, int minimal )
1789
1778
  {
1790
- if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
1779
+ if ( rb_respond_to( proc, swig_arity_id ) )
1791
1780
  {
1792
1781
  VALUE num = rb_funcall( proc, swig_arity_id, 0 );
1793
1782
  int arity = NUM2INT(num);
@@ -1844,7 +1833,7 @@ static VALUE mCqpid;
1844
1833
  #define SWIG_RUBY_THREAD_END_BLOCK
1845
1834
 
1846
1835
 
1847
- #define SWIGVERSION 0x020008
1836
+ #define SWIGVERSION 0x020010
1848
1837
  #define SWIG_VERSION SWIGVERSION
1849
1838
 
1850
1839
 
@@ -1912,11 +1901,7 @@ SWIGINTERN int
1912
1901
  SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
1913
1902
  {
1914
1903
  if (TYPE(obj) == T_STRING) {
1915
- #if defined(StringValuePtr)
1916
1904
  char *cstr = StringValuePtr(obj);
1917
- #else
1918
- char *cstr = STR2CSTR(obj);
1919
- #endif
1920
1905
  size_t size = RSTRING_LEN(obj) + 1;
1921
1906
  if (cptr) {
1922
1907
  if (alloc) {
@@ -2021,7 +2006,7 @@ SWIG_ruby_failed(void)
2021
2006
  }
2022
2007
 
2023
2008
 
2024
- /*@SWIG:/usr/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2009
+ /*@SWIG:/usr/share/swig/2.0.10/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2025
2010
  SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
2026
2011
  {
2027
2012
  VALUE obj = args[0];
@@ -2070,7 +2055,7 @@ SWIG_AsVal_size_t (VALUE obj, size_t *val)
2070
2055
  #endif
2071
2056
 
2072
2057
 
2073
- /*@SWIG:/usr/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2058
+ /*@SWIG:/usr/share/swig/2.0.10/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2074
2059
  SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
2075
2060
  {
2076
2061
  VALUE obj = args[0];
@@ -2338,10 +2323,10 @@ _wrap_new_Address__SWIG_1(int argc, VALUE *argv, VALUE self) {
2338
2323
  std::string *ptr = (std::string *)0;
2339
2324
  res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
2340
2325
  if (!SWIG_IsOK(res1)) {
2341
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","qpid::messaging::Address", 1, argv[0] ));
2326
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","Address", 1, argv[0] ));
2342
2327
  }
2343
2328
  if (!ptr) {
2344
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","qpid::messaging::Address", 1, argv[0]));
2329
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","Address", 1, argv[0]));
2345
2330
  }
2346
2331
  arg1 = ptr;
2347
2332
  }
@@ -2381,10 +2366,10 @@ _wrap_new_Address__SWIG_2(int argc, VALUE *argv, VALUE self) {
2381
2366
  std::string *ptr = (std::string *)0;
2382
2367
  res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
2383
2368
  if (!SWIG_IsOK(res1)) {
2384
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","qpid::messaging::Address", 1, argv[0] ));
2369
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","Address", 1, argv[0] ));
2385
2370
  }
2386
2371
  if (!ptr) {
2387
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","qpid::messaging::Address", 1, argv[0]));
2372
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","Address", 1, argv[0]));
2388
2373
  }
2389
2374
  arg1 = ptr;
2390
2375
  }
@@ -2392,10 +2377,10 @@ _wrap_new_Address__SWIG_2(int argc, VALUE *argv, VALUE self) {
2392
2377
  std::string *ptr = (std::string *)0;
2393
2378
  res2 = SWIG_AsPtr_std_string(argv[1], &ptr);
2394
2379
  if (!SWIG_IsOK(res2)) {
2395
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::string const &","qpid::messaging::Address", 2, argv[1] ));
2380
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::string const &","Address", 2, argv[1] ));
2396
2381
  }
2397
2382
  if (!ptr) {
2398
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","qpid::messaging::Address", 2, argv[1]));
2383
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","Address", 2, argv[1]));
2399
2384
  }
2400
2385
  arg2 = ptr;
2401
2386
  }
@@ -2407,10 +2392,10 @@ _wrap_new_Address__SWIG_2(int argc, VALUE *argv, VALUE self) {
2407
2392
  std::string *ptr = (std::string *)0;
2408
2393
  res4 = SWIG_AsPtr_std_string(argv[3], &ptr);
2409
2394
  if (!SWIG_IsOK(res4)) {
2410
- SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "std::string const &","qpid::messaging::Address", 4, argv[3] ));
2395
+ SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "std::string const &","Address", 4, argv[3] ));
2411
2396
  }
2412
2397
  if (!ptr) {
2413
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","qpid::messaging::Address", 4, argv[3]));
2398
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","Address", 4, argv[3]));
2414
2399
  }
2415
2400
  arg4 = ptr;
2416
2401
  }
@@ -2458,10 +2443,10 @@ _wrap_new_Address__SWIG_3(int argc, VALUE *argv, VALUE self) {
2458
2443
  std::string *ptr = (std::string *)0;
2459
2444
  res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
2460
2445
  if (!SWIG_IsOK(res1)) {
2461
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","qpid::messaging::Address", 1, argv[0] ));
2446
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","Address", 1, argv[0] ));
2462
2447
  }
2463
2448
  if (!ptr) {
2464
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","qpid::messaging::Address", 1, argv[0]));
2449
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","Address", 1, argv[0]));
2465
2450
  }
2466
2451
  arg1 = ptr;
2467
2452
  }
@@ -2469,10 +2454,10 @@ _wrap_new_Address__SWIG_3(int argc, VALUE *argv, VALUE self) {
2469
2454
  std::string *ptr = (std::string *)0;
2470
2455
  res2 = SWIG_AsPtr_std_string(argv[1], &ptr);
2471
2456
  if (!SWIG_IsOK(res2)) {
2472
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::string const &","qpid::messaging::Address", 2, argv[1] ));
2457
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::string const &","Address", 2, argv[1] ));
2473
2458
  }
2474
2459
  if (!ptr) {
2475
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","qpid::messaging::Address", 2, argv[1]));
2460
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","Address", 2, argv[1]));
2476
2461
  }
2477
2462
  arg2 = ptr;
2478
2463
  }
@@ -2535,10 +2520,10 @@ _wrap_new_Address__SWIG_4(int argc, VALUE *argv, VALUE self) {
2535
2520
  }
2536
2521
  res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_qpid__messaging__Address, 0 );
2537
2522
  if (!SWIG_IsOK(res1)) {
2538
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Address const &","qpid::messaging::Address", 1, argv[0] ));
2523
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Address const &","Address", 1, argv[0] ));
2539
2524
  }
2540
2525
  if (!argp1) {
2541
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Address const &","qpid::messaging::Address", 1, argv[0]));
2526
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Address const &","Address", 1, argv[0]));
2542
2527
  }
2543
2528
  arg1 = reinterpret_cast< qpid::messaging::Address * >(argp1);
2544
2529
  {
@@ -3415,10 +3400,10 @@ _wrap_new_Message__SWIG_0(int argc, VALUE *argv, VALUE self) {
3415
3400
  std::string *ptr = (std::string *)0;
3416
3401
  res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
3417
3402
  if (!SWIG_IsOK(res1)) {
3418
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","qpid::messaging::Message", 1, argv[0] ));
3403
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","Message", 1, argv[0] ));
3419
3404
  }
3420
3405
  if (!ptr) {
3421
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","qpid::messaging::Message", 1, argv[0]));
3406
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","Message", 1, argv[0]));
3422
3407
  }
3423
3408
  arg1 = ptr;
3424
3409
  }
@@ -3479,12 +3464,12 @@ _wrap_new_Message__SWIG_2(int argc, VALUE *argv, VALUE self) {
3479
3464
  }
3480
3465
  res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
3481
3466
  if (!SWIG_IsOK(res1)) {
3482
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","qpid::messaging::Message", 1, argv[0] ));
3467
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","Message", 1, argv[0] ));
3483
3468
  }
3484
3469
  arg1 = reinterpret_cast< char * >(buf1);
3485
3470
  ecode2 = SWIG_AsVal_size_t(argv[1], &val2);
3486
3471
  if (!SWIG_IsOK(ecode2)) {
3487
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "size_t","qpid::messaging::Message", 2, argv[1] ));
3472
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "size_t","Message", 2, argv[1] ));
3488
3473
  }
3489
3474
  arg2 = static_cast< size_t >(val2);
3490
3475
  {
@@ -3534,10 +3519,10 @@ _wrap_new_Message__SWIG_3(int argc, VALUE *argv, VALUE self) {
3534
3519
  }
3535
3520
  res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_qpid__messaging__Message, 0 );
3536
3521
  if (!SWIG_IsOK(res1)) {
3537
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Message const &","qpid::messaging::Message", 1, argv[0] ));
3522
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Message const &","Message", 1, argv[0] ));
3538
3523
  }
3539
3524
  if (!argp1) {
3540
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Message const &","qpid::messaging::Message", 1, argv[0]));
3525
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Message const &","Message", 1, argv[0]));
3541
3526
  }
3542
3527
  arg1 = reinterpret_cast< qpid::messaging::Message * >(argp1);
3543
3528
  {
@@ -4785,10 +4770,10 @@ _wrap_new_EncodingException(int argc, VALUE *argv, VALUE self) {
4785
4770
  std::string *ptr = (std::string *)0;
4786
4771
  res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
4787
4772
  if (!SWIG_IsOK(res1)) {
4788
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","qpid::messaging::EncodingException", 1, argv[0] ));
4773
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","EncodingException", 1, argv[0] ));
4789
4774
  }
4790
4775
  if (!ptr) {
4791
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","qpid::messaging::EncodingException", 1, argv[0]));
4776
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","EncodingException", 1, argv[0]));
4792
4777
  }
4793
4778
  arg1 = ptr;
4794
4779
  }
@@ -5405,7 +5390,7 @@ _wrap_new_Receiver__SWIG_0(int argc, VALUE *argv, VALUE self) {
5405
5390
  }
5406
5391
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_qpid__messaging__ReceiverImpl, 0 | 0 );
5407
5392
  if (!SWIG_IsOK(res1)) {
5408
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::ReceiverImpl *","qpid::messaging::Receiver", 1, argv[0] ));
5393
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::ReceiverImpl *","Receiver", 1, argv[0] ));
5409
5394
  }
5410
5395
  arg1 = reinterpret_cast< qpid::messaging::ReceiverImpl * >(argp1);
5411
5396
  {
@@ -5476,10 +5461,10 @@ _wrap_new_Receiver__SWIG_2(int argc, VALUE *argv, VALUE self) {
5476
5461
  }
5477
5462
  res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_qpid__messaging__Receiver, 0 );
5478
5463
  if (!SWIG_IsOK(res1)) {
5479
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Receiver const &","qpid::messaging::Receiver", 1, argv[0] ));
5464
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Receiver const &","Receiver", 1, argv[0] ));
5480
5465
  }
5481
5466
  if (!argp1) {
5482
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Receiver const &","qpid::messaging::Receiver", 1, argv[0]));
5467
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Receiver const &","Receiver", 1, argv[0]));
5483
5468
  }
5484
5469
  arg1 = reinterpret_cast< qpid::messaging::Receiver * >(argp1);
5485
5470
  {
@@ -6368,7 +6353,7 @@ _wrap_new_Sender__SWIG_0(int argc, VALUE *argv, VALUE self) {
6368
6353
  }
6369
6354
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_qpid__messaging__SenderImpl, 0 | 0 );
6370
6355
  if (!SWIG_IsOK(res1)) {
6371
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::SenderImpl *","qpid::messaging::Sender", 1, argv[0] ));
6356
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::SenderImpl *","Sender", 1, argv[0] ));
6372
6357
  }
6373
6358
  arg1 = reinterpret_cast< qpid::messaging::SenderImpl * >(argp1);
6374
6359
  {
@@ -6439,10 +6424,10 @@ _wrap_new_Sender__SWIG_2(int argc, VALUE *argv, VALUE self) {
6439
6424
  }
6440
6425
  res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_qpid__messaging__Sender, 0 );
6441
6426
  if (!SWIG_IsOK(res1)) {
6442
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Sender const &","qpid::messaging::Sender", 1, argv[0] ));
6427
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Sender const &","Sender", 1, argv[0] ));
6443
6428
  }
6444
6429
  if (!argp1) {
6445
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Sender const &","qpid::messaging::Sender", 1, argv[0]));
6430
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Sender const &","Sender", 1, argv[0]));
6446
6431
  }
6447
6432
  arg1 = reinterpret_cast< qpid::messaging::Sender * >(argp1);
6448
6433
  {
@@ -6928,7 +6913,7 @@ _wrap_new_Session__SWIG_0(int argc, VALUE *argv, VALUE self) {
6928
6913
  }
6929
6914
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_qpid__messaging__SessionImpl, 0 | 0 );
6930
6915
  if (!SWIG_IsOK(res1)) {
6931
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::SessionImpl *","qpid::messaging::Session", 1, argv[0] ));
6916
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::SessionImpl *","Session", 1, argv[0] ));
6932
6917
  }
6933
6918
  arg1 = reinterpret_cast< qpid::messaging::SessionImpl * >(argp1);
6934
6919
  {
@@ -6999,10 +6984,10 @@ _wrap_new_Session__SWIG_2(int argc, VALUE *argv, VALUE self) {
6999
6984
  }
7000
6985
  res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_qpid__messaging__Session, 0 );
7001
6986
  if (!SWIG_IsOK(res1)) {
7002
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Session const &","qpid::messaging::Session", 1, argv[0] ));
6987
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Session const &","Session", 1, argv[0] ));
7003
6988
  }
7004
6989
  if (!argp1) {
7005
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Session const &","qpid::messaging::Session", 1, argv[0]));
6990
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Session const &","Session", 1, argv[0]));
7006
6991
  }
7007
6992
  arg1 = reinterpret_cast< qpid::messaging::Session * >(argp1);
7008
6993
  {
@@ -8535,7 +8520,7 @@ _wrap_new_Connection__SWIG_0(int argc, VALUE *argv, VALUE self) {
8535
8520
  }
8536
8521
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_qpid__messaging__ConnectionImpl, 0 | 0 );
8537
8522
  if (!SWIG_IsOK(res1)) {
8538
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::ConnectionImpl *","qpid::messaging::Connection", 1, argv[0] ));
8523
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::ConnectionImpl *","Connection", 1, argv[0] ));
8539
8524
  }
8540
8525
  arg1 = reinterpret_cast< qpid::messaging::ConnectionImpl * >(argp1);
8541
8526
  {
@@ -8566,10 +8551,10 @@ _wrap_new_Connection__SWIG_1(int argc, VALUE *argv, VALUE self) {
8566
8551
  }
8567
8552
  res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_qpid__messaging__Connection, 0 );
8568
8553
  if (!SWIG_IsOK(res1)) {
8569
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Connection const &","qpid::messaging::Connection", 1, argv[0] ));
8554
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Connection const &","Connection", 1, argv[0] ));
8570
8555
  }
8571
8556
  if (!argp1) {
8572
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Connection const &","qpid::messaging::Connection", 1, argv[0]));
8557
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Connection const &","Connection", 1, argv[0]));
8573
8558
  }
8574
8559
  arg1 = reinterpret_cast< qpid::messaging::Connection * >(argp1);
8575
8560
  {
@@ -8625,10 +8610,10 @@ _wrap_new_Connection__SWIG_3(int argc, VALUE *argv, VALUE self) {
8625
8610
  std::string *ptr = (std::string *)0;
8626
8611
  res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
8627
8612
  if (!SWIG_IsOK(res1)) {
8628
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","qpid::messaging::Connection", 1, argv[0] ));
8613
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","Connection", 1, argv[0] ));
8629
8614
  }
8630
8615
  if (!ptr) {
8631
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","qpid::messaging::Connection", 1, argv[0]));
8616
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","Connection", 1, argv[0]));
8632
8617
  }
8633
8618
  arg1 = ptr;
8634
8619
  }
@@ -8673,10 +8658,10 @@ _wrap_new_Connection__SWIG_4(int argc, VALUE *argv, VALUE self) {
8673
8658
  std::string *ptr = (std::string *)0;
8674
8659
  res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
8675
8660
  if (!SWIG_IsOK(res1)) {
8676
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","qpid::messaging::Connection", 1, argv[0] ));
8661
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","Connection", 1, argv[0] ));
8677
8662
  }
8678
8663
  if (!ptr) {
8679
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","qpid::messaging::Connection", 1, argv[0]));
8664
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","Connection", 1, argv[0]));
8680
8665
  }
8681
8666
  arg1 = ptr;
8682
8667
  }
@@ -8730,10 +8715,10 @@ _wrap_new_Connection__SWIG_5(int argc, VALUE *argv, VALUE self) {
8730
8715
  std::string *ptr = (std::string *)0;
8731
8716
  res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
8732
8717
  if (!SWIG_IsOK(res1)) {
8733
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","qpid::messaging::Connection", 1, argv[0] ));
8718
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","Connection", 1, argv[0] ));
8734
8719
  }
8735
8720
  if (!ptr) {
8736
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","qpid::messaging::Connection", 1, argv[0]));
8721
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","Connection", 1, argv[0]));
8737
8722
  }
8738
8723
  arg1 = ptr;
8739
8724
  }
@@ -8741,10 +8726,10 @@ _wrap_new_Connection__SWIG_5(int argc, VALUE *argv, VALUE self) {
8741
8726
  std::string *ptr = (std::string *)0;
8742
8727
  res2 = SWIG_AsPtr_std_string(argv[1], &ptr);
8743
8728
  if (!SWIG_IsOK(res2)) {
8744
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::string const &","qpid::messaging::Connection", 2, argv[1] ));
8729
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::string const &","Connection", 2, argv[1] ));
8745
8730
  }
8746
8731
  if (!ptr) {
8747
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","qpid::messaging::Connection", 2, argv[1]));
8732
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","Connection", 2, argv[1]));
8748
8733
  }
8749
8734
  arg2 = ptr;
8750
8735
  }
@@ -9420,10 +9405,10 @@ _wrap_new_FailoverUpdates(int argc, VALUE *argv, VALUE self) {
9420
9405
  }
9421
9406
  res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_qpid__messaging__Connection, 0 );
9422
9407
  if (!SWIG_IsOK(res1)) {
9423
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Connection &","qpid::messaging::FailoverUpdates", 1, argv[0] ));
9408
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "qpid::messaging::Connection &","FailoverUpdates", 1, argv[0] ));
9424
9409
  }
9425
9410
  if (!argp1) {
9426
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Connection &","qpid::messaging::FailoverUpdates", 1, argv[0]));
9411
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "qpid::messaging::Connection &","FailoverUpdates", 1, argv[0]));
9427
9412
  }
9428
9413
  arg1 = reinterpret_cast< qpid::messaging::Connection * >(argp1);
9429
9414
  {
@@ -9653,7 +9638,6 @@ SWIG_InitializeModule(void *clientdata) {
9653
9638
  size_t i;
9654
9639
  swig_module_info *module_head, *iter;
9655
9640
  int found, init;
9656
- (void *)clientdata;
9657
9641
 
9658
9642
  /* check to see if the circular list has been setup, if not, set it up */
9659
9643
  if (swig_module.next==0) {
metadata CHANGED
@@ -1,32 +1,22 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: qpid_messaging
3
- version: !ruby/object:Gem::Version
4
- hash: 71
5
- prerelease:
6
- segments:
7
- - 0
8
- - 22
9
- - 0
10
- version: 0.22.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.24.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Apache Qpid Project
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-06-18 00:00:00 Z
11
+ date: 2013-09-23 00:00:00.000000000 Z
19
12
  dependencies: []
20
-
21
13
  description: Qpid is an enterprise messaging framework.
22
14
  email: dev@qpid.apache.org
23
15
  executables: []
24
-
25
- extensions:
16
+ extensions:
26
17
  - ext/cqpid/extconf.rb
27
18
  extra_rdoc_files: []
28
-
29
- files:
19
+ files:
30
20
  - LICENSE
31
21
  - ChangeLog
32
22
  - README.rdoc
@@ -51,36 +41,25 @@ files:
51
41
  - examples/client.rb
52
42
  homepage: http://qpid.apache.org
53
43
  licenses: []
54
-
44
+ metadata: {}
55
45
  post_install_message:
56
46
  rdoc_options: []
57
-
58
- require_paths:
47
+ require_paths:
59
48
  - lib
60
- required_ruby_version: !ruby/object:Gem::Requirement
61
- none: false
62
- requirements:
63
- - - ">="
64
- - !ruby/object:Gem::Version
65
- hash: 3
66
- segments:
67
- - 0
68
- version: "0"
69
- required_rubygems_version: !ruby/object:Gem::Requirement
70
- none: false
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- hash: 3
75
- segments:
76
- - 0
77
- version: "0"
49
+ required_ruby_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - '>='
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
78
59
  requirements: []
79
-
80
60
  rubyforge_project:
81
- rubygems_version: 1.8.24
61
+ rubygems_version: 2.0.8
82
62
  signing_key:
83
- specification_version: 3
63
+ specification_version: 4
84
64
  summary: Qpid is an enterprise messaging framework.
85
65
  test_files: []
86
-