numerictth2 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcfaf5633dca2fd19bcaeb7834d3242a2518c9aef8a4d2306ce79878951ea4ce
4
- data.tar.gz: 146529a4dbc4e5a49444bff2cd8b48c06f142f5869bde2a433fcf1e3068a4638
3
+ metadata.gz: 17a23a1469bb9f27ba7a0a54d6fd79bf566005b8b7584c0eab2aeeeeb5556d31
4
+ data.tar.gz: a384618d5d2d962f3b17465b1bfcd6a16a96b1e08e58f1ba24f080d2a1766f78
5
5
  SHA512:
6
- metadata.gz: b3083558c9fe5aaec6558c96f3a246de785b75e554c1af2dc94b2e07b1461223e7ed9a5bddb57c85da90c2878cb3b6b4efd8d4d63c1f68c10aed6073d539f66d
7
- data.tar.gz: 9113f48a9094acefe5fc0f008262bf78b21335f33cc564cfcc2899040dc5fd8a0f2ad836e02f2d0061d774feb7fb72ec2f32fcea278732b51b90cb4348e5336a
6
+ metadata.gz: 52773fec81dbc2f28ce305941d05929ad9341c3f23a2f3476ba0be3a4708c8efb438e561597f35d67d2e9f004bc149eacb7e17922e25c363454212cfe6077309
7
+ data.tar.gz: f3f369555508ffd3f2be100ecd5c754408c0dedaacda212721858335fbe4e678322614d263bf2f19c0f31aaaec11090043925856c3e900bc59b4bd2b7cba501b
data/README.md CHANGED
@@ -3,7 +3,11 @@
3
3
  # gem install bundler
4
4
  # gem install rails
5
5
  # bundle gem isim
6
- # gem build h2o.gemspec
6
+ # gem build numerictth2.gemspec
7
+ # gem install numerictth2-0.1.0.gem
8
+ # gem push numerictth2-0.1.0.gem
9
+ # irb >> require 'numerictth2' >>> include Numerictth2
10
+ # 'test'.numerictth2(10,'-')
7
11
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/numerictth2`. To experiment with that code, run `bin/console` for an interactive prompt.
8
12
 
9
13
  TODO: Delete this and the text above, and describe your gem
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Numerictth2
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/numerictth2.rb CHANGED
@@ -11,3 +11,11 @@ end
11
11
  class String
12
12
  include Numerictth2
13
13
  end
14
+
15
+ class Array
16
+ def split_by_partiy
17
+ partition(&:even?)
18
+ end
19
+ end
20
+
21
+ #even, odd = [1,2,3,4].split_by_partiy // even // odd
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numerictth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sadikizgi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-04 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: numeric someting
14
14
  email: