ruby-miyako-mswin32 2.1.20 → 2.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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(周波数)
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-miyako-mswin32
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
 
@@ -211,7 +210,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
211
210
  requirements:
212
211
  - - ">="
213
212
  - !ruby/object:Gem::Version
214
- hash: 49
215
213
  segments:
216
214
  - 1
217
215
  - 9
@@ -222,7 +220,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
220
  requirements:
223
221
  - - ">="
224
222
  - !ruby/object:Gem::Version
225
- hash: 3
226
223
  segments:
227
224
  - 0
228
225
  version: "0"