catter 0.1.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: f7ec153e64ff4d20218174313cd0392d41dbabf636395731d6e8b6ac6ca855a9
4
+ data.tar.gz: 002cc54619a491b53d33639a1bf493d014c12e727ce0b433d6ac4172dff2f684
5
+ SHA512:
6
+ metadata.gz: 3d278621b56e150fd4b4055c8c4e94d4b556e3899368ac8e581f110f938b8d24559fe62977b4a58da66ec7d59bd775360b4de3def4034700e0d777de815bf92d
7
+ data.tar.gz: 325ad7d44cbd487b7767dd6a8414674947fdaac24747fd1164fcf3175a06d2dcefe4652eb4fbb5bc2c35a7fb198f0df0ac41731cd4804ae35efc286586ac0f8f
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in catter.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
data/README.md ADDED
File without changes
data/bin/cat ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+ require 'catter'
3
+
4
+ puts Catter.random_emoji
5
+
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "catter"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/catter.gemspec ADDED
@@ -0,0 +1,28 @@
1
+ require_relative 'lib/catter/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "catter"
5
+ spec.version = Catter::VERSION
6
+ spec.authors = ["Kota"]
7
+ spec.email = ["i7811832616@gmail.com"]
8
+
9
+ spec.summary = %q{A Ruby gem to display random cat emojis.}
10
+ spec.description = %q{Catter is a Ruby gem that provides a fun way to display random cat emojis in your application, perfect for cat lovers and developers alike.}
11
+ spec.homepage = 'https://github.com/kochan17/catter'
12
+
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
14
+
15
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
16
+
17
+ spec.metadata['homepage_uri'] = 'https://github.com/kochan17/catter'
18
+ spec.metadata["source_code_uri"] = 'https://github.com/kochan17/catter'
19
+ # spec.metadata["changelog_uri"] = "https://github.com/kochan17/catter/CHANGELOG.md" # 例
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features|.*\.gem)\z}) }
24
+
25
+ spec.bindir = "exe"
26
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.require_paths = ["lib"]
28
+ end
@@ -0,0 +1,3 @@
1
+ module Catter
2
+ VERSION = "0.1.0"
3
+ end
data/lib/catter.rb ADDED
@@ -0,0 +1,147 @@
1
+ require "catter/version"
2
+
3
+ module Catter
4
+ CAT_EMOJIS = [
5
+ '₍⸍⸌̣ʷ̣̫⸍̣⸌₎',
6
+ '∩(^ΦωΦ^)∩',
7
+ 'シャー ฅ(`ꈊ´ฅ)',
8
+ 'ฅ•ω•ฅ',
9
+ 'ฅ^•ω•^ฅ',
10
+ 'ฅ(=・ω・=)ฅ',
11
+ '*ฅ´ω`ฅ*',
12
+ 'ฅ•ﻌ•´ฅ',
13
+ 'ฅ( ˙꒳​˙ ฅ)',
14
+ 'ฅ^• ·̫ •^ฅ',
15
+ '(ฅ๑•ω•๑ฅ)',
16
+ 'ฅ( ̳• ·̫ • ̳ฅ)و "フリフリ',
17
+ '*´꒳`ฅ',
18
+ '₍˄·͈༝·͈˄₎♡',
19
+ '₍ᐞ•༝•ᐞ₎◞ ̑̑',
20
+ '( ̳- ·̫ - ̳ˆ )◞❤',
21
+ '*ฅ´ω`ฅ*',
22
+ 'ฅ(=・ω・=)ฅ',
23
+ 'ฅ^>ω<^ฅ',
24
+ 'ฅ^-ω-^ฅ',
25
+ '~(=^・ω・^)_旦~',
26
+ '((*ΦωΦ)੭ꠥ⁾⁾',
27
+ 'ฅ^•ﻌ•^ฅ♡',
28
+ 'ฅ^ơωơ^ฅ♡',
29
+ '(๑•ω•́ฅ✧',
30
+ '( •ω•ฅ).。.:*♡',
31
+ 'ฅ( ̳• ·̫ • ̳ฅ)',
32
+ '(ฅー̀ ̫ー́ฅ)',
33
+ 'ฅ(ↀᴥↀ)ฅ',
34
+ '(*ฅ´ω`ฅ*)',
35
+ 'ฅ( ᵕ ω ᵕ )',
36
+ 'ฅ^-ω-^ฅ',
37
+ '(ฅ`・ω・´)っ',
38
+ 'ฅˆ•ﻌ•ˆฅ♡*',
39
+ '⁽⁽ฅ₍₍⁽⁽ฅ^•ω•^ฅ₎₎⁾⁾ฅ₎₎',
40
+ '(*ฅ•ω•ฅ*)',
41
+ 'Σฅ(º ロ º ฅ)',
42
+ 'ฅ(๑*д*๑)ฅ!!',
43
+ 'ฅ*•ω•*ฅ',
44
+ '(ฅ•́ωก̀๑))。。zzzZZ',
45
+ '(*ฅ́˘ฅ̀*)♡',
46
+ '~(=^・ω・^)_旦~~ お茶でもどぞニャ',
47
+ '( =•ω• =)',
48
+ 'φ(ФωФ=)メモニャン',
49
+ 'ฅ(`•ᆺ•´)ฅ',
50
+ 'ヾ(⌒(_*Φ ﻌ Φ*)_ニ',
51
+ '|ωΦ)ฅ🐾',
52
+ 'ฅ^•ω•^ฅ♡',
53
+ 'ฅ^•ﻌ•^ฅ♡',
54
+ 'ԅ(ФωФԅ)',
55
+ 'ฅ(ↀㅅↀˆ)',
56
+ '(*ФωФ)ノ',
57
+ '(,,ΦωΦ,,)',
58
+ 'ฅ( ̳- ·̫ - ̳ฅ)',
59
+ '|ωΦ)ฅ🐾|ωΦ)ฅ🐾|ωΦ)ฅ🐾',
60
+ '(๑•ω•́ฅ',
61
+ 'ฅ(=´ㅅ`=)ฅ',
62
+ 'ฅ^•ω•^ฅ💓',
63
+ '(ฅ\'ω\'ฅ)♪',
64
+ '壁|ωФ)ジー',
65
+ 'ฅ(^ω^ฅ)  ᗦ↞◃ ᗦ↞◃',
66
+ 'ฅ^•ω•^ฅ🐟🐟🐟',
67
+ 'ニャンฅ(>ω< )ฅニャン♪',
68
+ 'ฅ•ω•ฅニャニャーン✧',
69
+ 'ฅ( ̳• ·̫ • ̳ฅ)にゃあ',
70
+ 'ニャッ(ฅ•ω•ฅ)',
71
+ 'ฅ•ω•ฅにぁ?',
72
+ '( ฅ•ω•)ฅ ニャー!',
73
+ 'ฅ(´ω` ฅ)ニャー',
74
+ '(/・ω・)/にゃー!',
75
+ 'ฅ(*´ω`*ฅ)ニャー',
76
+ 'ฅ^•ω•^ฅニャー',
77
+ '(/ ・ω・)/にゃー',
78
+ '└(\'ω\')┘ニャアアアアアアアアアア!!!!',
79
+ '(/・ω・)/にゃー!',
80
+ 'ฅ•ω•ฅニャー',
81
+ '壁]ωФ)ニャー',
82
+ 'ฅ(=・ω・=)ฅニャー',
83
+ '(*ΦωΦ)ニャー',
84
+ 'にゃーヽ(•̀ω•́ )ゝ✧',
85
+ 'ฅ•ω•ฅニャー♥♡',
86
+ 'ニャー(/。>ω< )/',
87
+ '(」・ω・)」うー!(/・ω・)/にゃー!',
88
+ '(ฅฅ*)イナイイナイ・・・ ฅ(^ •ω•*^ฅ♡ニャー',
89
+ 'ニャー(´ฅ•ω•ฅ`)ニャー',
90
+ 'ฅ(・ω・ฅ)ンニャー♡',
91
+ 'ニャー(ฅ *`꒳´ * )ฅ',
92
+ 'ฅ(^ •ω•*^ฅ♡ニャー',
93
+ '๑•̀ㅁ•́ฅ✧にゃ!!',
94
+ 'ニャッ(ฅ•ω•ฅ)♡',
95
+ 'ฅ^•ﻌ•^ฅニャー',
96
+ 'ฅ( *`꒳´ * ฅ)ニャー',
97
+ 'ฅ(๑•̀ω•́๑)ฅニャンニャンガオー★',
98
+ 'ฅ(๑•̀ㅁ•́ ฅ)ニャー',
99
+ 'ฅ( ̳• ·̫ • ̳ฅ)にゃ♡',
100
+ 'ฅ(´ω` ฅ)ニャー',
101
+ 'ฅ•ω•ニャー♥',
102
+ '(*ฅ•̀ω•́ฅ*)ニャー',
103
+ 'ฅ(•ω•ฅ)フナーゴ',
104
+ 'ฅ¯ω¯ฅ )ニャーにゃー!',
105
+ 'ฅ`ω´ฅ)にゃんにゃーん',
106
+ '(´ฅωฅ`) ばぁー(´ฅ•ω•ฅ`)♡',
107
+ '( ฅ•ω•)ฅ アチョーニャー',
108
+ 'ฅ(´・ω・`)ฅにゃー',
109
+ '๑•̀ㅁ•́ฅ✧にゃ!',
110
+ 'にゃ〜ฅ(*´ω`*ฅ)',
111
+ 'ฅ(・ω・ฅ)ンニャー',
112
+ 'ฅ(๑•̀ω•́๑)ฅニャンニャン!',
113
+ 'ฅ(・ω・)ฅにゃー💛',
114
+ 'ฅ(○•ω•○)ฅニャ~ン♡',
115
+ 'Σฅ(´ω`;ฅ)ニャー!?',
116
+ 'ฅ(*´ω`*ฅ)ニャー',
117
+ 'ニャ-( ฅ•ω•)( •ω•ฅ)ニャー',
118
+ 'ฅ(^ •ω•*^ฅ♡ニャー',
119
+ 'ฅ•ω•ฅニャニャーン✧シャー ฅ(`ꈊ´ฅ)',
120
+ 'ニャンฅ(>ω< )ฅニャン♪',
121
+ 'ฅ( ̳• ·̫ • ̳ฅ)にゃあ',
122
+ 'ฅ(*°ω°*ฅ)*ニャーオ',
123
+ 'ฅ•ω•ฅにぁ?',
124
+ '♪(ฅ•∀•)ฅ ニャン',
125
+ 'ฅ(◍ •̀ω• ́◍)ฅニャンニャンがお➰🌟',
126
+ '=͟͟͞͞(๑•̀ㅁ•́ฅ✧ニャッ',
127
+ 'ฅ(=✧ω✧=)ฅニャニャーン✧',
128
+ 'ニャー(ฅ *`꒳´ * )ฅฅ( *`꒳´ * ฅ)ニャー',
129
+ 'ฅ(๑•̀ω•́๑)ฅニャンニャンガオー★',
130
+ '_(  _ΦДΦ)_ ニ"ャァ"ァ"ァ"',
131
+ 'ฅ(>ω<ฅ)ニャン♪☆*。',
132
+ 'ฅ(○•ω•○)ฅニャ~ン❣',
133
+ 'ฅ(°͈ꈊ°͈ฅ)ニャー',
134
+ 'ฅ✧ω✧ฅ)ニャ',
135
+ 'ฅ(ฅ)にゃ♡',
136
+ 'ฅ^•ﻌ•^ฅニャン',
137
+ 'ヾ(⌒(_´,,−﹃−,,`)_ゴロにゃん',
138
+ 'ฅ•ω•ฅニャニャーン✧',
139
+ '๑•̀ㅁ•́ฅ✧にゃ!!',
140
+ 'ヾ(⌒(_*Φ ﻌ Φ*)_ニャーン♡',
141
+ 'ᗦ↞◃ ᗦ↞◃ ᗦ↞◃ ᗦ↞◃ ฅ(^ω^ฅ) ニャ~'
142
+ ]
143
+
144
+ def self.random_emoji
145
+ CAT_EMOJIS.sample
146
+ end
147
+ end
metadata ADDED
@@ -0,0 +1,55 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: catter
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Kota
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-04-12 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Catter is a Ruby gem that provides a fun way to display random cat emojis
14
+ in your application, perfect for cat lovers and developers alike.
15
+ email:
16
+ - i7811832616@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - ".gitignore"
22
+ - Gemfile
23
+ - README.md
24
+ - bin/cat
25
+ - bin/console
26
+ - bin/setup
27
+ - catter.gemspec
28
+ - lib/catter.rb
29
+ - lib/catter/version.rb
30
+ homepage: https://github.com/kochan17/catter
31
+ licenses: []
32
+ metadata:
33
+ allowed_push_host: https://rubygems.org
34
+ homepage_uri: https://github.com/kochan17/catter
35
+ source_code_uri: https://github.com/kochan17/catter
36
+ post_install_message:
37
+ rdoc_options: []
38
+ require_paths:
39
+ - lib
40
+ required_ruby_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: 2.3.0
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ requirements: []
51
+ rubygems_version: 3.0.3
52
+ signing_key:
53
+ specification_version: 4
54
+ summary: A Ruby gem to display random cat emojis.
55
+ test_files: []