MonkeyEngine 1.1.0 → 2.0.1

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/.rubocop.yml +192 -0
  5. data/.ruby-version +1 -1
  6. data/CHANGELOG.md +10 -2
  7. data/Gemfile +3 -1
  8. data/Gemfile.lock +70 -0
  9. data/Rakefile +3 -2
  10. data/dictionaries/en-US.txt +466554 -0
  11. data/lib/Action/action.rb +5 -6
  12. data/lib/Monkey/monkey.rb +17 -13
  13. data/lib/Monkey.rb +3 -1
  14. data/lib/MonkeyAction/monkey_action.rb +3 -3
  15. data/lib/MonkeyAction/monkey_action_dead.rb +8 -8
  16. data/lib/MonkeyAction/monkey_action_eat.rb +6 -6
  17. data/lib/MonkeyAction/monkey_action_pause.rb +6 -7
  18. data/lib/MonkeyAction/monkey_action_sleep.rb +6 -6
  19. data/lib/MonkeyAction/monkey_action_type.rb +15 -12
  20. data/lib/MonkeyAction/monkey_action_wake.rb +8 -8
  21. data/lib/MonkeyAction/monkey_timed_action.rb +6 -6
  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 +11 -14
  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 -3
  31. data/lib/MonkeyKeyboard/keyboard_input.rb +4 -3
  32. data/lib/MonkeyKeyboard/keyboard_key.rb +12 -10
  33. data/lib/MonkeyKeyboard/keyboard_key_evaluator.rb +6 -8
  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 +17 -15
  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 +63 -54
  41. data/monkeyengine.gemspec +26 -20
  42. data/spec/action_rules_spec.rb +17 -23
  43. data/spec/engine_spec.rb +15 -20
  44. data/spec/keyboard_char_spec.rb +4 -5
  45. data/spec/keyboard_key_spec.rb +8 -9
  46. data/spec/monkey_action_eat_spec.rb +17 -18
  47. data/spec/monkey_action_pause_spec.rb +19 -20
  48. data/spec/monkey_action_sleep_spec.rb +19 -20
  49. data/spec/monkey_action_type_spec.rb +25 -24
  50. data/spec/monkey_action_wake_spec.rb +10 -11
  51. data/spec/monkey_factory_spec.rb +7 -15
  52. data/spec/monkey_keyboard_en_us_spec.rb +10 -19
  53. data/spec/monkey_manager_spec.rb +3 -2
  54. data/spec/monkey_service_spec.rb +26 -29
  55. data/spec/monkey_spec.rb +3 -2
  56. data/spec/{spec_helpers.rb → spec_helper.rb} +7 -5
  57. data/spec/support/shared_examples.rb +16 -16
  58. metadata +69 -55
  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,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'Monkey'
2
4
  require 'MonkeyActions'
3
5
  require 'MonkeyFactory'
@@ -7,12 +9,10 @@ require_relative 'support/shared_examples'
7
9
 
8
10
  describe 'MonkeyActionWake' do
9
11
  before(:all) do
10
-
11
12
  @monkey = MonkeyFactory.create :waking_monkey1
12
13
  @it = MonkeyActionWake.new @monkey
13
14
 
14
15
  MonkeyEngine::MonkeyManager.instance.add(@monkey)
15
-
16
16
  end
17
17
 
18
18
  after(:all) do
@@ -23,10 +23,10 @@ describe 'MonkeyActionWake' do
23
23
  MonkeyEngine::MonkeyManager.instance.join_all(10)
24
24
  end
25
25
 
26
- it_should_behave_like 'MonkeyAction'
26
+ it_behaves_like 'MonkeyAction'
27
27
 
28
28
  it '@it should be the correct type' do
29
- @it.is_a?(MonkeyActionWake).should == true
29
+ @it.is_a?(MonkeyActionWake).should be true
30
30
  end
31
31
 
32
32
  # Monkey
@@ -36,11 +36,11 @@ describe 'MonkeyActionWake' do
36
36
 
37
37
  # Value
38
38
  it '@value should return the right value' do
