mega_loto 0.1.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 +7 -0
- data/.gitignore +8 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/inspectionProfiles/Project_Default.xml +6 -0
- data/.idea/mega_loto.iml +22 -0
- data/.idea/misc.xml +7 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +506 -0
- data/.rspec +1 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/mega_loto.rb +11 -0
- data/lib/mega_loto/drawing.rb +14 -0
- data/lib/mega_loto/version.rb +3 -0
- data/mega_loto.gemspec +31 -0
- metadata +119 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: be04dae8b33eba69b6bf8687538c0e9494200589d2383ffd7bb765c80d04894c
|
4
|
+
data.tar.gz: ef012af1d5bf6dad1504f51e9f40693fe37962e44c671d5d3246889fc9ba8363
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 46f9b34b29a3124e3967d539ae8af56c7bf9f5ab541e1d9a77cf74e673e0182ca5442e64b19c7040382618100be39a6ed326f347ae55bfda48b924b835bd8369
|
7
|
+
data.tar.gz: 67bf13e59dd3f510de0c7c6b8770dabeb56155141a5a1bfd67ad13ca76f716997afc5bcb1cc040a1b22798d3f8862abf5727436feecfdeaca68b82cf4e545245
|
data/.gitignore
ADDED
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"><RakeTask description="Build mega_loto-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install mega_loto-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install mega_loto-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push mega_loto-0.1.0.gem to TODO: Set to 'http://mygemserver.com'" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="console" taksId="console" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
|
data/.idea/mega_loto.iml
ADDED
@@ -0,0 +1,22 @@
|
|
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="jdk" jdkName="ruby-2.6.6-p146" jdkType="RUBY_SDK" />
|
9
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
10
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.17.3, ruby-2.6.6-p146) [gem]" level="application" />
|
11
|
+
<orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.3, ruby-2.6.6-p146) [gem]" level="application" />
|
12
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, ruby-2.6.6-p146) [gem]" level="application" />
|
13
|
+
<orderEntry type="library" scope="PROVIDED" name="method_source (v1.0.0, ruby-2.6.6-p146) [gem]" level="application" />
|
14
|
+
<orderEntry type="library" scope="PROVIDED" name="pry (v0.13.1, ruby-2.6.6-p146) [gem]" level="application" />
|
15
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v12.3.3, ruby-2.6.6-p146) [gem]" level="application" />
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.9.0, ruby-2.6.6-p146) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.9.2, ruby-2.6.6-p146) [gem]" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.9.2, ruby-2.6.6-p146) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.9.1, ruby-2.6.6-p146) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.9.3, ruby-2.6.6-p146) [gem]" level="application" />
|
21
|
+
</component>
|
22
|
+
</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.6.3-p62" 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/mega_loto.iml" filepath="$PROJECT_DIR$/.idea/mega_loto.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,506 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="08b5801e-1cf4-40af-be2c-157db5f73295" name="Default Changelist" comment="">
|
5
|
+
<change beforePath="$PROJECT_DIR$/mega_loto.gemspec" beforeDir="false" afterPath="$PROJECT_DIR$/mega_loto.gemspec" 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="FileEditorManager">
|
14
|
+
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
15
|
+
<file pinned="false" current-in-tab="false">
|
16
|
+
<entry file="file://$PROJECT_DIR$/lib/mega_loto.rb">
|
17
|
+
<provider selected="true" editor-type-id="text-editor">
|
18
|
+
<state relative-caret-position="105">
|
19
|
+
<caret line="7" selection-start-line="7" selection-end-line="7" />
|
20
|
+
</state>
|
21
|
+
</provider>
|
22
|
+
</entry>
|
23
|
+
</file>
|
24
|
+
<file pinned="false" current-in-tab="false">
|
25
|
+
<entry file="file://$PROJECT_DIR$/spec/drawing_spec.rb">
|
26
|
+
<provider selected="true" editor-type-id="text-editor">
|
27
|
+
<state relative-caret-position="135">
|
28
|
+
<caret line="9" column="33" selection-start-line="9" selection-start-column="33" selection-end-line="9" selection-end-column="33" />
|
29
|
+
</state>
|
30
|
+
</provider>
|
31
|
+
</entry>
|
32
|
+
</file>
|
33
|
+
<file pinned="false" current-in-tab="false">
|
34
|
+
<entry file="file://$PROJECT_DIR$/lib/mega_loto/drawing.rb">
|
35
|
+
<provider selected="true" editor-type-id="text-editor">
|
36
|
+
<state relative-caret-position="210">
|
37
|
+
<caret line="14" selection-start-line="14" selection-end-line="14" />
|
38
|
+
</state>
|
39
|
+
</provider>
|
40
|
+
</entry>
|
41
|
+
</file>
|
42
|
+
<file pinned="false" current-in-tab="false">
|
43
|
+
<entry file="file://$PROJECT_DIR$/lib/mega_loto/version.rb">
|
44
|
+
<provider selected="true" editor-type-id="text-editor" />
|
45
|
+
</entry>
|
46
|
+
</file>
|
47
|
+
<file pinned="false" current-in-tab="true">
|
48
|
+
<entry file="file://$PROJECT_DIR$/mega_loto.gemspec">
|
49
|
+
<provider selected="true" editor-type-id="text-editor">
|
50
|
+
<state relative-caret-position="165">
|
51
|
+
<caret line="11" column="45" lean-forward="true" selection-start-line="11" selection-start-column="45" selection-end-line="11" selection-end-column="45" />
|
52
|
+
</state>
|
53
|
+
</provider>
|
54
|
+
</entry>
|
55
|
+
</file>
|
56
|
+
<file pinned="false" current-in-tab="false">
|
57
|
+
<entry file="file:///Library/Ruby/Gems/2.6.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb">
|
58
|
+
<provider selected="true" editor-type-id="text-editor">
|
59
|
+
<state relative-caret-position="31635">
|
60
|
+
<caret line="2109" column="52" selection-start-line="2109" selection-start-column="52" selection-end-line="2109" selection-end-column="52" />
|
61
|
+
</state>
|
62
|
+
</provider>
|
63
|
+
</entry>
|
64
|
+
</file>
|
65
|
+
<file pinned="false" current-in-tab="false">
|
66
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
67
|
+
<provider selected="true" editor-type-id="text-editor">
|
68
|
+
<state relative-caret-position="291">
|
69
|
+
<caret line="69" column="23" selection-start-line="69" selection-start-column="23" selection-end-line="69" selection-end-column="23" />
|
70
|
+
</state>
|
71
|
+
</provider>
|
72
|
+
</entry>
|
73
|
+
</file>
|
74
|
+
<file pinned="false" current-in-tab="false">
|
75
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
76
|
+
<provider selected="true" editor-type-id="text-editor">
|
77
|
+
<state relative-caret-position="135">
|
78
|
+
<caret line="9" column="3" selection-start-line="9" selection-start-column="3" selection-end-line="9" selection-end-column="3" />
|
79
|
+
</state>
|
80
|
+
</provider>
|
81
|
+
</entry>
|
82
|
+
</file>
|
83
|
+
</leaf>
|
84
|
+
</component>
|
85
|
+
<component name="FileTemplateManagerImpl">
|
86
|
+
<option name="RECENT_TEMPLATES">
|
87
|
+
<list>
|
88
|
+
<option value="Ruby File" />
|
89
|
+
<option value="RSpec Template" />
|
90
|
+
</list>
|
91
|
+
</option>
|
92
|
+
</component>
|
93
|
+
<component name="Git.Settings">
|
94
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
95
|
+
</component>
|
96
|
+
<component name="IdeDocumentHistory">
|
97
|
+
<option name="CHANGED_PATHS">
|
98
|
+
<list>
|
99
|
+
<option value="$PROJECT_DIR$/spec/spec_helper.rb" />
|
100
|
+
<option value="$PROJECT_DIR$/Rakefile" />
|
101
|
+
<option value="$PROJECT_DIR$/lib/mega_loto.rb" />
|
102
|
+
<option value="$PROJECT_DIR$/spec/drawing_spec.rb" />
|
103
|
+
<option value="$PROJECT_DIR$/lib/mega_loto/drawing.rb" />
|
104
|
+
<option value="$PROJECT_DIR$/mega_loto.gemspec" />
|
105
|
+
</list>
|
106
|
+
</option>
|
107
|
+
</component>
|
108
|
+
<component name="ProjectConfigurationFiles">
|
109
|
+
<option name="files">
|
110
|
+
<list>
|
111
|
+
<option value="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" />
|
112
|
+
<option value="$PROJECT_DIR$/.idea/mega_loto.iml" />
|
113
|
+
<option value="$PROJECT_DIR$/.idea/vcs.xml" />
|
114
|
+
<option value="$PROJECT_DIR$/.idea/misc.xml" />
|
115
|
+
<option value="$PROJECT_DIR$/.idea/modules.xml" />
|
116
|
+
<option value="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" />
|
117
|
+
</list>
|
118
|
+
</option>
|
119
|
+
</component>
|
120
|
+
<component name="ProjectFrameBounds">
|
121
|
+
<option name="x" value="11" />
|
122
|
+
<option name="y" value="47" />
|
123
|
+
<option name="width" value="1400" />
|
124
|
+
<option name="height" value="1000" />
|
125
|
+
</component>
|
126
|
+
<component name="ProjectView">
|
127
|
+
<navigator proportions="" version="1">
|
128
|
+
<foldersAlwaysOnTop value="true" />
|
129
|
+
</navigator>
|
130
|
+
<panes>
|
131
|
+
<pane id="Scope" />
|
132
|
+
<pane id="ProjectPane">
|
133
|
+
<subPane>
|
134
|
+
<expand>
|
135
|
+
<path>
|
136
|
+
<item name="mega_loto" type="b2602c69:ProjectViewProjectNode" />
|
137
|
+
<item name="mega_loto" type="462c0819:PsiDirectoryNode" />
|
138
|
+
</path>
|
139
|
+
<path>
|
140
|
+
<item name="mega_loto" type="b2602c69:ProjectViewProjectNode" />
|
141
|
+
<item name="mega_loto" type="462c0819:PsiDirectoryNode" />
|
142
|
+
<item name="bin" type="462c0819:PsiDirectoryNode" />
|
143
|
+
</path>
|
144
|
+
<path>
|
145
|
+
<item name="mega_loto" type="b2602c69:ProjectViewProjectNode" />
|
146
|
+
<item name="mega_loto" type="462c0819:PsiDirectoryNode" />
|
147
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
148
|
+
</path>
|
149
|
+
<path>
|
150
|
+
<item name="mega_loto" type="b2602c69:ProjectViewProjectNode" />
|
151
|
+
<item name="mega_loto" type="462c0819:PsiDirectoryNode" />
|
152
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
153
|
+
<item name="mega_loto" type="462c0819:PsiDirectoryNode" />
|
154
|
+
</path>
|
155
|
+
<path>
|
156
|
+
<item name="mega_loto" type="b2602c69:ProjectViewProjectNode" />
|
157
|
+
<item name="mega_loto" type="462c0819:PsiDirectoryNode" />
|
158
|
+
<item name="spec" type="462c0819:PsiDirectoryNode" />
|
159
|
+
</path>
|
160
|
+
</expand>
|
161
|
+
<select />
|
162
|
+
</subPane>
|
163
|
+
</pane>
|
164
|
+
</panes>
|
165
|
+
</component>
|
166
|
+
<component name="PropertiesComponent">
|
167
|
+
<property name="ASKED_SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
168
|
+
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
169
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
170
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
171
|
+
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
172
|
+
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
|
173
|
+
<property name="nodejs_package_manager_path" value="npm" />
|
174
|
+
<property name="settings.editor.selected.configurable" value="profiler.ruby" />
|
175
|
+
</component>
|
176
|
+
<component name="RunAnythingCache">
|
177
|
+
<option name="myCommands">
|
178
|
+
<command value="bundle install" />
|
179
|
+
</option>
|
180
|
+
</component>
|
181
|
+
<component name="RunDashboard">
|
182
|
+
<option name="ruleStates">
|
183
|
+
<list>
|
184
|
+
<RuleState>
|
185
|
+
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
186
|
+
</RuleState>
|
187
|
+
<RuleState>
|
188
|
+
<option name="name" value="StatusDashboardGroupingRule" />
|
189
|
+
</RuleState>
|
190
|
+
</list>
|
191
|
+
</option>
|
192
|
+
</component>
|
193
|
+
<component name="RunManager" selected="RSpec.Run spec 'drawing_spec': mega_loto">
|
194
|
+
<configuration name="Drawing#draw each element is an integer: mega_loto" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
195
|
+
<module name="mega_loto" />
|
196
|
+
<predefined_log_file enabled="true" id="RUBY_RSPEC" />
|
197
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
|
198
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
199
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
200
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
201
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
202
|
+
<envs>
|
203
|
+
<env name="JRUBY_OPTS" value="-X+O" />
|
204
|
+
</envs>
|
205
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
206
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
207
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
|
208
|
+
<COVERAGE_PATTERN ENABLED="true">
|
209
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
210
|
+
</COVERAGE_PATTERN>
|
211
|
+
</EXTENSION>
|
212
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
213
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/drawing_spec.rb" />
|
214
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
215
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="'**/*_spec.rb'" />
|
216
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="Drawing#draw each element is an integer" />
|
217
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
218
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
219
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
220
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
221
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
222
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
223
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
224
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
225
|
+
<method v="2" />
|
226
|
+
</configuration>
|
227
|
+
<configuration name="Drawing#draw each element is less than 60: mega_loto" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
228
|
+
<module name="mega_loto" />
|
229
|
+
<predefined_log_file enabled="true" id="RUBY_RSPEC" />
|
230
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
|
231
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
232
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
233
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
234
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
235
|
+
<envs>
|
236
|
+
<env name="JRUBY_OPTS" value="-X+O" />
|
237
|
+
</envs>
|
238
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
239
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
240
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
|
241
|
+
<COVERAGE_PATTERN ENABLED="true">
|
242
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
243
|
+
</COVERAGE_PATTERN>
|
244
|
+
</EXTENSION>
|
245
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
246
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/drawing_spec.rb" />
|
247
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
248
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="'**/*_spec.rb'" />
|
249
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="Drawing#draw each element is less than 60" />
|
250
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
251
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
252
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
253
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
254
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
255
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
256
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
257
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
258
|
+
<method v="2" />
|
259
|
+
</configuration>
|
260
|
+
<configuration name="Run spec 'drawing_spec': mega_loto" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
261
|
+
<module name="mega_loto" />
|
262
|
+
<predefined_log_file enabled="true" id="RUBY_RSPEC" />
|
263
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
|
264
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
265
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
266
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
267
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
268
|
+
<envs>
|
269
|
+
<env name="JRUBY_OPTS" value="-X+O" />
|
270
|
+
</envs>
|
271
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
272
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
273
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
|
274
|
+
<COVERAGE_PATTERN ENABLED="true">
|
275
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
276
|
+
</COVERAGE_PATTERN>
|
277
|
+
</EXTENSION>
|
278
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
279
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/drawing_spec.rb" />
|
280
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
281
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="'**/*_spec.rb'" />
|
282
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
283
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
284
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
285
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
286
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
287
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
288
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
289
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
290
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
291
|
+
<method v="2" />
|
292
|
+
</configuration>
|
293
|
+
<configuration name="drawing" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
294
|
+
<module name="mega_loto" />
|
295
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="" />
|
296
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib/mega_loto" />
|
297
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
298
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
299
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
300
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
301
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
302
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
|
303
|
+
<COVERAGE_PATTERN ENABLED="true">
|
304
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
305
|
+
</COVERAGE_PATTERN>
|
306
|
+
</EXTENSION>
|
307
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/mega_loto/drawing.rb" />
|
308
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
309
|
+
<method v="2" />
|
310
|
+
</configuration>
|
311
|
+
<configuration name="All tests in spec: mega_loto" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest" temporary="true">
|
312
|
+
<module name="mega_loto" />
|
313
|
+
<predefined_log_file enabled="true" id="RUBY_TESTUNIT" />
|
314
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-Ilib" />
|
315
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
316
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
317
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
318
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
319
|
+
<envs>
|
320
|
+
<env name="JRUBY_OPTS" value="-X+O" />
|
321
|
+
</envs>
|
322
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
323
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
324
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
|
325
|
+
<COVERAGE_PATTERN ENABLED="true">
|
326
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
327
|
+
</COVERAGE_PATTERN>
|
328
|
+
</EXTENSION>
|
329
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$MODULE_DIR$/spec" />
|
330
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
331
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/{*_test,test_*,*_spec}.rb" />
|
332
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
333
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="ALL_IN_FOLDER" />
|
334
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
335
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
336
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
337
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
338
|
+
<method v="2" />
|
339
|
+
</configuration>
|
340
|
+
<recent_temporary>
|
341
|
+
<list>
|
342
|
+
<item itemvalue="RSpec.Run spec 'drawing_spec': mega_loto" />
|
343
|
+
<item itemvalue="RSpec.Drawing#draw each element is less than 60: mega_loto" />
|
344
|
+
<item itemvalue="RSpec.Drawing#draw each element is an integer: mega_loto" />
|
345
|
+
<item itemvalue="Ruby.drawing" />
|
346
|
+
<item itemvalue="Test::Unit/Shoulda/Minitest.All tests in spec: mega_loto" />
|
347
|
+
</list>
|
348
|
+
</recent_temporary>
|
349
|
+
</component>
|
350
|
+
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
|
351
|
+
<component name="SvnConfiguration">
|
352
|
+
<configuration />
|
353
|
+
</component>
|
354
|
+
<component name="TaskManager">
|
355
|
+
<task active="true" id="Default" summary="Default task">
|
356
|
+
<changelist id="08b5801e-1cf4-40af-be2c-157db5f73295" name="Default Changelist" comment="" />
|
357
|
+
<created>1592275323176</created>
|
358
|
+
<option name="number" value="Default" />
|
359
|
+
<option name="presentableId" value="Default" />
|
360
|
+
<updated>1592275323176</updated>
|
361
|
+
<workItem from="1592275326322" duration="880000" />
|
362
|
+
<workItem from="1592276275232" duration="548000" />
|
363
|
+
<workItem from="1592276900142" duration="1252000" />
|
364
|
+
<workItem from="1592278219278" duration="5089000" />
|
365
|
+
</task>
|
366
|
+
<servers />
|
367
|
+
</component>
|
368
|
+
<component name="TestHistory">
|
369
|
+
<history-entry file="Drawing#draw_each_element_is_an_integer__mega_loto - 2020.06.16 at 11h 42m 30s.xml">
|
370
|
+
<configuration name="Drawing#draw each element is an integer: mega_loto" configurationId="RSpecRunConfigurationType" />
|
371
|
+
</history-entry>
|
372
|
+
<history-entry file="Run_spec_'drawing_spec'__mega_loto - 2020.06.16 at 11h 44m 04s.xml">
|
373
|
+
<configuration name="Run spec 'drawing_spec': mega_loto" configurationId="RSpecRunConfigurationType" />
|
374
|
+
</history-entry>
|
375
|
+
<history-entry file="Run_spec_'drawing_spec'__mega_loto - 2020.06.16 at 11h 45m 59s.xml">
|
376
|
+
<configuration name="Run spec 'drawing_spec': mega_loto" configurationId="RSpecRunConfigurationType" />
|
377
|
+
</history-entry>
|
378
|
+
<history-entry file="Run_spec_'drawing_spec'__mega_loto - 2020.06.16 at 11h 47m 23s.xml">
|
379
|
+
<configuration name="Run spec 'drawing_spec': mega_loto" configurationId="RSpecRunConfigurationType" />
|
380
|
+
</history-entry>
|
381
|
+
<history-entry file="Drawing#draw_each_element_is_less_than_60__mega_loto - 2020.06.16 at 11h 51m 48s.xml">
|
382
|
+
<configuration name="Drawing#draw each element is less than 60: mega_loto" configurationId="RSpecRunConfigurationType" />
|
383
|
+
</history-entry>
|
384
|
+
<history-entry file="Run_spec_'drawing_spec'__mega_loto - 2020.06.16 at 11h 52m 47s.xml">
|
385
|
+
<configuration name="Run spec 'drawing_spec': mega_loto" configurationId="RSpecRunConfigurationType" />
|
386
|
+
</history-entry>
|
387
|
+
<history-entry file="Run_spec_'drawing_spec'__mega_loto - 2020.06.16 at 11h 53m 29s.xml">
|
388
|
+
<configuration name="Run spec 'drawing_spec': mega_loto" configurationId="RSpecRunConfigurationType" />
|
389
|
+
</history-entry>
|
390
|
+
<history-entry file="Run_spec_'drawing_spec'__mega_loto - 2020.06.16 at 11h 55m 57s.xml">
|
391
|
+
<configuration name="Run spec 'drawing_spec': mega_loto" configurationId="RSpecRunConfigurationType" />
|
392
|
+
</history-entry>
|
393
|
+
<history-entry file="Run_spec_'drawing_spec'__mega_loto - 2020.06.16 at 14h 09m 08s.xml">
|
394
|
+
<configuration name="Run spec 'drawing_spec': mega_loto" configurationId="RSpecRunConfigurationType" />
|
395
|
+
</history-entry>
|
396
|
+
<history-entry file="Run_spec_'drawing_spec'__mega_loto - 2020.06.16 at 14h 19m 31s.xml">
|
397
|
+
<configuration name="Run spec 'drawing_spec': mega_loto" configurationId="RSpecRunConfigurationType" />
|
398
|
+
</history-entry>
|
399
|
+
</component>
|
400
|
+
<component name="TimeTrackingManager">
|
401
|
+
<option name="totallyTimeSpent" value="7769000" />
|
402
|
+
</component>
|
403
|
+
<component name="ToolWindowManager">
|
404
|
+
<frame x="11" y="47" width="1400" height="1000" extended-state="0" />
|
405
|
+
<editor active="true" />
|
406
|
+
<layout>
|
407
|
+
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.26067746" />
|
408
|
+
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
409
|
+
<window_info id="Favorites" order="2" side_tool="true" />
|
410
|
+
<window_info anchor="bottom" id="Message" order="0" />
|
411
|
+
<window_info anchor="bottom" id="Find" order="1" />
|
412
|
+
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.4992636" weight="0.32929516" />
|
413
|
+
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
414
|
+
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
415
|
+
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
416
|
+
<window_info anchor="bottom" id="TODO" order="6" />
|
417
|
+
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
418
|
+
<window_info anchor="bottom" id="Database Changes" order="8" />
|
419
|
+
<window_info anchor="bottom" id="Version Control" order="9" />
|
420
|
+
<window_info anchor="bottom" id="Event Log" order="10" sideWeight="0.50073636" side_tool="true" weight="0.32929516" />
|
421
|
+
<window_info active="true" anchor="bottom" id="Terminal" order="11" visible="true" weight="0.32929516" />
|
422
|
+
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
423
|
+
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
424
|
+
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
425
|
+
<window_info anchor="right" id="Database" order="3" />
|
426
|
+
</layout>
|
427
|
+
</component>
|
428
|
+
<component name="TypeScriptGeneratedFilesManager">
|
429
|
+
<option name="version" value="1" />
|
430
|
+
</component>
|
431
|
+
<component name="com.intellij.coverage.CoverageDataManagerImpl">
|
432
|
+
<SUITE FILE_PATH="coverage/mega_loto@All_tests_in_spec__mega_loto.rcov" NAME="All tests in spec: mega_loto Coverage Results" MODIFIED="1592278189785" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="mega_loto" />
|
433
|
+
<SUITE FILE_PATH="coverage/mega_loto@Run_spec__drawing_spec___mega_loto.rcov" NAME="Run spec 'drawing_spec': mega_loto Coverage Results" MODIFIED="1592288370886" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="mega_loto" />
|
434
|
+
<SUITE FILE_PATH="coverage/mega_loto@Drawing_draw_each_element_is_an_integer__mega_loto.rcov" NAME="Drawing#draw each element is an integer: mega_loto Coverage Results" MODIFIED="1592278949995" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="mega_loto" />
|
435
|
+
<SUITE FILE_PATH="coverage/mega_loto@Drawing_draw_each_element_is_less_than_60__mega_loto.rcov" NAME="Drawing#draw each element is less than 60: mega_loto Coverage Results" MODIFIED="1592279507808" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="mega_loto" />
|
436
|
+
</component>
|
437
|
+
<component name="editorHistoryManager">
|
438
|
+
<entry file="file:///Library/Ruby/Gems/2.6.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb">
|
439
|
+
<provider selected="true" editor-type-id="text-editor">
|
440
|
+
<state relative-caret-position="31635">
|
441
|
+
<caret line="2109" column="52" selection-start-line="2109" selection-start-column="52" selection-end-line="2109" selection-end-column="52" />
|
442
|
+
</state>
|
443
|
+
</provider>
|
444
|
+
</entry>
|
445
|
+
<entry file="file://$PROJECT_DIR$/lib/mega_loto.rb">
|
446
|
+
<provider selected="true" editor-type-id="text-editor">
|
447
|
+
<state relative-caret-position="105">
|
448
|
+
<caret line="7" selection-start-line="7" selection-end-line="7" />
|
449
|
+
</state>
|
450
|
+
</provider>
|
451
|
+
</entry>
|
452
|
+
<entry file="file://$PROJECT_DIR$/lib/mega_loto/version.rb">
|
453
|
+
<provider selected="true" editor-type-id="text-editor" />
|
454
|
+
</entry>
|
455
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
456
|
+
<provider selected="true" editor-type-id="text-editor">
|
457
|
+
<state relative-caret-position="291">
|
458
|
+
<caret line="69" column="23" selection-start-line="69" selection-start-column="23" selection-end-line="69" selection-end-column="23" />
|
459
|
+
</state>
|
460
|
+
</provider>
|
461
|
+
</entry>
|
462
|
+
<entry file="file://$PROJECT_DIR$/spec/drawing_spec.rb">
|
463
|
+
<provider selected="true" editor-type-id="text-editor">
|
464
|
+
<state relative-caret-position="135">
|
465
|
+
<caret line="9" column="33" selection-start-line="9" selection-start-column="33" selection-end-line="9" selection-end-column="33" />
|
466
|
+
</state>
|
467
|
+
</provider>
|
468
|
+
</entry>
|
469
|
+
<entry file="file://$PROJECT_DIR$/lib/mega_loto/drawing.rb">
|
470
|
+
<provider selected="true" editor-type-id="text-editor">
|
471
|
+
<state relative-caret-position="210">
|
472
|
+
<caret line="14" selection-start-line="14" selection-end-line="14" />
|
473
|
+
</state>
|
474
|
+
</provider>
|
475
|
+
</entry>
|
476
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
477
|
+
<provider selected="true" editor-type-id="text-editor">
|
478
|
+
<state relative-caret-position="135">
|
479
|
+
<caret line="9" column="3" selection-start-line="9" selection-start-column="3" selection-end-line="9" selection-end-column="3" />
|
480
|
+
</state>
|
481
|
+
</provider>
|
482
|
+
</entry>
|
483
|
+
<entry file="file://$PROJECT_DIR$/mega_loto.gemspec">
|
484
|
+
<provider selected="true" editor-type-id="text-editor">
|
485
|
+
<state relative-caret-position="165">
|
486
|
+
<caret line="11" column="45" lean-forward="true" selection-start-line="11" selection-start-column="45" selection-end-line="11" selection-end-column="45" />
|
487
|
+
</state>
|
488
|
+
</provider>
|
489
|
+
</entry>
|
490
|
+
</component>
|
491
|
+
<component name="masterDetails">
|
492
|
+
<states>
|
493
|
+
<state key="ScopeChooserConfigurable.UI">
|
494
|
+
<settings>
|
495
|
+
<splitter-proportions>
|
496
|
+
<option name="proportions">
|
497
|
+
<list>
|
498
|
+
<option value="0.2" />
|
499
|
+
</list>
|
500
|
+
</option>
|
501
|
+
</splitter-proportions>
|
502
|
+
</settings>
|
503
|
+
</state>
|
504
|
+
</states>
|
505
|
+
</component>
|
506
|
+
</project>
|
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--require spec_helper
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -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 zhaosi@yunjiglobal.com. 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
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Bryce
|
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
|
+
# MegaLoto
|
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/mega_loto`. 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 'mega_loto'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install mega_loto
|
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. 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]/mega_loto. 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 MegaLoto project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/mega_loto/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "mega_loto"
|
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
data/lib/mega_loto.rb
ADDED
data/mega_loto.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "mega_loto/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "mega_loto"
|
8
|
+
spec.version = MegaLoto::VERSION
|
9
|
+
spec.authors = ["Bryce"]
|
10
|
+
spec.email = ["xx8611205@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = "a ruby gem test demo"
|
13
|
+
spec.description = "a demo that practice to create a gem"
|
14
|
+
spec.homepage = "https://github.com/YaoJuan/by_mega"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
|
18
|
+
# Specify which files should be added to the gem when it is released.
|
19
|
+
# The `git ls-files -z` loads the files in the RubyGem that have breen added into git.
|
20
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
21
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
22
|
+
end
|
23
|
+
spec.bindir = "exe"
|
24
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ["lib"]
|
26
|
+
|
27
|
+
spec.add_development_dependency "bundler", "~> 1.17"
|
28
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
29
|
+
spec.add_development_dependency "rspec"
|
30
|
+
spec.add_development_dependency "pry"
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mega_loto
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Bryce
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-06-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: '1.17'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.17'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 12.3.3
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 12.3.3
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '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'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: a demo that practice to create a gem
|
70
|
+
email:
|
71
|
+
- xx8611205@gmail.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- ".idea/.rakeTasks"
|
78
|
+
- ".idea/inspectionProfiles/Project_Default.xml"
|
79
|
+
- ".idea/mega_loto.iml"
|
80
|
+
- ".idea/misc.xml"
|
81
|
+
- ".idea/modules.xml"
|
82
|
+
- ".idea/vcs.xml"
|
83
|
+
- ".idea/workspace.xml"
|
84
|
+
- ".rspec"
|
85
|
+
- CODE_OF_CONDUCT.md
|
86
|
+
- Gemfile
|
87
|
+
- LICENSE.txt
|
88
|
+
- README.md
|
89
|
+
- Rakefile
|
90
|
+
- bin/console
|
91
|
+
- bin/setup
|
92
|
+
- lib/mega_loto.rb
|
93
|
+
- lib/mega_loto/drawing.rb
|
94
|
+
- lib/mega_loto/version.rb
|
95
|
+
- mega_loto.gemspec
|
96
|
+
homepage: https://github.com/YaoJuan/by_mega
|
97
|
+
licenses:
|
98
|
+
- MIT
|
99
|
+
metadata: {}
|
100
|
+
post_install_message:
|
101
|
+
rdoc_options: []
|
102
|
+
require_paths:
|
103
|
+
- lib
|
104
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '0'
|
109
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - ">="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '0'
|
114
|
+
requirements: []
|
115
|
+
rubygems_version: 3.0.8
|
116
|
+
signing_key:
|
117
|
+
specification_version: 4
|
118
|
+
summary: a ruby gem test demo
|
119
|
+
test_files: []
|