MonkeyEngine 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +19 -16
  3. data/.rspec +3 -0
  4. data/.ruby-version +1 -1
  5. data/CHANGELOG.md +6 -0
  6. data/Gemfile +3 -1
  7. data/Gemfile.lock +71 -0
  8. data/README.md +5 -1
  9. data/Rakefile +3 -2
  10. data/dictionaries/en-US.txt +466554 -0
  11. data/lib/Action/action.rb +5 -4
  12. data/lib/Monkey/monkey.rb +17 -12
  13. data/lib/Monkey.rb +3 -1
  14. data/lib/MonkeyAction/monkey_action.rb +3 -1
  15. data/lib/MonkeyAction/monkey_action_dead.rb +8 -6
  16. data/lib/MonkeyAction/monkey_action_eat.rb +6 -4
  17. data/lib/MonkeyAction/monkey_action_pause.rb +6 -5
  18. data/lib/MonkeyAction/monkey_action_sleep.rb +6 -4
  19. data/lib/MonkeyAction/monkey_action_type.rb +15 -10
  20. data/lib/MonkeyAction/monkey_action_wake.rb +8 -6
  21. data/lib/MonkeyAction/monkey_timed_action.rb +6 -4
  22. data/lib/MonkeyActions.rb +2 -0
  23. data/lib/MonkeyEngine/action_rules.rb +20 -18
  24. data/lib/MonkeyEngine/exceptions.rb +7 -7
  25. data/lib/MonkeyEngine/monkey_engine.rb +13 -10
  26. data/lib/MonkeyEngine/version.rb +3 -1
  27. data/lib/MonkeyEngine.rb +3 -1
  28. data/lib/MonkeyFactory/monkey_factory.rb +3 -4
  29. data/lib/MonkeyFactory.rb +3 -1
  30. data/lib/MonkeyKeyboard/keyboard_char.rb +3 -2
  31. data/lib/MonkeyKeyboard/keyboard_input.rb +4 -3
  32. data/lib/MonkeyKeyboard/keyboard_key.rb +3 -1
  33. data/lib/MonkeyKeyboard/keyboard_key_evaluator.rb +5 -7
  34. data/lib/MonkeyKeyboard/monkey_keyboard_en_us.rb +100 -80
  35. data/lib/MonkeyKeyboardEnUs.rb +3 -1
  36. data/lib/MonkeyManager/monkey_manager.rb +13 -11
  37. data/lib/MonkeyManager.rb +3 -1
  38. data/lib/MonkeyService/monkey_service.rb +8 -9
  39. data/lib/MonkeyService.rb +3 -1
  40. data/lib/tasks/engine.rb +64 -47
  41. data/monkeyengine.gemspec +22 -20
  42. data/spec/action_rules_spec.rb +9 -9
  43. data/spec/engine_spec.rb +5 -10
  44. data/spec/keyboard_char_spec.rb +3 -4
  45. data/spec/keyboard_key_spec.rb +3 -4
  46. data/spec/monkey_action_eat_spec.rb +14 -15
  47. data/spec/monkey_action_pause_spec.rb +15 -16
  48. data/spec/monkey_action_sleep_spec.rb +15 -16
  49. data/spec/monkey_action_type_spec.rb +22 -21
  50. data/spec/monkey_action_wake_spec.rb +6 -7
  51. data/spec/monkey_factory_spec.rb +5 -5
  52. data/spec/monkey_keyboard_en_us_spec.rb +8 -14
  53. data/spec/monkey_manager_spec.rb +2 -1
  54. data/spec/monkey_service_spec.rb +15 -18
  55. data/spec/monkey_spec.rb +2 -1
  56. data/spec/{spec_helpers.rb → spec_helper.rb} +6 -4
  57. data/spec/support/shared_examples.rb +12 -12
  58. metadata +72 -56
  59. data/.idea/.name +0 -1
  60. data/.idea/.rakeTasks +0 -7
  61. data/.idea/MonkeyEngine.iml +0 -133
  62. data/.idea/codeStyleSettings.xml +0 -13
  63. data/.idea/encodings.xml +0 -5
  64. data/.idea/misc.xml +0 -5
  65. data/.idea/modules.xml +0 -9
  66. data/.idea/runConfigurations/All_specs_in_test__MonkeyEngine.xml +0 -38
  67. data/.idea/runConfigurations/IRB_console.xml +0 -25
  68. data/.idea/runConfigurations/Start_Yard_Server.xml +0 -26
  69. data/.idea/runConfigurations/monkey_run.xml +0 -26
  70. data/.idea/scopes/scope_settings.xml +0 -5
  71. data/.idea/vcs.xml +0 -7
  72. data/.idea/workspace.xml +0 -886
