beefcake 1.1.0 → 1.2.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.
- checksums.yaml +4 -4
- data/RELEASE_NOTES.md +6 -0
- data/beefcake.gemspec +4 -4
- data/lib/beefcake/buffer/encode.rb +1 -1
- data/lib/beefcake/version.rb +1 -1
- data/test/buffer_encode_test.rb +8 -0
- metadata +9 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b6d92ae52fa9c1080805ac529657758a53bba37
|
4
|
+
data.tar.gz: 19f0022337dc541b8ae5d171904491885a493fec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96c168a8e73372b3892e65afdc324a372e0e25b04e3abee4de786cdf83e87dec2bd1e87096252a0140c5c20f05c28bc6b1ba2e0be158d29885907ba6ce408ba5
|
7
|
+
data.tar.gz: 99ba58bf9be1f0e2751f400e610981cd32f688ac9ed500ee52d5aed104669ea5c458d92e40000df14cef5d8dfb0bad3255803f6d184f7663b46c336a0728538e
|
data/RELEASE_NOTES.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Beefcake Release Notes
|
2
2
|
|
3
|
+
# 1.2.0 - 2016-06-21
|
4
|
+
|
5
|
+
Release 1.2.0 includes one bug fix.
|
6
|
+
|
7
|
+
* Clone strings before `force_encoding`. [#70](https://github.com/protobuf-ruby/beefcake/pull/70)
|
8
|
+
|
3
9
|
# 1.1.0 - 2015-05-26
|
4
10
|
|
5
11
|
Release 1.1.0 includes improvements and bug fixes.
|
data/beefcake.gemspec
CHANGED
@@ -6,11 +6,11 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = "beefcake"
|
7
7
|
s.version = Beefcake::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["Blake Mizerany", "Matt Proud", "Bryce Kerley"]
|
10
|
-
s.email = ["blake.mizerany@gmail.com", "matt.proud@gmail.com", "bkerley@brycekerley.net"]
|
9
|
+
s.authors = ["Blake Mizerany", "Matt Proud", "Bryce Kerley", "Joshua Warchol", "Alex Dean"]
|
10
|
+
s.email = ["blake.mizerany@gmail.com", "matt.proud@gmail.com", "bkerley@brycekerley.net", "joshua@unwin.org", "github@mostlyalex.com"]
|
11
11
|
s.homepage = "https://github.com/protobuf-ruby/beefcake"
|
12
|
-
s.summary = %q{A
|
13
|
-
s.description = %q{A
|
12
|
+
s.summary = %q{A pure-Ruby protobuf library}
|
13
|
+
s.description = %q{A pure-Ruby Protocol Buffers library}
|
14
14
|
s.license = 'MIT'
|
15
15
|
|
16
16
|
s.files = `git ls-files`.split("\n")
|
data/lib/beefcake/version.rb
CHANGED
data/test/buffer_encode_test.rb
CHANGED
@@ -24,6 +24,14 @@ class BufferEncodeTest < Minitest::Test
|
|
24
24
|
assert_equal "\007testing", @buf.to_s
|
25
25
|
end
|
26
26
|
|
27
|
+
def test_append_string_does_not_change_encoding
|
28
|
+
subject = "testing".force_encoding('UTF-8')
|
29
|
+
assert_equal 'UTF-8', subject.encoding.name
|
30
|
+
|
31
|
+
@buf.append_string(subject)
|
32
|
+
assert_equal 'UTF-8', subject.encoding.name
|
33
|
+
end
|
34
|
+
|
27
35
|
def test_append_fixed32
|
28
36
|
@buf.append_fixed32(1)
|
29
37
|
assert_equal "\001\0\0\0", @buf.to_s
|
metadata
CHANGED
@@ -1,16 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beefcake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Mizerany
|
8
8
|
- Matt Proud
|
9
9
|
- Bryce Kerley
|
10
|
+
- Joshua Warchol
|
11
|
+
- Alex Dean
|
10
12
|
autorequire:
|
11
13
|
bindir: bin
|
12
14
|
cert_chain: []
|
13
|
-
date:
|
15
|
+
date: 2016-06-21 00:00:00.000000000 Z
|
14
16
|
dependencies:
|
15
17
|
- !ruby/object:Gem::Dependency
|
16
18
|
name: rake
|
@@ -40,11 +42,13 @@ dependencies:
|
|
40
42
|
- - "~>"
|
41
43
|
- !ruby/object:Gem::Version
|
42
44
|
version: '5.3'
|
43
|
-
description: A
|
45
|
+
description: A pure-Ruby Protocol Buffers library
|
44
46
|
email:
|
45
47
|
- blake.mizerany@gmail.com
|
46
48
|
- matt.proud@gmail.com
|
47
49
|
- bkerley@brycekerley.net
|
50
|
+
- joshua@unwin.org
|
51
|
+
- github@mostlyalex.com
|
48
52
|
executables:
|
49
53
|
- protoc-gen-beefcake
|
50
54
|
extensions: []
|
@@ -94,10 +98,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
98
|
version: '0'
|
95
99
|
requirements: []
|
96
100
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.4.
|
101
|
+
rubygems_version: 2.4.5.1
|
98
102
|
signing_key:
|
99
103
|
specification_version: 4
|
100
|
-
summary: A
|
104
|
+
summary: A pure-Ruby protobuf library
|
101
105
|
test_files:
|
102
106
|
- test/benchmark_test.rb
|
103
107
|
- test/buffer_decode_test.rb
|
@@ -105,4 +109,3 @@ test_files:
|
|
105
109
|
- test/buffer_test.rb
|
106
110
|
- test/generator_test.rb
|
107
111
|
- test/message_test.rb
|
108
|
-
has_rdoc:
|