sole 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e9805fffc1511c5522ed13b0de0fccfbb32ac69edf8db848ee4d714395ac1bfe
4
+ data.tar.gz: d451307ee70b331a2c1de41ac4b8f2440029a2253e5f94afceb7db8ed386c24b
5
+ SHA512:
6
+ metadata.gz: 0add742144bf805c403122a24a3094b57a608f3ac68223d703dcf28bfd56d238bfd1b8221fb2452e5104fe6acad95af81e27f308a6d0161c19c427fa72e843e4
7
+ data.tar.gz: 286942d93c01674e24a5e601826f7d8eaf1f3ca5d775a2c94e2b99950d23c1c097055fb0ff482f7d5c3600253410fa90141895cda3821f36d258c5fe907e11e7
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) Manfred Stiensra <manfred@fngtps.com>
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
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
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # Folly
2
+
3
+ Folly is a tiny library to help you trigger error conditions in your application intentionally, like a segfault.
4
+
5
+ ```ruby
6
+ Folly.raise_segfault
7
+ ```
data/ext/extconf.rb ADDED
@@ -0,0 +1,2 @@
1
+ require 'mkmf'
2
+ create_makefile('sole')
data/ext/sole.c ADDED
@@ -0,0 +1,14 @@
1
+ #include <signal.h>
2
+ #include <ruby.h>
3
+
4
+ static VALUE sole_bytes(VALUE self)
5
+ {
6
+ return Qnil;
7
+ }
8
+
9
+ void Init_sole()
10
+ {
11
+ VALUE cSole;
12
+ cSole = rb_define_class("Sole", rb_cObject);
13
+ rb_define_singleton_method(cSole, "bytes", sole_bytes, 0);
14
+ }
@@ -0,0 +1,3 @@
1
+ class Sole
2
+ VERSION = '0.0.1'
3
+ end
metadata ADDED
@@ -0,0 +1,81 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sole
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Manfred Stienstra
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-03-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '12.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '12.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest-assert_errors
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: |2
42
+ Sole helps with generating unique identifiers similar to a UUID or ULID but
43
+ packing in additional metadata to make it useful for storage solutions.
44
+ email:
45
+ - manfred@fngtps.com
46
+ executables: []
47
+ extensions:
48
+ - ext/extconf.rb
49
+ extra_rdoc_files: []
50
+ files:
51
+ - LICENSE.txt
52
+ - README.md
53
+ - ext/extconf.rb
54
+ - ext/sole.c
55
+ - lib/sole/version.rb
56
+ homepage: https://erm.im/sole
57
+ licenses:
58
+ - MIT
59
+ metadata: {}
60
+ post_install_message:
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: '0'
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ requirements: []
75
+ rubyforge_project:
76
+ rubygems_version: 2.7.3
77
+ signing_key:
78
+ specification_version: 4
79
+ summary: Universally unique identifiers packed with useful metadata meant for use
80
+ with storage solutions.
81
+ test_files: []