MonkeyEngine 2.0.6 → 2.0.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03b8f1a8373dcee0664ee0da7ea0f2ef31f852a879dd4d6c137fe6ea8041ed03
4
- data.tar.gz: 63726224ff9c14155318b9d50341d66df9e72368108f9aca6bce3fba0e29b5de
3
+ metadata.gz: 51f65bac89591ecfb2e3dbca8de496ef9fc4d3977d804a556a8c8e1e084e7d38
4
+ data.tar.gz: e6e5fb104e15fbe46f7cbbb50cebfdba0f62002d581a1c17158638653a351a6f
5
5
  SHA512:
6
- metadata.gz: 18544ac98241e88d137e33d2f00e5550482d401b0d42400f80993cac0aa1aa73940d1b4928ed76cdabc43d90adb029ff30d85c97a03d3fa23dd19718a63eec31
7
- data.tar.gz: 2f49909aa479bcff024e264d7f16e8beec3cd425e7d595d5a457f86fac08c850f6b3b535db2f0d96e3cfb5f330a55e3e3505ae3f32316cc4da92ade23a0a1a35
6
+ metadata.gz: 40f9b4b4f91e9b5e1c35c5d2faa5658750f0aaf8799b231640e6b39f61a10bc06c51b89b01ded58c038466bb8c7113d5c6562cb8085938366b450399ddcebba7
7
+ data.tar.gz: 43148f12a59bbaff3cd5087ad0d743692100501d6d18fc699106f554cb0ec128884b235c5d1081019fc4611d3c91a2a802228653aaae38cc72e5f35b4ed90344
@@ -0,0 +1,11 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "bundler" # See documentation for possible values
9
+ directory: "/" # Location of package manifests
10
+ schedule:
11
+ interval: "weekly"
@@ -1,10 +1,3 @@
1
- # This workflow uses actions that are not certified by GitHub.
2
- # They are provided by a third-party and are governed by
3
- # separate terms of service, privacy policy, and support
4
- # documentation.
5
- # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
- # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
-
8
1
  name: Ruby
9
2
 
10
3
  on:
@@ -18,26 +11,50 @@ permissions:
18
11
 
19
12
  jobs:
20
13
  test:
21
- runs-on: ubuntu-latest
14
+ runs-on: ${{ matrix.os }}
22
15
  strategy:
23
16
  matrix:
24
- # Use `rbenv install -l` and only use the latest stable
25
- # version of ruby.
26
- ruby-version: ["3.0.1", "3.0.6", "3.1.4", "3.2.2"]
17
+ os:
18
+ [
19
+ ubuntu-latest,
20
+ ubuntu-20.04,
21
+ macos-latest,
22
+ macos-13,
23
+ macos-12,
24
+ windows-latest,
25
+ windows-2019,
26
+ ]
27
+ ruby: ["3.0.1", "3.1", "3.2", "3.3"]
27
28
 
28
29
  steps:
29
30
  - uses: actions/checkout@v3
30
- - name: Set timezone
31
+
32
+ - name: Set timezone on Linux
33
+ if: contains(matrix.os, 'ubuntu')
31
34
  run: sudo timedatectl set-timezone 'America/New_York'
32
- - name: Run a command
33
- run: date
35
+
36
+ - name: Set timezone on macOS
37
+ if: contains(matrix.os, 'macos')
38
+ run: sudo systemsetup -settimezone America/New_York
39
+
40
+ - name: Set timezone on Windows
41
+ if: contains(matrix.os, 'windows')
42
+ run: tzutil /s "Eastern Standard Time"
43
+
34
44
  - name: Set up Ruby
35
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
36
- # change this to (see https://github.com/ruby/setup-ruby#versioning):
37
- # uses: ruby/setup-ruby@v1
38
- uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
45
+ uses: ruby/setup-ruby@v1
39
46
  with:
40
- ruby-version: ${{ matrix.ruby-version }}
41
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
47
+ ruby-version: ${{ matrix.ruby }}
48
+ bundler-cache: true
49
+
50
+ - name: Update RubyGems
51
+ run: gem update --system
52
+
53
+ - name: Disable bundler frozen setting
54
+ run: bundle config set frozen false
55
+
56
+ - name: Install dependencies
57
+ run: bundle install
58
+
42
59
  - name: Run tests
43
60
  run: bundle exec rake
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### Version 2.0.7 2024-08-10
2
+
3
+ Changes
4
+
5
+ - Update ruby gems.
6
+
1
7
  ### Version 2.0.6 2024-01-25
