Battlecity 0.0.1
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 +17 -0
- data/.idea/.name +1 -0
- data/.idea/Battlecity.iml +74 -0
- data/.idea/misc.xml +14 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +459 -0
- data/Battlecity.gemspec +25 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/lib/Battlecity/version.rb +3 -0
- data/lib/Battlecity.rb +15 -0
- metadata +100 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 295f017681ff7f3ff610c43795a8ab295f16686e
|
4
|
+
data.tar.gz: f68f91fa0b4a9f8608582802390dadb30403f975
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cbbe226246bc96d2d1cc7c120975ac9ba1f76de59606c0f96a4b743912d373772c56bb46da11a10813e423fb7dfdeeb29c1882f3cc06b0b593f51818dd607df8
|
7
|
+
data.tar.gz: 7fbcf4c57ff32cdd1ff51b7102856440d98f901e606d51df9912fd2aa48b03b7e4f02316d1d9c812d08967fc656afab63d971f73daa648a563115533f17b7851
|
data/.gitignore
ADDED
data/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Battlecity
|
@@ -0,0 +1,74 @@
|
|
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="$MODULE_DIR$/test" />
|
8
|
+
<option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
|
9
|
+
</configuration>
|
10
|
+
</facet>
|
11
|
+
</component>
|
12
|
+
<component name="ModuleRunConfigurationManager">
|
13
|
+
<configuration default="false" name="All tests in Battlecity: Battlecity" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest" temporary="true">
|
14
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
15
|
+
<module name="Battlecity" />
|
16
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
17
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
18
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
19
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
20
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
21
|
+
<envs>
|
22
|
+
<env name="JRUBY_OPTS" value="-X+O" />
|
23
|
+
</envs>
|
24
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
25
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
26
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
27
|
+
<COVERAGE_PATTERN ENABLED="true">
|
28
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
29
|
+
</COVERAGE_PATTERN>
|
30
|
+
</EXTENSION>
|
31
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
32
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$MODULE_DIR$" />
|
33
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
34
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/{*_test,test_*}.rb" />
|
35
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
36
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="ALL_IN_FOLDER" />
|
37
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
38
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
39
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
40
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
41
|
+
<method />
|
42
|
+
</configuration>
|
43
|
+
<configuration default="false" name="Battlecity" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
44
|
+
<module name="Battlecity" />
|
45
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
46
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib" />
|
47
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
48
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
49
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
50
|
+
<envs />
|
51
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
52
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
53
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
54
|
+
<COVERAGE_PATTERN ENABLED="true">
|
55
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
56
|
+
</COVERAGE_PATTERN>
|
57
|
+
</EXTENSION>
|
58
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
59
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/Battlecity.rb" />
|
60
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
61
|
+
<method />
|
62
|
+
</configuration>
|
63
|
+
</component>
|
64
|
+
<component name="NewModuleRootManager">
|
65
|
+
<content url="file://$MODULE_DIR$">
|
66
|
+
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
67
|
+
</content>
|
68
|
+
<orderEntry type="inheritedJdk" />
|
69
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
70
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.10.6, ruby-2.2.3-p173) [gem]" level="application" />
|
71
|
+
<orderEntry type="library" scope="PROVIDED" name="gosu (v0.10.4, ruby-2.2.3-p173) [gem]" level="application" />
|
72
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, ruby-2.2.3-p173) [gem]" level="application" />
|
73
|
+
</component>
|
74
|
+
</module>
|
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="ruby-2.2.3-p173" project-jdk-type="RUBY_SDK" />
|
14
|
+
</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/Battlecity.iml" filepath="$PROJECT_DIR$/.idea/Battlecity.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,459 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="0b6693e4-f7d4-4810-b8d1-2401bd184ebf" name="Default" comment="" />
|
5
|
+
<ignored path="Battlecity.iws" />
|
6
|
+
<ignored path=".idea/workspace.xml" />
|
7
|
+
<ignored path=".idea/dataSources.local.xml" />
|
8
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
9
|
+
<option name="TRACKING_ENABLED" value="true" />
|
10
|
+
<option name="SHOW_DIALOG" value="false" />
|
11
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
12
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
13
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
14
|
+
</component>
|
15
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
16
|
+
<component name="CoverageDataManager">
|
17
|
+
<SUITE FILE_PATH="coverage/Battlecity@All_tests_in_Battlecity__Battlecity.coverage" NAME="All tests in Battlecity: Battlecity Coverage Results" MODIFIED="1453648530066" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="Battlecity" />
|
18
|
+
<SUITE FILE_PATH="coverage/Battlecity@Battlecity.coverage" NAME="Battlecity Coverage Results" MODIFIED="1453649647352" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib" MODULE_NAME="Battlecity" />
|
19
|
+
</component>
|
20
|
+
<component name="CreatePatchCommitExecutor">
|
21
|
+
<option name="PATCH_PATH" value="" />
|
22
|
+
</component>
|
23
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
24
|
+
<component name="FavoritesManager">
|
25
|
+
<favorites_list name="Battlecity" />
|
26
|
+
</component>
|
27
|
+
<component name="FileEditorManager">
|
28
|
+
<leaf>
|
29
|
+
<file leaf-file-name="README.md" pinned="false" current-in-tab="false">
|
30
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
31
|
+
<provider selected="true" editor-type-id="text-editor">
|
32
|
+
<state vertical-scroll-proportion="0.5">
|
33
|
+
<caret line="12" column="12" selection-start-line="12" selection-start-column="12" selection-end-line="12" selection-end-column="12" />
|
34
|
+
<folding />
|
35
|
+
</state>
|
36
|
+
</provider>
|
37
|
+
</entry>
|
38
|
+
</file>
|
39
|
+
<file leaf-file-name="Battlecity.gemspec" pinned="false" current-in-tab="true">
|
40
|
+
<entry file="file://$PROJECT_DIR$/Battlecity.gemspec">
|
41
|
+
<provider selected="true" editor-type-id="text-editor">
|
42
|
+
<state vertical-scroll-proportion="0.46370023">
|
43
|
+
<caret line="11" column="94" selection-start-line="11" selection-start-column="94" selection-end-line="11" selection-end-column="94" />
|
44
|
+
<folding />
|
45
|
+
</state>
|
46
|
+
</provider>
|
47
|
+
</entry>
|
48
|
+
</file>
|
49
|
+
<file leaf-file-name="bush.rb" pinned="false" current-in-tab="false">
|
50
|
+
<entry file="file://$PROJECT_DIR$/lib/entities/bush.rb">
|
51
|
+
<provider selected="true" editor-type-id="text-editor">
|
52
|
+
<state vertical-scroll-proportion="0.0">
|
53
|
+
<caret line="13" column="0" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
|
54
|
+
<folding />
|
55
|
+
</state>
|
56
|
+
</provider>
|
57
|
+
</entry>
|
58
|
+
</file>
|
59
|
+
<file leaf-file-name="Battlecity.rb" pinned="false" current-in-tab="false">
|
60
|
+
<entry file="file://$PROJECT_DIR$/lib/Battlecity.rb">
|
61
|
+
<provider selected="true" editor-type-id="text-editor">
|
62
|
+
<state vertical-scroll-proportion="0.0">
|
63
|
+
<caret line="12" column="19" selection-start-line="12" selection-start-column="19" selection-end-line="12" selection-end-column="19" />
|
64
|
+
<folding />
|
65
|
+
</state>
|
66
|
+
</provider>
|
67
|
+
</entry>
|
68
|
+
</file>
|
69
|
+
<file leaf-file-name="mediamanager.rb" pinned="false" current-in-tab="false">
|
70
|
+
<entry file="file://$PROJECT_DIR$/lib/misc/mediamanager.rb">
|
71
|
+
<provider selected="true" editor-type-id="text-editor">
|
72
|
+
<state vertical-scroll-proportion="0.0">
|
73
|
+
<caret line="8" column="0" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
|
74
|
+
<folding />
|
75
|
+
</state>
|
76
|
+
</provider>
|
77
|
+
</entry>
|
78
|
+
</file>
|
79
|
+
<file leaf-file-name="sprites.png" pinned="false" current-in-tab="false">
|
80
|
+
<entry file="file://$PROJECT_DIR$/media/sprites.png">
|
81
|
+
<provider selected="true" editor-type-id="images">
|
82
|
+
<state />
|
83
|
+
</provider>
|
84
|
+
</entry>
|
85
|
+
</file>
|
86
|
+
<file leaf-file-name="main.rb" pinned="false" current-in-tab="false">
|
87
|
+
<entry file="file://$PROJECT_DIR$/lib/main.rb">
|
88
|
+
<provider selected="true" editor-type-id="text-editor">
|
89
|
+
<state vertical-scroll-proportion="0.0">
|
90
|
+
<caret line="11" column="24" selection-start-line="11" selection-start-column="24" selection-end-line="11" selection-end-column="24" />
|
91
|
+
<folding />
|
92
|
+
</state>
|
93
|
+
</provider>
|
94
|
+
</entry>
|
95
|
+
</file>
|
96
|
+
</leaf>
|
97
|
+
</component>
|
98
|
+
<component name="IdeDocumentHistory">
|
99
|
+
<option name="CHANGED_PATHS">
|
100
|
+
<list>
|
101
|
+
<option value="$PROJECT_DIR$/lib/Battlecity.rb" />
|
102
|
+
<option value="$PROJECT_DIR$/lib/misc/mediamanager.rb" />
|
103
|
+
<option value="$PROJECT_DIR$/Battlecity.gemspec" />
|
104
|
+
</list>
|
105
|
+
</option>
|
106
|
+
</component>
|
107
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" />
|
108
|
+
<component name="JsGulpfileManager">
|
109
|
+
<detection-done>true</detection-done>
|
110
|
+
</component>
|
111
|
+
<component name="NamedScopeManager">
|
112
|
+
<order />
|
113
|
+
</component>
|
114
|
+
<component name="ProjectFrameBounds">
|
115
|
+
<option name="width" value="1366" />
|
116
|
+
<option name="height" value="744" />
|
117
|
+
</component>
|
118
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
119
|
+
<OptionsSetting value="true" id="Add" />
|
120
|
+
<OptionsSetting value="true" id="Remove" />
|
121
|
+
<OptionsSetting value="true" id="Checkout" />
|
122
|
+
<OptionsSetting value="true" id="Update" />
|
123
|
+
<OptionsSetting value="true" id="Status" />
|
124
|
+
<OptionsSetting value="true" id="Edit" />
|
125
|
+
<ConfirmationsSetting value="0" id="Add" />
|
126
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
127
|
+
</component>
|
128
|
+
<component name="ProjectView">
|
129
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
130
|
+
<flattenPackages />
|
131
|
+
<showMembers />
|
132
|
+
<showModules />
|
133
|
+
<showLibraryContents />
|
134
|
+
<hideEmptyPackages />
|
135
|
+
<abbreviatePackageNames />
|
136
|
+
<autoscrollToSource />
|
137
|
+
<autoscrollFromSource />
|
138
|
+
<sortByType />
|
139
|
+
</navigator>
|
140
|
+
<panes>
|
141
|
+
<pane id="Scope" />
|
142
|
+
<pane id="Scratches" />
|
143
|
+
<pane id="ProjectPane">
|
144
|
+
<subPane>
|
145
|
+
<PATH>
|
146
|
+
<PATH_ELEMENT>
|
147
|
+
<option name="myItemId" value="Battlecity" />
|
148
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
149
|
+
</PATH_ELEMENT>
|
150
|
+
</PATH>
|
151
|
+
<PATH>
|
152
|
+
<PATH_ELEMENT>
|
153
|
+
<option name="myItemId" value="Battlecity" />
|
154
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
155
|
+
</PATH_ELEMENT>
|
156
|
+
<PATH_ELEMENT>
|
157
|
+
<option name="myItemId" value="Battlecity" />
|
158
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
159
|
+
</PATH_ELEMENT>
|
160
|
+
</PATH>
|
161
|
+
</subPane>
|
162
|
+
</pane>
|
163
|
+
</panes>
|
164
|
+
</component>
|
165
|
+
<component name="PropertiesComponent">
|
166
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
167
|
+
<property name="recentsLimit" value="5" />
|
168
|
+
</component>
|
169
|
+
<component name="RecentsManager">
|
170
|
+
<key name="CopyFile.RECENT_KEYS">
|
171
|
+
<recent name="$PROJECT_DIR$/lib" />
|
172
|
+
</key>
|
173
|
+
<key name="MoveFile.RECENT_KEYS">
|
174
|
+
<recent name="$PROJECT_DIR$" />
|
175
|
+
</key>
|
176
|
+
</component>
|
177
|
+
<component name="RunManager" selected="Ruby.Battlecity">
|
178
|
+
<configuration default="false" name="All tests in Battlecity: Battlecity" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest" temporary="true">
|
179
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
180
|
+
<module name="Battlecity" />
|
181
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
182
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
183
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
184
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
185
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
186
|
+
<envs>
|
187
|
+
<env name="JRUBY_OPTS" value="-X+O" />
|
188
|
+
</envs>
|
189
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
190
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
191
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
192
|
+
<COVERAGE_PATTERN ENABLED="true">
|
193
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
194
|
+
</COVERAGE_PATTERN>
|
195
|
+
</EXTENSION>
|
196
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
197
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$MODULE_DIR$" />
|
198
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
199
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/{*_test,test_*}.rb" />
|
200
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
201
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="ALL_IN_FOLDER" />
|
202
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
203
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
204
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
205
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
206
|
+
<method />
|
207
|
+
</configuration>
|
208
|
+
<configuration default="false" name="Battlecity" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
209
|
+
<module name="Battlecity" />
|
210
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
211
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib" />
|
212
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
213
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
214
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
215
|
+
<envs />
|
216
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
217
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
218
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
219
|
+
<COVERAGE_PATTERN ENABLED="true">
|
220
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
221
|
+
</COVERAGE_PATTERN>
|
222
|
+
</EXTENSION>
|
223
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
224
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/Battlecity.rb" />
|
225
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
226
|
+
<method />
|
227
|
+
</configuration>
|
228
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
229
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
230
|
+
<module name="" />
|
231
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
232
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
233
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
234
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
235
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
236
|
+
<envs />
|
237
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
238
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
239
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
240
|
+
<COVERAGE_PATTERN ENABLED="true">
|
241
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
242
|
+
</COVERAGE_PATTERN>
|
243
|
+
</EXTENSION>
|
244
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
245
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
246
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
247
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
248
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
249
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
250
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
251
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
252
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
253
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
254
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
255
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
256
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
257
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
258
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
259
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
260
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
261
|
+
<method />
|
262
|
+
</configuration>
|
263
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
264
|
+
<method />
|
265
|
+
</configuration>
|
266
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
267
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
268
|
+
<module name="" />
|
269
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
270
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
271
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
272
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
273
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
274
|
+
<envs />
|
275
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
276
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
277
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
278
|
+
<COVERAGE_PATTERN ENABLED="true">
|
279
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
280
|
+
</COVERAGE_PATTERN>
|
281
|
+
</EXTENSION>
|
282
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
283
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
284
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
285
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
286
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
287
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
288
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
289
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
290
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
291
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
292
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
293
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
294
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
295
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
296
|
+
<method />
|
297
|
+
</configuration>
|
298
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
299
|
+
<module name="" />
|
300
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
301
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
302
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
303
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
304
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
305
|
+
<envs />
|
306
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
307
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
308
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
309
|
+
<COVERAGE_PATTERN ENABLED="true">
|
310
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
311
|
+
</COVERAGE_PATTERN>
|
312
|
+
</EXTENSION>
|
313
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
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
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
335
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
336
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
337
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
338
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
339
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
340
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
341
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
342
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
343
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
344
|
+
<method />
|
345
|
+
</configuration>
|
346
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
347
|
+
<method />
|
348
|
+
</configuration>
|
349
|
+
<list size="2">
|
350
|
+
<item index="0" class="java.lang.String" itemvalue="Test::Unit/Shoulda/Minitest.All tests in Battlecity: Battlecity" />
|
351
|
+
<item index="1" class="java.lang.String" itemvalue="Ruby.Battlecity" />
|
352
|
+
</list>
|
353
|
+
<recent_temporary>
|
354
|
+
<list size="2">
|
355
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.Battlecity" />
|
356
|
+
<item index="1" class="java.lang.String" itemvalue="Test::Unit/Shoulda/Minitest.All tests in Battlecity: Battlecity" />
|
357
|
+
</list>
|
358
|
+
</recent_temporary>
|
359
|
+
</component>
|
360
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
361
|
+
<component name="SvnConfiguration">
|
362
|
+
<configuration />
|
363
|
+
</component>
|
364
|
+
<component name="TaskManager">
|
365
|
+
<task active="true" id="Default" summary="Default task">
|
366
|
+
<changelist id="0b6693e4-f7d4-4810-b8d1-2401bd184ebf" name="Default" comment="" />
|
367
|
+
<created>1453648414657</created>
|
368
|
+
<option name="number" value="Default" />
|
369
|
+
<updated>1453648414657</updated>
|
370
|
+
</task>
|
371
|
+
<servers />
|
372
|
+
</component>
|
373
|
+
<component name="ToolWindowManager">
|
374
|
+
<frame x="0" y="0" width="1366" height="744" extended-state="6" />
|
375
|
+
<editor active="true" />
|
376
|
+
<layout>
|
377
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
378
|
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
379
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
380
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
381
|
+
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
382
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24963397" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
383
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
384
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3293944" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
385
|
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
386
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
387
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
388
|
+
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
389
|
+
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
390
|
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
391
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
392
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
393
|
+
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
394
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
395
|
+
</layout>
|
396
|
+
</component>
|
397
|
+
<component name="VcsContentAnnotationSettings">
|
398
|
+
<option name="myLimit" value="2678400000" />
|
399
|
+
</component>
|
400
|
+
<component name="XDebuggerManager">
|
401
|
+
<breakpoint-manager />
|
402
|
+
<watches-manager />
|
403
|
+
</component>
|
404
|
+
<component name="editorHistoryManager">
|
405
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
406
|
+
<provider selected="true" editor-type-id="text-editor">
|
407
|
+
<state vertical-scroll-proportion="0.5">
|
408
|
+
<caret line="12" column="12" selection-start-line="12" selection-start-column="12" selection-end-line="12" selection-end-column="12" />
|
409
|
+
<folding />
|
410
|
+
</state>
|
411
|
+
</provider>
|
412
|
+
</entry>
|
413
|
+
<entry file="file://$PROJECT_DIR$/lib/entities/bush.rb">
|
414
|
+
<provider selected="true" editor-type-id="text-editor">
|
415
|
+
<state vertical-scroll-proportion="0.0">
|
416
|
+
<caret line="13" column="0" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
|
417
|
+
<folding />
|
418
|
+
</state>
|
419
|
+
</provider>
|
420
|
+
</entry>
|
421
|
+
<entry file="file://$PROJECT_DIR$/media/sprites.png">
|
422
|
+
<provider selected="true" editor-type-id="images">
|
423
|
+
<state />
|
424
|
+
</provider>
|
425
|
+
</entry>
|
426
|
+
<entry file="file://$PROJECT_DIR$/lib/misc/mediamanager.rb">
|
427
|
+
<provider selected="true" editor-type-id="text-editor">
|
428
|
+
<state vertical-scroll-proportion="0.0">
|
429
|
+
<caret line="8" column="0" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
|
430
|
+
<folding />
|
431
|
+
</state>
|
432
|
+
</provider>
|
433
|
+
</entry>
|
434
|
+
<entry file="file://$PROJECT_DIR$/lib/main.rb">
|
435
|
+
<provider selected="true" editor-type-id="text-editor">
|
436
|
+
<state vertical-scroll-proportion="0.0">
|
437
|
+
<caret line="11" column="24" selection-start-line="11" selection-start-column="24" selection-end-line="11" selection-end-column="24" />
|
438
|
+
<folding />
|
439
|
+
</state>
|
440
|
+
</provider>
|
441
|
+
</entry>
|
442
|
+
<entry file="file://$PROJECT_DIR$/lib/Battlecity.rb">
|
443
|
+
<provider selected="true" editor-type-id="text-editor">
|
444
|
+
<state vertical-scroll-proportion="0.0">
|
445
|
+
<caret line="12" column="19" selection-start-line="12" selection-start-column="19" selection-end-line="12" selection-end-column="19" />
|
446
|
+
<folding />
|
447
|
+
</state>
|
448
|
+
</provider>
|
449
|
+
</entry>
|
450
|
+
<entry file="file://$PROJECT_DIR$/Battlecity.gemspec">
|
451
|
+
<provider selected="true" editor-type-id="text-editor">
|
452
|
+
<state vertical-scroll-proportion="0.46370023">
|
453
|
+
<caret line="11" column="94" selection-start-line="11" selection-start-column="94" selection-end-line="11" selection-end-column="94" />
|
454
|
+
<folding />
|
455
|
+
</state>
|
456
|
+
</provider>
|
457
|
+
</entry>
|
458
|
+
</component>
|
459
|
+
</project>
|
data/Battlecity.gemspec
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'Battlecity/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "Battlecity"
|
8
|
+
spec.version = Battlecity::VERSION
|
9
|
+
spec.authors = ["Tomáš Šabata"]
|
10
|
+
spec.email = ["speedex505@gmail.com"]
|
11
|
+
spec.description = %q{Gem contains Battlecity remake}
|
12
|
+
spec.summary = %q{Battle city is old NES game. I did remake in ruby for school project}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
|
24
|
+
spec.add_runtime_dependency 'gosu'
|
25
|
+
end
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2016 Tomáš Šabata
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Battlecity
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'Battlecity'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install Battlecity
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/lib/Battlecity.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require "Battlecity/version"
|
2
|
+
require 'gosu'
|
3
|
+
require_relative 'gamestates/game_state'
|
4
|
+
require_relative 'gamestates/menu_state'
|
5
|
+
require_relative 'misc/game_window'
|
6
|
+
|
7
|
+
module Battlecity
|
8
|
+
def self.media_path(file)
|
9
|
+
File.join(File.dirname(File.dirname(__FILE__)), 'media', file)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
$window = GameWindow.new
|
14
|
+
GameState.switch(MenuState.instance)
|
15
|
+
$window.show
|
metadata
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: Battlecity
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tomáš Šabata
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-01-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.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: gosu
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Gem contains Battlecity remake
|
56
|
+
email:
|
57
|
+
- speedex505@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- ".idea/.name"
|
64
|
+
- ".idea/Battlecity.iml"
|
65
|
+
- ".idea/misc.xml"
|
66
|
+
- ".idea/modules.xml"
|
67
|
+
- ".idea/vcs.xml"
|
68
|
+
- ".idea/workspace.xml"
|
69
|
+
- Battlecity.gemspec
|
70
|
+
- Gemfile
|
71
|
+
- LICENSE.txt
|
72
|
+
- README.md
|
73
|
+
- Rakefile
|
74
|
+
- lib/Battlecity.rb
|
75
|
+
- lib/Battlecity/version.rb
|
76
|
+
homepage: ''
|
77
|
+
licenses:
|
78
|
+
- MIT
|
79
|
+
metadata: {}
|
80
|
+
post_install_message:
|
81
|
+
rdoc_options: []
|
82
|
+
require_paths:
|
83
|
+
- lib
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
requirements: []
|
95
|
+
rubyforge_project:
|
96
|
+
rubygems_version: 2.4.5.1
|
97
|
+
signing_key:
|
98
|
+
specification_version: 4
|
99
|
+
summary: Battle city is old NES game. I did remake in ruby for school project
|
100
|
+
test_files: []
|