sfml3-rb 0.2.1-x86-linux-gnu → 0.2.2-x86-linux-gnu

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +8 -1
  4. data/lib/sfml/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84809cc4c794953cd58bf5e6b31f3385c6ea182a598ed088b0182e988df24b5b
4
- data.tar.gz: cfe291ff0fadfcaf2c42d494ab93d848086b63e33b39d32458436f65d25ca9af
3
+ metadata.gz: 9906cda18dc9ad5d6bb96acb9f6d92cc6f490a26292b6316a17352375194fab7
4
+ data.tar.gz: c4dddeeb5f0e170caf945368ae35380490f2f9ab31fa8aedb76309b1b45f007b
5
5
  SHA512:
6
- metadata.gz: 57d54f51846fe483d5b7b271309b91790bba97732246c53f4ebe2be5573956ee637a4aa023cf3b39838274fe4b905901d850473eb83ba74a98b8ad372558ba1e
7
- data.tar.gz: 59fee398a04effffa6fb60d0cd7cb4cbe58fd5ae787ee5a8b302d1c9df88c32b02c9188060731d494164aa59badc1dcc0902e47b8bab5abeb2a6827cf3a90d64
6
+ metadata.gz: 4a41b87099026690b343b5c29aa9f00d16d9b22217357baafd01d8d8950cf7d7d006eed3fb7c112c9c54cff6122dab9f28d7a3e267e7400a0a1d657761bacf09
7
+ data.tar.gz: 489e59198a17b1d5ed056ba21bc575181d791ae6def447eadca67d324e9ef9694af5e277e5f37dd162d9dbcd02b8ef82a7fcdcfb00c001f6410c1d44ebe6665e
data/CHANGELOG.md CHANGED
@@ -6,6 +6,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ### Added
10
+ * **Full YARD API documentation and RBS type signatures**, covering every
11
+ bound class, module, method and constant. Doc comments live in-place in
12
+ the `ext/**/*.c` sources (YARD's C parser, the same convention RDoc uses),
13
+ so they're published automatically to
14
+ [rubydoc.info](https://rubydoc.info/gems/sfml3-rb) on release; `rake yard`
15
+ builds them locally into `doc/`. `sig/**/*.rbs` ships in the gem alongside
16
+ the extension sources, for IDE completion (Solargraph, RubyMine) and
17
+ static type-checking (Sorbet, Steep). Run `rake rbs` to validate the
18
+ signatures.
19
+
20
+ ## [0.2.2]
21
+
22
+ ### Fixed
23
+ * **The macOS binary gems now build.** SFML 3.0.2 defaults
24
+ `CMAKE_OSX_DEPLOYMENT_TARGET` to 13.0, but the osxcross SDK in the
25
+ rake-compiler-dock image is 11.1 and rejects a newer target, so both Darwin
26
+ builds aborted while configuring SFML. The ports toolchain now pins the
27
+ deployment target to macOS 11.0, which is the floor Apple Silicon requires
28
+ anyway.
29
+
9
30
  ## [0.2.1]
10
31
 
11
32
  ### Added
data/README.md CHANGED
@@ -4,9 +4,14 @@ Ruby bindings for [SFML 3](https://www.sfml-dev.org/), via its C API, [CSFML](ht
4
4
 
5
5
  ## Status
6
6
 
7
- Latest release: **0.2.1**. Bound against **CSFML 3**. See [TODO.md](TODO.md) for which parts of the
7
+ Latest release: **0.2.2**. Bound against **CSFML 3**. See [TODO.md](TODO.md) for which parts of the
8
8
  SFML 3 API are ported so far, and [CHANGELOG.md](CHANGELOG.md) for what changed recently.
9
9
 
10
+ API docs (every class, module, method and constant) are on
11
+ [rubydoc.info](https://rubydoc.info/gems/sfml3-rb). The gem also ships RBS type signatures
12
+ (`sig/**/*.rbs`) alongside the extension sources, for IDE completion (Solargraph, RubyMine) and
13
+ static type-checking (Sorbet, Steep).
14
+
10
15
  ## Install
11
16
 
12
17
  ```sh
@@ -87,6 +92,8 @@ rake ports # build the vendored FreeType + SFML 3 + CSFML 3 (rake compile doe
87
92
  rake compile # build the C extension into lib/sfml/
88
93
  rake test # compile, then run the test suite
89
94
  rake gem # build the source gem into pkg/
95
+ rake yard # build API docs into doc/
96
+ rake rbs # validate sig/**/*.rbs
90
97
  ```
91
98
 
92
99
  `rake githooks:install` points your checkout at the committed `.githooks/` pre-commit hook, which
data/lib/sfml/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SFML
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sfml3-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: x86-linux-gnu
6
6
  authors:
7
7
  - Algaves