gamefic-standard 4.1.0 → 4.1.2

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: bb3b66cc12abfb8e46bd9b9fb042d2aeb34a0cdd1bd13b0c9865bee9493a5f54
4
- data.tar.gz: c9e3e7f515bcf2b294ace5171fe0f843d8298135338f53950cca0e3468437ffe
3
+ metadata.gz: c40e833aa8efac65399745088c3119ff24a05b6dc957da7574da7e464971af90
4
+ data.tar.gz: 5f0eb63d47bf2ea9af7bf8fbe50bfcd40e8bfcf6f99d9788307f4ce8a8621528
5
5
  SHA512:
6
- metadata.gz: fc292cde7a1465c88a64bf17c13e1f9124ed98ed59382258b878d1a56bbafd890f818568cca80f0a72a11a30e45acceb6a1c9982b6847498cc6d12c0d9ae35e4
7
- data.tar.gz: e4d588d264b1f1ff8a4f189de4736f5d4cf10361d1f145401e20987a1e4eac08a44e46af8a0cd34487421faea7f346846c511f893088237b985d62dacb9aadd9
6
+ metadata.gz: 1abeb6166409e2c8c4da7f3f0576d7d6075f75963fe6ec991694c3679517b06cff9cfe864705b76bf4fc729093fd52f0e25aeef700b365c0105807a08ebb8894
7
+ data.tar.gz: 1aff86a5d9fd581d534992ecdec8b8ac5ae7a10925267e7304841951f7d9142315037f4f8c4881f146309659a2ca0444f7868c50921e77db3aaab61c604075a3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 4.1.2 - June 17, 2026
2
+ - Monkey patch Entity and Actor
3
+
4
+ ## 4.1.1 - June 16, 2026
5
+ - Surface Thing and Character aliases in YARD
6
+
1
7
  ## 4.1.0 - February 1, 2026
2
8
  - In and out directions
3
9
  - Room#connect= accepts hashes
@@ -2,12 +2,15 @@
2
2
 
3
3
  module Gamefic
4
4
  module Standard
5
+ # @return [Class<Gamefic::Actor>]
5
6
  Character = Gamefic::Actor
6
- Character.set_default gender: :other
7
7
 
8
- class Character
8
+ class Gamefic::Actor
9
+ include Standardized
9
10
  include ImplicitTaking
10
11
 
12
+ set_default gender: :other
13
+
11
14
  def accessible
12
15
  children.select { |child| child.is_a?(Scenery) }
13
16
  end
@@ -2,8 +2,13 @@
2
2
 
3
3
  module Gamefic
4
4
  module Standard
5
+ # @return [Class<Gamefic::Entity>]
5
6
  Thing = Gamefic::Entity
6
- Thing.set_default itemized: true, portable: false
7
- Thing.include Gamefic::Standard::Standardized
7
+
8
+ class Gamefic::Entity
9
+ include Standardized
10
+
11
+ set_default itemized: true, portable: false
12
+ end
8
13
  end
9
14
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gamefic
4
4
  module Standard
5
- VERSION = '4.1.0'
5
+ VERSION = '4.1.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gamefic-standard
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Snyder
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  - !ruby/object:Gem::Version
220
220
  version: '0'
221
221
  requirements: []
222
- rubygems_version: 3.6.7
222
+ rubygems_version: 4.0.6
223
223
  specification_version: 4
224
224
  summary: The Gamefic standard script library.
225
225
  test_files: []