diff options
author | Toshiaki Asai <toshi.alternative@gmail.com> | 2016-11-18 21:06:53 +0900 |
---|---|---|
committer | Toshiaki Asai <toshi.alternative@gmail.com> | 2016-11-27 11:43:00 +0900 |
commit | 9901f85df22e47325c97c7f19a1edd8800ec5631 (patch) | |
tree | 31d4d5ed06c4af986fd4211584f2f0b424af4162 | |
parent | 33550aa3e77e5ff48ec9b433993c5d3a1a417d73 (diff) | |
download | mikutter-9901f85df22e47325c97c7f19a1edd8800ec5631.tar.gz |
PhotoMixinのmodule名が違った
-rw-r--r-- | core/lib/retriever/mixin/photo_mixin.rb | 2 | ||||
-rw-r--r-- | core/mui/gtk_photo_pixbuf.rb | 2 | ||||
-rw-r--r-- | core/plugin/openimg/model/photo.rb | 2 | ||||
-rw-r--r-- | core/plugin/photo/model/photo.rb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/core/lib/retriever/mixin/photo_mixin.rb b/core/lib/retriever/mixin/photo_mixin.rb index 3867d726..9c545fbb 100644 --- a/core/lib/retriever/mixin/photo_mixin.rb +++ b/core/lib/retriever/mixin/photo_mixin.rb @@ -6,7 +6,7 @@ このmoduleをincludeしたクラスは、必要に応じて _download_routine_ をオーバライドする =end -module Retriever::PhotoMixin +module Retriever::Model::PhotoMixin def self.included(klass) klass.field.string :blob end diff --git a/core/mui/gtk_photo_pixbuf.rb b/core/mui/gtk_photo_pixbuf.rb index 34e7c647..52da4b9e 100644 --- a/core/mui/gtk_photo_pixbuf.rb +++ b/core/mui/gtk_photo_pixbuf.rb @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- miquire :lib, 'retriever/mixin/photo_mixin' -module Retriever::PhotoMixin +module Retriever::Model::PhotoMixin GdkPixbufCache = Struct.new(:pixbuf, :width, :height, :read_count, :reserver) diff --git a/core/plugin/openimg/model/photo.rb b/core/plugin/openimg/model/photo.rb index 25d185c9..ab01e7c1 100644 --- a/core/plugin/openimg/model/photo.rb +++ b/core/plugin/openimg/model/photo.rb @@ -3,7 +3,7 @@ miquire :lib, 'retriever/mixin/photo_mixin' module Plugin::Openimg class Photo < Retriever::Model - include Retriever::PhotoMixin + include Retriever::Model::PhotoMixin register :openimg_photo, name: Plugin[:openimg]._('画像ビューア') field.uri :perma_link diff --git a/core/plugin/photo/model/photo.rb b/core/plugin/photo/model/photo.rb index 32e4105e..38a51ecb 100644 --- a/core/plugin/photo/model/photo.rb +++ b/core/plugin/photo/model/photo.rb @@ -3,7 +3,7 @@ miquire :lib, 'retriever/mixin/photo_mixin' module Plugin::Photo class Photo < Retriever::Model - include Retriever::PhotoMixin + include Retriever::Model::PhotoMixin register :photo, name: Plugin[:photo]._('画像') field.uri :perma_link |