shmatgem 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.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.gitignore~ +9 -0
- data/.idea/.name +1 -0
- data/.idea/encodings.xml +6 -0
- data/.idea/misc.xml +14 -0
- data/.idea/modules.xml +8 -0
- data/.idea/shmatgem.iml +43 -0
- data/.idea/workspace.xml +474 -0
- data/Gemfile +4 -0
- data/README.md +37 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/shmatgem/Colorize.rb +25 -0
- data/lib/shmatgem/Pics.rb +163 -0
- data/lib/shmatgem/version.rb +3 -0
- data/lib/shmatgem.rb +12 -0
- data/shmatgem-0.1.0.gem +0 -0
- data/shmatgem-0.3.0.gem +0 -0
- data/shmatgem.gemspec +28 -0
- metadata +92 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 96ffa48048744a90a679bfe1321cd645452a70be
|
|
4
|
+
data.tar.gz: fd1ef9d01c4ae1f7648649938751edaaadcaf1d9
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 9a8846a018169698f38e640bb26f319f34ae896bb72e866208792d2ed8c6cf9fb6c742c40eedef89b6a8b6991f5fbede71d73e0d6d4250f25c9c9573b1e86cb1
|
|
7
|
+
data.tar.gz: 826c6a4960dbeebbc62a3b00a4e8396ea9a34416187c432471953440f1024be8f61e481c947b46769839384341ba05811fbaa791515af748a59412b6be6f32cf
|
data/.gitignore
ADDED
data/.gitignore~
ADDED
data/.idea/.name
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
shmatgem
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
4
|
+
<OptionsSetting value="true" id="Add" />
|
|
5
|
+
<OptionsSetting value="true" id="Remove" />
|
|
6
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
7
|
+
<OptionsSetting value="true" id="Update" />
|
|
8
|
+
<OptionsSetting value="true" id="Status" />
|
|
9
|
+
<OptionsSetting value="true" id="Edit" />
|
|
10
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
11
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
12
|
+
</component>
|
|
13
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.2.1" project-jdk-type="RUBY_SDK" />
|
|
14
|
+
</project>
|
data/.idea/modules.xml
ADDED
data/.idea/shmatgem.iml
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
|
3
|
+
<component name="FacetManager">
|
|
4
|
+
<facet type="gem" name="Ruby Gem">
|
|
5
|
+
<configuration>
|
|
6
|
+
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
|
7
|
+
<option name="GEM_APP_TEST_PATH" value="" />
|
|
8
|
+
<option name="GEM_APP_LIB_PATH" value="" />
|
|
9
|
+
</configuration>
|
|
10
|
+
</facet>
|
|
11
|
+
</component>
|
|
12
|
+
<component name="ModuleRunConfigurationManager">
|
|
13
|
+
<configuration default="false" name="shmatgem" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
|
14
|
+
<module name="shmatgem" />
|
|
15
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
16
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib" />
|
|
17
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
18
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
19
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
|
20
|
+
<envs />
|
|
21
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
|
22
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
23
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
24
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
25
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
26
|
+
</COVERAGE_PATTERN>
|
|
27
|
+
</EXTENSION>
|
|
28
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/shmatgem.rb" />
|
|
29
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
|
30
|
+
<method />
|
|
31
|
+
</configuration>
|
|
32
|
+
</component>
|
|
33
|
+
<component name="NewModuleRootManager">
|
|
34
|
+
<content url="file://$MODULE_DIR$">
|
|
35
|
+
<excludeFolder url="file://$MODULE_DIR$/.bundle" />
|
|
36
|
+
<excludeFolder url="file://$MODULE_DIR$/vendor/bundle" />
|
|
37
|
+
</content>
|
|
38
|
+
<orderEntry type="inheritedJdk" />
|
|
39
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.12.0.pre.1, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
42
|
+
</component>
|
|
43
|
+
</module>
|
data/.idea/workspace.xml
ADDED
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
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>
|
|
14
|
+
<ignored path="shmatgem.iws" />
|
|
15
|
+
<ignored path=".idea/workspace.xml" />
|
|
16
|
+
<ignored path=".idea/dataSources.local.xml" />
|
|
17
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
|
18
|
+
<option name="TRACKING_ENABLED" value="true" />
|
|
19
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
20
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
21
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
22
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
23
|
+
</component>
|
|
24
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
|
25
|
+
<component name="CoverageDataManager">
|
|
26
|
+
<SUITE FILE_PATH="coverage/shmatgem@shmatgem.coverage" NAME="shmatgem Coverage Results" MODIFIED="1456327429795" 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" />
|
|
27
|
+
</component>
|
|
28
|
+
<component name="CreatePatchCommitExecutor">
|
|
29
|
+
<option name="PATCH_PATH" value="" />
|
|
30
|
+
</component>
|
|
31
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
|
32
|
+
<component name="FavoritesManager">
|
|
33
|
+
<favorites_list name="shmatgem" />
|
|
34
|
+
</component>
|
|
35
|
+
<component name="FileEditorManager">
|
|
36
|
+
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
|
37
|
+
<file leaf-file-name="shmatgem.rb" pinned="false" current-in-tab="false">
|
|
38
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem.rb">
|
|
39
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
40
|
+
<state vertical-scroll-proportion="0.0">
|
|
41
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
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">
|
|
49
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
50
|
+
<state vertical-scroll-proportion="0.0">
|
|
51
|
+
<caret line="15" column="49" selection-start-line="15" selection-start-column="49" selection-end-line="15" selection-end-column="49" />
|
|
52
|
+
<folding />
|
|
53
|
+
</state>
|
|
54
|
+
</provider>
|
|
55
|
+
</entry>
|
|
56
|
+
</file>
|
|
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="true">
|
|
88
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem/version.rb">
|
|
89
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
90
|
+
<state vertical-scroll-proportion="0.018967334">
|
|
91
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
|
92
|
+
<folding />
|
|
93
|
+
</state>
|
|
94
|
+
</provider>
|
|
95
|
+
</entry>
|
|
96
|
+
</file>
|
|
97
|
+
</leaf>
|
|
98
|
+
</component>
|
|
99
|
+
<component name="Git.Settings">
|
|
100
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
101
|
+
</component>
|
|
102
|
+
<component name="IdeDocumentHistory">
|
|
103
|
+
<option name="CHANGED_PATHS">
|
|
104
|
+
<list>
|
|
105
|
+
<option value="$PROJECT_DIR$/lib/shmatgem/Colorize.rb" />
|
|
106
|
+
<option value="$PROJECT_DIR$/lib/shmatgem/Pics.rb" />
|
|
107
|
+
<option value="$PROJECT_DIR$/shmatgem.gemspec" />
|
|
108
|
+
<option value="$PROJECT_DIR$/README.md" />
|
|
109
|
+
<option value="$PROJECT_DIR$/lib/shmatgem.rb" />
|
|
110
|
+
<option value="$PROJECT_DIR$/lib/shmatgem/version.rb" />
|
|
111
|
+
</list>
|
|
112
|
+
</option>
|
|
113
|
+
</component>
|
|
114
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" />
|
|
115
|
+
<component name="JsBuildToolPackageJson" detection-done="true" />
|
|
116
|
+
<component name="JsGulpfileManager">
|
|
117
|
+
<detection-done>true</detection-done>
|
|
118
|
+
</component>
|
|
119
|
+
<component name="ProjectFrameBounds">
|
|
120
|
+
<option name="x" value="49" />
|
|
121
|
+
<option name="y" value="-4" />
|
|
122
|
+
<option name="width" value="1631" />
|
|
123
|
+
<option name="height" value="1054" />
|
|
124
|
+
</component>
|
|
125
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
126
|
+
<OptionsSetting value="true" id="Add" />
|
|
127
|
+
<OptionsSetting value="true" id="Remove" />
|
|
128
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
129
|
+
<OptionsSetting value="true" id="Update" />
|
|
130
|
+
<OptionsSetting value="true" id="Status" />
|
|
131
|
+
<OptionsSetting value="true" id="Edit" />
|
|
132
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
133
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
134
|
+
</component>
|
|
135
|
+
<component name="ProjectView">
|
|
136
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
|
137
|
+
<flattenPackages />
|
|
138
|
+
<showMembers />
|
|
139
|
+
<showModules />
|
|
140
|
+
<showLibraryContents />
|
|
141
|
+
<hideEmptyPackages />
|
|
142
|
+
<abbreviatePackageNames />
|
|
143
|
+
<autoscrollToSource />
|
|
144
|
+
<autoscrollFromSource />
|
|
145
|
+
<sortByType />
|
|
146
|
+
<manualOrder />
|
|
147
|
+
<foldersAlwaysOnTop value="true" />
|
|
148
|
+
</navigator>
|
|
149
|
+
<panes>
|
|
150
|
+
<pane id="ProjectPane">
|
|
151
|
+
<subPane>
|
|
152
|
+
<PATH>
|
|
153
|
+
<PATH_ELEMENT>
|
|
154
|
+
<option name="myItemId" value="shmatgem" />
|
|
155
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
156
|
+
</PATH_ELEMENT>
|
|
157
|
+
</PATH>
|
|
158
|
+
<PATH>
|
|
159
|
+
<PATH_ELEMENT>
|
|
160
|
+
<option name="myItemId" value="shmatgem" />
|
|
161
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
162
|
+
</PATH_ELEMENT>
|
|
163
|
+
<PATH_ELEMENT>
|
|
164
|
+
<option name="myItemId" value="shmatgem" />
|
|
165
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
166
|
+
</PATH_ELEMENT>
|
|
167
|
+
</PATH>
|
|
168
|
+
<PATH>
|
|
169
|
+
<PATH_ELEMENT>
|
|
170
|
+
<option name="myItemId" value="shmatgem" />
|
|
171
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
172
|
+
</PATH_ELEMENT>
|
|
173
|
+
<PATH_ELEMENT>
|
|
174
|
+
<option name="myItemId" value="shmatgem" />
|
|
175
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
176
|
+
</PATH_ELEMENT>
|
|
177
|
+
<PATH_ELEMENT>
|
|
178
|
+
<option name="myItemId" value="lib" />
|
|
179
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
180
|
+
</PATH_ELEMENT>
|
|
181
|
+
</PATH>
|
|
182
|
+
<PATH>
|
|
183
|
+
<PATH_ELEMENT>
|
|
184
|
+
<option name="myItemId" value="shmatgem" />
|
|
185
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
186
|
+
</PATH_ELEMENT>
|
|
187
|
+
<PATH_ELEMENT>
|
|
188
|
+
<option name="myItemId" value="shmatgem" />
|
|
189
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
190
|
+
</PATH_ELEMENT>
|
|
191
|
+
<PATH_ELEMENT>
|
|
192
|
+
<option name="myItemId" value="lib" />
|
|
193
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
194
|
+
</PATH_ELEMENT>
|
|
195
|
+
<PATH_ELEMENT>
|
|
196
|
+
<option name="myItemId" value="shmatgem" />
|
|
197
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
198
|
+
</PATH_ELEMENT>
|
|
199
|
+
</PATH>
|
|
200
|
+
</subPane>
|
|
201
|
+
</pane>
|
|
202
|
+
<pane id="Scratches" />
|
|
203
|
+
<pane id="Scope" />
|
|
204
|
+
</panes>
|
|
205
|
+
</component>
|
|
206
|
+
<component name="PropertiesComponent">
|
|
207
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
208
|
+
<property name="js-jscs-nodeInterpreter" value="/usr/bin/node" />
|
|
209
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$/../../ror proj/railscast_livestream" />
|
|
210
|
+
</component>
|
|
211
|
+
<component name="RunManager" selected="Ruby.shmatgem">
|
|
212
|
+
<configuration default="false" name="shmatgem" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
|
213
|
+
<module name="shmatgem" />
|
|
214
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
215
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib" />
|
|
216
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
217
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
218
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
|
219
|
+
<envs />
|
|
220
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
|
221
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
222
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
223
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
224
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
225
|
+
</COVERAGE_PATTERN>
|
|
226
|
+
</EXTENSION>
|
|
227
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/shmatgem.rb" />
|
|
228
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
|
229
|
+
<method />
|
|
230
|
+
</configuration>
|
|
231
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
|
232
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
|
233
|
+
<module name="" />
|
|
234
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
235
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
236
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
237
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
238
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
239
|
+
<envs />
|
|
240
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
241
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
242
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
243
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
244
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
245
|
+
</COVERAGE_PATTERN>
|
|
246
|
+
</EXTENSION>
|
|
247
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
|
248
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
249
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
250
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
251
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
|
252
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
|
253
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
|
254
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
|
255
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
|
256
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
|
257
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
258
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
259
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
260
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
|
261
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
|
262
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
|
263
|
+
<method />
|
|
264
|
+
</configuration>
|
|
265
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
|
266
|
+
<method />
|
|
267
|
+
</configuration>
|
|
268
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
|
269
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
|
270
|
+
<module name="" />
|
|
271
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
272
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
273
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
274
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
275
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
276
|
+
<envs />
|
|
277
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
278
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
279
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
280
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
281
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
282
|
+
</COVERAGE_PATTERN>
|
|
283
|
+
</EXTENSION>
|
|
284
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
285
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
286
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
|
287
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
|
288
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
|
289
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
290
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
|
291
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
|
292
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
|
293
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
294
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
295
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
296
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
|
297
|
+
<method />
|
|
298
|
+
</configuration>
|
|
299
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
|
300
|
+
<module name="" />
|
|
301
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
302
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
|
303
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
304
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
305
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
|
306
|
+
<envs />
|
|
307
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
308
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
309
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
310
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
311
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
312
|
+
</COVERAGE_PATTERN>
|
|
313
|
+
</EXTENSION>
|
|
314
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
|
315
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
|
316
|
+
<method />
|
|
317
|
+
</configuration>
|
|
318
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
|
319
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
|
320
|
+
<module name="" />
|
|
321
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
322
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
323
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
324
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
325
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
326
|
+
<envs />
|
|
327
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
328
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
329
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
330
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
331
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
332
|
+
</COVERAGE_PATTERN>
|
|
333
|
+
</EXTENSION>
|
|
334
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
335
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
336
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
|
337
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
|
338
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
339
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
340
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
341
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
342
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
|
343
|
+
<method />
|
|
344
|
+
</configuration>
|
|
345
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
|
346
|
+
<node-options />
|
|
347
|
+
<gulpfile />
|
|
348
|
+
<tasks />
|
|
349
|
+
<arguments />
|
|
350
|
+
<envs />
|
|
351
|
+
<method />
|
|
352
|
+
</configuration>
|
|
353
|
+
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
|
|
354
|
+
<command value="run-script" />
|
|
355
|
+
<scripts />
|
|
356
|
+
<envs />
|
|
357
|
+
<method />
|
|
358
|
+
</configuration>
|
|
359
|
+
<list size="1">
|
|
360
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.shmatgem" />
|
|
361
|
+
</list>
|
|
362
|
+
<recent_temporary>
|
|
363
|
+
<list size="1">
|
|
364
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.shmatgem" />
|
|
365
|
+
</list>
|
|
366
|
+
</recent_temporary>
|
|
367
|
+
</component>
|
|
368
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
|
369
|
+
<component name="TaskManager">
|
|
370
|
+
<task active="true" id="Default" summary="Default task">
|
|
371
|
+
<changelist id="ddde81cd-f18e-4e13-a436-8856520a666e" name="Default" comment="" />
|
|
372
|
+
<created>1456311151280</created>
|
|
373
|
+
<option name="number" value="Default" />
|
|
374
|
+
<updated>1456311151280</updated>
|
|
375
|
+
</task>
|
|
376
|
+
<servers />
|
|
377
|
+
</component>
|
|
378
|
+
<component name="ToolWindowManager">
|
|
379
|
+
<frame x="49" y="-4" width="1631" height="1054" extended-state="6" />
|
|
380
|
+
<editor active="true" />
|
|
381
|
+
<layout>
|
|
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" />
|
|
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" />
|
|
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" />
|
|
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" />
|
|
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" />
|
|
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" />
|
|
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" />
|
|
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" />
|
|
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" />
|
|
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" />
|
|
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" />
|
|
399
|
+
</layout>
|
|
400
|
+
</component>
|
|
401
|
+
<component name="VcsContentAnnotationSettings">
|
|
402
|
+
<option name="myLimit" value="2678400000" />
|
|
403
|
+
</component>
|
|
404
|
+
<component name="XDebuggerManager">
|
|
405
|
+
<breakpoint-manager />
|
|
406
|
+
<watches-manager />
|
|
407
|
+
</component>
|
|
408
|
+
<component name="editorHistoryManager">
|
|
409
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem.rb">
|
|
410
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
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" />
|
|
413
|
+
<folding />
|
|
414
|
+
</state>
|
|
415
|
+
</provider>
|
|
416
|
+
</entry>
|
|
417
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem/version.rb">
|
|
418
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
419
|
+
<state vertical-scroll-proportion="0.0">
|
|
420
|
+
<caret line="1" column="16" selection-start-line="1" selection-start-column="16" selection-end-line="1" selection-end-column="16" />
|
|
421
|
+
<folding />
|
|
422
|
+
</state>
|
|
423
|
+
</provider>
|
|
424
|
+
</entry>
|
|
425
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem/Pics.rb">
|
|
426
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
427
|
+
<state vertical-scroll-proportion="0.0">
|
|
428
|
+
<caret line="155" column="1" selection-start-line="155" selection-start-column="1" selection-end-line="155" selection-end-column="1" />
|
|
429
|
+
<folding />
|
|
430
|
+
</state>
|
|
431
|
+
</provider>
|
|
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$/shmatgem.gemspec">
|
|
442
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
443
|
+
<state vertical-scroll-proportion="0.0">
|
|
444
|
+
<caret line="15" column="49" selection-start-line="15" selection-start-column="49" selection-end-line="15" selection-end-column="49" />
|
|
445
|
+
<folding />
|
|
446
|
+
</state>
|
|
447
|
+
</provider>
|
|
448
|
+
</entry>
|
|
449
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem/Colorize.rb">
|
|
450
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
451
|
+
<state vertical-scroll-proportion="0.0">
|
|
452
|
+
<caret line="16" column="46" selection-start-line="16" selection-start-column="46" selection-end-line="16" selection-end-column="46" />
|
|
453
|
+
<folding />
|
|
454
|
+
</state>
|
|
455
|
+
</provider>
|
|
456
|
+
</entry>
|
|
457
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem.rb">
|
|
458
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
459
|
+
<state vertical-scroll-proportion="0.0">
|
|
460
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
461
|
+
<folding />
|
|
462
|
+
</state>
|
|
463
|
+
</provider>
|
|
464
|
+
</entry>
|
|
465
|
+
<entry file="file://$PROJECT_DIR$/lib/shmatgem/version.rb">
|
|
466
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
467
|
+
<state vertical-scroll-proportion="0.018967334">
|
|
468
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
|
469
|
+
<folding />
|
|
470
|
+
</state>
|
|
471
|
+
</provider>
|
|
472
|
+
</entry>
|
|
473
|
+
</component>
|
|
474
|
+
</project>
|
data/Gemfile
ADDED
data/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Shmatgem
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
Add this line to your application's Gemfile:
|
|
6
|
+
|
|
7
|
+
```ruby
|
|
8
|
+
gem 'shmatgem'
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
And then execute:
|
|
12
|
+
|
|
13
|
+
$ bundle install
|
|
14
|
+
|
|
15
|
+
Or install it yourself as:
|
|
16
|
+
|
|
17
|
+
$ gem install shmatgem
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
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
|
+
```
|
|
32
|
+
|
|
33
|
+
## Development
|
|
34
|
+
|
|
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.
|
|
36
|
+
|
|
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).
|
data/Rakefile
ADDED
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "shmatgem"
|
|
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
|
data/bin/setup
ADDED
|
@@ -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.rb
ADDED
data/shmatgem-0.1.0.gem
ADDED
|
File without changes
|
data/shmatgem-0.3.0.gem
ADDED
|
Binary file
|
data/shmatgem.gemspec
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'shmatgem/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "shmatgem"
|
|
8
|
+
spec.version = Shmatgem::VERSION
|
|
9
|
+
spec.authors = ["Andrey Shmatko"]
|
|
10
|
+
spec.email = ["shmatuan@gmail.com"]
|
|
11
|
+
|
|
12
|
+
# if spec.respond_to?(:metadata)
|
|
13
|
+
# spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
14
|
+
# end
|
|
15
|
+
|
|
16
|
+
spec.summary = %q{Colorize and some pics}
|
|
17
|
+
spec.description = %q{Colorize puts and some char pics onload.}
|
|
18
|
+
spec.homepage = "https://github.com/ShmatkoAndrey/smatgem"
|
|
19
|
+
spec.license = "MIT"
|
|
20
|
+
|
|
21
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
22
|
+
spec.bindir = "exe"
|
|
23
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
24
|
+
spec.require_paths = ["lib"]
|
|
25
|
+
|
|
26
|
+
spec.add_development_dependency "bundler", "~> 1.8"
|
|
27
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
28
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: shmatgem
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.9
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Andrey Shmatko
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2016-02-24 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: bundler
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.8'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '1.8'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rake
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '10.0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '10.0'
|
|
41
|
+
description: Colorize puts and some char pics onload.
|
|
42
|
+
email:
|
|
43
|
+
- shmatuan@gmail.com
|
|
44
|
+
executables: []
|
|
45
|
+
extensions: []
|
|
46
|
+
extra_rdoc_files: []
|
|
47
|
+
files:
|
|
48
|
+
- ".gitignore"
|
|
49
|
+
- ".gitignore~"
|
|
50
|
+
- ".idea/.name"
|
|
51
|
+
- ".idea/encodings.xml"
|
|
52
|
+
- ".idea/misc.xml"
|
|
53
|
+
- ".idea/modules.xml"
|
|
54
|
+
- ".idea/shmatgem.iml"
|
|
55
|
+
- ".idea/workspace.xml"
|
|
56
|
+
- Gemfile
|
|
57
|
+
- README.md
|
|
58
|
+
- Rakefile
|
|
59
|
+
- bin/console
|
|
60
|
+
- bin/setup
|
|
61
|
+
- lib/shmatgem.rb
|
|
62
|
+
- lib/shmatgem/Colorize.rb
|
|
63
|
+
- lib/shmatgem/Pics.rb
|
|
64
|
+
- lib/shmatgem/version.rb
|
|
65
|
+
- shmatgem-0.1.0.gem
|
|
66
|
+
- shmatgem-0.3.0.gem
|
|
67
|
+
- shmatgem.gemspec
|
|
68
|
+
homepage: https://github.com/ShmatkoAndrey/smatgem
|
|
69
|
+
licenses:
|
|
70
|
+
- MIT
|
|
71
|
+
metadata: {}
|
|
72
|
+
post_install_message:
|
|
73
|
+
rdoc_options: []
|
|
74
|
+
require_paths:
|
|
75
|
+
- lib
|
|
76
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
|
+
requirements:
|
|
78
|
+
- - ">="
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: '0'
|
|
81
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
|
+
requirements:
|
|
83
|
+
- - ">="
|
|
84
|
+
- !ruby/object:Gem::Version
|
|
85
|
+
version: '0'
|
|
86
|
+
requirements: []
|
|
87
|
+
rubyforge_project:
|
|
88
|
+
rubygems_version: 2.4.8
|
|
89
|
+
signing_key:
|
|
90
|
+
specification_version: 4
|
|
91
|
+
summary: Colorize and some pics
|
|
92
|
+
test_files: []
|