fidgit 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,5 +38,15 @@ module Fidgit
38
38
 
39
39
  super
40
40
  end
41
+
42
+ def show
43
+ $window.game_state_manager.push(self, finalize: false) unless $window.game_state_manager.game_states.include? self
44
+ nil
45
+ end
46
+
47
+ def hide
48
+ $window.game_state_manager.pop(setup: false) if $window.game_state_manager.current == self
49
+ nil
50
+ end
41
51
  end
42
52
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module Fidgit
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fidgit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-06-14 00:00:00.000000000 +01:00
13
- default_executable:
12
+ date: 2011-06-15 00:00:00.000000000Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: gosu
17
- requirement: &25820988 !ruby/object:Gem::Requirement
16
+ requirement: &23136600 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ~>
@@ -22,10 +21,10 @@ dependencies:
22
21
  version: 0.7.32
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *25820988
24
+ version_requirements: *23136600
26
25
  - !ruby/object:Gem::Dependency
27
26
  name: chingu
28
- requirement: &25820712 !ruby/object:Gem::Requirement
27
+ requirement: &23136228 !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
31
30
  - - ~>
@@ -33,10 +32,10 @@ dependencies:
33
32
  version: 0.9rc5
34
33
  type: :runtime
35
34
  prerelease: false
36
- version_requirements: *25820712
35
+ version_requirements: *23136228
37
36
  - !ruby/object:Gem::Dependency
38
37
  name: clipboard
39
- requirement: &25820436 !ruby/object:Gem::Requirement
38
+ requirement: &23135832 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
42
41
  - - ~>
@@ -44,10 +43,10 @@ dependencies:
44
43
  version: 0.9.8
45
44
  type: :runtime
46
45
  prerelease: false
47
- version_requirements: *25820436
46
+ version_requirements: *23135832
48
47
  - !ruby/object:Gem::Dependency
49
48
  name: ffi
50
- requirement: &25820160 !ruby/object:Gem::Requirement
49
+ requirement: &23135436 !ruby/object:Gem::Requirement
51
50
  none: false
52
51
  requirements:
53
52
  - - ~>
@@ -55,10 +54,10 @@ dependencies:
55
54
  version: 1.0.9
56
55
  type: :runtime
57
56
  prerelease: false
58
- version_requirements: *25820160
57
+ version_requirements: *23135436
59
58
  - !ruby/object:Gem::Dependency
60
59
  name: rspec
61
- requirement: &25819884 !ruby/object:Gem::Requirement
60
+ requirement: &23135088 !ruby/object:Gem::Requirement
62
61
  none: false
63
62
  requirements:
64
63
  - - ~>
@@ -66,10 +65,10 @@ dependencies:
66
65
  version: 2.1.0
67
66
  type: :development
68
67
  prerelease: false
69
- version_requirements: *25819884
68
+ version_requirements: *23135088
70
69
  - !ruby/object:Gem::Dependency
71
70
  name: texplay
72
- requirement: &25819608 !ruby/object:Gem::Requirement
71
+ requirement: &23134752 !ruby/object:Gem::Requirement
73
72
  none: false
74
73
  requirements:
75
74
  - - ~>
@@ -77,7 +76,7 @@ dependencies:
77
76
  version: 0.3.5
78
77
  type: :development
79
78
  prerelease: false
80
- version_requirements: *25819608
79
+ version_requirements: *23134752
81
80
  description: Fidgit is a GUI library built on Gosu/Chingu
82
81
  email:
83
82
  - bil.bagpuss@gmail.com
@@ -173,7 +172,6 @@ files:
173
172
  - spec/fidgit/schema_spec.rb
174
173
  - spec/fidgit/schema_test.yml
175
174
  - spec/fidgit/thumbnail_spec.rb
176
- has_rdoc: true
177
175
  homepage: http://github.com/Spooner/fidgit/
178
176
  licenses: []
179
177
  post_install_message:
@@ -194,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
192
  version: '0'
195
193
  requirements: []
196
194
  rubyforge_project: fidgit
197
- rubygems_version: 1.5.2
195
+ rubygems_version: 1.8.5
198
196
  signing_key:
199
197
  specification_version: 3
200
198
  summary: Fidgit is a GUI library built on Gosu/Chingu