2
8
 
3
9
  Changes
@@ -20,19 +26,24 @@ Changes
20
26
  - Change the time task engine:run takes to run from 120 seconds to 30 seconds.
21
27
 
22
28
  ### Version 2.0.3 2023-12-02
29
+
23
30
  - Update ruby gems.
24
31
 
25
32
  ### Version 2.0.2 2023-11-01
33
+
26
34
  - Update ruby gems.
27
35
 
28
36
  ### Version 2.0.1
37
+
29
38
  - Update ruby gems.
30
39
  - Various refactors.
31
40
 
32
41
  ### Version 2.0.0
42
+
33
43
  - Use LittleWeasel gem for dictionary.
34
44
  - Gem update to patch CVEs.
35
45
 
36
46
  ### Version 1.1.0
47
+
37
48
  - Made some changes to the sample rake task $ bundle exec rake engine:run
38
49
  - Added this CHANGELOG.md file
data/Gemfile CHANGED
@@ -6,9 +6,15 @@ source 'https://rubygems.org'
6
6
  gemspec
7
7
 
8
8
  gem 'bundler', '~> 2.5', '>= 2.5.3'
9
- gem 'colorize', '>= 0.8.1', '< 1.0'
10
- gem 'pry-byebug', '>= 3.9', '< 4.0'
11
9
  gem 'rake', '>= 13.0', '< 14.0'
12
- gem 'redcarpet', '>= 2.3.0', '~> 3.6'
13
- gem 'rspec', '>= 3.10', '< 4.0'
14
- gem 'yard', '>= 0.9.28', '< 1.0'
10
+
11
+ group :development do
12
+ gem 'colorize', '>= 0.8.1', '< 2.0'
13
+ gem 'redcarpet', '>= 2.3.0', '~> 3.6'
14
+ gem 'yard', '>= 0.9.28', '< 1.0'
15
+ end
16
+
17
+ group :development, :test do
18
+ gem 'pry-byebug', '>= 3.9', '< 4.0'
19
+ gem 'rspec', '>= 3.10', '< 4.0'
20
+ end
data/Gemfile.lock CHANGED
@@ -1,17 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- MonkeyEngine (2.0.6)
4
+ MonkeyEngine (2.0.7)
5
5
  LittleWeasel (~> 5.0)
6
6
  ProtectedConstructor (~> 3.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- LittleWeasel (5.0.10)
11
+ LittleWeasel (5.0.13)
12
12
  activesupport (>= 7.0.8, < 8.0)
13
- ProtectedConstructor (3.0.1)
14
- activesupport (7.1.3)
13
+ ProtectedConstructor (3.0.3)
14
+ activesupport (7.1.3.4)
15
15
  base64
16
16
  bigdecimal
17
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -22,19 +22,18 @@ GEM
22
22
  mutex_m
23
23
  tzinfo (~> 2.0)
24
24
  base64 (0.2.0)
25
- bigdecimal (3.1.6)
25
+ bigdecimal (3.1.8)
26
26
  byebug (11.1.3)
27
27
  coderay (1.1.3)
28
- colorize (0.8.1)
29
- concurrent-ruby (1.2.3)
28
+ colorize (1.1.0)
29
+ concurrent-ruby (1.3.4)
30
30
  connection_pool (2.4.1)
31
- diff-lcs (1.5.0)
32
- drb (2.2.0)
33
- ruby2_keywords
34
- i18n (1.14.1)
31
+ diff-lcs (1.5.1)
32
+ drb (2.2.1)
33
+ i18n (1.14.5)
35
34
  concurrent-ruby (~> 1.0)
36
- method_source (1.0.0)
37
- minitest (5.21.2)
35
+ method_source (1.1.0)
36
+ minitest (5.24.1)
38
37
  mutex_m (0.2.0)
39
38
  pry (0.14.2)
40
39
  coderay (~> 1.1)
@@ -42,35 +41,39 @@ GEM
42
41
  pry-byebug (3.10.1)
43
42
  byebug (~> 11.0)
44
43
  pry (>= 0.13, < 0.15)
45
- rake (13.1.0)
44
+ rake (13.2.1)
46
45
  redcarpet (3.6.0)
47
- rspec (3.12.0)
48
- rspec-core (~> 3.12.0)
49
- rspec-expectations (~> 3.12.0)
50
- rspec-mocks (~> 3.12.0)
51
- rspec-core (3.12.2)
52
- rspec-support (~> 3.12.0)
53
- rspec-expectations (3.12.3)
46
+ rspec (3.13.0)
47
+ rspec-core (~> 3.13.0)
48
+ rspec-expectations (~> 3.13.0)
49
+ rspec-mocks (~> 3.13.0)
50
+ rspec-core (3.13.0)
51
+ rspec-support (~> 3.13.0)
52
+ rspec-expectations (3.13.1)
54
53
  diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.12.0)
