felflame 4.0.0 → 4.0.1

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: edb62769a2de8d0770e86a9e1462acf08f0212adcfb5022e77976f787bd8d04f
4
- data.tar.gz: 0e6b390b1c35c6ace23cc296dc30aac9389b35fe47a01b31a32aa3375b320f96
3
+ metadata.gz: cec067b89ac14359b45b79e06fecca67e8d7f48eb30f1ce81e799b0a0e2fe589
4
+ data.tar.gz: ab4dad9aad4b318e95e536d68997903c0827b94c350c49ce2cc848d2aa446542
5
5
  SHA512:
6
- metadata.gz: 8e5dc06f74e3cca7da3a1fe93359adee2d224e027156c5d9f1047d21895a3c96791c0f8907fdbf30496b4256be04d645b6f2fd8a8bb69b9a8a2220defcd96b9c
7
- data.tar.gz: 9a61a13a77b2ac6196a5405bb614971212bde523f59f85826ef0a4839f78b255947e97ec19c80745df248e90c78bc97589a963f46c609794c41af32fdd4caaa9
6
+ metadata.gz: d93839605990768797fa65d9bd2b3f66b9a1dc79f53a26a1a9aa6ff7147b128a3715a1f35270ddecd26e979e306edf7166566a733089e7a1311396506a4a7e11
7
+ data.tar.gz: bd63c7c26f97f8387b3b9eb717d60e6ce6197b8b20f58b75ade45e17a114118716552a7e75833854ea44094c42c3b66d29dfa7deeed2ff43b1901ab419717616
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.7
2
+ TargetRubyVersion: 2.5
3
3
 
4
4
  Style/StringLiterals:
5
5
  Enabled: true
data/CHANGELOG.mdown CHANGED
@@ -20,54 +20,54 @@
20
20
  - Various arrays are automatically compacted
21
21
 
