codebreaker_vk 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ff065887f211b38d23cb388e37d9b73bd16caea4de50d78300d81261846b9a5b
4
+ data.tar.gz: a763b4c5d9ab6ff975486d05f4f93f5afad9f52d5cb6f5995360f32b246c91ad
5
+ SHA512:
6
+ metadata.gz: 2c38a67970ee321cd897ca9564ad0272700bac04d3316aa3ee0cfaa18476d80836f2ead932389b4a9d8d7d8a8ca896ec47dffef8ebe947f0d3bf2a89d48c15b3
7
+ data.tar.gz: 99166882e656fbc58c824d32a6214018cb59f314cd288533b187f635de8a0ef6ffc501ded965f2c3a3d606a68f03ff9abefbf5c3e44f01c91d8332677f022bd0
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.idea/.rakeTasks ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Settings><!--This file was automatically generated by Ruby plugin.
3
+ You are allowed to:
4
+ 1. Remove rake task
5
+ 2. Add existing rake tasks
6
+ To add existing rake tasks automatically delete this file and reload the project.
7
+ --><RakeGroup description="" fullCmd="" taksId="rake" /></Settings>
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="ModuleRunConfigurationManager">
4
+ <shared />
5
+ </component>
6
+ <component name="NewModuleRootManager">
7
+ <content url="file://$MODULE_DIR$" />
8
+ <orderEntry type="inheritedJdk" />
9
+ <orderEntry type="sourceFolder" forTests="false" />
10
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v2.0.2, ruby-2.3.7-p456) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, ruby-2.3.7-p456) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="fasterer (v0.5.1, ruby-2.3.7-p456) [gem]" level="application" />
13
+ <orderEntry type="library" scope="PROVIDED" name="overcommit (v0.48.1, ruby-2.3.7-p456) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="pry (v0.12.2, ruby-2.3.7-p456) [gem]" level="application" />
15
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, ruby-2.3.7-p456) [gem]" level="application" />
16
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v3.8.0, ruby-2.3.7-p456) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.8.2, ruby-2.3.7-p456) [gem]" level="application" />
18
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.8.4, ruby-2.3.7-p456) [gem]" level="application" />
19
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.8.1, ruby-2.3.7-p456) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.8.2, ruby-2.3.7-p456) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="rubocop (v0.70.0, ruby-2.3.7-p456) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="rubocop-performance (v1.4.0, ruby-2.3.7-p456) [gem]" level="application" />
23
+ <orderEntry type="library" scope="PROVIDED" name="rubocop-rspec (v1.33.0, ruby-2.3.7-p456) [gem]" level="application" />
24
+ <orderEntry type="library" scope="PROVIDED" name="simplecov (v0.16.1, ruby-2.3.7-p456) [gem]" level="application" />
25
+ </component>
26
+ </module>
data/.idea/misc.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="JavaScriptSettings">
4
+ <option name="languageLevel" value="ES6" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.3.7-p456" project-jdk-type="RUBY_SDK" />
7
+ </project>
data/.idea/modules.xml ADDED
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/codebreaker_vk.iml" filepath="$PROJECT_DIR$/.idea/codebreaker_vk.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,263 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="6a8131cf-cac3-4900-8aba-05a2d544b668" name="Default Changelist" comment="">
5
+ <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6
+ </list>
7
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
+ <option name="SHOW_DIALOG" value="false" />
9
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
+ <option name="LAST_RESOLUTION" value="IGNORE" />
12
+ </component>
13
+ <component name="FUSProjectUsageTrigger">
14
+ <session id="-2059431398">
15
+ <usages-collector id="statistics.lifecycle.project">
16
+ <counts>
17
+ <entry key="project.closed" value="1" />
18
+ <entry key="project.open.time.0" value="2" />
19
+ <entry key="project.opened" value="2" />
20
+ </counts>
21
+ </usages-collector>
22
+ <usages-collector id="statistics.file.extensions.open">
23
+ <counts>
24
+ <entry key="console" value="1" />
25
+ <entry key="gemspec" value="1" />
26
+ <entry key="lock" value="1" />
27
+ <entry key="md" value="1" />
28
+ <entry key="rb" value="1" />
29
+ <entry key="setup" value="1" />
30
+ </counts>
31
+ </usages-collector>
32
+ <usages-collector id="statistics.file.types.open">
33
+ <counts>
34
+ <entry key="Markdown" value="1" />
35
+ <entry key="PLAIN_TEXT" value="2" />
36
+ <entry key="Ruby" value="3" />
37
+ </counts>
38
+ </usages-collector>
39
+ <usages-collector id="statistics.file.extensions.edit">
40
+ <counts>
41
+ <entry key="gemspec" value="15" />
42
+ <entry key="md" value="1" />
43
+ </counts>
44
+ </usages-collector>
45
+ <usages-collector id="statistics.file.types.edit">
46
+ <counts>
47
+ <entry key="Markdown" value="1" />
48
+ <entry key="Ruby" value="15" />
49
+ </counts>
50
+ </usages-collector>
51
+ </session>
52
+ </component>
53
+ <component name="FileEditorManager">
54
+ <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
55
+ <file pinned="false" current-in-tab="false">
56
+ <entry file="file://$PROJECT_DIR$/README.md">
57
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
58
+ <state split_layout="SPLIT">
59
+ <first_editor relative-caret-position="255">
60
+ <caret line="17" selection-start-line="17" selection-end-line="17" />
61
+ </first_editor>
62
+ <second_editor />
63
+ </state>
64
+ </provider>
65
+ </entry>
66
+ </file>
67
+ <file pinned="false" current-in-tab="false">
68
+ <entry file="file://$PROJECT_DIR$/codebreaker_vk.gemspec">
69
+ <provider selected="true" editor-type-id="text-editor">
70
+ <state relative-caret-position="90">
71
+ <caret line="6" column="15" selection-start-line="6" selection-start-column="15" selection-end-line="6" selection-end-column="15" />
72
+ </state>
73
+ </provider>
74
+ </entry>
75
+ </file>
76
+ <file pinned="false" current-in-tab="false">
77
+ <entry file="file://$PROJECT_DIR$/bin/console">
78
+ <provider selected="true" editor-type-id="text-editor" />
79
+ </entry>
80
+ </file>
81
+ <file pinned="false" current-in-tab="false">
82
+ <entry file="file://$PROJECT_DIR$/bin/setup">
83
+ <provider selected="true" editor-type-id="text-editor" />
84
+ </entry>
85
+ </file>
86
+ <file pinned="false" current-in-tab="true">
87
+ <entry file="file://$PROJECT_DIR$/lib/codebreaker_vk/version.rb">
88
+ <provider selected="true" editor-type-id="text-editor">
89
+ <state relative-caret-position="15">
90
+ <caret line="1" column="18" lean-forward="true" selection-start-line="1" selection-start-column="13" selection-end-line="1" selection-end-column="18" />
91
+ </state>
92
+ </provider>
93
+ </entry>
94
+ </file>
95
+ <file pinned="false" current-in-tab="false">
96
+ <entry file="file://$PROJECT_DIR$/Gemfile.lock">
97
+ <provider selected="true" editor-type-id="text-editor" />
98
+ </entry>
99
+ </file>
100
+ </leaf>
101
+ </component>
102
+ <component name="Git.Settings">
103
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
104
+ </component>
105
+ <component name="IdeDocumentHistory">
106
+ <option name="CHANGED_PATHS">
107
+ <list>
108
+ <option value="$PROJECT_DIR$/README.md" />
109
+ <option value="$PROJECT_DIR$/codebreaker_vk.gemspec" />
110
+ </list>
111
+ </option>
112
+ </component>
113
+ <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
114
+ <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
115
+ <component name="JsGulpfileManager">
116
+ <detection-done>true</detection-done>
117
+ <sorting>DEFINITION_ORDER</sorting>
118
+ </component>
119
+ <component name="ProjectFrameBounds">
120
+ <option name="x" value="509" />
121
+ <option name="y" value="29" />
122
+ <option name="width" value="931" />
123
+ <option name="height" value="805" />
124
+ </component>
125
+ <component name="ProjectView">
126
+ <navigator proportions="" version="1">
127
+ <foldersAlwaysOnTop value="true" />
128
+ </navigator>
129
+ <panes>
130
+ <pane id="ProjectPane">
131
+ <subPane>
132
+ <expand>
133
+ <path>
134
+ <item name="codebreaker_vk" type="b2602c69:ProjectViewProjectNode" />
135
+ <item name="codebreaker_vk" type="462c0819:PsiDirectoryNode" />
136
+ </path>
137
+ <path>
138
+ <item name="codebreaker_vk" type="b2602c69:ProjectViewProjectNode" />
139
+ <item name="codebreaker_vk" type="462c0819:PsiDirectoryNode" />
140
+ <item name="bin" type="462c0819:PsiDirectoryNode" />
141
+ </path>
142
+ <path>
143
+ <item name="codebreaker_vk" type="b2602c69:ProjectViewProjectNode" />
144
+ <item name="codebreaker_vk" type="462c0819:PsiDirectoryNode" />
145
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
146
+ </path>
147
+ <path>
148
+ <item name="codebreaker_vk" type="b2602c69:ProjectViewProjectNode" />
149
+ <item name="codebreaker_vk" type="462c0819:PsiDirectoryNode" />
150
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
151
+ <item name="codebreaker_vk" type="462c0819:PsiDirectoryNode" />
152
+ </path>
153
+ </expand>
154
+ <select />
155
+ </subPane>
156
+ </pane>
157
+ <pane id="Scope" />
158
+ </panes>
159
+ </component>
160
+ <component name="PropertiesComponent">
161
+ <property name="WebServerToolWindowFactoryState" value="false" />
162
+ <property name="last_opened_file_path" value="$PROJECT_DIR$" />
163
+ <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
164
+ <property name="nodejs_npm_path_reset_for_default_project" value="true" />
165
+ </component>
166
+ <component name="RunDashboard">
167
+ <option name="ruleStates">
168
+ <list>
169
+ <RuleState>
170
+ <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
171
+ </RuleState>
172
+ <RuleState>
173
+ <option name="name" value="StatusDashboardGroupingRule" />
174
+ </RuleState>
175
+ </list>
176
+ </option>
177
+ </component>
178
+ <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
179
+ <component name="SvnConfiguration">
180
+ <configuration />
181
+ </component>
182
+ <component name="TaskManager">
183
+ <task active="true" id="Default" summary="Default task">
184
+ <changelist id="6a8131cf-cac3-4900-8aba-05a2d544b668" name="Default Changelist" comment="" />
185
+ <created>1563268081514</created>
186
+ <option name="number" value="Default" />
187
+ <option name="presentableId" value="Default" />
188
+ <updated>1563268081514</updated>
189
+ <workItem from="1563268082708" duration="1449000" />
190
+ <workItem from="1563269944398" duration="267000" />
191
+ </task>
192
+ <servers />
193
+ </component>
194
+ <component name="TimeTrackingManager">
195
+ <option name="totallyTimeSpent" value="1716000" />
196
+ </component>
197
+ <component name="ToolWindowManager">
198
+ <frame x="509" y="29" width="931" height="805" extended-state="0" />
199
+ <layout>
200
+ <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.25534308" />
201
+ <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
202
+ <window_info id="Favorites" order="2" side_tool="true" />
203
+ <window_info anchor="bottom" id="Message" order="0" />
204
+ <window_info anchor="bottom" id="Find" order="1" />
205
+ <window_info anchor="bottom" id="Run" order="2" />
206
+ <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
207
+ <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
208
+ <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
209
+ <window_info anchor="bottom" id="TODO" order="6" />
210
+ <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
211
+ <window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
212
+ <window_info anchor="bottom" id="Version Control" order="9" show_stripe_button="false" />
213
+ <window_info active="true" anchor="bottom" id="Terminal" order="10" visible="true" weight="0.3286517" />
214
+ <window_info anchor="bottom" id="Event Log" order="11" side_tool="true" />
215
+ <window_info anchor="bottom" id="Messages" order="12" weight="0.3286517" />
216
+ <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
217
+ <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
218
+ <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
219
+ <window_info anchor="right" id="Database" order="3" />
220
+ </layout>
221
+ </component>
222
+ <component name="TypeScriptGeneratedFilesManager">
223
+ <option name="version" value="1" />
224
+ </component>
225
+ <component name="VcsContentAnnotationSettings">
226
+ <option name="myLimit" value="2678400000" />
227
+ </component>
228
+ <component name="editorHistoryManager">
229
+ <entry file="file://$PROJECT_DIR$/README.md">
230
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
231
+ <state split_layout="SPLIT">
232
+ <first_editor relative-caret-position="255">
233
+ <caret line="17" selection-start-line="17" selection-end-line="17" />
234
+ </first_editor>
235
+ <second_editor />
236
+ </state>
237
+ </provider>
238
+ </entry>
239
+ <entry file="file://$PROJECT_DIR$/Gemfile.lock">
240
+ <provider selected="true" editor-type-id="text-editor" />
241
+ </entry>
242
+ <entry file="file://$PROJECT_DIR$/codebreaker_vk.gemspec">
243
+ <provider selected="true" editor-type-id="text-editor">
244
+ <state relative-caret-position="90">
245
+ <caret line="6" column="15" selection-start-line="6" selection-start-column="15" selection-end-line="6" selection-end-column="15" />
246
+ </state>
247
+ </provider>
248
+ </entry>
249
+ <entry file="file://$PROJECT_DIR$/bin/console">
250
+ <provider selected="true" editor-type-id="text-editor" />
251
+ </entry>
252
+ <entry file="file://$PROJECT_DIR$/bin/setup">
253
+ <provider selected="true" editor-type-id="text-editor" />
254
+ </entry>
255
+ <entry file="file://$PROJECT_DIR$/lib/codebreaker_vk/version.rb">
256
+ <provider selected="true" editor-type-id="text-editor">
257
+ <state relative-caret-position="15">
258
+ <caret line="1" column="18" lean-forward="true" selection-start-line="1" selection-start-column="13" selection-end-line="1" selection-end-column="18" />
259
+ </state>
260
+ </provider>
261
+ </entry>
262
+ </component>
263
+ </project>
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.3
7
+ before_install: gem install bundler -v 2.0.2
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at vjk1976@ukr.net. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in codebreaker_vk.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,35 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ codebreaker_vk (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.3)
10
+ rake (10.5.0)
11
+ rspec (3.8.0)
12
+ rspec-core (~> 3.8.0)
13
+ rspec-expectations (~> 3.8.0)
14
+ rspec-mocks (~> 3.8.0)
15
+ rspec-core (3.8.2)
16
+ rspec-support (~> 3.8.0)
17
+ rspec-expectations (3.8.4)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.8.0)
20
+ rspec-mocks (3.8.1)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.8.0)
23
+ rspec-support (3.8.2)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ bundler (~> 2.0)
30
+ codebreaker_vk!
31
+ rake (~> 10.0)
32
+ rspec (~> 3.0)
33
+
34
+ BUNDLED WITH
35
+ 2.0.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 VKuzmich
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # CodebreakerVk
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/codebreaker_vk`. 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
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'codebreaker_vk'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install codebreaker_vk
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
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`, which will 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
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/codebreaker_vk. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the CodebreakerVk project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/codebreaker_vk/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "codebreaker_vk"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path("lib", __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require "codebreaker_vk/version"
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "codebreaker_vk"
9
+ spec.version = CodebreakerVk::VERSION
10
+ spec.authors = ["VKuzmich"]
11
+ spec.email = ["vjk1976@ukr.net"]
12
+
13
+ spec.summary = 'Codebreaker game'
14
+ spec.description = 'Game for everyone who likes to play.'
15
+ spec.homepage = 'https://github.com/VKuzmich/codebreaker_vk'
16
+ spec.license = 'MIT'
17
+
18
+
19
+ # Specify which files should be added to the gem when it is released.
20
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
21
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
22
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
+ end
24
+ spec.bindir = "exe"
25
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ["lib"]
27
+
28
+ spec.add_development_dependency 'bundler', '~> 2.0'
29
+ spec.add_development_dependency 'fasterer', '~> 0.5.1'
30
+ spec.add_development_dependency 'overcommit', '~> 0.48.0'
31
+ spec.add_development_dependency 'pry', '~> 0.12.2'
32
+ spec.add_development_dependency 'rake', '~> 10.0'
33
+ spec.add_development_dependency 'rspec', '~> 3.8'
34
+ spec.add_development_dependency 'rubocop', '~> 0.70.0'
35
+ spec.add_development_dependency 'rubocop-performance', '~> 1.3'
36
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.33'
37
+ spec.add_development_dependency 'simplecov', '~> 0.16.1'
38
+ end
@@ -0,0 +1,3 @@
1
+ module CodebreakerVk
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,6 @@
1
+ require "codebreaker_vk/version"
2
+
3
+ module CodebreakerVk
4
+ class Error < StandardError; end
5
+ # Your code goes here...
6
+ end
metadata ADDED
@@ -0,0 +1,203 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: codebreaker_vk
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - VKuzmich
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-07-16 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: '2.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: fasterer
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.5.1
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.5.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: overcommit
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.48.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.48.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.12.2
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.12.2
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.8'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.8'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.70.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.70.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-performance
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.3'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.3'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '1.33'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '1.33'
139
+ - !ruby/object:Gem::Dependency
140
+ name: simplecov
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 0.16.1
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 0.16.1
153
+ description: Game for everyone who likes to play.
154
+ email:
155
+ - vjk1976@ukr.net
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".idea/.rakeTasks"
162
+ - ".idea/codebreaker_vk.iml"
163
+ - ".idea/misc.xml"
164
+ - ".idea/modules.xml"
165
+ - ".idea/vcs.xml"
166
+ - ".idea/workspace.xml"
167
+ - ".rspec"
168
+ - ".travis.yml"
169
+ - CODE_OF_CONDUCT.md
170
+ - Gemfile
171
+ - Gemfile.lock
172
+ - LICENSE.txt
173
+ - README.md
174
+ - Rakefile
175
+ - bin/console
176
+ - bin/setup
177
+ - codebreaker_vk.gemspec
178
+ - lib/codebreaker_vk.rb
179
+ - lib/codebreaker_vk/version.rb
180
+ homepage: https://github.com/VKuzmich/codebreaker_vk
181
+ licenses:
182
+ - MIT
183
+ metadata: {}
184
+ post_install_message:
185
+ rdoc_options: []
186
+ require_paths:
187
+ - lib
188
+ required_ruby_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ required_rubygems_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ requirements: []
199
+ rubygems_version: 3.0.3
200
+ signing_key:
201
+ specification_version: 4
202
+ summary: Codebreaker game
203
+ test_files: []