test_speech_balloon 0.0.55 → 0.0.56
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/test_speech_balloon/speech_balloons/show.html.erb +2 -2
- data/db/migrate/20130819094200_test_speech_balloon_import_0_0_35.rb +1 -1
- data/db/test_speech_balloon_templates.json +1 -1
- data/db/work/test_speech_balloon_templates.json +1 -1
- data/lib/test_speech_balloon.rb +1 -1
- data/lib/test_speech_balloon/version.rb +1 -1
- metadata +2 -7
- data/app/views/test_speech_balloon/balloons/_form.html.erb +0 -30
- data/app/views/test_speech_balloon/speech_balloons/_form.html.erb +0 -41
- data/app/views/test_speech_balloon/speech_balloons/edit.html.erb +0 -7
- data/app/views/test_speech_balloon/speech_balloons/new.html.erb +0 -7
- data/app/views/test_speech_balloon/speeches/_form.html.erb +0 -18
data/lib/test_speech_balloon.rb
CHANGED
@@ -4,7 +4,7 @@ module TestSpeechBalloon
|
|
4
4
|
module SpeechBalloonModule
|
5
5
|
def supply_default
|
6
6
|
super
|
7
|
-
self.
|
7
|
+
self.speech_balloon_template_module_name = self.speech_balloon_template.module_name
|
8
8
|
end
|
9
9
|
|
10
10
|
def speech_balloon_extend
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_speech_balloon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.56
|
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: 2014-06-
|
12
|
+
date: 2014-06-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sqlite3
|
@@ -54,12 +54,7 @@ files:
|
|
54
54
|
- app/models/test_speech_balloon/speech.rb
|
55
55
|
- app/models/test_speech_balloon/speech_balloon.rb
|
56
56
|
- app/views/layouts/test_speech_balloon/application.html.erb
|
57
|
-
- app/views/test_speech_balloon/balloons/_form.html.erb
|
58
|
-
- app/views/test_speech_balloon/speeches/_form.html.erb
|
59
|
-
- app/views/test_speech_balloon/speech_balloons/edit.html.erb
|
60
|
-
- app/views/test_speech_balloon/speech_balloons/new.html.erb
|
61
57
|
- app/views/test_speech_balloon/speech_balloons/show.html.erb
|
62
|
-
- app/views/test_speech_balloon/speech_balloons/_form.html.erb
|
63
58
|
- app/views/test_speech_balloon/speech_balloons/_scenario.html.erb
|
64
59
|
- app/views/test_speech_balloon/speech_balloons/_standard.html.erb
|
65
60
|
- config/routes.rb
|
@@ -1,30 +0,0 @@
|
|
1
|
-
|
2
|
-
<div class="field">
|
3
|
-
<%= f.label :x %><br />
|
4
|
-
<%= f.number_field :x %>
|
5
|
-
</div>
|
6
|
-
|
7
|
-
<div class="field">
|
8
|
-
<%= f.label :y %><br />
|
9
|
-
<%= f.number_field :y %>
|
10
|
-
</div>
|
11
|
-
|
12
|
-
<div class="field">
|
13
|
-
<%= f.label :width %><br />
|
14
|
-
<%= f.number_field :width %>
|
15
|
-
</div>
|
16
|
-
|
17
|
-
<div class="field">
|
18
|
-
<%= f.label :height %><br />
|
19
|
-
<%= f.number_field :height %>
|
20
|
-
</div>
|
21
|
-
|
22
|
-
<div class="field">
|
23
|
-
<%= f.label :settings %><br />
|
24
|
-
<%= 'b' %><br />
|
25
|
-
<%= number_field_tag 'speech_balloon[balloon_attributes][settings][b]', @speech_balloon.balloon.extend_balloon.b %>
|
26
|
-
</div>
|
27
|
-
|
28
|
-
<%= f.hidden_field :r %>
|
29
|
-
<%= f.hidden_field :system_picture_id %>
|
30
|
-
<%= f.hidden_field :speech_balloon_id %>
|
@@ -1,41 +0,0 @@
|
|
1
|
-
<%= form_for(@speech_balloon) do |f| %>
|
2
|
-
<%= render 'system/error_explanation', :obj => @speech_balloon %>
|
3
|
-
<%= render 'system/error_explanation', :obj => @speech_balloon_extend %>
|
4
|
-
<%= render 'system/error_explanation', :obj => @balloon_extend %>
|
5
|
-
<%= render 'system/error_explanation', :obj => @speech_extend %>
|
6
|
-
|
7
|
-
<div class="field">
|
8
|
-
<%= f.label :caption %><br />
|
9
|
-
<%= f.number_field :caption %>
|
10
|
-
</div>
|
11
|
-
<div class="field">
|
12
|
-
<%= f.label :z %><br />
|
13
|
-
<%= f.number_field :z %>
|
14
|
-
</div>
|
15
|
-
<div class="field">
|
16
|
-
<%= f.label :t %><br />
|
17
|
-
<%= f.number_field :t %>
|
18
|
-
</div>
|
19
|
-
|
20
|
-
<div class="field">
|
21
|
-
<%= f.label :settings %><br />
|
22
|
-
<%= 'a' %><br />
|
23
|
-
<%= text_field_tag 'speech_balloon[settings][a]', @speech_balloon.extend_speech_balloon.a %>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
<%= f.fields_for(:balloon) do |bf| %>
|
27
|
-
<%= render @speech_balloon.speech_balloon_template.engine_name + '/balloons/form', :f => bf %>
|
28
|
-
<% end %>
|
29
|
-
|
30
|
-
<%= f.fields_for(:speech) do |sf| %>
|
31
|
-
<%= render @speech_balloon.speech_balloon_template.engine_name + '/speeches/form', :f => sf %>
|
32
|
-
<% end %>
|
33
|
-
|
34
|
-
<%= f.hidden_field :panel_id %>
|
35
|
-
<%= f.hidden_field :classname %>
|
36
|
-
<%= f.hidden_field :speech_balloon_template_id %>
|
37
|
-
|
38
|
-
<div class="actions">
|
39
|
-
<%= f.submit %>
|
40
|
-
</div>
|
41
|
-
<% end %>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<h1><%= t('.title') %></h1>
|
2
|
-
<p id="notice"><%= notice %></p>
|
3
|
-
|
4
|
-
<h2><%= t('home.index.catch') -%></h2>
|
5
|
-
<%= render 'panels/standard', :panel => @panel, :author => @author %>
|
6
|
-
<h2><%= t('speech_balloons.update_speech_balloon') -%></h2>
|
7
|
-
<%= render @speech_balloon.speech_balloon_template.engine_name + '/speech_balloons/form' %>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<h1><%= t('.title') %></h1>
|
2
|
-
<p id="notice"><%= notice %></p>
|
3
|
-
|
4
|
-
<h2><%= t('home.index.catch') -%></h2>
|
5
|
-
<%= render 'panels/standard', :panel => @panel, :author => @author %>
|
6
|
-
<h2><%= t('speech_balloons.create_speech_balloon') -%></h2>
|
7
|
-
<%= render @speech_balloon.speech_balloon_template.engine_name + '/speech_balloons/form' %>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
|
2
|
-
<div class="field">
|
3
|
-
<%= f.label :content %><br />
|
4
|
-
<%= f.number_field :content %>
|
5
|
-
</div>
|
6
|
-
|
7
|
-
<div class="field">
|
8
|
-
<%= f.label :settings %><br />
|
9
|
-
<%= 'c' %><br />
|
10
|
-
<%= number_field_tag 'speech_balloon[speech_attributes][settings][c]', @speech_balloon.speech.extend_speech.c %>
|
11
|
-
</div>
|
12
|
-
|
13
|
-
<%= f.hidden_field :x %>
|
14
|
-
<%= f.hidden_field :y %>
|
15
|
-
<%= f.hidden_field :width %>
|
16
|
-
<%= f.hidden_field :height %>
|
17
|
-
<%= f.hidden_field :speech_balloon_id %>
|
18
|
-
|