daybreak-serializer-msgpack 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.org +33 -0
- data/daybreak-serializer-msgpack.gemspec +17 -0
- data/lib/daybreak/serializer/msgpack.rb +13 -0
- data/lib/daybreak-serializer-msgpack.rb +2 -0
- metadata +88 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8775f20eab26dd203c3d7302d6348cb6c0c44303
|
4
|
+
data.tar.gz: 9d96d36e6e30143aae0c0d4ce3a26694d7ca605e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0ad37706dcc6a808234da9129911ec1b4e1efe296a7dff672f2caf747add02cab8265c69697926b2060f82ad54eb298a0902124c98445b1b8b578fcec2cd7613
|
7
|
+
data.tar.gz: ada15d8ceb02a0b91691cabb460ac7f9624f8ea9d8eb1fd2f22dc27a043189400167acc861078469b7ba298bbe0e5d767d098cac895ef443e0680b1ec8a9edda
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
The MIT License (MIT)
|
3
|
+
Copyright © 2016 Chris Olstrom <chris@olstrom.com>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the “Software”), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.org
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
#+TITLE: daybreak-serializer-msgpack
|
2
|
+
#+LATEX: \pagebreak
|
3
|
+
|
4
|
+
* Overview
|
5
|
+
|
6
|
+
=daybreak-serializer-msgpack= adds a =Daybreak::Serializer::MsgPack= class.
|
7
|
+
Unsurprisingly, this class can be used as a serializer for Daybreak, using
|
8
|
+
=MessagePack= instead of the default =Marshal=.
|
9
|
+
|
10
|
+
* Installation
|
11
|
+
|
12
|
+
#+BEGIN_SRC shell
|
13
|
+
gem install daybreak-serializer-msgpack
|
14
|
+
#+END_SRC
|
15
|
+
|
16
|
+
* Usage
|
17
|
+
|
18
|
+
#+BEGIN_SRC ruby
|
19
|
+
require 'daybreak/serializer/msgpack'
|
20
|
+
|
21
|
+
db = Daybreak::DB.new 'daybreak.db', serializer: Daybreak::Serializer::MsgPack
|
22
|
+
|
23
|
+
db['key'] = 'value'
|
24
|
+
#+END_SRC
|
25
|
+
|
26
|
+
* License
|
27
|
+
|
28
|
+
~daybreak-serializer-msgpack~ is available under the [[https://tldrlegal.com/license/mit-license][MIT License]]. See
|
29
|
+
~LICENSE.txt~ for the full text.
|
30
|
+
|
31
|
+
* Contributors
|
32
|
+
|
33
|
+
- [[https://colstrom.github.io/][Chris Olstrom]] | [[mailto:chris@olstrom.com][e-mail]] | [[https://twitter.com/ChrisOlstrom][Twitter]]
|
@@ -0,0 +1,17 @@
|
|
1
|
+
Gem::Specification.new do |gem|
|
2
|
+
gem.name = 'daybreak-serializer-msgpack'
|
3
|
+
gem.version = `git describe --tags --abbrev=0`.chomp
|
4
|
+
gem.licenses = 'MIT'
|
5
|
+
gem.authors = ['Chris Olstrom']
|
6
|
+
gem.email = 'chris@olstrom.com'
|
7
|
+
gem.homepage = 'https://github.com/colstrom/daybreak-serializer-msgpack'
|
8
|
+
gem.summary = 'Adds a MessagePack Serializer for Daybreak'
|
9
|
+
|
10
|
+
gem.files = `git ls-files`.split("\n")
|
11
|
+
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
12
|
+
gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
13
|
+
gem.require_paths = ['lib']
|
14
|
+
|
15
|
+
gem.add_runtime_dependency 'daybreak', '~> 0.3', '>= 0.3.0'
|
16
|
+
gem.add_runtime_dependency 'msgpack', '~> 1.0', '>= 1.0.2'
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: daybreak-serializer-msgpack
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chris Olstrom
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-12-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: daybreak
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.3'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.3.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.3.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: msgpack
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.0'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.0.2
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1.0'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.0.2
|
53
|
+
description:
|
54
|
+
email: chris@olstrom.com
|
55
|
+
executables: []
|
56
|
+
extensions: []
|
57
|
+
extra_rdoc_files: []
|
58
|
+
files:
|
59
|
+
- LICENSE.txt
|
60
|
+
- README.org
|
61
|
+
- daybreak-serializer-msgpack.gemspec
|
62
|
+
- lib/daybreak-serializer-msgpack.rb
|
63
|
+
- lib/daybreak/serializer/msgpack.rb
|
64
|
+
homepage: https://github.com/colstrom/daybreak-serializer-msgpack
|
65
|
+
licenses:
|
66
|
+
- MIT
|
67
|
+
metadata: {}
|
68
|
+
post_install_message:
|
69
|
+
rdoc_options: []
|
70
|
+
require_paths:
|
71
|
+
- lib
|
72
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
requirements: []
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.6.8
|
85
|
+
signing_key:
|
86
|
+
specification_version: 4
|
87
|
+
summary: Adds a MessagePack Serializer for Daybreak
|
88
|
+
test_files: []
|