borsh 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/AUTHORS +1 -0
- data/CHANGES.md +8 -0
- data/README.md +42 -0
- data/UNLICENSE +24 -0
- data/VERSION +1 -0
- data/lib/borsh.rb +3 -0
- metadata +78 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '026901148b33570032ecf66ae88dd74df8b510d88846916d84145886ba481547'
|
4
|
+
data.tar.gz: f52074d33c2f1d1c36cb59c1df329cc904b8269a483eefd51a74689d0cac7ce9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b65f1ce556d96681c15fcb83101b5dcccdd262702c9b44d24c306f1ee60be7188d164e4a497acd78ea69ca6991e18fff936a311c82a61789ba2aa88dfddbee71
|
7
|
+
data.tar.gz: 5818449160d9c19ac06231f738f6fe641001be1c7995c29a97294d8dc2c753a9094272063265006354770db845e2c80f5e6bd93795104890e1e5e2570c5d4bfa
|
data/AUTHORS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* Arto Bendiken <arto@bendiken.net>
|
data/CHANGES.md
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
|
+
|
8
|
+
## 0.0.0 - 2025-01-09
|
data/README.md
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# Borsh for Ruby
|
2
|
+
|
3
|
+
[![License](https://img.shields.io/badge/license-Public%20Domain-blue.svg)](https://unlicense.org)
|
4
|
+
[![Compatibility](https://img.shields.io/badge/ruby-2.6%2B-blue)](https://rubygems.org/gems/borsh)
|
5
|
+
[![Package](https://img.shields.io/gem/v/borsh)](https://rubygems.org/gems/borsh)
|
6
|
+
|
7
|
+
A Ruby library for the [Borsh] binary serialization format.
|
8
|
+
|
9
|
+
[Borsh]: https://borsh.io
|
10
|
+
|
11
|
+
## 🛠️ Prerequisites
|
12
|
+
|
13
|
+
- [Ruby](https://ruby-lang.org) 2.6+
|
14
|
+
|
15
|
+
## ⬇️ Installation
|
16
|
+
|
17
|
+
### Installation via RubyGems
|
18
|
+
|
19
|
+
```bash
|
20
|
+
gem install borsh
|
21
|
+
```
|
22
|
+
|
23
|
+
## 👉 Examples
|
24
|
+
|
25
|
+
### Importing the library
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
require 'borsh'
|
29
|
+
```
|
30
|
+
|
31
|
+
## 👨💻 Development
|
32
|
+
|
33
|
+
```bash
|
34
|
+
git clone https://github.com/artob/borsh.rb.git
|
35
|
+
```
|
36
|
+
|
37
|
+
- - -
|
38
|
+
|
39
|
+
[![Share on Twitter](https://img.shields.io/badge/share%20on-twitter-03A9F4?logo=twitter)](https://twitter.com/share?url=https://github.com/artob/borsh.rb&text=Borsh+for+Ruby)
|
40
|
+
[![Share on Reddit](https://img.shields.io/badge/share%20on-reddit-red?logo=reddit)](https://reddit.com/submit?url=https://github.com/artob/borsh.rb&title=Borsh+for+Ruby)
|
41
|
+
[![Share on Hacker News](https://img.shields.io/badge/share%20on-hacker%20news-orange?logo=ycombinator)](https://news.ycombinator.com/submitlink?u=https://github.com/artob/borsh.rb&t=Borsh+for+Ruby)
|
42
|
+
[![Share on Facebook](https://img.shields.io/badge/share%20on-facebook-1976D2?logo=facebook)](https://www.facebook.com/sharer/sharer.php?u=https://github.com/artob/borsh.rb)
|
data/UNLICENSE
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
This is free and unencumbered software released into the public domain.
|
2
|
+
|
3
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
4
|
+
distribute this software, either in source code form or as a compiled
|
5
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
6
|
+
means.
|
7
|
+
|
8
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
9
|
+
of this software dedicate any and all copyright interest in the
|
10
|
+
software to the public domain. We make this dedication for the benefit
|
11
|
+
of the public at large and to the detriment of our heirs and
|
12
|
+
successors. We intend this dedication to be an overt act of
|
13
|
+
relinquishment in perpetuity of all present and future rights to this
|
14
|
+
software under copyright law.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
19
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
20
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
21
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
23
|
+
|
24
|
+
For more information, please refer to <https://unlicense.org/>
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.0
|
data/lib/borsh.rb
ADDED
metadata
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: borsh
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Arto Bendiken
|
8
|
+
bindir: bin
|
9
|
+
cert_chain: []
|
10
|
+
date: 2025-01-09 00:00:00.000000000 Z
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: rspec
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '3.12'
|
19
|
+
type: :development
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '3.12'
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: yard
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - "~>"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0.9'
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0.9'
|
40
|
+
description: A Ruby library for the Borsh binary serialization format.
|
41
|
+
email: arto@bendiken.net
|
42
|
+
executables: []
|
43
|
+
extensions: []
|
44
|
+
extra_rdoc_files: []
|
45
|
+
files:
|
46
|
+
- AUTHORS
|
47
|
+
- CHANGES.md
|
48
|
+
- README.md
|
49
|
+
- UNLICENSE
|
50
|
+
- VERSION
|
51
|
+
- lib/borsh.rb
|
52
|
+
homepage: https://github.com/artob/borsh.rb
|
53
|
+
licenses:
|
54
|
+
- Unlicense
|
55
|
+
metadata:
|
56
|
+
bug_tracker_uri: https://github.com/artob/borsh.rb/issues
|
57
|
+
changelog_uri: https://github.com/artob/borsh.rb/blob/master/CHANGES.md
|
58
|
+
documentation_uri: https://github.com/artob/borsh.rb/blob/master/README.md
|
59
|
+
homepage_uri: https://github.com/artob/borsh.rb
|
60
|
+
source_code_uri: https://github.com/artob/borsh.rb
|
61
|
+
rdoc_options: []
|
62
|
+
require_paths:
|
63
|
+
- lib
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.6'
|
69
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
requirements: []
|
75
|
+
rubygems_version: 3.6.2
|
76
|
+
specification_version: 4
|
77
|
+
summary: Borsh for Ruby
|
78
|
+
test_files: []
|