hasu 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/hasu.rb +8 -0
  2. data/lib/hasu/version.rb +1 -1
  3. metadata +16 -7
data/lib/hasu.rb CHANGED
@@ -61,6 +61,14 @@ module Hasu
61
61
  Hasu.error = e
62
62
  end
63
63
 
64
+ def reset
65
+ unless Hasu.error
66
+ super
67
+ end
68
+ rescue => e
69
+ Hasu.error = e
70
+ end
71
+
64
72
  def draw(*)
65
73
  if Hasu.error
66
74
  ([Hasu.error.inspect] + Hasu.error.backtrace).each_with_index do |line, i|
data/lib/hasu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hasu
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hasu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-06-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
- requirement: &70285023087620 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '1.3'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70285023087620
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.3'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: rake
27
- requirement: &70285023087200 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,7 +37,12 @@ dependencies:
32
37
  version: '0'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *70285023087200
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  description: Prototype Gosu games with ease
37
47
  email:
38
48
  - michaelfairley@gmail.com
@@ -71,9 +81,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
81
  version: '0'
72
82
  requirements: []
73
83
  rubyforge_project:
74
- rubygems_version: 1.8.7
84
+ rubygems_version: 1.8.23
75
85
  signing_key:
76
86
  specification_version: 3
77
87
  summary: Prototype Gosu games with ease
78
88
  test_files: []
79
- has_rdoc: