khanh 0.0.3 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/ext/khanh/khanh.so +0 -0
  3. data/lib/khanh.rb +4 -0
  4. metadata +8 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6402f82d48e7918dad780e9f4c299a38ecaf0d445825e85c36833bce6da1129a
4
- data.tar.gz: 3896fdc11bdb93b93fe93113844d86a8e2101cfe59b32b3f214985d42256e3e8
3
+ metadata.gz: 84eecc7a423611278c35dd1586e338215f5bf1b58235fe75e9a284ace17b5c2c
4
+ data.tar.gz: 1a33adad08e90586aa8264b8badcd3046a810047f440c896f5097889b5b8ddaf
5
5
  SHA512:
6
- metadata.gz: 6ad52df0a22b098f72be813ab27b1c07d7da2583a2fe0eaa990405fd3947471555c5f868d071a02c15fefa68bfc7965f19c8cf83ec0241b58eef4fc7a713133d
7
- data.tar.gz: c706c5fccd633d240ecbebb536b9b5317ac271525699ab60cbf1b83d30f819253421742558fff5179e394ff506a36e88ae09365be5b4d22fb9ca0dd4232430b4
6
+ metadata.gz: eeba5de9ad63046438602dcd75d6c59fae79d6cc1ad701fdb56100adf756c7d547231eeac0e18c0867079fc4f80cc72ae45637543665d772cf2095ed6cff32c6
7
+ data.tar.gz: 8c0620755f2168bc7ffd5d610ac6ce8c427d480c8b65ffa94dd9457497aebed06f9f602cdf544b0579661ba360be8ec87d81d02939c45b453663cd8fda28b5eb
data/ext/khanh/khanh.so CHANGED
Binary file
data/lib/khanh.rb CHANGED
@@ -7,6 +7,10 @@ module Khanh
7
7
  end
8
8
 
9
9
  end
10
+
11
+ def self.sort(arr)
12
+ qSort(arr.join("-") + "-", arr.length)
13
+ end
10
14
  end
11
15
 
12
16
 
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: khanh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Khanh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-10 00:00:00.000000000 Z
11
+ date: 2024-03-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: C-ruby from Khanh
13
+ description: a ruby gem with an C extension from Khanh.
14
14
  email: dreamproperty.khanh@gmail.com
15
15
  executables: []
16
16
  extensions:
@@ -21,10 +21,12 @@ files:
21
21
  - ext/khanh/khanh.so
22
22
  - lib/khanh.rb
23
23
  - lib/khanh/extension.rb
24
- homepage: https://github.com/khanh-devos/gem-cruby
24
+ homepage:
25
25
  licenses:
26
26
  - MIT
27
- metadata: {}
27
+ metadata:
28
+ allowed_push_host: https://rubygems.org
29
+ homepage_uri: https://github.com/khanh-devos/gem-cruby
28
30
  post_install_message:
29
31
  rdoc_options: []
30
32
  require_paths:
@@ -43,5 +45,5 @@ requirements: []
43
45
  rubygems_version: 3.5.6
44
46
  signing_key:
45
47
  specification_version: 4
46
- summary: a collection of ruby methods operated in C
48
+ summary: a collection of ruby methods operated in C env.
47
49
  test_files: []