@@ -1,18 +1,19 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'MonkeyService'
2
4
  require 'MonkeyFactory'
3
5
  require 'MonkeyEngine'
4
6
 
5
7
  describe 'MonkeyService' do
6
-
7
8
  before(:all) do
8
9
  @it = MonkeyEngine::MonkeyService.instance
9
10
 
10
11
  # Register us before we do anything, so we can be notified of everything.
11
12
  @it.add_observer self
12
13
 
13
- @it.add(MonkeyFactory::create :groucho)
14
- @it.add(MonkeyFactory::create :harpo)
15
- @it.add(MonkeyFactory::create :chico)
14
+ @it.add(MonkeyFactory.create(:groucho))
15
+ @it.add(MonkeyFactory.create(:harpo))
16
+ @it.add(MonkeyFactory.create(:chico))
16
17
  end
17
18
 
18
19
  after(:all) do
@@ -24,11 +25,11 @@ describe 'MonkeyService' do
24
25
  end
25
26
 
26
27
  def update(time, action, param)
27
- puts "Time: [#{time}], Action: [#{action}], Param: [#{param}]"
28
+ # puts "Time: [#{time}], Action: [#{action}], Param: [#{param}]"
29
+ puts "Time: [#{time}], Action: [#{action}], Param: <not shown>"
28
30
  end
29
31
 
30
32
  context 'initialization' do
31
-
32
33
  it 'it should have 3 monkeys' do
33
34
  @it.count.should == 3
34
35
  end
@@ -44,27 +45,25 @@ describe 'MonkeyService' do
44
45
  it 'should have monkey chico' do
45
46
  @it.exists?(:chico).should == true
46
47
  end
47
-
48
48
  end
49
49
 
50
50
  context 'methods' do
51
-
52
51
  it "'get' should raise an exception if invalid argument type is sent" do
53
- lambda { @it.get(999) }.should raise_exception MonkeyEngine::Exceptions::InvalidArgumentTypeException
52
+ -> { @it.get(999) }.should raise_exception MonkeyEngine::Exceptions::InvalidArgumentTypeException
54
53
  end
55
54
 
56
55
  it "'add' should raise an exception if adding a non-unique object" do
57
- lambda { @it.add(MonkeyFactory::create :chico) }.should raise_exception MonkeyEngine::Exceptions::UniqueObjectException
56
+ lambda {
57
+ @it.add(MonkeyFactory.create(:chico))
58
+ }.should raise_exception MonkeyEngine::Exceptions::UniqueObjectException
58
59
  end
59
60
 
60
61
  it "'any_alive?' should return objects that are alive" do
61
62
  @it.any_alive?.should == true
62
63
  end
63
-
64
64
  end
65
65
 
66
66
  context 'clean up' do
67
-
68
67
  it 'no monkeys should be alive if killed by the service' do
69
68
  # Kill all the threads.
70
69
  @it.kill_all!
@@ -78,9 +77,9 @@ describe 'MonkeyService' do
78
77
  it 'kill_all! should return all monkeys killed' do
79
78
  monkey_service = MonkeyEngine::MonkeyService.instance
80
79
 
81
- monkey_service.add(MonkeyFactory::create :a)
82
- monkey_service.add(MonkeyFactory::create :b)
83
- monkey_service.add(MonkeyFactory::create :c)
80
+ monkey_service.add(MonkeyFactory.create(:a))
81
+ monkey_service.add(MonkeyFactory.create(:b))
82
+ monkey_service.add(MonkeyFactory.create(:c))
84
83
 
85
84
  monkeys = monkey_service.get_all
86
85
 
@@ -90,7 +89,5 @@ describe 'MonkeyService' do
90
89
 
91
90
  (monkeys == killed_monkeys).should == true
92
91
  end
93
-
94
92
  end
95
-
96
- end
93
+ end
data/spec/monkey_spec.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  describe 'Monkey' do
3
4
  before { skip 'todo' }
@@ -5,4 +6,4 @@ describe 'Monkey' do
5
6
  it 'should do something' do