56
- rspec-mocks (3.12.6)
54
+ rspec-support (~> 3.13.0)
55
+ rspec-mocks (3.13.1)
57
56
  diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.12.0)
59
- rspec-support (3.12.1)
60
- ruby2_keywords (0.0.5)
57
+ rspec-support (~> 3.13.0)
58
+ rspec-support (3.13.1)
61
59
  tzinfo (2.0.6)
62
60
  concurrent-ruby (~> 1.0)
63
- yard (0.9.34)
61
+ yard (0.9.36)
64
62
 
65
63
  PLATFORMS
64
+ arm64-darwin-22
65
+ arm64-darwin-23
66
+ x64-mingw-ucrt
67
+ x64-mingw32
66
68
  x86_64-darwin-19
69
+ x86_64-darwin-20
67
70
  x86_64-darwin-21
68
71
  x86_64-linux
69
72
 
70
73
  DEPENDENCIES
71
74
  MonkeyEngine!
72
75
  bundler (~> 2.5, >= 2.5.3)
73
- colorize (>= 0.8.1, < 1.0)
76
+ colorize (>= 0.8.1, < 2.0)
74
77
  pry-byebug (>= 3.9, < 4.0)
75
78
  rake (>= 13.0, < 14.0)
76
79
  redcarpet (~> 3.6, >= 2.3.0)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  [![Ruby](https://github.com/gangelo/MonkeyEngine/actions/workflows/ruby.yml/badge.svg?refresh=1)](https://github.com/gangelo/MonkeyEngine/actions/workflows/ruby.yml)
2
- [![GitHub version](http://badge.fury.io/gh/gangelo%2FMonkeyEngine.svg?refresh=3)](https://badge.fury.io/gh/gangelo%2FMonkeyEngine)
3
- [![Gem Version](https://badge.fury.io/rb/MonkeyEngine.svg?refresh=3)](https://badge.fury.io/rb/MonkeyEngine)
2
+ [![GitHub version](http://badge.fury.io/gh/gangelo%2FMonkeyEngine.svg?refresh=5)](https://badge.fury.io/gh/gangelo%2FMonkeyEngine)
3
+ [![Gem Version](https://badge.fury.io/rb/MonkeyEngine.svg?refresh=5)](https://badge.fury.io/rb/MonkeyEngine)
4
4
  [![](http://ruby-gem-downloads-badge.herokuapp.com/MonkeyEngine?type=total)](http://www.rubydoc.info/gems/MonkeyEngine/)
5
5
  [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/MonkeyEngine/)
6
6
  [![Report Issues](https://img.shields.io/badge/report-issues-red.svg)](https://github.com/gangelo/MonkeyEngine/issues)
@@ -8,7 +8,7 @@
8
8
 
9
9
  # MonkeyEngine
10
10
 
11
- Have some fun! MonkeyEngine is a gem that allows virtual monkeys to tap away on a virtual keyboard! Can any of them complete a sentence? write a book? The sky's the limit! Add your own AI! Publish the results! Go...BANANAS!
11
+ Have some fun! MonkeyEngine is a gem that allows virtual monkeys to tap away on a virtual keyboard! Can any of them complete a sentence? write a book? The sky's the limit! Add your own AI! Publish the results! Go...BANANAS!
12
12
 
13
13
  Run the following rake task at the command line to see a little sample app:
14
14
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MonkeyEngine
4
- VERSION = '2.0.6'
4
+ VERSION = '2.0.7'
5
5
  end
@@ -16,7 +16,9 @@ module MonkeyEngine
16
16
  attr_reader :keys, :left_keys, :right_keys
17
17
 
18
18
  def initialize
19
- LittleWeasel.configure { |config| }
19
+ LittleWeasel.configure do |config|
20
+ config.max_dictionary_file_megabytes = 7
21
+ end
20
22
 
21
23
  @keys = [
22
24
  # Row 1 of 5
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: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene M. Angelo, Jr.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: LittleWeasel
@@ -47,6 +47,7 @@ executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
+ - ".github/dependabot.yml"
50
51
  - ".github/workflows/ruby.yml"
51
52
  - ".gitignore"
52
53
  - ".rspec"