gosu 0.11.2 → 0.11.3.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/rdoc/gosu.rb +0 -5
  3. data/src/TextApple.cpp +2 -1
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ce6ec413ea4f92e41a4adb0f6b622909e0afcbb
4
- data.tar.gz: f37a8dfcc263d51194b354f91d4f8c8841e93f7b
3
+ metadata.gz: 360466fc7c2bfb5e35f8b08e0b3e74a0a3e023e5
4
+ data.tar.gz: 0573753156f925308b0e33901fc429103570f905
5
5
  SHA512:
6
- metadata.gz: 5365979f253c9638eca55b4b4c1e09eff1d751dde85bbfaaf6251e61367731732c956ffd23ed9822c73d879a9aea80741b35ffc1efd784cc513c5fbc58be1a7f
7
- data.tar.gz: bafe53467903dcead01226d8a07605e43d70683c3cf71ee57c3ad855ce3b265f81a1f076c86e96a6d7652bc200ec416e432e7106623be2e0b0cc579a1baee45d
6
+ metadata.gz: e98bb797d0e04dd4cbd5a0e16c618528e7f07d1a0338dd7f8046e27e01ef64e9f1065d23d42f4b24af6236d6c402ebcc16f274409dceded78e996f5298e35b80
7
+ data.tar.gz: fde462f9acf20b4bf2648c566d33dbe59797c6e3b7e5bdf1a470cee6dc8856d9c4453790894333887f59cfe6b66d9a1a6c9f149575faed6b5dfa403db4f5aa80
@@ -390,8 +390,6 @@ module Gosu
390
390
  def self.load_tiles(source, tile_width, tile_height, options = {}); end
391
391
 
392
392
  ##
393
- # EXPERIMENTAL - MAY DISAPPEAR WITHOUT WARNING.
394
- #
395
393
  # Returns an image that is a smaller, rectangular view of this {Image}.
396
394
  #
397
395
  # This is a very fast operation, and no new textures are allocated.
@@ -407,9 +405,6 @@ module Gosu
407
405
  # If the image was too large and had to be split up into several OpenGL textures, subimage will return nil (same as {#gl_tex_info}).
408
406
  # * If you stretch or rotate a {#subimage}, the pixels adjacent to it might bleed into it, as Gosu does not manage the 'tileability' of subimages.
409
407
  #
410
- # If you find a good way to use {#subimage}, please let us know on the forum and we can make this a part of Gosu's stable interface.
411
- # Thank you!
412
- #
413
408
  # @return [Image?] an image that represents a portion of the containing image
414
409
  def subimage(left, top, width, height); end
415
410
 
@@ -38,7 +38,8 @@ static std::string normalize_font(const std::string& font_name)
38
38
  return family_of_files[font_name];
39
39
  }
40
40
 
41
- NSURL* url = [NSURL URLWithString:[NSString stringWithUTF8String:font_name.c_str()]];
41
+ NSURL* url = [NSURL fileURLWithPath:[NSString stringWithUTF8String:font_name.c_str()]
42
+ isDirectory:NO];
42
43
  if (url == nullptr) {
43
44
  return family_of_files[font_name] = Gosu::default_font_name();
44
45
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2
4
+ version: 0.11.3.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Raschke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-26 00:00:00.000000000 Z
11
+ date: 2017-03-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  2D game development library.
@@ -150,9 +150,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
150
  version: 1.8.2
151
151
  required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  requirements:
153
- - - ">="
153
+ - - ">"
154
154
  - !ruby/object:Gem::Version
155
- version: '0'
155
+ version: 1.3.1
156
156
  requirements: []
157
157
  rubyforge_project:
158
158
  rubygems_version: 2.6.8