ruby-miyako 2.1.20 → 2.1.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -71,7 +71,7 @@ module Miyako
71
71
  on = n
72
72
 
73
73
  raise MiyakoValueError, "Illegal Script-label name! : #{n}" unless Scene.has_scene?(n.to_s)
74
- raise MiyakoValueError, "This scene cannot use for Standard Scene! : #{n}" if n.scene_type != :scene
74
+ raise MiyakoValueError, "This scene cannot use for Standard Scene! : #{n}" if n.scene_type != :scene and !@@sub_scenes.include?(n.scene_type)
75
75
  u = n.new(self, @hand_over) if u == nil
76
76
  @hand_over = nil
77
77
  u.init_inner(@prev_label, self.upper_label)
@@ -90,7 +90,7 @@ module Miyako
90
90
  on = n
91
91
 
92
92
  raise MiyakoValueError, "Illegal Script-label name! : #{n}" unless Scene.has_scene?(n.to_s)
93
- raise MiyakoValueError, "This scene cannot use for Standard Scene! : #{n}" if n.scene_type != :scene
93
+ raise MiyakoValueError, "This scene cannot use for Standard Scene! : #{n}" if n.scene_type != :scene and !@@sub_scenes.include?(n.scene_type)
94
94
  u = get_scene(n, @stack.size) if u == nil
95
95
  u.hand_over = @hand_over
96
96
  @hand_over = nil
@@ -63,7 +63,7 @@ Thread.abort_on_exception = true
63
63
 
64
64
  #==Miyako基幹モジュール
65
65
  module Miyako
66
- VERSION = "2.1.20"
66
+ VERSION = "2.1.21"
67
67
 
68
68
  #===アプリケーション実行中に演奏する音楽のサンプリングレートを指定する
69
69
  #単位はHz(周波数)
Binary file
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-miyako
3
3
  version: !ruby/object:Gem::Version
4
- hash: 35
5
4
  prerelease: false
6
5
  segments:
7
6
  - 2
8
7
  - 1
9
- - 20
10
- version: 2.1.20
8
+ - 21
9
+ version: 2.1.21
11
10
  platform: ruby
12
11
  authors:
13
12
  - Cyross Makoto
@@ -15,7 +14,7 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-12-20 00:00:00 +09:00
17
+ date: 2011-04-14 00:00:00 +09:00
19
18
  default_executable:
20
19
  dependencies: []
21
20
 
@@ -231,7 +230,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
231
230
  requirements:
232
231
  - - ">="
233
232
  - !ruby/object:Gem::Version
234
- hash: 49
235
233
  segments:
236
234
  - 1
237
235
  - 9
@@ -242,7 +240,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
240
  requirements:
243
241
  - - ">="
244
242
  - !ruby/object:Gem::Version
245
- hash: 3
246
243
  segments:
247
244
  - 0
248
245
  version: "0"