borsh-rb 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 850218f0f279adce7c3b1188ffd5c85e76fca578ee09c8b90b5afa63d9cb76f8
4
- data.tar.gz: 6f47fec61da4348634cec65d6247c2fb48f92cff7d224ec376331c7a11f31d0c
3
+ metadata.gz: ea49443bda65351efb2ff82517e0cfa3659e37bcc6037cc97039422eff6d32fc
4
+ data.tar.gz: 459b4eee287216c01fef51d05ff438fb08e3f68c5bae49ff23785c6ffb2d471a
5
5
  SHA512:
6
- metadata.gz: b5658ea44950a3d45181bd5f7a79dc04f356eb3b04f2ef2773b2839a45b3c01cc31c46c6a5d39bb990232534ccc39a2ab4be364c663c2b263a879c40ade53cfa
7
- data.tar.gz: '048db60edc0df3fcc294bc3cf645c3c9f5d4b6da317afe4c38b974718bcdcaf7c2935ed73a7e094608036a6b79a7b7daf576011365033adcd90d9b11dad90796'
6
+ metadata.gz: 7049e920545c7c5f166258eeec49cee85a6e35e63b4f0ae2c1826eea7f45e3c88d221407bc0c0d9169fefaf22859eb132bee907a209549b47589edcfb294c31c
7
+ data.tar.gz: c6aad3cfe4175b5a8f181623eb204d9fcd396b9a0a12d6462f9ffc490f31e4d0cf7aec60535aeedfb42e5df5f1e6f437c65965ed686e2ea4e047f7c3969074ea
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- borsh-rb (0.1.1)
4
+ borsh-rb (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -28,7 +28,6 @@ GEM
28
28
  rspec-support (3.10.2)
29
29
 
30
30
  PLATFORMS
31
- arm64-darwin-21
32
31
  x86_64-darwin-20
33
32
 
34
33
  DEPENDENCIES
@@ -38,4 +37,4 @@ DEPENDENCIES
38
37
  rspec (~> 3.10)
39
38
 
40
39
  BUNDLED WITH
41
- 2.3.5
40
+ 2.2.25
data/borsh-rb.gemspec CHANGED
@@ -10,13 +10,13 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = "https://borsh.io implementation for ruby"
12
12
  spec.description = ""
13
- spec.homepage = "https://github.com/2rba/borsh-rb"
13
+ spec.homepage = "https://github.com/near-rails-guide/borsh-rb"
14
14
  spec.license = "MIT"
15
15
  spec.required_ruby_version = ">= 2.4.0"
16
16
 
17
17
  spec.metadata["homepage_uri"] = spec.homepage
18
- spec.metadata["source_code_uri"] = "https://github.com/2rba/borsh-rb"
19
- spec.metadata["changelog_uri"] = "https://github.com/2rba/borsh-rb"
18
+ spec.metadata["source_code_uri"] = "https://github.com/near-rails-guide/borsh-rb"
19
+ spec.metadata["changelog_uri"] = "https://github.com/near-rails-guide/borsh-rb"
20
20
 
21
21
  # Specify which files should be added to the gem when it is released.
22
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
data/lib/borsh/integer.rb CHANGED
@@ -15,8 +15,8 @@ class Borsh::Integer
15
15
  when :u64
16
16
  'Q<'
17
17
  when :u128
18
- lower = value & 0xFFFFFFFF
19
- higher = (value >> 64) & 0xFFFFFFFF
18
+ lower = value & 0xFFFFFFFFFFFFFFFF
19
+ higher = (value >> 64) & 0xFFFFFFFFFFFFFFFF
20
20
  return [lower, higher].pack('Q<*')
21
21
  else
22
22
  raise Borsh::ArgumentError, "unknown type #{type}"
data/lib/borsh/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Borsh
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: borsh-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serg Tyatin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-22 00:00:00.000000000 Z
11
+ date: 2022-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -62,13 +62,13 @@ files:
62
62
  - lib/borsh/serializer.rb
63
63
  - lib/borsh/string.rb
64
64
  - lib/borsh/version.rb
65
- homepage: https://github.com/2rba/borsh-rb
65
+ homepage: https://github.com/near-rails-guide/borsh-rb
66
66
  licenses:
67
67
  - MIT
68
68
  metadata:
69
- homepage_uri: https://github.com/2rba/borsh-rb
70
- source_code_uri: https://github.com/2rba/borsh-rb
71
- changelog_uri: https://github.com/2rba/borsh-rb
69
+ homepage_uri: https://github.com/near-rails-guide/borsh-rb
70
+ source_code_uri: https://github.com/near-rails-guide/borsh-rb
71
+ changelog_uri: https://github.com/near-rails-guide/borsh-rb
72
72
  post_install_message:
73
73
  rdoc_options: []
74
74
  require_paths: