gamefic-sdk 3.2.1 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfae698c7fc6e90d559be158ad0b86b2a2c5066ff6837465347634849d7804c8
4
- data.tar.gz: 05fb55ff00ca7f25c43c11676732272a84b048f1add4160a3ac58366f9bd48a7
3
+ metadata.gz: 415641494cfa86591a96b85167ac9cba4f1a013d79da063e82d1c561e9435bb3
4
+ data.tar.gz: d44f03b6d4c6d3af3b532b84dc5347a19c04f40affeb6ca6f9691ce4442feb79
5
5
  SHA512:
6
- metadata.gz: '02483f530bf30a9b98acb9fe90b77172b075cc8928cfe1d7e016b35d600bbd49bbbe79f20bdf7487e949808be3242672d07cf7ca105f28a3ad8c97f0cd1ed1a7'
7
- data.tar.gz: 0bda3d0de120dba333ba0800de784cfe0e2c267427e42203f93ef3ab18feb9ca6f09e4cd03e02d7c87334a59f20c4974966b928132122791f00ffaabcce3b5f1
6
+ metadata.gz: 53e1393eae8835b4c69ab12c99a24d39095577665c2fc02aa52ab7aa457c2f69593cea18d28727ee2aabc72808568cc82f22dc839bb94c5b3cc37f3ae1bf9cab
7
+ data.tar.gz: 46c7288a4a3246c20a7b5d4af70054f89a058658bd1ed73e8c7cc02e8f8d817534f21429881ac4a2c2032e2824266c764e92e0903ebc7a30dddf905bc881990a
@@ -22,7 +22,7 @@ jobs:
22
22
  runs-on: ubuntu-latest
23
23
  strategy:
24
24
  matrix:
25
- ruby-version: ['2.7', '3.0', '3.1']
25
+ ruby-version: ['2.7', '3.0', '3.1', '3.3']
26
26
 
27
27
  steps:
28
28
  - uses: actions/checkout@v3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 3.3.0
2
+ - Add chapter to project scaffold
3
+ - Remove superfluous no_scripts calls
4
+
1
5
  ## 3.2.1 - August 6, 2024
2
6
  - Set default path for opal-rspec
3
7
  - Selectable react-gamefic version (default is @latest)
data/gamefic-sdk.gemspec CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
 
29
29
  spec.required_ruby_version = '>= 2.7.0'
30
30
 
31
- spec.add_runtime_dependency 'gamefic', '~> 3.0'
31
+ spec.add_runtime_dependency 'gamefic', '~> 3.4'
32
32
  spec.add_runtime_dependency 'gamefic-standard', '~> 3.0'
33
33
  spec.add_runtime_dependency 'gamefic-tty', '~> 3.0'
34
34
  spec.add_runtime_dependency 'listen', '~> 3.0'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gamefic
4
4
  module Sdk
5
- VERSION = '3.2.1'
5
+ VERSION = '3.3.0'
6
6
  end
7
7
  end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module <%= camelcase(name) %>
4
+ # The base chapter.
5
+ #
6
+ # Authors should extend this class to create chapters that can be appended to
7
+ # the plot.
8
+ #
9
+ class Chapter < Gamefic::Chapter
10
+ include Gamefic::Standard
11
+ end
12
+ end
@@ -7,6 +7,6 @@ module <%= camelcase(name) %>
7
7
  # branch.
8
8
  #
9
9
  class Subplot < Gamefic::Subplot
10
- include Gamefic::Standard.no_scripts
10
+ include Gamefic::Standard
11
11
  end
12
12
  end
@@ -5,5 +5,6 @@ require 'gamefic-standard'
5
5
 
6
6
  module <%= camelcase(name) %>
7
7
  require '<%= name %>/plot'
8
+ require '<%= name %>/chapter'
8
9
  require '<%= name %>/subplot'
9
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gamefic-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Snyder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-06 00:00:00.000000000 Z
11
+ date: 2024-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gamefic
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
19
+ version: '3.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.0'
26
+ version: '3.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gamefic-standard
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -247,6 +247,7 @@ files:
247
247
  - scaffolds/project/README.md.gf.erb
248
248
  - scaffolds/project/Rakefile.gf.erb
249
249
  - scaffolds/project/lib/__name__.rb.gf.erb
250
+ - scaffolds/project/lib/__name__/chapter.rb.gf.erb
250
251
  - scaffolds/project/lib/__name__/plot.rb.gf.erb
251
252
  - scaffolds/project/lib/__name__/subplot.rb.gf.erb
252
253
  - scaffolds/project/main.rb.gf.erb