test_speech_balloon 0.0.55 → 0.0.56

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.
@@ -14,8 +14,8 @@
14
14
  </p>
15
15
 
16
16
  <p>
17
- <b><%= t_m 'SpeechBalloon.classname' -%>:</b>
18
- <%= @speech_balloon.classname %>
17
+ <b><%= t_m 'SpeechBalloon.module_name' -%>:</b>
18
+ <%= @speech_balloon.module_name %>
19
19
  </p>
20
20
 
21
21
  <p>
@@ -4,7 +4,7 @@ class TestSpeechBalloonImport0035 < ActiveRecord::Migration
4
4
  SpeechBalloonTemplate.import_text(<<-HD
5
5
  {
6
6
  "test@pettan.com": {
7
- "classname": "TestSpeechBalloon",
7
+ "module_name": "TestSpeechBalloon",
8
8
  "caption": "テスト",
9
9
  "settings": {
10
10
  "speech_balloon": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "test@pettan.com": {
3
- "classname": "TestSpeechBalloon",
3
+ "module_name": "TestSpeechBalloon",
4
4
  "caption": "テスト",
5
5
  "system_picture_file": "icon.png",
6
6
  "settings": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "test@pettan.com": {
3
- "classname": "TestSpeechBalloon",
3
+ "module_name": "TestSpeechBalloon",
4
4
  "caption": "テスト",
5
5
  "settings": {
6
6
  "speech_balloon": {
@@ -4,7 +4,7 @@ module TestSpeechBalloon
4
4
  module SpeechBalloonModule
5
5
  def supply_default
6
6
  super
7
- self.speech_balloon_template_classname = self.speech_balloon_template.classname
7
+ self.speech_balloon_template_module_name = self.speech_balloon_template.module_name
8
8
  end
9
9
 
10
10
  def speech_balloon_extend
@@ -1,3 +1,3 @@
1
1
  module TestSpeechBalloon
2
- VERSION = "0.0.55"
2
+ VERSION = "0.0.56"
3
3
  end
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.55
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-09 00:00:00.000000000 Z
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
-