random_pin 0.0.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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/random_pin.rb +5 -0
  3. metadata +43 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d383fe7b819792aac42d89093b2eedb9996f2dc4478875d359d1362647c0928c
4
+ data.tar.gz: aa05178442b5bb696e5936fa41520848195de0ccc489a8684d81e067fb2be973
5
+ SHA512:
6
+ metadata.gz: e66e53a95bb32c40707fad16a467349f5977392d1671a09feda92a5aee223e9335b7d0b821fb1d77170bdde0fe48db9f7e19fe89832638687bc20ef9a6c07dc3
7
+ data.tar.gz: 793c9bab3d90333a751cf26d71581843af220246c96398126ebf4bf4d6588bcf4fed473ceacc1263096ba5e2891e9dcbe03690adb01e1a09cada366cd6de95ab
data/lib/random_pin.rb ADDED
@@ -0,0 +1,5 @@
1
+ class RandomPin
2
+ def self.pin
3
+ rand.to_s[2..5]
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: random_pin
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - nirmalkarma03
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-12-06 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: This gem is usefull for genrating 4 digit pin
14
+ email: nirmal@ftpls.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/random_pin.rb
20
+ homepage: https://rubygems.org/gems/random_pin
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubygems_version: 3.2.3
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: random_pin!
43
+ test_files: []