grizzly_ber 1.1.0 → 1.1.1

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
- SHA1:
3
- metadata.gz: e1b181cdaf383957407f7ab5c1277d5afebbbbdc
4
- data.tar.gz: a0d9f7ade92b3b805167ad4740169eab216b01ed
2
+ SHA256:
3
+ metadata.gz: 363bdd214a4f6ab85f7555590b98e79fecba9ee871ac0f14240f4925fb0a6049
4
+ data.tar.gz: 771e82bdcaed2d527870712c784a20c181dcbb27f18771e931e85acf50b679bd
5
5
  SHA512:
6
- metadata.gz: 07166fd51c1a96ef44bcea69a99b6b12d63bbac0d51143b4d0fc9cbd20ac44d722c8f1736c0c753f57ff6578e7f46a7a59ec4a49a0eb4c721c2235f35f0891dd
7
- data.tar.gz: c26cdd7fc85f05e355fa18811da938cdc780d9b95922561753dc65f0369b2789dac0ddc9fb2ef98c16a358ef7c749d194e7ced3c6eb2be20800c3e0e769ae1f9
6
+ metadata.gz: 4caed519208405e3ff3a4c00351ebb1427e32181d2bb4a7ff48cc991011d2b94320c313b1afa9bd2881a6a246e0496f62d26f39b7f41c6f4b9059fc5814d8eb9
7
+ data.tar.gz: 13cb98e5a5f75ea43a501183487daacc87bb4e30447bcd6c4a712a077d24531dd4effc99e35dc09349629cc57b1d3bace67ef5e7cd6a30b9d84925394f64bed3
data/lib/grizzly_ber.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'grizzly_tag'
2
4
 
3
5
  class GrizzlyBerElement
@@ -5,7 +7,7 @@ class GrizzlyBerElement
5
7
 
6
8
  def initialize(byte_array = [])
7
9
  raise ArgumentError, "byte_array must be of type Array" unless byte_array.is_a?(Array)
8
- @tag = "" # is an uppercase hex string
10
+ @tag = +"" # is an uppercase hex string
9
11
  @value = nil # is a byte array if this is a data element or a GrizzlyBer if it's a sequence element
10
12
  decode_value decode_length decode_tag byte_array
11
13
  end
data/lib/grizzly_tag.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module GrizzlyTag
2
4
  def self.new_tag(params)
3
5
  params[:format] ||= :binary
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grizzly_ber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Balsdon
@@ -18,27 +18,29 @@ extra_rdoc_files: []
18
18
  files:
19
19
  - lib/grizzly_ber.rb
20
20
  - lib/grizzly_tag.rb
21
- homepage: ''
21
+ homepage: https://github.com/Shopify/grizzly_ber
22
22
  licenses:
23
23
  - MIT
24
- metadata: {}
24
+ metadata:
25
+ allowed_push_host: https://rubygems.org
26
+ homepage_uri: https://github.com/Shopify/grizzly_ber
27
+ source_code_uri: https://github.com/Shopify/grizzly_ber
25
28
  post_install_message:
26
29
  rdoc_options: []
27
30
  require_paths:
28
31
  - lib
29
32
  required_ruby_version: !ruby/object:Gem::Requirement
30
33
  requirements:
31
- - - '>='
34
+ - - ">="
32
35
  - !ruby/object:Gem::Version
33
36
  version: '0'
34
37
  required_rubygems_version: !ruby/object:Gem::Requirement
35
38
  requirements:
36
- - - '>='
39
+ - - ">="
37
40
  - !ruby/object:Gem::Version
38
41
  version: '0'
39
42
  requirements: []
40
- rubyforge_project:
41
- rubygems_version: 2.0.14
43
+ rubygems_version: 3.5.7
42
44
  signing_key:
43
45
  specification_version: 4
44
46
  summary: Fiercest TLV-BER parser