6
7
  skip 'todo'
7
8
  end
8
- end
9
+ end
@@ -1,6 +1,8 @@
1
- module SpecHelpers
2
- require 'minitest/autorun'
1
+ # frozen_string_literal: true
2
+
3
+ require 'pry-byebug'
3
4
 
5
+ module SpecHelpers
4
6
  module SetMonkeyAction
5
7
  def set_action(action)
6
8
  @action = action
@@ -16,5 +18,5 @@ RSpec.configure do |config|
16
18
  config.mock_with :rspec do |c|
17
19
  c.syntax = :should
18
20
  end
19
- #config.raise_errors_for_deprecations!
20
- end
21
+ # config.raise_errors_for_deprecations!
22
+ end
@@ -1,41 +1,41 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Shared for monkey action.
2
- shared_examples_for "MonkeyAction" do
3
- it "should have read access to monkey" do
4
+ shared_examples_for 'MonkeyAction' do
5
+ it 'should have read access to monkey' do
4
6
  @it.respond_to?(:monkey).should == true
5
7
  end
6
8
 
7
- it "should not have write access to monkey" do
9
+ it 'should not have write access to monkey' do
8
10
  @it.respond_to?(:monkey=).should_not == true
9
11
  end
10
12
 
11
- it_should_behave_like "Action"
13
+ it_should_behave_like 'Action'
12
14
  end
13
15
 
14
16
  # Action
15
- shared_examples_for "Action" do
16
-
17
- it "should respond_to? :value" do
17
+ shared_examples_for 'Action' do
18
+ it 'should respond_to? :value' do
18
19
  # "Value: #{@it.value}"
19
20
  @it.respond_to?(:value).should == true
20
21
  end
21
22
 
22
- it "should respond_to? :weight" do
23
+ it 'should respond_to? :weight' do
23
24
  # "Weight: #{@it.weight}"
24
25
  @it.respond_to?(:weight).should == true
25
26
  end
26
27
 
27
28
  # value
28
- it "@value should not be nil?" do
29
+ it '@value should not be nil?' do
29
30
  @it.value.nil?.should_not == true
30
31
  end
31
32
 
32
33
  # weight
33
- it "@weight should not be nil?" do
34
+ it '@weight should not be nil?' do
34
35
  @it.weight.nil?.should_not == true
35
36
  end
36
37
 
37
- it "@weight should be is_a? Float" do
38
+ it '@weight should be is_a? Float' do
38
39
  @it.weight.is_a?(Float).should == true
39
40
  end
40
41
  end
41
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MonkeyEngine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene M. Angelo, Jr.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-01 00:00:00.000000000 Z
11
+ date: 2023-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,62 +16,68 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: '2.3'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.3.20
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '1.3'
29
+ version: '2.3'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 2.3.20
27
33
  - !ruby/object:Gem::Dependency
28
- name: rake
34
+ name: colorize
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '0'
39
+ version: 0.8.1
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '0'
46
+ version: 0.8.1
41
47
  - !ruby/object:Gem::Dependency
42
- name: rspec
48
+ name: pry-byebug
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '3.0'
48
- - - ">="
49
- - !ruby/object:Gem::Version
50
- version: 3.0.0
53
+ version: '3.9'
51
54
  type: :development
52
55
  prerelease: false
53
56
  version_requirements: !ruby/object:Gem::Requirement
54
57
  requirements:
55
58
  - - "~>"
56
59
  - !ruby/object:Gem::Version
57
- version: '3.0'
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: 3.0.0
60
+ version: '3.9'
61
61
  - !ruby/object:Gem::Dependency
62
- name: yard
62
+ name: rake
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - '='
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '13.0'
68
+ - - ">="
66
69
  - !ruby/object:Gem::Version
67
- version: 0.8.6.2
70
+ version: 13.0.6
68
71
  type: :development
69
72
  prerelease: false
70
73
  version_requirements: !ruby/object:Gem::Requirement
71
74
  requirements:
72
- - - '='
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '13.0'
78
+ - - ">="
73
79
  - !ruby/object:Gem::Version
74
- version: 0.8.6.2
80
+ version: 13.0.6
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: redcarpet
77
83
  requirement: !ruby/object:Gem::Requirement
@@ -93,33 +99,53 @@ dependencies:
93
99
  - !ruby/object:Gem::Version
94
100
  version: 2.3.0
