stb_image_ffi 1.0.0 → 1.0.1

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: 58739086a003f9fd544e6ab3e996a7736a4c05bcbf354842ead1fd29f297bc4b
4
- data.tar.gz: 0d4e32199930a1509f562aa89cd4bfb70ba6c01408ab842306fb4643e3dea7ac
3
+ metadata.gz: d4a31b1d706739f440e7a145eec6ba234e57cb40d32866873784e74973b563e5
4
+ data.tar.gz: 0c7e9ea9aa08460d4c7e07ed67ccd28ad32dfd8b94d052465d30df1bb664b823
5
5
  SHA512:
6
- metadata.gz: ff530b23709afa49044e143f7da065f755acf944e950f0ede489c5ca61c48bf866bf0fff682d1a9e456b7bf4c0622e0a7951835c217ca0539184d29d59157632
7
- data.tar.gz: bbfba0a5a120bb884c215e45ba495e1434bcf02e74527616a69cce7cad0c43196645ef34549782862668964c70a744c42ad23b25392cf59a42440b3180688758
6
+ metadata.gz: 9495194d3cbdc63565a0b98bb088bbeedd552d2573d37a7197aba2fa41c504b025803ff22a4f23e1ca0bfcea8f2fe880861da7c6a1dd820058eb64802feb8c7d
7
+ data.tar.gz: 2cddc923f1f67f3881946dc3c7022a142a8c0d79dca2fcbfa5a8c582874a6290fd112d70fea8a41a4f2ca906a72e39915420542c57c08ef432a7da93ea1efb3d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stb_image_ffi (1.0.0)
4
+ stb_image_ffi (1.0.1)
5
5
  ffi
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module STBImage
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -9,7 +9,17 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ["boatrite@mobiledoorman.com"]
10
10
 
11
11
  spec.summary = "Bindings for stb_image, the single file image loading library"
12
- spec.description = "Bindings for stb_image using Ruby-FFI"
12
+ spec.description = <<~DESCRIPTION
13
+ Very naive bindings for `stb_image.h`. Implements only
14
+ `stbi_set_flip_vertically_on_load` and `stb_load` since these are the
15
+ 2 functions I need to load an image as a texture in OpenGL.
16
+
17
+ The reason I made this instead of using
18
+ [stb-image](https://rubygems.org/gems/stb-image) is because stb-image didn't
19
+ implement `stbi_set_flip_vertically_on_load`, as far as I can tell, which is
20
+ useful/necessary when wanting to load image data in a format immediately
21
+ consumable by OpenGL (see Example in README).
22
+ DESCRIPTION
13
23
  spec.homepage = "https://github.com/boatrite/stb_image_ffi"
14
24
  spec.license = "MIT"
15
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stb_image_ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boatrite
@@ -80,7 +80,16 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.0'
83
- description: Bindings for stb_image using Ruby-FFI
83
+ description: |
84
+ Very naive bindings for `stb_image.h`. Implements only
85
+ `stbi_set_flip_vertically_on_load` and `stb_load` since these are the
86
+ 2 functions I need to load an image as a texture in OpenGL.
87
+
88
+ The reason I made this instead of using
89
+ [stb-image](https://rubygems.org/gems/stb-image) is because stb-image didn't
90
+ implement `stbi_set_flip_vertically_on_load`, as far as I can tell, which is
91
+ useful/necessary when wanting to load image data in a format immediately
92
+ consumable by OpenGL (see Example in README).
84
93
  email:
85
94
  - boatrite@mobiledoorman.com
86
95
  executables: []