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 +4 -4
- data/gosu_enhanced.gemspec +1 -1
- data/lib/gosu_enhanced/enhanced.rb +1 -1
- data/lib/gosu_enhanced/size.rb +1 -1
- data/lib/gosu_enhanced/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a92fb33103aacde2a928b8cdf145272eb80d176d
|
4
|
+
data.tar.gz: 4d324d350b3754436f97f2c7d4fdfb01fb8fba45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0a1e390e82896807a7ef51fa2563862d905624e45d0cb61775528cfc45c5aa63e28c7bfaa6b2adb3656ef0ae7d027bf6a8a03ad35e6fa936e38ed301c0f31ef
|
7
|
+
data.tar.gz: 8870193aae8fe7a0a55b5582d00ff62c614fff0aa98abce57ac5f7e0a981a138a7f19ca2c16de74f68ed6e8af33682f35d314db235afdace573ad81d064fa528
|
data/gosu_enhanced.gemspec
CHANGED
@@ -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.
|
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'
|
data/lib/gosu_enhanced/size.rb
CHANGED
@@ -86,7 +86,7 @@ module GosuEnhanced
|
|
86
86
|
# Size negative.
|
87
87
|
|
88
88
|
def validate(by_w, by_h)
|
89
|
-
|
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.
|
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.
|
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:
|
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.
|
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.
|
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.
|
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.
|