95
101
  - !ruby/object:Gem::Dependency
96
- name: pry
102
+ name: rspec
97
103
  requirement: !ruby/object:Gem::Requirement
98
104
  requirements:
99
- - - ">="
105
+ - - "~>"
100
106
  - !ruby/object:Gem::Version
101
- version: '0'
107
+ version: '3.10'
102
108
  type: :development
103
109
  prerelease: false
104
110
  version_requirements: !ruby/object:Gem::Requirement
105
111
  requirements:
106
- - - ">="
112
+ - - "~>"
107
113
  - !ruby/object:Gem::Version
108
- version: '0'
114
+ version: '3.10'
115
+ - !ruby/object:Gem::Dependency
116
+ name: yard
117
+ requirement: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - "~>"
120
+ - !ruby/object:Gem::Version
121
+ version: 0.9.28
122
+ type: :development
123
+ prerelease: false
124
+ version_requirements: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - "~>"
127
+ - !ruby/object:Gem::Version
128
+ version: 0.9.28
109
129
  - !ruby/object:Gem::Dependency
110
130
  name: LittleWeasel
111
131
  requirement: !ruby/object:Gem::Requirement
112
132
  requirements:
113
133
  - - "~>"
114
134
  - !ruby/object:Gem::Version
115
- version: '3.0'
135
+ version: '5.0'
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: 5.0.3
116
139
  type: :runtime
117
140
  prerelease: false
118
141
  version_requirements: !ruby/object:Gem::Requirement
119
142
  requirements:
120
143
  - - "~>"
121
144
  - !ruby/object:Gem::Version
122
- version: '3.0'
145
+ version: '5.0'
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: 5.0.3
123
149
  - !ruby/object:Gem::Dependency
124
150
  name: ProtectedConstructor
125
151
  requirement: !ruby/object:Gem::Requirement
@@ -129,7 +155,7 @@ dependencies:
129
155
  version: '2.0'
130
156
  - - ">="
131
157
  - !ruby/object:Gem::Version
132
- version: 2.0.0
158
+ version: 2.0.3
133
159
  type: :runtime
134
160
  prerelease: false
135
161
  version_requirements: !ruby/object:Gem::Requirement
@@ -139,8 +165,10 @@ dependencies:
139
165
  version: '2.0'
140
166
  - - ">="
141
167
  - !ruby/object:Gem::Version
142
- version: 2.0.0
143
- description: MonkeyEngine - FUN!
168
+ version: 2.0.3
169
+ description: Have some fun! MonkeyEngine is a gem that allows virtual monkeys to tap
170
+ away on a virtual keyboard! Can any of them complete a sentence? write a book? The
171
+ sky's the limit! Add your own AI! Publish the results! Go...BANANAS!
144
172
  email:
145
173
  - public.gma@gmail.com
146
174
  executables: []
@@ -148,25 +176,15 @@ extensions: []
148
176
  extra_rdoc_files: []
149
177
  files:
150
178
  - ".gitignore"
151
- - ".idea/.name"
152
- - ".idea/.rakeTasks"
153
- - ".idea/MonkeyEngine.iml"
154
- - ".idea/codeStyleSettings.xml"
155
- - ".idea/encodings.xml"
156
- - ".idea/misc.xml"
157
- - ".idea/modules.xml"
158
- - ".idea/runConfigurations/All_specs_in_test__MonkeyEngine.xml"
159
- - ".idea/runConfigurations/IRB_console.xml"
160
- - ".idea/runConfigurations/Start_Yard_Server.xml"
161
- - ".idea/runConfigurations/monkey_run.xml"
162
- - ".idea/scopes/scope_settings.xml"
163
- - ".idea/vcs.xml"
164
- - ".idea/workspace.xml"
179
+ - ".rspec"
165
180
  - ".ruby-version"
181
+ - CHANGELOG.md
166
182
  - Gemfile
183
+ - Gemfile.lock
167
184
  - LICENSE.txt
168
185
  - README.md
169
186
  - Rakefile
187
+ - dictionaries/en-US.txt
170
188
  - lib/Action/action.rb
171
189
  - lib/Monkey.rb
172
190
  - lib/Monkey/monkey.rb
@@ -212,30 +230,29 @@ files:
212
230
  - spec/monkey_manager_spec.rb
213
231
  - spec/monkey_service_spec.rb
214
232
  - spec/monkey_spec.rb
