aboutsummaryrefslogtreecommitdiffstats
path: root/core/boot
diff options
context:
space:
mode:
authorToshiaki Asai <toshi.alternative@gmail.com>2015-09-12 00:03:06 +0900
committerToshiaki Asai <toshi.alternative@gmail.com>2015-09-12 00:04:19 +0900
commit1a0ffefbb61782ee46bd93e151cd06430d164c1b (patch)
tree7b2094a17283a85b3ba51283381c2c5771f35611 /core/boot
parent098b6321c7c64e58250ce862614916a8847b2ac7 (diff)
downloadmikutter-1a0ffefbb61782ee46bd93e151cd06430d164c1b.tar.gz
streamingプラグインの状況をactivityに通知するプラグインを分離 refs #765
Diffstat (limited to 'core/boot')
-rw-r--r--core/boot/shell/spec.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/boot/shell/spec.rb b/core/boot/shell/spec.rb
index ac4255db..fdac786b 100644
--- a/core/boot/shell/spec.rb
+++ b/core/boot/shell/spec.rb
@@ -55,12 +55,14 @@ class Depend < Ripper::Filter
# commandプラグインで使われている条件クラスを使っていたら、on_constで依存してると判断される。
def on_ex_ident(tok)
case tok
- when /tab|timeline|nativewidget/ # UIっぽい単語があったらguiに依存してそう
+ when 'defactivity'
+ depend :activity
+ when 'tab', 'timeline', 'nativewidget' # UIっぽい単語があったらguiに依存してそう
depend :gui
- when 'profiletab' # profiletabはプロフィールにも依存する
+ when 'profiletab' # profiletabはプロフィールにも依存する
depend :gui
depend :profile
- when 'settings' # 設定DSLの開始。settingsプラグイン。
+ when 'settings' # 設定DSLの開始。settingsプラグイン。
depend :settings
end end