cool_ruby_faces 0.0.9

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b70fa9e7f919657a851ef22f26fb3acb3f4cc7b3
4
+ data.tar.gz: 9fef3aec15e172e60b64da299854e8d99d421362
5
+ SHA512:
6
+ metadata.gz: 5653239f27e07ea349a968f8a79ed7c9e77c5efdc61a1a387cdb0b86985952ab8d20ce1b49e9ec8a3b81007329989655fb50ea4a9e9bb29f589f9294e442cdd2
7
+ data.tar.gz: 1ad00b741885c4bc12d23715f41ea4fde80c83efb9eff84323a9806857e73c261f31cbbd5a6792e6a7403f885926374de6e6b1d4b7776f79185f03ce5bf05992
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: utf-8
3
+
4
+ require 'awesome_print'
5
+ require 'commander/import'
6
+ require_relative '../lib/cool_ruby_faces'
7
+ require_relative '../lib/cool_ruby_faces/version'
8
+
9
+ program :name, 'Cool Ruby Faces'
10
+ program :version, CoolRubyFaces::VERSION
11
+ program :description, 'Cool ASCII (Unicode) Faces in your terminal'
12
+
13
+ default_command :copy
14
+
15
+ command :copy do |c|
16
+ c.syntax = 'cool-face copy'
17
+ c.description = "Copy random Cool ASCII (Unicode) Face to your clipboard"
18
+ c.action do |args, options|
19
+ face = CoolRubyFaces.random
20
+
21
+ %x[printf "#{face}" | __CF_USER_TEXT_ENCODING=$UID:0x8000100:0x8000100 pbcopy]
22
+
23
+ puts "Copied #{face} to clipboard"
24
+ end
25
+ end
26
+
27
+ command :random do |c|
28
+ c.syntax = 'cool-face random'
29
+ c.description = 'Output a random Cool ASCII (Unicode) Face'
30
+ c.action do |args, options|
31
+ puts CoolRubyFaces.random
32
+ end
33
+ end
34
+
35
+ command :all do |c|
36
+ c.syntax = 'cool-face all'
37
+ c.description = 'Output all the Cool ASCII (Unicode) Faces'
38
+ c.action do |args, options|
39
+ puts CoolRubyFaces.all
40
+ end
41
+ end
@@ -0,0 +1,15 @@
1
+ require 'yaml'
2
+
3
+ module CoolRubyFaces
4
+
5
+ @faces = YAML.load(File.open(File.join(__dir__, 'faces.yml')))['faces']
6
+
7
+ def self.all
8
+ return @faces.join("\n")
9
+ end
10
+
11
+ def self.random
12
+ return @faces.shuffle.first
13
+ end
14
+
15
+ end
@@ -0,0 +1,3 @@
1
+ module CoolRubyFaces
2
+ VERSION ||= '0.0.9'
3
+ end
@@ -0,0 +1,165 @@
1
+ # encoding: utf-8
2
+ faces:
3
+ - ( .-. )
4
+ - ( .o.)
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
+ - (っ◕‿◕)っ
45
+ - (づ。◕‿‿◕。)づ
46
+ - (ノಠ益ಠ)ノ
47
+ - (ノ・∀・)ノ
48
+ - (;一_一)
49
+ - (`◔ ω ◔´)
50
+ - (。◕‿‿◕。)
51
+ - (ノ◕ヮ◕)ノ
52
+ - \*<{:¬{D}}}
53
+ - =^.^=
54
+ - t(-.-t)
55
+ - \| (• ◡•)|
56
+ - ~(˘▾˘~)
57
+ - ¬_¬
58
+ - ¯(°_o)/¯
59
+ - ¯\_(ツ)_/¯
60
+ - °Д°
61
+ - ɳ༼ຈل͜ຈ༽ɲ
62
+ - ʅʕ•ᴥ•ʔʃ
63
+ - ʕ´•ᴥ•\`ʔ
64
+ - ʕ•ᴥ•ʔ
65
+ - ʕ◉.◉ʔ
66
+ - ʕㅇ호ㅇʔ
67
+ - ʕ;•\`ᴥ•´ʔ
68
+ - ʘ‿ʘ
69
+ - ͡° ͜ʖ ͡°
70
+ - ζ༼Ɵ͆ل͜Ɵ͆༽ᶘ
71
+ - Ѱζ༼ᴼل͜ᴼ༽ᶘѰ
72
+ - ب_ب
73
+ - ٩◔̯◔۶
74
+ - ಠ_ಠ
75
+ - ಠoಠ
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
+ - “ψ(`∇´)ψ
145
+ - ಠﭛಠ
146
+ - (๑>ᴗ<๑)
147
+ - (۶ꈨຶꎁꈨຶ )۶ʸᵉᵃʰᵎ
148
+ - ٩(•̤̀ᵕ•̤́๑)ᵒᵏᵎᵎᵎᵎ
149
+ - (oT-T)尸
150
+ - (✌゚∀゚)☞
151
+ - ಥ‿ಥ
152
+ - ॱ॰⋆(˶ॢ‾᷄﹃‾᷅˵ॢ)
153
+ - ┬┴┬┴┤ (ಠ├┬┴┬┴
154
+ - ( ˘ ³˘)♥
155
+ - Σ (੭ु ຶਊ ຶ)੭ु⁾⁾
156
+ - (⑅ ॣ•͈ᴗ•͈ ॣ)
157
+ - ヾ(´¬`)ノ
158
+ - (•̀o•́)ง
159
+ - (๑•॒̀ ູ॒•́๑)
160
+ - ⚈้̤͡ ˌ̫̮ ⚈้̤͡
161
+ - =͟͟͞͞ =͟͟͞͞ ヘ( ´Д\`)ノ
162
+ - (((╹д╹;)))
163
+ - •̀.̫•́✧
164
+ - (ᵒ̤̑ ₀̑ ᵒ̤̑)
165
+ - \_(ʘ_ʘ)_/\"
metadata ADDED
@@ -0,0 +1,119 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cool_ruby_faces
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.9
5
+ platform: ruby
6
+ authors:
7
+ - Zach Payne
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-05-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: commander
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.8'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.8'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: awesome_print
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: Output extremely Cool Ascii Faces in your terminal
84
+ email:
85
+ - uxtronaut@gmail.com
86
+ executables:
87
+ - cool-face
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - lib/cool_ruby_faces.rb
92
+ - lib/cool_ruby_faces/version.rb
93
+ - lib/faces.yml
94
+ - bin/cool-face
95
+ homepage: http://mondorobot.com
96
+ licenses:
97
+ - MIT
98
+ metadata: {}
99
+ post_install_message:
100
+ rdoc_options: []
101
+ require_paths:
102
+ - lib
103
+ required_ruby_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - '>='
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ required_rubygems_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - '>='
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ requirements: []
114
+ rubyforge_project:
115
+ rubygems_version: 2.0.14
116
+ signing_key:
117
+ specification_version: 4
118
+ summary: Output Cool Ascii Faces in your terminal
119
+ test_files: []