215
- - spec/spec_helpers.rb
233
+ - spec/spec_helper.rb
216
234
  - spec/support/shared_examples.rb
217
- homepage: http://www.geneangelo.com
235
+ homepage: https://github.com/gangelo/monkeyengine
218
236
  licenses:
219
237
  - MIT
220
238
  metadata: {}
221
- post_install_message:
239
+ post_install_message:
222
240
  rdoc_options: []
223
241
  require_paths:
224
242
  - lib
225
243
  required_ruby_version: !ruby/object:Gem::Requirement
226
244
  requirements:
227
- - - "~>"
245
+ - - ">="
228
246
  - !ruby/object:Gem::Version
229
- version: '2.1'
247
+ version: '0'
230
248
  required_rubygems_version: !ruby/object:Gem::Requirement
231
249
  requirements:
232
250
  - - ">="
233
251
  - !ruby/object:Gem::Version
234
252
  version: '0'
235
253
  requirements: []
236
- rubyforge_project:
237
- rubygems_version: 2.2.0
238
- signing_key:
254
+ rubygems_version: 3.3.22
255
+ signing_key:
239
256
  specification_version: 4
240
257
  summary: The engine that drives my monkeys!
241
258
  test_files:
@@ -253,6 +270,5 @@ test_files:
253
270
  - spec/monkey_manager_spec.rb
254
271
  - spec/monkey_service_spec.rb
255
272
  - spec/monkey_spec.rb
256
- - spec/spec_helpers.rb
273
+ - spec/spec_helper.rb
257
274
  - spec/support/shared_examples.rb
