plain_speech_balloon 0.0.33 → 0.0.35
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,40 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
class PlainSpeechBalloonImport0035 < ActiveRecord::Migration
|
3
|
+
def up
|
4
|
+
SpeechBalloonTemplate.import_text(<<-HD
|
5
|
+
{
|
6
|
+
"plain@pettan.com": {
|
7
|
+
"classname": "PlainSpeechBalloon",
|
8
|
+
"caption": "透明",
|
9
|
+
"settings": {
|
10
|
+
"speech_balloon": {
|
11
|
+
"quotes": "「 」 『 』",
|
12
|
+
"default_width": 150,
|
13
|
+
"default_height": 150
|
14
|
+
},
|
15
|
+
"all": {
|
16
|
+
"balloon": {
|
17
|
+
"system_picture_id": {
|
18
|
+
"text": "iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAABl0lEQVR4nO3SwQ3AIBDAsNL9dz6WIEJC9gR5ZM3MB6f9twN4k7FIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi8QGS9IEKe20OQwAAAAASUVORK5CYII="
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"speech": {
|
22
|
+
"x_rate": 0,
|
23
|
+
"y_rate": 0,
|
24
|
+
"width_rate": 100,
|
25
|
+
"height_rate": 100
|
26
|
+
}
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"system_picture_id": {
|
30
|
+
"text": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAABs0lEQVR4nO1bQQ7DIAxrpv2i//9Z+w52qlR1gRZiYjbi4zSYY0LqpJps25aWifFiE2AjBGATYOOtfbiuq3gT8cC+71/1bvoMCAHYBNgIAdgE2AgB2ATYCAHYBNgIAdgE2AgBPH9MRJKIDDWAiQxgE2BjegHUgUgPlO5+bV1IKcEGNiYBWguatRCKSEKJ4JYBFiBP/AqTADXEjlPvGUwLpi+CIQCbQAkeznFYAbwsM+UpMFI/4C5AS/DnNeinSHcB7gLWArpzjcM4wRJyQdSQP3/3vB/SU8CLoFa5WwzTFSklue6DqCVQAbTAW08ptw5dA2ACWE49t0cOuavRAogAiOBr16MyAV4DWomxvIFZAPQzuufV0QDLAEvwTGdoEsDq6q5APzGeAJIBv3r6y+LYDd5ZXtakiNYOW4NHZQ5FAOTJW9d3MUK9gfw9kwA1lhTVJ6DrBrQdrjmZ2r4ebbcPmAU4iPS6Btq+Qw5ESkLU9vGIYcpTwCdCTzs5bcJj2bMVtHeDni1vCUO8HD0yguEGh3kxMp0VHgUhAJsAGyEAmwAb0wug+gDt/3X/iukzIARgE2DjA33Z5f1jQpeIAAAAAElFTkSuQmCC"
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
HD
|
35
|
+
) {|name, attr| SpeechBalloonTemplate.store(name, attr)}
|
36
|
+
end
|
37
|
+
|
38
|
+
def down
|
39
|
+
end
|
40
|
+
end
|
@@ -1 +1,32 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"plain@pettan.com": {
|
3
|
+
"classname": "PlainSpeechBalloon",
|
4
|
+
"caption": "透明",
|
5
|
+
"settings": {
|
6
|
+
"speech_balloon": {
|
7
|
+
"quotes": "「 」 『 』",
|
8
|
+
"default_width": 150,
|
9
|
+
"default_height": 150,
|
10
|
+
"default_font_size": 1.0,
|
11
|
+
"default_text_align": 0,
|
12
|
+
"default_fore_color": 0
|
13
|
+
},
|
14
|
+
"all": {
|
15
|
+
"balloon": {
|
16
|
+
"system_picture_id": {
|
17
|
+
"text": "iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAABl0lEQVR4nO3SwQ3AIBDAsNL9dz6WIEJC9gR5ZM3MB6f9twN4k7FIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi8QGS9IEKe20OQwAAAAASUVORK5CYII="
|
18
|
+
}
|
19
|
+
},
|
20
|
+
"speech": {
|
21
|
+
"x_rate": 0,
|
22
|
+
"y_rate": 0,
|
23
|
+
"width_rate": 100,
|
24
|
+
"height_rate": 100
|
25
|
+
}
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"system_picture_id": {
|
29
|
+
"text": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAABs0lEQVR4nO1bQQ7DIAxrpv2i//9Z+w52qlR1gRZiYjbi4zSYY0LqpJps25aWifFiE2AjBGATYOOtfbiuq3gT8cC+71/1bvoMCAHYBNgIAdgE2AgB2ATYCAHYBNgIAdgE2AgBPH9MRJKIDDWAiQxgE2BjegHUgUgPlO5+bV1IKcEGNiYBWguatRCKSEKJ4JYBFiBP/AqTADXEjlPvGUwLpi+CIQCbQAkeznFYAbwsM+UpMFI/4C5AS/DnNeinSHcB7gLWArpzjcM4wRJyQdSQP3/3vB/SU8CLoFa5WwzTFSklue6DqCVQAbTAW08ptw5dA2ACWE49t0cOuavRAogAiOBr16MyAV4DWomxvIFZAPQzuufV0QDLAEvwTGdoEsDq6q5APzGeAJIBv3r6y+LYDd5ZXtakiNYOW4NHZQ5FAOTJW9d3MUK9gfw9kwA1lhTVJ6DrBrQdrjmZ2r4ebbcPmAU4iPS6Btq+Qw5ESkLU9vGIYcpTwCdCTzs5bcJj2bMVtHeDni1vCUO8HD0yguEGh3kxMp0VHgUhAJsAGyEAmwAb0wug+gDt/3X/iukzIARgE2DjA33Z5f1jQpeIAAAAAElFTkSuQmCC"
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plain_speech_balloon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.35
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -81,6 +81,7 @@ files:
|
|
81
81
|
- db/migrate/20130628082138_create_plain_speech_balloon_speech_balloons.rb
|
82
82
|
- db/migrate/20130628082206_create_plain_speech_balloon_balloons.rb
|
83
83
|
- db/migrate/20130628082225_create_plain_speech_balloon_speeches.rb
|
84
|
+
- db/migrate/20130820100014_plain_speech_balloon_import_0_0_35.rb
|
84
85
|
- db/plain.png
|
85
86
|
- db/plain_speech_balloon_templates.json
|
86
87
|
- db/work/icon.png
|