gosu_enhanced 0.3.1 → 0.3.2

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: 29d527338df273837e838094cad9d56f463d4431
4
- data.tar.gz: fddbe0fc5685ec3cdd05d8911303bd4ed8acccb3
3
+ metadata.gz: 6bea4f4b1f3538d41a81836451633a5e06745c0b
4
+ data.tar.gz: beb3d14cf8e95ac215381424ca2a984243dd4bb2
5
5
  SHA512:
6
- metadata.gz: d0152edf5fd66eb1c471c7ec130a97ab6e24413ec8f8b445318c4bbb2d0eaecffc8f958316f6b76831198d57d38aeb22cfab5e421560b2b53b5c95f9f9834567
7
- data.tar.gz: 545e3275da279399eff0475d104e52352232f0d2270aae72a82370b0ad3a5cb8ba92ad21045426dfcaab7ce831c5678f717e2b4721bbc43d17487223a858462f
6
+ metadata.gz: a4758d0bfed48fca2d702f184c8e5ede573e882374520309a412ad3428a79d5c1009b02459a935dbab01a66c27ffd3ab432dd48ad1778998fad41f92e18e53d4
7
+ data.tar.gz: 4a97a509411c2ceb4ee633ef8271769e6f0e600c2e451fa29c072be24c4dc9b4fd1bb7db2d1a12f6a2ff7a06a82e966c2c826a71856d385a60aaef51e3dbdf77
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gosu_enhanced (0.3.1)
4
+ gosu_enhanced (0.3.2)
5
5
  gosu (~> 0.7)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # gosu_enhanced V0.4.0
1
+ # gosu_enhanced V0.3.2
2
2
 
3
3
  Some added classes for using Gosu.
4
4
 
@@ -43,7 +43,7 @@ Or install it yourself as:
43
43
 
44
44
  ## Usage
45
45
 
46
- TODO: Write usage instructions here
46
+
47
47
 
48
48
  ## Contributing
49
49
 
@@ -41,5 +41,9 @@ module GosuEnhanced
41
41
  def draw( surface, z_order, colour )
42
42
  surface.draw_rectangle( position, size, z_order, colour )
43
43
  end
44
+
45
+ def to_s
46
+ "<GosuEnhanced::Region: #{position}, #{size}>"
47
+ end
44
48
  end
45
49
  end
@@ -56,7 +56,11 @@ module GosuEnhanced
56
56
  def ==( other )
57
57
  width == other.width && height == other.height
58
58
  end
59
-
59
+
60
+ def to_s
61
+ "<GosuEnhanced::Size #{width}x#{height}>"
62
+ end
63
+
60
64
  private
61
65
 
62
66
  def validate( by_w, by_h )
@@ -1,4 +1,4 @@
1
1
 
2
2
  module GosuEnhanced
3
- VERSION = '0.3.1'
3
+ VERSION = '0.3.2'
4
4
  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.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Nicholls
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-21 00:00:00.000000000 Z
11
+ date: 2014-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gosu