is-thirteen 0.1.0
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 +7 -0
- data/README.md +20 -0
- data/lib/is-thirteen.rb +6 -0
- metadata +47 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 29f2a8ce1ad006fde2c67be5f8dee64c3ad5c1961f03b5cea63bffafc5aeca05
|
|
4
|
+
data.tar.gz: d87cb2f56c0bc752c964d337324410708256ce7e373cf90ca725da6fe863fd2c
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: f707612977a05c9c1b91b46b4f44a2c1558cdb66d7e79511a37d9cc228de6c7ef2517182b28f8df7a33a761cc3360768ba93405beb85c413a9dc3fa03f0269c6
|
|
7
|
+
data.tar.gz: 54ba4a10255943be7a551a7b29efa2b6e7827acb8ead53d38ec538e12a5a728b0a2cfa86f20acfc015562d6638766e2f16a6e5e675074d18fe73ebf96a653e9b
|
data/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# is-thirteen
|
|
2
|
+
|
|
3
|
+
Ruby port of [is-thirteen](https://www.npmjs.com/package/is-thirteen)
|
|
4
|
+
|
|
5
|
+
For when you absolutely need to know if a number is thirteen.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
gem install is-thirteen
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'is-thirteen'
|
|
17
|
+
|
|
18
|
+
is_thirteen(13) # checks if a number is thirteen => true
|
|
19
|
+
is_thirteen(420) # checks if a number is thirteen => false
|
|
20
|
+
```
|
data/lib/is-thirteen.rb
ADDED
metadata
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: is-thirteen
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Spencer Kinney
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2024-10-22 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: Ruby port of https://www.npmjs.com/package/is-thirteen - For when you
|
|
14
|
+
absolutely need to know if a number is thirteen
|
|
15
|
+
email:
|
|
16
|
+
executables: []
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- README.md
|
|
21
|
+
- lib/is-thirteen.rb
|
|
22
|
+
homepage: https://github.com/spencerkinney/is-thirteen
|
|
23
|
+
licenses:
|
|
24
|
+
- MIT
|
|
25
|
+
metadata:
|
|
26
|
+
source_code_uri: https://github.com/spencerkinney/is-thirteen
|
|
27
|
+
homepage_uri: https://github.com/spencerkinney/is-thirteen#readme
|
|
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: 2.6.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.22
|
|
44
|
+
signing_key:
|
|
45
|
+
specification_version: 4
|
|
46
|
+
summary: Check if a number is equal to 13
|
|
47
|
+
test_files: []
|