rabbitmq 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b91f1ee88c62f618d79c470962bdcde3bd9ba46
4
- data.tar.gz: 656737bdac7c152099a7feac02d9716313df43b3
3
+ metadata.gz: 61e9902c2879005d809db69838f9df9fdd4e98f2
4
+ data.tar.gz: 6bbb9be877be0f402cae44b69d3eb08ba86f4aa3
5
5
  SHA512:
6
- metadata.gz: 641538ee9bdce79d738c2a9c4f2ccc029af278e8ac6384d362ee56d1120325831369ce95ce0213e46a0e4ca872bf1c25ee4734636726ad86f73a4d4ac4076b4d
7
- data.tar.gz: 12fa9b75f1489e8bac43179c9aa1ac18c833bf376e2aaa649840cf9f067cdab33e70a3ea6b76ba3fbaf70f3068cbe53d61d901a05dced29c32122b6cc1f5c6f3
6
+ metadata.gz: eaa9700afe3266b5dd5635c6b24f146a806c8335ca81939a67b848e00ec602eb12af8a2422289d88cd489ed70a4aa007854459091f3d8f97839b090a8955c252
7
+ data.tar.gz: 0b1fcfcbf0417afcb536a1f9083924f064180d57a5bf602ecf82ab5639dd76642911cb0c3fa0ac0f3903f2aa4361601e0b680cd106b3ecb375217c0b1f8e64ef
@@ -36,8 +36,8 @@ module RabbitMQ
36
36
 
37
37
  def apply(value)
38
38
  self[:kind], self[:value] = case value
39
- when ::String; [:bytes, FieldValueValue.new(Bytes.from_s(value).pointer)]
40
- when ::Symbol; [:bytes, FieldValueValue.new(Bytes.from_s(value.to_s).pointer)]
39
+ when ::String; [:utf8, FieldValueValue.new(Bytes.from_s(value.encode(Encoding::UTF_8)).pointer)]
40
+ when ::Symbol; [:utf8, FieldValueValue.new(Bytes.from_s(value.to_s.encode!(Encoding::UTF_8)).pointer)]
41
41
  when ::Array; [:array, FieldValueValue.new(Array.from_a(value).pointer)]
42
42
  when ::Hash; [:table, FieldValueValue.new(Table.from(value).pointer)]
43
43
  when ::Fixnum; [:i64, (v=FieldValueValue.new; v[:i64]=value; v)]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbitmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe McIlvain