gosu_enhanced 0.4.3 → 0.4.4

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
  SHA1:
3
- metadata.gz: e2699bea318f54f161b957521611d3d040b35ff3
4
- data.tar.gz: c813f99173dde10a796a5c6b43e8c0ce7264203b
3
+ metadata.gz: a92fb33103aacde2a928b8cdf145272eb80d176d
4
+ data.tar.gz: 4d324d350b3754436f97f2c7d4fdfb01fb8fba45
5
5
  SHA512:
6
- metadata.gz: 715bfe01bfdbd958bff4cd54b439d131ce28c0d3de3cac6981581f8dade51f426483ad97f2a0b06fe6debbc2f678019380ada333331c35e6c73c4e61240b650a
7
- data.tar.gz: e4f0de31b1089d43bc69d9518dd8f1fee678bb82fef2c360db9473e60f0ea962be73c535c08209fd968a5ea73172f8797f2429fc9de2411c059fad56ab9bd2ca
6
+ metadata.gz: c0a1e390e82896807a7ef51fa2563862d905624e45d0cb61775528cfc45c5aa63e28c7bfaa6b2adb3656ef0ae7d027bf6a8a03ad35e6fa936e38ed301c0f31ef
7
+ data.tar.gz: 8870193aae8fe7a0a55b5582d00ff62c614fff0aa98abce57ac5f7e0a981a138a7f19ca2c16de74f68ed6e8af33682f35d314db235afdace573ad81d064fa528
@@ -22,7 +22,7 @@ size.)
22
22
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
23
23
  spec.require_paths = ['lib']
24
24
 
25
- spec.add_runtime_dependency 'gosu', '~> 0.10.4'
25
+ spec.add_runtime_dependency 'gosu', '~> 0.10.8'
26
26
 
27
27
  spec.add_development_dependency 'bundler', '~> 1.11'
28
28
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -75,6 +75,6 @@ module Gosu
75
75
  # * +text+ [String] String to centre
76
76
  # * +rect+ [Size] Rectangular area size
77
77
 
78
- alias_method :centered_in, :centred_in
78
+ alias centered_in centred_in
79
79
  end
80
80
  end
@@ -86,7 +86,7 @@ module GosuEnhanced
86
86
  # Size negative.
87
87
 
88
88
  def validate(by_w, by_h)
89
- fail 'Cannot make size negative' if width + by_w < 0 || height + by_h < 0
89
+ raise 'Cannot make size negative' if width + by_w < 0 || height + by_h < 0
90
90
  end
91
91
 
92
92
  # Change the dimensions using the dimensions of another Size.
@@ -1,5 +1,5 @@
1
1
  # Version of the gosu_enhanced gem.
2
2
  module GosuEnhanced
3
3
  # gosu_enhanced gem version
4
- VERSION = '0.4.3'
4
+ VERSION = '0.4.4'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosu_enhanced
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Nicholls
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-08 00:00:00.000000000 Z
11
+ date: 2018-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gosu
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.10.4
19
+ version: 0.10.8
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: 0.10.4
26
+ version: 0.10.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  requirements: []
118
118
  rubyforge_project:
119
- rubygems_version: 2.4.8
119
+ rubygems_version: 2.6.10
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: Extra and enhanced versions of some Gosu classes.