39
- @it.value.should == true
39
+ @it.value.should be true
40
40
  end
41
41
 
42
- it "@value should be is_a? TrueClass" do
43
- @it.value.is_a?(TrueClass).should == true
42
+ it '@value should be is_a? TrueClass' do
43
+ @it.value.is_a?(TrueClass).should be true
44
44
  end
45
45
 
46
46
  # Weight
@@ -49,10 +49,9 @@ describe 'MonkeyActionWake' do
49
49
  end
50
50
 
51
51
  # validate
52
- it "should not raise an error if value is within acceptable range" do
52
+ it 'does not raise an error if value is within acceptable range' do
53
53
  monkey = MonkeyFactory.create(:waking_monkey2)
54
54
  MonkeyEngine::MonkeyManager.instance.add(monkey)
55
- lambda { MonkeyActionWake.new(monkey) }.should_not raise_error
55
+ -> { MonkeyActionWake.new(monkey) }.should_not raise_error
56
56
  end
57
-
58
- end
57
+ end
@@ -1,23 +1,15 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'MonkeyFactory'
2
4
 
3
5
  describe 'MonkeyFactory' do
4
-
5
- before(:all) do
6
- end
7
-
8
- after(:all) do
9
- end
10
-
11
6
  context 'create' do
12
-
13
- it 'should instantiate an object from the factory' do
14
- monkey = MonkeyFactory::create(:harpo)
15
- monkey.nil?.should == false
16
- monkey.is_a?(Monkey).should == true
7
+ it 'instantiates an object from the factory' do
8
+ MonkeyFactory.create(:harpo).is_a?(Monkey).should be true
17
9
  end
18
10
 
19
- it 'should not instantiate an object without using the factory' do
20
- lambda { Monkey.new :groucho }.should raise_error NoMethodError
11
+ it 'does not instantiate an object without using the factory' do
12
+ -> { Monkey.new :groucho }.should raise_error NoMethodError
21
13
  end
22
14
  end
23
- end
15
+ end
@@ -1,42 +1,33 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'MonkeyKeyboardEnUs'
2
4
 
3
5
  describe 'MonkeyKeyboardEnUs' do
4
-
5
- before (:all) do
6
+ before(:all) do
6
7
  @it = MonkeyEngine::MonkeyKeyboardEnUs.instance
7
8
  end
8
9
 
9
- context 'keys' do
10
- end
11
-
12
10
  context 'left_keys' do
13
-
14
- it 'should have the correct amount of keyboard entries on the left side of the keyboard' do
15
-
11
+ it 'has the correct amount of keyboard entries on the left side of the keyboard' do
16
12
  key_count = 0
17
13
 
18
- @it.keys.each { |key|
14
+ @it.keys.each do |key| # rubocop:disable Style/HashEachMethods
19
15
  key_count += key.keyboard_key_weight if key.keyboard_key_section == :left
20
- }
16
+ end
21
17
 
22
18
  @it.left_keys.count.should == key_count
23
19
  end
24
-
25
20
  end
26
21
 
27
22
  context 'right_keys' do
28
-
29
- it 'should have the correct amount of keyboard entries on the right side of the keyboard' do
30
-
23
+ it 'has the correct amount of keyboard entries on the right side of the keyboard' do
31
24
  key_count = 0
32
25
 
33
- @it.keys.each { |key|
26
+ @it.keys.each do |key| # rubocop:disable Style/HashEachMethods
34
27
  key_count += key.keyboard_key_weight if key.keyboard_key_section == :right
35
- }
28
+ end
36
29
 
37
30
  @it.right_keys.count.should == key_count
38
31
  end
39
-
40
32
  end
41
-
42
- end
33
+ end
@@ -1,8 +1,9 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  describe 'MonkeyManager' do
3
4
  before { skip 'todo' }
4
5
 
5
- it 'should do something' do
6
+ it 'does something' do
6
7
  skip 'todo'
7
8
  end
8
- end
9
+ end
@@ -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
@@ -23,48 +24,46 @@ describe 'MonkeyService' do
23
24
  @it.join_all(10)