258
- has_rdoc:
data/.idea/.name DELETED
@@ -1 +0,0 @@
1
- MonkeyEngine
data/.idea/.rakeTasks DELETED
@@ -1,7 +0,0 @@
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 MonkeyEngine-1.0.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install MonkeyEngine-1.0.0.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v1.0.0 and build and push MonkeyEngine-1.0.0.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
@@ -1,133 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="CompassSettings">
4
- <option name="compassSupportEnabled" value="true" />
5
- </component>
6
- <component name="FacetManager">
7
- <facet type="gem" name="Gem">
8
- <configuration>
9
- <option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$/../gem.monkyengine" />
10
- <option name="GEM_APP_TEST_PATH" value="" />
11
- <option name="GEM_APP_LIB_PATH" value="" />
12
- </configuration>
13
- </facet>
14
- </component>
15
- <component name="ModuleRunConfigurationManager">
16
- <configuration default="false" name="Start Yard Server" type="CommandRunConfigurationType" factoryName="Gem Command" singleton="true">
17
- <module name="MonkeyEngine" />
18
- <COMMAND_RUN_CONFIGURATION NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
19
- <COMMAND_RUN_CONFIGURATION NAME="WORK DIR" VALUE="$MODULE_DIR$" />
20
- <COMMAND_RUN_CONFIGURATION NAME="SHOULD_USE_SDK" VALUE="false" />
21
- <COMMAND_RUN_CONFIGURATION NAME="ALTERN_SDK_NAME" VALUE="" />
22
- <COMMAND_RUN_CONFIGURATION NAME="myPassParentEnvs" VALUE="true" />
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
- <COMMAND_CONFIG_SETTINGS_ID NAME="GEM_NAME" VALUE="yard" />
33
- <COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_NAME" VALUE="yard" />
34
- <COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_ARGS" VALUE="server --reload" />
35
- <COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="server --reload" />
36
- <RunnerSettings RunnerId="RubyRunner" />
37
- <ConfigurationWrapper RunnerId="RubyRunner" />
38
- <method />
39
- </configuration>
40
- <configuration default="false" name="IRB console" type="IrbRunConfigurationType" factoryName="IRB console">
41
- <module name="MonkeyEngine" />
42
- <IRB_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
43
- <IRB_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$" />
44
- <IRB_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
45
- <IRB_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
46
- <IRB_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
47
- <envs />
48
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
49
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
50
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
51
- <COVERAGE_PATTERN ENABLED="true">
52
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
53
- </COVERAGE_PATTERN>
54
- </EXTENSION>
55
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
56
- <IRB_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="/usr/bin/irb" />
57
- <IRB_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="--prompt simple" />
58
- <IRB_RUN_CONFIG NAME="IS_RAILS_CONSOLE" VALUE="false" />
59
- <RunnerSettings RunnerId="RubyRunner" />
60
- <ConfigurationWrapper RunnerId="RubyRunner" />
61
- <method />
62
- </configuration>
63
- <configuration default="false" name="All specs in test: MonkeyEngine" type="RSpecRunConfigurationType" factoryName="RSpec">
64
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
65
- <module name="MonkeyEngine" />
66
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
67
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$/spec" />
68
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
69
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
70
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
71
- <envs>
72
- <env name="JRUBY_OPTS" value="-X+O" />
73
- </envs>
74
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
75
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
76
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
77
- <COVERAGE_PATTERN ENABLED="true">
78
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
79
- </COVERAGE_PATTERN>
80
- </EXTENSION>
81
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
82
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$MODULE_DIR$/spec" />
83
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
84
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
85
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
86
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
87
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="ALL_IN_FOLDER" />
88
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
89
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
90
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
91
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
92
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
93
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
94
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
95
- <RunnerSettings RunnerId="RubyRunner" />
96
- <ConfigurationWrapper RunnerId="RubyRunner" />
97
- <method />
98
- </configuration>
99
- <configuration default="false" name="monkey_run" type="RubyRunConfigurationType" factoryName="Ruby" singleton="true">
100
- <module name="MonkeyEngine" />
101
- <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
102
- <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/bin" />
103
- <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
104
- <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
105
- <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
106
- <envs />
107
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
108
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
109
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
110
- <COVERAGE_PATTERN ENABLED="true">
111
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
112
- </COVERAGE_PATTERN>
113
- </EXTENSION>
114
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
115
- <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/bin/monkey_run.rb" />
116
- <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="10" />
117
- <RunnerSettings RunnerId="RubyDebugRunner" />
118
- <RunnerSettings RunnerId="RubyRunner" />
119
- <ConfigurationWrapper RunnerId="RubyDebugRunner" />
120
- <ConfigurationWrapper RunnerId="RubyRunner" />
121
- <method />
122
- </configuration>
123
- </component>
124
- <component name="NewModuleRootManager">
125
- <content url="file://$MODULE_DIR$">
126
- <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
127
- </content>
128
- <orderEntry type="jdk" jdkName="rbenv: 2.1.0" jdkType="RUBY_SDK" />
129
- <orderEntry type="sourceFolder" forTests="false" />
130
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.6.3, rbenv: 2.1.0) [gem]" level="application" />
131
- </component>
132
- </module>
133
-
@@ -1,13 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectCodeStyleSettingsManager">
4
- <option name="PER_PROJECT_SETTINGS">
5
- <value>
6
- <XML>
7
- <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
8
- </XML>
9
- </value>
10
- </option>
11
- </component>
12
- </project>
13
-
data/.idea/encodings.xml DELETED
@@ -1,5 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
- </project>
5
-
data/.idea/misc.xml DELETED
@@ -1,5 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager" version="2" project-jdk-name="rbenv: 1.9.3-p0" project-jdk-type="RUBY_SDK" />
4
- </project>
5
-
data/.idea/modules.xml DELETED
@@ -1,9 +0,0 @@
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/MonkeyEngine.iml" filepath="$PROJECT_DIR$/.idea/MonkeyEngine.iml" />
6
- </modules>
7
- </component>
8
- </project>
9
-
@@ -1,38 +0,0 @@
1
- <component name="ProjectRunConfigurationManager">
2
- <configuration default="false" name="All specs in test: MonkeyEngine" type="RSpecRunConfigurationType" factoryName="RSpec">
3
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
4
- <module name="MonkeyEngine" />
5
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
6
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$/spec" />
7
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
8
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
9
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
10
- <envs>
11
- <env name="JRUBY_OPTS" value="-X+O" />
12
- </envs>
13
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
14
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
15
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
16
- <COVERAGE_PATTERN ENABLED="true">
17
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
18
- </COVERAGE_PATTERN>
19
- </EXTENSION>
20
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
21
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$MODULE_DIR$/spec" />
22
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
23
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
24
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
25
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
26
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="ALL_IN_FOLDER" />
27
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
28
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
29
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
30
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
31
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
32
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
33
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
34
- <RunnerSettings RunnerId="RubyRunner" />
35
- <ConfigurationWrapper RunnerId="RubyRunner" />
36
- <method />
37
- </configuration>
38
- </component>