shmatgem 0.6.0 → 0.7.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 +4 -4
- data/.idea/workspace.xml +127 -26
- data/README.md +13 -15
- data/lib/shmatgem/Colorize.rb +25 -0
- data/lib/shmatgem/Pics.rb +163 -0
- data/lib/shmatgem/version.rb +1 -1
- data/lib/shmatgem.rb +4 -180
- data/shmatgem.gemspec +2 -2
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2164375b1e118ccddda363f128fd36df76ba7c81
|
|
4
|
+
data.tar.gz: 737e921bbb67d36bb62ec40fe60214ec38f13b8b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 98c8c8419445fb0eacb4876dd5ef68622e212e04d7fc7a202a49844976d272cfe0c649c5785bc1636c944741412dc22474bf41e05fe5a335f9cf36071ad5bbc7
|
|
7
|
+
data.tar.gz: 284ff6ab745b1ef3fa4da9128a79a1c369bbe0f2cf465b77c9a357fdcd7bfe7ebd0cc485c87a45da0dac823d45aa2d526a0d49354216680fbddba58b34b68be2
|
data/.idea/workspace.xml
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ChangeListManager">
|
|
4
|
-
<list default="true" id="ddde81cd-f18e-4e13-a436-8856520a666e" name="Default" comment=""
|
|
4
|
+
<list default="true" id="ddde81cd-f18e-4e13-a436-8856520a666e" name="Default" comment="">
|
|
5
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/shmatgem/Colorize.rb" />
|
|
6
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/shmatgem/Pics.rb" />
|
|
7
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/shmatgem-0.1.0.gem" afterPath="$PROJECT_DIR$/shmatgem-0.1.0.gem" />
|
|
8
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
|
9
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
|
|
10
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/shmatgem.rb" afterPath="$PROJECT_DIR$/lib/shmatgem.rb" />
|
|
11
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/shmatgem/version.rb" afterPath="$PROJECT_DIR$/lib/shmatgem/version.rb" />
|
|
12
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/shmatgem.gemspec" afterPath="$PROJECT_DIR$/shmatgem.gemspec" />
|
|
13
|
+
</list>
|
|
5
14
|
<ignored path="shmatgem.iws" />
|
|
6
15
|
<ignored path=".idea/workspace.xml" />
|
|
7
16
|
<ignored path=".idea/dataSources.local.xml" />
|
|
@@ -14,7 +23,7 @@
|
|
|
14
23
|
</component>
|
|
15
24
|
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
|
16
25
|
<component name="CoverageDataManager">
|
|
17
|
-
<SUITE FILE_PATH="coverage/shmatgem@shmatgem.coverage" NAME="shmatgem Coverage Results" MODIFIED="
|
|
26
|
+
<SUITE FILE_PATH="coverage/shmatgem@shmatgem.coverage" NAME="shmatgem Coverage Results" MODIFIED="1456326680198" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib" MODULE_NAME="shmatgem" />
|
|
18
27
|
</component>
|
|
19
28
|
<component name="CreatePatchCommitExecutor">
|
|
20
29
|
<option name="PATCH_PATH" value="" />
|
|
@@ -24,21 +33,61 @@
|
|
|
24
33
|
<favorites_list name="shmatgem" />
|
|
25
34
|
</component>
|
|
26
35
|
<component name="FileEditorManager">
|
|
27
|
-
<leaf>
|
|
28
|
-
<file leaf-file-name="shmatgem.rb" pinned="false" current-in-tab="
|
|
36
|
+
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
|
37
|
+
<file leaf-file-name="shmatgem.rb" pinned="false" current-in-tab="true">
|
|
29
38
|
<entry file="file://$PROJECT_DIR$/lib/shmatgem.rb">
|
|
39
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
40
|
+
<state vertical-scroll-proportion="0.03793467">
|
|
41
|
+
<caret line="2" column="28" selection-start-line="2" selection-start-column="2" selection-end-line="2" selection-end-column="28" />
|
|
42
|
+
<folding />
|
|
43
|
+
</state>
|
|
44
|
+
</provider>
|
|
45
|
+
</entry>
|
|
46
|
+
</file>
|
|
47
|
+
<file leaf-file-name="shmatgem.gemspec" pinned="false" current-in-tab="false">
|
|
48
|
+
<entry file="file://$PROJECT_DIR$/shmatgem.gemspec">
|
|
30
49
|
<provider selected="true" editor-type-id="text-editor">
|
|
31
50
|
<state vertical-scroll-proportion="0.0">
|
|
32
|
-
<caret line="
|
|
51
|
+
<caret line="15" column="49" selection-start-line="15" selection-start-column="49" selection-end-line="15" selection-end-column="49" />
|
|
33
52
|
<folding />
|
|
34
53
|
</state>
|
|
35
54
|
</provider>
|
|
36
55
|
</entry>
|
|
37
56
|
</file>
|
|
38
|
-
<file leaf-file-name="
|
|
57
|
+
<file leaf-file-name="README.md" pinned="false" current-in-tab="false">
|
|
58
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
59
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
60
|
+
<state vertical-scroll-proportion="-14.275862">
|
|
61
|
+
<caret line="23" column="19" selection-start-line="23" selection-start-column="19" selection-end-line="23" selection-end-column="19" />
|
|
62
|
+
<folding />
|
|
63
|
+
</state>
|
|
64
|
+
</provider>
|
|
65
|
+
</entry>
|
|
66
|
+
</file>
|
|
67
|
+
<file leaf-file-name="Pics.rb" pinned="false" current-in-tab="false">
|
|
68
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem/Pics.rb">
|
|
69
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
70
|
+
<state vertical-scroll-proportion="0.0">
|
|
71
|
+
<caret line="155" column="1" selection-start-line="155" selection-start-column="1" selection-end-line="155" selection-end-column="1" />
|
|
72
|
+
<folding />
|
|
73
|
+
</state>
|
|
74
|
+
</provider>
|
|
75
|
+
</entry>
|
|
76
|
+
</file>
|
|
77
|
+
<file leaf-file-name="Colorize.rb" pinned="false" current-in-tab="false">
|
|
78
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem/Colorize.rb">
|
|
79
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
80
|
+
<state vertical-scroll-proportion="0.0">
|
|
81
|
+
<caret line="16" column="46" selection-start-line="16" selection-start-column="46" selection-end-line="16" selection-end-column="46" />
|
|
82
|
+
<folding />
|
|
83
|
+
</state>
|
|
84
|
+
</provider>
|
|
85
|
+
</entry>
|
|
86
|
+
</file>
|
|
87
|
+
<file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
|
|
39
88
|
<entry file="file://$PROJECT_DIR$/lib/shmatgem/version.rb">
|
|
40
89
|
<provider selected="true" editor-type-id="text-editor">
|
|
41
|
-
<state vertical-scroll-proportion="0.
|
|
90
|
+
<state vertical-scroll-proportion="0.0">
|
|
42
91
|
<caret line="1" column="16" selection-start-line="1" selection-start-column="16" selection-end-line="1" selection-end-column="16" />
|
|
43
92
|
<folding />
|
|
44
93
|
</state>
|
|
@@ -47,12 +96,18 @@
|
|
|
47
96
|
</file>
|
|
48
97
|
</leaf>
|
|
49
98
|
</component>
|
|
99
|
+
<component name="Git.Settings">
|
|
100
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
101
|
+
</component>
|
|
50
102
|
<component name="IdeDocumentHistory">
|
|
51
103
|
<option name="CHANGED_PATHS">
|
|
52
104
|
<list>
|
|
53
|
-
<option value="$PROJECT_DIR$/shmatgem.gemspec" />
|
|
54
105
|
<option value="$PROJECT_DIR$/lib/shmatgem/version.rb" />
|
|
106
|
+
<option value="$PROJECT_DIR$/lib/shmatgem/Colorize.rb" />
|
|
107
|
+
<option value="$PROJECT_DIR$/lib/shmatgem/Pics.rb" />
|
|
55
108
|
<option value="$PROJECT_DIR$/lib/shmatgem.rb" />
|
|
109
|
+
<option value="$PROJECT_DIR$/shmatgem.gemspec" />
|
|
110
|
+
<option value="$PROJECT_DIR$/README.md" />
|
|
56
111
|
</list>
|
|
57
112
|
</option>
|
|
58
113
|
</component>
|
|
@@ -63,9 +118,9 @@
|
|
|
63
118
|
</component>
|
|
64
119
|
<component name="ProjectFrameBounds">
|
|
65
120
|
<option name="x" value="49" />
|
|
66
|
-
<option name="y" value="
|
|
121
|
+
<option name="y" value="-4" />
|
|
67
122
|
<option name="width" value="1631" />
|
|
68
|
-
<option name="height" value="
|
|
123
|
+
<option name="height" value="1054" />
|
|
69
124
|
</component>
|
|
70
125
|
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
71
126
|
<OptionsSetting value="true" id="Add" />
|
|
@@ -92,7 +147,6 @@
|
|
|
92
147
|
<foldersAlwaysOnTop value="true" />
|
|
93
148
|
</navigator>
|
|
94
149
|
<panes>
|
|
95
|
-
<pane id="Scope" />
|
|
96
150
|
<pane id="ProjectPane">
|
|
97
151
|
<subPane>
|
|
98
152
|
<PATH>
|
|
@@ -146,11 +200,13 @@
|
|
|
146
200
|
</subPane>
|
|
147
201
|
</pane>
|
|
148
202
|
<pane id="Scratches" />
|
|
203
|
+
<pane id="Scope" />
|
|
149
204
|
</panes>
|
|
150
205
|
</component>
|
|
151
206
|
<component name="PropertiesComponent">
|
|
152
207
|
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
153
208
|
<property name="js-jscs-nodeInterpreter" value="/usr/bin/node" />
|
|
209
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$/../../ror proj/railscast_livestream" />
|
|
154
210
|
</component>
|
|
155
211
|
<component name="RunManager" selected="Ruby.shmatgem">
|
|
156
212
|
<configuration default="false" name="shmatgem" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
|
@@ -287,6 +343,11 @@
|
|
|
287
343
|
<method />
|
|
288
344
|
</configuration>
|
|
289
345
|
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
|
346
|
+
<node-options />
|
|
347
|
+
<gulpfile />
|
|
348
|
+
<tasks />
|
|
349
|
+
<arguments />
|
|
350
|
+
<envs />
|
|
290
351
|
<method />
|
|
291
352
|
</configuration>
|
|
292
353
|
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
|
|
@@ -315,25 +376,25 @@
|
|
|
315
376
|
<servers />
|
|
316
377
|
</component>
|
|
317
378
|
<component name="ToolWindowManager">
|
|
318
|
-
<frame x="49" y="
|
|
379
|
+
<frame x="49" y="-4" width="1631" height="1054" extended-state="6" />
|
|
319
380
|
<editor active="true" />
|
|
320
381
|
<layout>
|
|
321
382
|
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24954017" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
|
322
383
|
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
|
323
|
-
<window_info id="
|
|
324
|
-
<window_info id="
|
|
325
|
-
<window_info id="
|
|
326
|
-
<window_info id="
|
|
384
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24954017" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
|
385
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
|
386
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
387
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
|
388
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32277834" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
|
327
389
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
328
|
-
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="
|
|
329
|
-
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="
|
|
390
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
|
391
|
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
|
330
392
|
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
331
393
|
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
|
332
|
-
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
|
333
394
|
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
334
395
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
335
|
-
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
336
396
|
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
|
397
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
337
398
|
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
338
399
|
</layout>
|
|
339
400
|
</component>
|
|
@@ -345,29 +406,69 @@
|
|
|
345
406
|
<watches-manager />
|
|
346
407
|
</component>
|
|
347
408
|
<component name="editorHistoryManager">
|
|
348
|
-
<entry file="file://$PROJECT_DIR$/shmatgem.
|
|
409
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem.rb">
|
|
349
410
|
<provider selected="true" editor-type-id="text-editor">
|
|
350
|
-
<state vertical-scroll-proportion="0.
|
|
351
|
-
<caret line="
|
|
411
|
+
<state vertical-scroll-proportion="0.0">
|
|
412
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
352
413
|
<folding />
|
|
353
414
|
</state>
|
|
354
415
|
</provider>
|
|
355
416
|
</entry>
|
|
356
|
-
<entry file="file://$PROJECT_DIR$/lib/shmatgem.rb">
|
|
417
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem/version.rb">
|
|
357
418
|
<provider selected="true" editor-type-id="text-editor">
|
|
358
419
|
<state vertical-scroll-proportion="0.0">
|
|
359
|
-
<caret line="
|
|
420
|
+
<caret line="1" column="16" selection-start-line="1" selection-start-column="16" selection-end-line="1" selection-end-column="16" />
|
|
360
421
|
<folding />
|
|
361
422
|
</state>
|
|
362
423
|
</provider>
|
|
363
424
|
</entry>
|
|
364
425
|
<entry file="file://$PROJECT_DIR$/lib/shmatgem/version.rb">
|
|
365
426
|
<provider selected="true" editor-type-id="text-editor">
|
|
366
|
-
<state vertical-scroll-proportion="0.
|
|
427
|
+
<state vertical-scroll-proportion="0.0">
|
|
367
428
|
<caret line="1" column="16" selection-start-line="1" selection-start-column="16" selection-end-line="1" selection-end-column="16" />
|
|
368
429
|
<folding />
|
|
369
430
|
</state>
|
|
370
431
|
</provider>
|
|
371
432
|
</entry>
|
|
433
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
434
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
435
|
+
<state vertical-scroll-proportion="-14.275862">
|
|
436
|
+
<caret line="23" column="19" selection-start-line="23" selection-start-column="19" selection-end-line="23" selection-end-column="19" />
|
|
437
|
+
<folding />
|
|
438
|
+
</state>
|
|
439
|
+
</provider>
|
|
440
|
+
</entry>
|
|
441
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem/Colorize.rb">
|
|
442
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
443
|
+
<state vertical-scroll-proportion="0.0">
|
|
444
|
+
<caret line="16" column="46" selection-start-line="16" selection-start-column="46" selection-end-line="16" selection-end-column="46" />
|
|
445
|
+
<folding />
|
|
446
|
+
</state>
|
|
447
|
+
</provider>
|
|
448
|
+
</entry>
|
|
449
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem/Pics.rb">
|
|
450
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
451
|
+
<state vertical-scroll-proportion="0.0">
|
|
452
|
+
<caret line="155" column="1" selection-start-line="155" selection-start-column="1" selection-end-line="155" selection-end-column="1" />
|
|
453
|
+
<folding />
|
|
454
|
+
</state>
|
|
455
|
+
</provider>
|
|
456
|
+
</entry>
|
|
457
|
+
<entry file="file://$PROJECT_DIR$/shmatgem.gemspec">
|
|
458
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
459
|
+
<state vertical-scroll-proportion="0.0">
|
|
460
|
+
<caret line="15" column="49" selection-start-line="15" selection-start-column="49" selection-end-line="15" selection-end-column="49" />
|
|
461
|
+
<folding />
|
|
462
|
+
</state>
|
|
463
|
+
</provider>
|
|
464
|
+
</entry>
|
|
465
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem.rb">
|
|
466
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
467
|
+
<state vertical-scroll-proportion="0.03793467">
|
|
468
|
+
<caret line="2" column="28" selection-start-line="2" selection-start-column="2" selection-end-line="2" selection-end-column="28" />
|
|
469
|
+
<folding />
|
|
470
|
+
</state>
|
|
471
|
+
</provider>
|
|
472
|
+
</entry>
|
|
372
473
|
</component>
|
|
373
474
|
</project>
|
data/README.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Shmatgem
|
|
2
2
|
|
|
3
|
-
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/shmatgem`. To experiment with that code, run `bin/console` for an interactive prompt.
|
|
4
|
-
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
6
|
-
|
|
7
3
|
## Installation
|
|
8
4
|
|
|
9
5
|
Add this line to your application's Gemfile:
|
|
@@ -14,7 +10,7 @@ gem 'shmatgem'
|
|
|
14
10
|
|
|
15
11
|
And then execute:
|
|
16
12
|
|
|
17
|
-
$ bundle
|
|
13
|
+
$ bundle install
|
|
18
14
|
|
|
19
15
|
Or install it yourself as:
|
|
20
16
|
|
|
@@ -22,18 +18,20 @@ Or install it yourself as:
|
|
|
22
18
|
|
|
23
19
|
## Usage
|
|
24
20
|
|
|
25
|
-
|
|
21
|
+
```ruby
|
|
22
|
+
puts 'Hello'.red # for colorize text
|
|
23
|
+
puts 'Hello'.bg_green # for colorize background
|
|
24
|
+
puts 'Hello'.bold # for text style
|
|
25
|
+
```
|
|
26
|
+
and
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
puts 'Hello'.blue.bg_green.bold
|
|
30
|
+
puts foo.bar .blue
|
|
31
|
+
```
|
|
26
32
|
|
|
27
33
|
## Development
|
|
28
34
|
|
|
29
35
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
30
36
|
|
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
32
|
-
|
|
33
|
-
## Contributing
|
|
34
|
-
|
|
35
|
-
1. Fork it ( https://github.com/[my-github-username]/shmatgem/fork )
|
|
36
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
37
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
38
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
|
39
|
-
5. Create a new Pull Request
|
|
37
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
class String
|
|
2
|
+
def black; "\e[30m#{self}\e[0m" end
|
|
3
|
+
def red; "\e[31m#{self}\e[0m" end
|
|
4
|
+
def green; "\e[32m#{self}\e[0m" end
|
|
5
|
+
def brown; "\e[33m#{self}\e[0m" end
|
|
6
|
+
def blue; "\e[34m#{self}\e[0m" end
|
|
7
|
+
def magenta; "\e[35m#{self}\e[0m" end
|
|
8
|
+
def cyan; "\e[36m#{self}\e[0m" end
|
|
9
|
+
def gray; "\e[37m#{self}\e[0m" end
|
|
10
|
+
|
|
11
|
+
def bg_black; "\e[40m#{self}\e[0m" end
|
|
12
|
+
def bg_red; "\e[41m#{self}\e[0m" end
|
|
13
|
+
def bg_green; "\e[42m#{self}\e[0m" end
|
|
14
|
+
def bg_brown; "\e[43m#{self}\e[0m" end
|
|
15
|
+
def bg_blue; "\e[44m#{self}\e[0m" end
|
|
16
|
+
def bg_magenta; "\e[45m#{self}\e[0m" end
|
|
17
|
+
def bg_cyan; "\e[46m#{self}\e[0m" end
|
|
18
|
+
def bg_gray; "\e[47m#{self}\e[0m" end
|
|
19
|
+
|
|
20
|
+
def bold; "\e[1m#{self}\e[22m" end
|
|
21
|
+
def italic; "\e[3m#{self}\e[23m" end
|
|
22
|
+
def underline; "\e[4m#{self}\e[24m" end
|
|
23
|
+
def blink; "\e[5m#{self}\e[25m" end
|
|
24
|
+
def reverse_color; "\e[7m#{self}\e[27m" end
|
|
25
|
+
end
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
class Pics
|
|
2
|
+
|
|
3
|
+
def initialize
|
|
4
|
+
@symb_pic = Array.new
|
|
5
|
+
|
|
6
|
+
@symb_pic << '
|
|
7
|
+
───────────████████
|
|
8
|
+
──────────███▄███████
|
|
9
|
+
──────────███████████
|
|
10
|
+
──────────███████████
|
|
11
|
+
──────────██████
|
|
12
|
+
──────────█████████
|
|
13
|
+
█───────███████
|
|
14
|
+
██────████████████
|
|
15
|
+
███──██████████──█
|
|
16
|
+
███████████████
|
|
17
|
+
███████████████
|
|
18
|
+
─█████████████
|
|
19
|
+
──███████████
|
|
20
|
+
────████████
|
|
21
|
+
─────███──██
|
|
22
|
+
─────██────█
|
|
23
|
+
─────█─────█
|
|
24
|
+
─────██────██
|
|
25
|
+
'
|
|
26
|
+
@symb_pic << '
|
|
27
|
+
░░░░░░░░░▄▄▄▄▄▄▄▄▄▄▄▄░░░
|
|
28
|
+
░░░░░░░▄██████████████▄░
|
|
29
|
+
░░░░░▄█▀▀▀▀▀▀▀▀▀████████
|
|
30
|
+
░░░░▄█▄▄░░░░▄▄▄▄░▀██████
|
|
31
|
+
░░░█░░███░░█░░███░░█████
|
|
32
|
+
░░▄██████▄▄▀████▀░░█████
|
|
33
|
+
░▀▄▄▄▄▄▄▄▄█░░░░░░░░█████
|
|
34
|
+
░░░░░█░░░░░░░░░░░░░█████
|
|
35
|
+
░░░▄██░░░░░░░░░░░▄██████
|
|
36
|
+
░▄████░░░░░░░░░▄████████
|
|
37
|
+
██████░░░░░░░░██████████
|
|
38
|
+
▀██▀░█░░░░░░░░░▀▀▀░█████
|
|
39
|
+
░░░░░█░░░░░░░░░░░░░█████
|
|
40
|
+
░░░░░█░░░░░░░░░░░░░█████
|
|
41
|
+
░░░░░█░░░░░░░░░░░░░█████
|
|
42
|
+
░░░░░▀▄▄▄▄▄▄▄▄▄▄▄▄▄████▀
|
|
43
|
+
'
|
|
44
|
+
@symb_pic << '
|
|
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
|
+
@symb_pic << '
|
|
76
|
+
──────────────────────────────────────
|
|
77
|
+
─▄▄▄───────────▄▄▄▄▄▄▄────────────────
|
|
78
|
+
█▀░▀█──────▄▀▀▀░░░░░░░▀▀▄▄────────────
|
|
79
|
+
█░░░░█───▄▀░░░░░░░░░░░░░░░▀▄───────▄▄▄
|
|
80
|
+
█▄░░░▀▄▄▀░░██░░░░░░░░░░░░░░▀█────█▀▀░█
|
|
81
|
+
─█░░░░█▀░░░▀░░░░░░░░██░░░░░░▀█─▄█░░░░█
|
|
82
|
+
─▀█░░▄█░░░░░░░▄▄▄░░░░▀░░░░░░░███░░░░█▀
|
|
83
|
+
──█▄░█░░░░░▄███████▄░░░░░░░░░█▀░░░░▄▀─
|
|
84
|
+
──▀█░█░░░░▄██████████░░░░░░░▄█░░░░▄▀──
|
|
85
|
+
───███░░░░███████████░░░░░░▄█░░░░█▀───
|
|
86
|
+
────█░░░░░██████████▀░░░░░░█░░░░█▀────
|
|
87
|
+
────█░░░░░░▀███████▀░░░░░░░█▄▄▄▀──────
|
|
88
|
+
────█░░░░░░░░▀▀▀▀░░░░░░░░░░░▀█────────
|
|
89
|
+
────█░░░░░░░░░░░░░░░░░░░░░░░░█────────
|
|
90
|
+
────█░░░░░░░░░░░░░░░░░░░░░░░░█────────
|
|
91
|
+
────█░░░░░░░░░░░░░░░░░░░░░░░░█────────
|
|
92
|
+
──────────────────────────────────────
|
|
93
|
+
───█──█─█──█─█──█─█▀▀▀█─█▀▀█─█──█─────
|
|
94
|
+
───█▀▀█─█──█─█▄▄█─█───█─█────█──█─────
|
|
95
|
+
───█──█─█▄▄█────█─█▄▄▄█─█▄▄█─█▄▄█─────
|
|
96
|
+
──────────────────────────────────────
|
|
97
|
+
'
|
|
98
|
+
@symb_pic << '
|
|
99
|
+
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██
|
|
100
|
+
▓▓░░░░░░░░░░░░░░░░░░██
|
|
101
|
+
▓▓░██░░░▓▓▓▓▓░░░░██░██
|
|
102
|
+
▓▓░░░░▓▓████▓▓▓░░░░░██
|
|
103
|
+
▓▓░░░░▓▓█░░░▓▓▓█░░░░██
|
|
104
|
+
▓▓░░░░░██░░▓▓▓▓█░░░░██
|
|
105
|
+
▓▓░░░░░░░▓▓▓████░░░░██
|
|
106
|
+
▓▓░░░░░░░▓▓▓█░░░░░░░██
|
|
107
|
+
▓▓░░░░░░░░███░░░░░░░██
|
|
108
|
+
▓▓░░░░░░░▓▓▓░░░░░░░░██
|
|
109
|
+
▓▓░░░░░░░▓▓▓█░░░░░░░██
|
|
110
|
+
▓▓░██░░░░░███░░░░██░██
|
|
111
|
+
▓▓░░░░░░░░░░░░░░░░░░██
|
|
112
|
+
██████████████████████
|
|
113
|
+
'
|
|
114
|
+
@symb_pic << '
|
|
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
|
+
──────────────────█████████─█───────────────
|
|
150
|
+
──────────────────███████████───────────────
|
|
151
|
+
───────────────────▀█████▀──────────────────
|
|
152
|
+
────────────────────────────────────────────
|
|
153
|
+
────────────────────────────────────────────
|
|
154
|
+
────────────────────────────────────────────
|
|
155
|
+
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
|
|
156
|
+
'
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
def random
|
|
160
|
+
@symb_pic.sample
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
end
|
data/lib/shmatgem/version.rb
CHANGED
data/lib/shmatgem.rb
CHANGED
|
@@ -1,186 +1,10 @@
|
|
|
1
|
-
require
|
|
1
|
+
Dir["shmatgem/*.rb"].each {|file| require file }
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
def red; "\e[31m#{self}\e[0m" end
|
|
6
|
-
def green; "\e[32m#{self}\e[0m" end
|
|
7
|
-
def brown; "\e[33m#{self}\e[0m" end
|
|
8
|
-
def blue; "\e[34m#{self}\e[0m" end
|
|
9
|
-
def magenta; "\e[35m#{self}\e[0m" end
|
|
10
|
-
def cyan; "\e[36m#{self}\e[0m" end
|
|
11
|
-
def gray; "\e[37m#{self}\e[0m" end
|
|
12
|
-
|
|
13
|
-
def bg_black; "\e[40m#{self}\e[0m" end
|
|
14
|
-
def bg_red; "\e[41m#{self}\e[0m" end
|
|
15
|
-
def bg_green; "\e[42m#{self}\e[0m" end
|
|
16
|
-
def bg_brown; "\e[43m#{self}\e[0m" end
|
|
17
|
-
def bg_blue; "\e[44m#{self}\e[0m" end
|
|
18
|
-
def bg_magenta; "\e[45m#{self}\e[0m" end
|
|
19
|
-
def bg_cyan; "\e[46m#{self}\e[0m" end
|
|
20
|
-
def bg_gray; "\e[47m#{self}\e[0m" end
|
|
21
|
-
|
|
22
|
-
def bold; "\e[1m#{self}\e[22m" end
|
|
23
|
-
def italic; "\e[3m#{self}\e[23m" end
|
|
24
|
-
def underline; "\e[4m#{self}\e[24m" end
|
|
25
|
-
def blink; "\e[5m#{self}\e[25m" end
|
|
26
|
-
def reverse_color; "\e[7m#{self}\e[27m" end
|
|
27
|
-
end
|
|
3
|
+
# gem build shmatgem.gemspec
|
|
4
|
+
# gem push shmatgem-0.7.0.gem
|
|
28
5
|
|
|
29
6
|
module Shmatgem
|
|
30
7
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
symb_pic << '
|
|
34
|
-
───────────████████
|
|
35
|
-
──────────███▄███████
|
|
36
|
-
──────────███████████
|
|
37
|
-
──────────███████████
|
|
38
|
-
──────────██████
|
|
39
|
-
──────────█████████
|
|
40
|
-
█───────███████
|
|
41
|
-
██────████████████
|
|
42
|
-
███──██████████──█
|
|
43
|
-
███████████████
|
|
44
|
-
███████████████
|
|
45
|
-
─█████████████
|
|
46
|
-
──███████████
|
|
47
|
-
────████████
|
|
48
|
-
─────███──██
|
|
49
|
-
─────██────█
|
|
50
|
-
─────█─────█
|
|
51
|
-
─────██────██
|
|
52
|
-
'
|
|
53
|
-
symb_pic << '
|
|
54
|
-
░░░░░░░░░▄▄▄▄▄▄▄▄▄▄▄▄░░░
|
|
55
|
-
░░░░░░░▄██████████████▄░
|
|
56
|
-
░░░░░▄█▀▀▀▀▀▀▀▀▀████████
|
|
57
|
-
░░░░▄█▄▄░░░░▄▄▄▄░▀██████
|
|
58
|
-
░░░█░░███░░█░░███░░█████
|
|
59
|
-
░░▄██████▄▄▀████▀░░█████
|
|
60
|
-
░▀▄▄▄▄▄▄▄▄█░░░░░░░░█████
|
|
61
|
-
░░░░░█░░░░░░░░░░░░░█████
|
|
62
|
-
░░░▄██░░░░░░░░░░░▄██████
|
|
63
|
-
░▄████░░░░░░░░░▄████████
|
|
64
|
-
██████░░░░░░░░██████████
|
|
65
|
-
▀██▀░█░░░░░░░░░▀▀▀░█████
|
|
66
|
-
░░░░░█░░░░░░░░░░░░░█████
|
|
67
|
-
░░░░░█░░░░░░░░░░░░░█████
|
|
68
|
-
░░░░░█░░░░░░░░░░░░░█████
|
|
69
|
-
░░░░░▀▄▄▄▄▄▄▄▄▄▄▄▄▄████▀
|
|
70
|
-
'
|
|
71
|
-
symb_pic << '
|
|
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
|
-
symb_pic << '
|
|
103
|
-
──────────────────────────────────────
|
|
104
|
-
─▄▄▄───────────▄▄▄▄▄▄▄────────────────
|
|
105
|
-
█▀░▀█──────▄▀▀▀░░░░░░░▀▀▄▄────────────
|
|
106
|
-
█░░░░█───▄▀░░░░░░░░░░░░░░░▀▄───────▄▄▄
|
|
107
|
-
█▄░░░▀▄▄▀░░██░░░░░░░░░░░░░░▀█────█▀▀░█
|
|
108
|
-
─█░░░░█▀░░░▀░░░░░░░░██░░░░░░▀█─▄█░░░░█
|
|
109
|
-
─▀█░░▄█░░░░░░░▄▄▄░░░░▀░░░░░░░███░░░░█▀
|
|
110
|
-
──█▄░█░░░░░▄███████▄░░░░░░░░░█▀░░░░▄▀─
|
|
111
|
-
──▀█░█░░░░▄██████████░░░░░░░▄█░░░░▄▀──
|
|
112
|
-
───███░░░░███████████░░░░░░▄█░░░░█▀───
|
|
113
|
-
────█░░░░░██████████▀░░░░░░█░░░░█▀────
|
|
114
|
-
────█░░░░░░▀███████▀░░░░░░░█▄▄▄▀──────
|
|
115
|
-
────█░░░░░░░░▀▀▀▀░░░░░░░░░░░▀█────────
|
|
116
|
-
────█░░░░░░░░░░░░░░░░░░░░░░░░█────────
|
|
117
|
-
────█░░░░░░░░░░░░░░░░░░░░░░░░█────────
|
|
118
|
-
────█░░░░░░░░░░░░░░░░░░░░░░░░█────────
|
|
119
|
-
──────────────────────────────────────
|
|
120
|
-
───█──█─█──█─█──█─█▀▀▀█─█▀▀█─█──█─────
|
|
121
|
-
───█▀▀█─█──█─█▄▄█─█───█─█────█──█─────
|
|
122
|
-
───█──█─█▄▄█────█─█▄▄▄█─█▄▄█─█▄▄█─────
|
|
123
|
-
──────────────────────────────────────
|
|
124
|
-
'
|
|
125
|
-
symb_pic << '
|
|
126
|
-
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██
|
|
127
|
-
▓▓░░░░░░░░░░░░░░░░░░██
|
|
128
|
-
▓▓░██░░░▓▓▓▓▓░░░░██░██
|
|
129
|
-
▓▓░░░░▓▓████▓▓▓░░░░░██
|
|
130
|
-
▓▓░░░░▓▓█░░░▓▓▓█░░░░██
|
|
131
|
-
▓▓░░░░░██░░▓▓▓▓█░░░░██
|
|
132
|
-
▓▓░░░░░░░▓▓▓████░░░░██
|
|
133
|
-
▓▓░░░░░░░▓▓▓█░░░░░░░██
|
|
134
|
-
▓▓░░░░░░░░███░░░░░░░██
|
|
135
|
-
▓▓░░░░░░░▓▓▓░░░░░░░░██
|
|
136
|
-
▓▓░░░░░░░▓▓▓█░░░░░░░██
|
|
137
|
-
▓▓░██░░░░░███░░░░██░██
|
|
138
|
-
▓▓░░░░░░░░░░░░░░░░░░██
|
|
139
|
-
██████████████████████
|
|
140
|
-
'
|
|
141
|
-
symb_pic << '
|
|
142
|
-
████████████████████████████████████████████
|
|
143
|
-
████████████████████████████████████████████
|
|
144
|
-
████████████████████████████████████████████
|
|
145
|
-
████████████████████████████████████████████
|
|
146
|
-
███████──────────────────────────────███████
|
|
147
|
-
███████──────────────────────────────███████
|
|
148
|
-
███████───────────▄██████▄───────────███████
|
|
149
|
-
███████────────▄████████████▄────────███████
|
|
150
|
-
███████───────████████████████───────███████
|
|
151
|
-
███████──────██████████████████──────███████
|
|
152
|
-
███████──────██████████████████──────███████
|
|
153
|
-
███████──────▌▀▀████████████▀▀▐──────███████
|
|
154
|
-
███████──────▐────▀██████▀────▌──────███████
|
|
155
|
-
███████───────█▄────▀██▀────▄█───────███████
|
|
156
|
-
███████────────███▄▄████▄▄███────────███████
|
|
157
|
-
███████─────────▀██████████▀─────────███████
|
|
158
|
-
███████───────────▀██████▀───────────███████
|
|
159
|
-
███████────────▄█───▀██▀───█▄────────███████
|
|
160
|
-
███████──────▄████────────████▄──────███████
|
|
161
|
-
███████─────███████──────███████─────███████
|
|
162
|
-
███████────█████████────█████████────███████
|
|
163
|
-
███████───██████████▄──▄██████████───███████
|
|
164
|
-
███████───███████████──███████████───███████
|
|
165
|
-
▀▀▀▀▀▀▀▀▀▀██████▀▀▀▀▀▀▀▀▀▀▀▀██████▀▀▀▀▀▀▀▀▀▀
|
|
166
|
-
───────────▀█████▄────────▄█████▀───────────
|
|
167
|
-
─────────────▀██████▄──▄██████▀─────────────
|
|
168
|
-
────────────────▀██████████▀────────────────
|
|
169
|
-
───────────────────▀████▀▀──────────────────
|
|
170
|
-
───────────────────▄▄▀▀▀▀▀──────────────────
|
|
171
|
-
────────────────────────────────────────────
|
|
172
|
-
────────────────────▄▄▄▄▄───────────────────
|
|
173
|
-
──────────────────▄▀─────▀▄─────────────────
|
|
174
|
-
──────────────────█▄─────▄█▄────────────────
|
|
175
|
-
──────────────────███████████───────────────
|
|
176
|
-
──────────────────█████████─█───────────────
|
|
177
|
-
──────────────────███████████───────────────
|
|
178
|
-
───────────────────▀█████▀──────────────────
|
|
179
|
-
────────────────────────────────────────────
|
|
180
|
-
────────────────────────────────────────────
|
|
181
|
-
────────────────────────────────────────────
|
|
182
|
-
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
|
|
183
|
-
'
|
|
184
|
-
puts symb_pic.sample
|
|
8
|
+
puts Pics.new.random .blue
|
|
185
9
|
|
|
186
10
|
end
|
data/shmatgem.gemspec
CHANGED
|
@@ -13,8 +13,8 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
# spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
14
14
|
# end
|
|
15
15
|
|
|
16
|
-
spec.summary = %q{
|
|
17
|
-
spec.description = %q{
|
|
16
|
+
spec.summary = %q{Colorize and some pics}
|
|
17
|
+
spec.description = %q{Colorize puts and some char pics onload.}
|
|
18
18
|
spec.homepage = "https://github.com/ShmatkoAndrey/smatgem"
|
|
19
19
|
spec.license = "MIT"
|
|
20
20
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shmatgem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrey Shmatko
|
|
@@ -38,7 +38,7 @@ dependencies:
|
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '10.0'
|
|
41
|
-
description:
|
|
41
|
+
description: Colorize puts and some char pics onload.
|
|
42
42
|
email:
|
|
43
43
|
- shmatuan@gmail.com
|
|
44
44
|
executables: []
|
|
@@ -59,6 +59,8 @@ files:
|
|
|
59
59
|
- bin/console
|
|
60
60
|
- bin/setup
|
|
61
61
|
- lib/shmatgem.rb
|
|
62
|
+
- lib/shmatgem/Colorize.rb
|
|
63
|
+
- lib/shmatgem/Pics.rb
|
|
62
64
|
- lib/shmatgem/version.rb
|
|
63
65
|
- shmatgem-0.1.0.gem
|
|
64
66
|
- shmatgem-0.3.0.gem
|
|
@@ -86,5 +88,5 @@ rubyforge_project:
|
|
|
86
88
|
rubygems_version: 2.4.8
|
|
87
89
|
signing_key:
|
|
88
90
|
specification_version: 4
|
|
89
|
-
summary:
|
|
91
|
+
summary: Colorize and some pics
|
|
90
92
|
test_files: []
|