22
22
  ![Added](https://img.shields.io/badge/-Added-brightgreen)
23
- - Classes and Modules which used a data array now have the entire set of array methods available to their respective Classes and Modules
23
+ - Classes and Modules which used a data array now have the entire set of array methods available to their respective Classes and Modules
24
24
  - Convenience methods for accessing a single entity in a component(`@component.entity`) and accessing a single entity in a component(`@entity.component[@component_manager]`)
25
- - `FelFlame::Order` class which can set the order if your Scenes and Systems
25
+ - `FelFlame::Order` class which can set the order of your Scenes and Systems
26
26
 
27
- ![Fixed](https://img.shields.io/badge/-Fixed-blue)
28
- - Replaced all instances of `sort_by!` with `sort_by` for compatibility with mruby
29
- - Minor optimizations such as less array duplication
27
+ ![Fixed](https://img.shields.io/badge/-Fixed-blue)
28
+ - Replaced all instances of `sort_by!` with `sort_by` for compatibility with mruby
29
+ - Minor optimizations such as less array duplication
30
30
 
31
31
  ## [3.0.0](https://github.com/realtradam/FelFlame/releases/tag/3.0.0) - 2021-07-12
32
- ![Changed](https://img.shields.io/badge/-Changed-yellow)
33
- - The Scene alias was changed from ```FelFlame::Sce``` to ```FelFlame::Scn``` as it is more intuitive
32
+ ![Changed](https://img.shields.io/badge/-Changed-yellow)
33
+ - The Scene alias was changed from ```FelFlame::Sce``` to ```FelFlame::Scn``` as it is more intuitive.
34
34
 
35
35
  ## [2.0.0](https://github.com/realtradam/FelFlame/releases/tag/2.0.0) - 2021-07-10
36
- ![Changed](https://img.shields.io/badge/-Changed-yellow)
37
- - Entities and Components now reference each other using the objects themselves rather then their id's
38
- ```ruby
36
+ ![Changed](https://img.shields.io/badge/-Changed-yellow)
37
+ - Entities and Components now reference each other using the objects themselves rather then their id's
38
+ ```ruby
39
39
  # before:
40
- @entity.components[@component_manager].each do |component_id|
41
- # iterate over id's, usually would need to do a lookup to get the component itself
42
- end
40
+ @entity.components[@component_manager].each do |component_id|
41
+ # iterate over id's, usually would need to do a lookup to get the component itself
42
+ end
43
43
 
44
44
  # after:
45
- @entity.components[@component_manager].each do |component|
46
- # iterate over the components themselves! No need for lookup anymore
47
- end
48
- ```
49
- ```ruby
45
+ @entity.components[@component_manager].each do |component|
46
+ # iterate over the components themselves! No need for lookup anymore
47
+ end
48
+ ```
49
+ ```ruby
50
50
  # same for components referencing entities
51
51
  # before:
52
- @component.entities.each do |entity_id|
53
- #iterate over id's
54
- end
52
+ @component.entities.each do |entity_id|
53
+ #iterate over id's
54
+ end
55
55
 
56
56
  # after:
57
- @component.entities.each do |entity|
58
- # directly iterate over entities themselves!
59
- end
60
- ```
61
-
57
+ @component.entities.each do |entity|
58
+ # directly iterate over entities themselves!
59
+ end
60
+ ```
61
+
62
62
 
63
63
  ## [1.0.2](https://github.com/realtradam/FelFlame/releases/tag/1.0.2) - 2021-07-09
64
- ![Fixed](https://img.shields.io/badge/-Fixed-blue)
65
- - Stripped superflous files shrinking gem size significantly
64
+ ![Fixed](https://img.shields.io/badge/-Fixed-blue)
65
+ - Stripped superflous files shrinking gem size significantly
66
66
 
67
67
  ## [1.0.1](https://github.com/realtradam/FelFlame/releases/tag/1.0.1) - 2021-07-09
68
- ![Fixed](https://img.shields.io/badge/-Fixed-blue)
69
- - Defining attributes in components are no longer allowed to overwrite methods
68
+ ![Fixed](https://img.shields.io/badge/-Fixed-blue)
69
+ - Defining attributes in components are no longer allowed to overwrite methods
70
70
 
71
71
  ## [1.0.0](https://github.com/realtradam/FelFlame/releases/tag/1.0.0) - 2021-07-09
72
- ![Added](https://img.shields.io/badge/-Added-brightgreen)
73
- - Initial release
72
+ ![Added](https://img.shields.io/badge/-Added-brightgreen)
73
+ - Initial release
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- felflame (4.0.0)
4
+ felflame (4.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1229,7 +1229,7 @@
1229
1229
  </div>
1230
1230
 
1231
1231
  <div id="footer">
1232
- Generated on Mon Jan 3 08:23:04 2022 by
1232
+ Generated on Tue Feb 1 23:28:33 2022 by
1233
1233
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1234
1234
  0.9.26 (ruby-2.7.3).
1235
1235
  </div>
@@ -323,7 +323,7 @@
323
323
  </div>
324
324
 
325
325
  <div id="footer">
326
- Generated on Mon Jan 3 08:23:04 2022 by
326
+ Generated on Tue Feb 1 23:28:33 2022 by
327
327
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
328
328
  0.9.26 (ruby-2.7.3).
329
329
  </div>
@@ -782,7 +782,7 @@
782
782
  </div>
783
783
 
784
784
  <div id="footer">
785
- Generated on Mon Jan 3 08:23:04 2022 by
785
+ Generated on Tue Feb 1 23:28:33 2022 by
786
786
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
787
787
  0.9.26 (ruby-2.7.3).
788
788
  </div>
@@ -241,7 +241,7 @@
241
241
  </div>
242
242
 
243
243
  <div id="footer">
244
- Generated on Mon Jan 3 08:23:04 2022 by
244
+ Generated on Tue Feb 1 23:28:33 2022 by
245
245
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
246
246
  0.9.26 (ruby-2.7.3).
247
247
  </div>
@@ -755,7 +755,7 @@
755
755
  </div>
756
756
 
757
757
  <div id="footer">
758
- Generated on Mon Jan 3 08:23:04 2022 by
758
+ Generated on Tue Feb 1 23:28:33 2022 by
759
759
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
760
760
  0.9.26 (ruby-2.7.3).
761
761
  </div>
@@ -562,7 +562,7 @@
562
562
  </div>
563
563
 
564
564
  <div id="footer">
565
- Generated on Mon Jan 3 08:23:04 2022 by
565
+ Generated on Tue Feb 1 23:28:33 2022 by
566
566
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
567
567
  0.9.26 (ruby-2.7.3).
568
568
  </div>
@@ -1495,7 +1495,7 @@
1495
1495
  </div>
1496
1496
 
1497
1497
  <div id="footer">
1498
- Generated on Mon Jan 3 08:23:04 2022 by
1498
+ Generated on Tue Feb 1 23:28:33 2022 by
1499
1499
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1500
1500
  0.9.26 (ruby-2.7.3).
1501
1501
  </div>
data/docs/FelFlame.html CHANGED
@@ -289,12 +289,12 @@
289
289
  <pre class="lines">
290
290
 
291
291
 
292
- 18
293
- 19
294
- 20</pre>
292
+ 21
293
+ 22
294
+ 23</pre>
295
295
  </td>
296
296
  <td>
297
- <pre class="code"><span class="info file"># File 'lib/felflame.rb', line 18</span>
297
+ <pre class="code"><span class="info file"># File 'lib/felflame.rb', line 21</span>
298
298
 
299
299
  <span class='kw'>def</span> <span class='id identifier rubyid_call'>call</span>
300
300
  <span class='const'><span class='object_link'><a href="" title="FelFlame (module)">FelFlame</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="FelFlame/Stage.html" title="FelFlame::Stage (module)">Stage</a></span></span><span class='period'>.</span><span class='id identifier rubyid_call'><span class='object_link'><a href="FelFlame/Stage.html#call-class_method" title="FelFlame::Stage.call (method)">call</a></span></span>
@@ -309,7 +309,7 @@
309
309
  </div>
310
310
 
311
311
  <div id="footer">
312
- Generated on Mon Jan 3 08:23:04 2022 by
312
+ Generated on Tue Feb 1 23:28:33 2022 by
313
313
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
314
314
  0.9.26 (ruby-2.7.3).
315
315
  </div>
data/docs/Felflame_.html CHANGED
@@ -117,7 +117,7 @@
117
117
 
118
118
  </div>
119
119
  </dt>
120
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>4.0.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>
120
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>4.0.1</span><span class='tstring_end'>&#39;</span></span></pre></dd>
121
121
 
122
122
  </dl>
123
123
 
@@ -133,7 +133,7 @@
133
133
  </div>
134
134
 
135
135
  <div id="footer">
136
- Generated on Mon Jan 3 08:23:04 2022 by
136
+ Generated on Tue Feb 1 23:28:33 2022 by
137
137
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
138
138
  0.9.26 (ruby-2.7.3).
139
139
  </div>
data/docs/_index.html CHANGED
@@ -183,7 +183,7 @@
183
183
  </div>
184
184
 
185
185
  <div id="footer">
186
- Generated on Mon Jan 3 08:23:03 2022 by
186
+ Generated on Tue Feb 1 23:28:33 2022 by
187
187
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
188
188
  0.9.26 (ruby-2.7.3).
189
189
  </div>
@@ -550,7 +550,7 @@ E.g priority 1 will go first, priority 2 will go second, etcetera. </p>
550
550
  </div></div>
551
551
 
552
552
  <div id="footer">
553
- Generated on Mon Jan 3 08:23:03 2022 by
553
+ Generated on Tue Feb 1 23:28:33 2022 by
554
554
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
555
555
  0.9.26 (ruby-2.7.3).
556
556
  </div>
data/docs/index.html CHANGED
@@ -550,7 +550,7 @@ E.g priority 1 will go first, priority 2 will go second, etcetera. </p>
550
550
  </div></div>
551
551
 
552
552
  <div id="footer">
553
- Generated on Mon Jan 3 08:23:03 2022 by
553
+ Generated on Tue Feb 1 23:28:33 2022 by
554
554
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
555
555
  0.9.26 (ruby-2.7.3).
556
556
  </div>
@@ -127,7 +127,7 @@
127
127
  </div>
128
128
 
129
129
  <div id="footer">
130
- Generated on Mon Jan 3 08:23:04 2022 by
130
+ Generated on Tue Feb 1 23:28:33 2022 by
131
131
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
132
132
  0.9.26 (ruby-2.7.3).
133
133
  </div>
data/felflame.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ['Tradam']
9
9
  spec.email = ['felflame@tradam.dev']
10
10
 
11
- spec.summary = 'The Engine Agnostic ECS Ruby Framework'
11
+ spec.summary = 'Renamed to FelECS: https://rubygems.org/gems/felecs' #'The Engine Agnostic ECS Ruby Framework'
12
12
  # spec.description = "TODO: Write a longer description or delete this line."
13
13
  spec.homepage = 'https://felflame.tradam.fyi'
14
14
  spec.license = 'MIT'
@@ -4,6 +4,6 @@
4
4
  # Keeps the version of the Gem
5
5
  module Felflame
6
6
  # The version of the Gem
7
- VERSION = '4.0.0'
7
+ VERSION = '4.0.1'
8
8
  end
9
9
  # :nocov:
data/lib/felflame.rb CHANGED
@@ -1,5 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ puts 'WARNING: you are using a deprecated gem, it has been renamed.'
4
+ puts 'Please change to: https://rubygems.org/gems/felecs'
5
+
3
6
  require_relative 'felflame/entity_manager'
4
7
  require_relative 'felflame/component_manager'
5
8
  require_relative 'felflame/system_manager'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: felflame
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tradam
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-03 00:00:00.000000000 Z
11
+ date: 2022-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest-reporters
@@ -215,5 +215,5 @@ requirements: []
215
215
  rubygems_version: 3.1.6
216
216
  signing_key:
217
217
  specification_version: 4
218
- summary: The Engine Agnostic ECS Ruby Framework
218
+ summary: 'Renamed to FelECS: https://rubygems.org/gems/felecs'
219
219
  test_files: []