khanh 0.0.0

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: d07f7842c7dc57255694ee2e91a12c9abb8de616dfb6eebd01a61338236f08a3
4
+ data.tar.gz: 9e0739f127242a859fbbf818d828dbbe47c36b7201152885f18bfa5033636bbf
5
+ SHA512:
6
+ metadata.gz: e8f39210f6e070e163b23950b37719123dc54edbc03dbc9ee7a5d4a7d2af8f7b902a24023842f7fcf0fa05e300b8b77ef233728b53af18d73c17b09716a04dbe
7
+ data.tar.gz: d15a1bcc80f2991773757ebae24938b311c8f56f929e21812362fd06dace831e152a80d27a756d26f35e41dc60d2165ac138bbb7eca5a098bd124e76b36630ed
@@ -0,0 +1,6 @@
1
+ require "mkmf"
2
+
3
+ abort "missing malloc()" unless have_func "malloc"
4
+ abort "missing free()" unless have_func "free"
5
+
6
+ create_makefile "khanh/khanh"
Binary file
@@ -0,0 +1 @@
1
+ require_relative "../../ext/khanh/khanh"
data/lib/khanh.rb ADDED
@@ -0,0 +1,10 @@
1
+ class Khanh
2
+ VERSION = "1.0"
3
+ def self.hi
4
+ p "Hello cruby!"
5
+ end
6
+
7
+ end
8
+
9
+
10
+ require_relative "khanh/extension"
metadata ADDED
@@ -0,0 +1,47 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: khanh
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Khanh
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-03-05 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: C-ruby from Khanh
14
+ email: dreamproperty.khanh@gmail.com
15
+ executables: []
16
+ extensions:
17
+ - ext/khanh/extconf.rb
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ext/khanh/extconf.rb
21
+ - ext/khanh/khanh.so
22
+ - lib/khanh.rb
23
+ - lib/khanh/extension.rb
24
+ homepage: https://rubygems.org/gems/khanh
25
+ licenses:
26
+ - MIT
27
+ metadata: {}
28
+ post_install_message:
29
+ rdoc_options: []
30
+ require_paths:
31
+ - lib
32
+ required_ruby_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ required_rubygems_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ requirements: []
43
+ rubygems_version: 3.5.6
44
+ signing_key:
45
+ specification_version: 4
46
+ summary: a collection of ruby methods operated in C
47
+ test_files: []