24
25
  end
25
26
 
26
- def update(time, action, param)
27
- puts "Time: [#{time}], Action: [#{action}], Param: [#{param}]"
27
+ def update(time, action, _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
- it 'it should have 3 monkeys' do
33
+ it 'has 3 monkeys' do
33
34
  @it.count.should == 3
34
35
  end
35
36
 
36
- it 'should have monkey harpo' do
37
- @it.exists?(:harpo).should == true
37
+ it 'has monkey harpo' do
38
+ @it.exists?(:harpo).should be true
38
39
  end
39
40
 
40
- it 'should have monkey groucho' do
41
- @it.exists?(:groucho).should == true
41
+ it 'has monkey groucho' do
42
+ @it.exists?(:groucho).should be true
42
43
  end
43
44
 
44
- it 'should have monkey chico' do
45
- @it.exists?(:chico).should == true
45
+ it 'has monkey chico' do
46
+ @it.exists?(:chico).should be 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
- @it.any_alive?.should == true
62
+ @it.any_alive?.should be 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!
@@ -72,15 +71,15 @@ describe 'MonkeyService' do
72
71
  # Give them a little bit to finish.
73
72
  @it.join_all(10)
74
73
 
75
- @it.any_alive?.should == false
74
+ @it.any_alive?.should be false
76
75
  end
77
76
 
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
 
@@ -88,9 +87,7 @@ describe 'MonkeyService' do
88
87
 
89
88
  monkey_service.join_all(10)
90
89
 
91
- (monkeys == killed_monkeys).should == true
90
+ (monkeys == killed_monkeys).should be true
92
91
  end
93
-
94
92
  end
95
-
96
- end
93
+ end
data/spec/monkey_spec.rb CHANGED
@@ -1,8 +1,9 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  describe 'Monkey' do
3
4
  before { skip 'todo' }
4
5
 
5
- it 'should do something' do
6
+ it 'does something' do
6
7
  skip 'todo'
7
8
  end
8
- end
9
+ end
@@ -1,8 +1,10 @@
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
- def set_action(action)
7
+ def force_action(action)
6
8
  @action = action
7
9
  end
8
10
  end
@@ -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
- @it.respond_to?(:monkey).should == true
4
+ shared_examples_for 'MonkeyAction' do
5
+ it 'has read access to monkey' do
6
+ @it.respond_to?(:monkey).should be true
5
7
  end
6
8
 
7
- it "should not have write access to monkey" do
9
+ it 'does 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_behaves_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 'respond_to?s :value' do
18
19
  # "Value: #{@it.value}"
19
- @it.respond_to?(:value).should == true
20
+ @it.respond_to?(:value).should be true
20
21
  end
21
22
 
22
- it "should respond_to? :weight" do
23
+ it 'respond_to?s :weight' do
23
24
  # "Weight: #{@it.weight}"
24
- @it.respond_to?(:weight).should == true
25
+ @it.respond_to?(:weight).should be 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.is_a?(Float).should == true
38
+ it '@weight should be is_a? Float' do
39
+ @it.weight.is_a?(Float).should be 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.1.0
4
+ version: 2.0.1
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: 2017-09-15 00:00:00.000000000 Z
11
+ date: 2023-08-31 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
+ - - "~>"
73
76
  - !ruby/object:Gem::Version
74
- version: 0.8.6.2
77
+ version: '13.0'
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
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
103
+ requirement: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - "~>"
106
+ - !ruby/object:Gem::Version
107
+ version: '3.10'
108
+ type: :development
109
+ prerelease: false
110
+ version_requirements: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - "~>"
113
+ - !ruby/object:Gem::Version
114
+ version: '3.10'
115
+ - !ruby/object:Gem::Dependency
116
+ name: yard
97
117
  requirement: !ruby/object:Gem::Requirement
98
118
  requirements:
99
- - - ">="
119
+ - - "~>"
100
120
  - !ruby/object:Gem::Version
101
- version: '0'
121
+ version: 0.9.28
102
122
  type: :development
103
123
  prerelease: false
104
124
  version_requirements: !ruby/object:Gem::Requirement
105
125
  requirements:
106
- - - ">="
126
+ - - "~>"
107
127
  - !ruby/object:Gem::Version
108
- version: '0'
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,10 +165,10 @@ dependencies:
139
165
  version: '2.0'
140
166
  - - ">="
141
167
  - !ruby/object:Gem::Version
142
- version: 2.0.0
168
+ version: 2.0.3
143
169
  description: Have some fun! MonkeyEngine is a gem that allows virtual monkeys to tap
144
170
  away on a virtual keyboard! Can any of them complete a sentence? write a book? The
145
- sky's the limit! Add your own AI! Publish the results! Go...BANANAS!
171
+ sky is the limit! Add your own AI! Publish the results! Go...BANANAS!
146
172
  email:
147
173
  - public.gma@gmail.com
148
174
  executables: []
@@ -150,26 +176,16 @@ extensions: []
150
176
  extra_rdoc_files: []
151
177
  files:
152
178
  - ".gitignore"
153
- - ".idea/.name"
154
- - ".idea/.rakeTasks"
155
- - ".idea/MonkeyEngine.iml"
156
- - ".idea/codeStyleSettings.xml"
157
- - ".idea/encodings.xml"
158
- - ".idea/misc.xml"
159
- - ".idea/modules.xml"
160
- - ".idea/runConfigurations/All_specs_in_test__MonkeyEngine.xml"
161
- - ".idea/runConfigurations/IRB_console.xml"
162
- - ".idea/runConfigurations/Start_Yard_Server.xml"
163
- - ".idea/runConfigurations/monkey_run.xml"
164
- - ".idea/scopes/scope_settings.xml"
165
- - ".idea/vcs.xml"
166
- - ".idea/workspace.xml"
179
+ - ".rspec"
180
+ - ".rubocop.yml"
167
181
  - ".ruby-version"
168
182
  - CHANGELOG.md
169
183
  - Gemfile
184
+ - Gemfile.lock
170
185
  - LICENSE.txt
171
186
  - README.md
172
187
  - Rakefile
188
+ - dictionaries/en-US.txt
173
189
  - lib/Action/action.rb
174
190
  - lib/Monkey.rb
175
191
  - lib/Monkey/monkey.rb
@@ -215,30 +231,29 @@ files:
215
231
  - spec/monkey_manager_spec.rb
216
232
  - spec/monkey_service_spec.rb
217
233
  - spec/monkey_spec.rb
218
- - spec/spec_helpers.rb
234
+ - spec/spec_helper.rb
219
235
  - spec/support/shared_examples.rb
220
236
  homepage: https://github.com/gangelo/monkeyengine
221
237
  licenses:
222
238
  - MIT
223
239
  metadata: {}
224
- post_install_message:
240
+ post_install_message:
225
241
  rdoc_options: []
226
242
  require_paths:
227
243
  - lib
228
244
  required_ruby_version: !ruby/object:Gem::Requirement
229
245
  requirements:
230
- - - "~>"
246
+ - - ">="
231
247
  - !ruby/object:Gem::Version
232
- version: '2.1'
248
+ version: 3.0.1
233
249
  required_rubygems_version: !ruby/object:Gem::Requirement
234
250
  requirements:
235
251
  - - ">="
236
252
  - !ruby/object:Gem::Version
237
253
  version: '0'
238
254
  requirements: []
239
- rubyforge_project:
240
- rubygems_version: 2.2.0
241
- signing_key:
255
+ rubygems_version: 3.2.15
256
+ signing_key:
242
257
  specification_version: 4
243
258
  summary: The engine that drives my monkeys!
244
259
  test_files:
@@ -256,6 +271,5 @@ test_files:
256
271
  - spec/monkey_manager_spec.rb
257
272
  - spec/monkey_service_spec.rb
258
273
  - spec/monkey_spec.rb
259
- - spec/spec_helpers.rb
274
+ - spec/spec_helper.rb
260
275
  - spec/support/shared_examples.rb
261
- 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>