survey_on_rails 0.4.3 → 1.0.0
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.
- data/gen/models/model.rb +6 -2
- data/gen/models/styles.rb +1 -1
- data/gen/models/view.rb +4 -0
- data/lib/generators/survey/USAGE +4 -4
- data/lib/generators/survey/metamodels/app.rb +38 -27
- data/lib/generators/survey/metamodels/base.rb +31 -29
- data/lib/generators/survey/metamodels/main.rb +1 -0
- data/lib/generators/survey/metamodels/model.rb +22 -54
- data/lib/generators/survey/metamodels/static.rb +44 -0
- data/lib/generators/survey/metamodels/style.rb +64 -83
- data/lib/generators/survey/metamodels/types.rb +2 -0
- data/lib/generators/survey/metamodels/validation.rb +15 -2
- data/lib/generators/survey/metamodels/view.rb +124 -172
- data/lib/generators/survey/showcase/assets/static_pages/about.html.erb +10 -0
- data/lib/generators/survey/showcase/assets/static_pages/contact.html.erb +7 -0
- data/lib/generators/survey/showcase/assets/static_pages/help.html.erb +8 -0
- data/lib/generators/survey/showcase/assets/static_pages/home.html.erb +11 -0
- data/lib/generators/survey/showcase/models/app.rb +10 -0
- data/lib/generators/survey/showcase/models/model.rb +13 -0
- data/lib/generators/survey/showcase/models/static.rb +22 -0
- data/lib/generators/survey/showcase/models/styles.rb +3 -0
- data/lib/generators/survey/showcase/models/view.rb +13 -0
- data/lib/generators/survey/survey_generator.rb +11 -0
- data/lib/generators/survey/templates/app/assets/stylesheets/stylesheet.tpl +7 -7
- data/lib/generators/survey/templates/app/controllers/survey_controller.tpl +1 -1
- data/lib/generators/survey/templates/app/models/validator.tpl +2 -2
- data/lib/generators/survey/templates/app/views/{form → forms}/checkbox_group.tpl +12 -12
- data/lib/generators/survey/templates/app/views/{form → forms}/choice_question.tpl +0 -0
- data/lib/generators/survey/templates/app/views/{form → forms}/dropdown.tpl +0 -0
- data/lib/generators/survey/templates/app/views/{form → forms}/element.tpl +0 -0
- data/lib/generators/survey/templates/app/views/{form → forms}/form.tpl +0 -0
- data/lib/generators/survey/templates/app/views/{form → forms}/group.tpl +0 -0
- data/lib/generators/survey/templates/app/views/{form → forms}/horizontal_radio_button_group.tpl +0 -0
- data/lib/generators/survey/templates/app/views/{form → forms}/image.tpl +0 -0
- data/lib/generators/survey/templates/app/views/{form → forms}/pagination.tpl +4 -5
- data/lib/generators/survey/templates/app/views/{form → forms}/radio_button_group.tpl +0 -0
- data/lib/generators/survey/templates/app/views/{form → forms}/table.tpl +0 -0
- data/lib/generators/survey/templates/app/views/{form → forms}/textfield.tpl +0 -0
- data/lib/generators/survey/templates/app/views/layouts/header.tpl +31 -31
- data/lib/generators/survey/templates/app/views/views.tpl +1 -1
- metadata +29 -17
- checksums.yaml +0 -15
@@ -0,0 +1,10 @@
|
|
1
|
+
<% provide(:title, 'About Us') %>
|
2
|
+
<h1>About Us</h1>
|
3
|
+
|
4
|
+
<p>
|
5
|
+
The <a href="https://github.com/Dkemp04/Generator">Survey on Rails</a>
|
6
|
+
project is the master thesis of Daniel Kemper in Information Systems
|
7
|
+
based on model-driven development with <a href="http://ruby-gen.org/">RGen</a>
|
8
|
+
in <a href="http://rubyonrails.org/">Ruby on Rails</a>.
|
9
|
+
This is the sample application for the project.
|
10
|
+
</p>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<% provide(:title, 'Help') %>
|
2
|
+
<h1>Help</h1>
|
3
|
+
|
4
|
+
<p>
|
5
|
+
Get help on the Survey on Rails at the
|
6
|
+
<a href="https://github.com/Dkemp04/Generator/blob/master/README.rdoc">help page</a>.
|
7
|
+
To get help on this sample app, see the <a href="https://github.com/Dkemp04/Demo">Demo</a>.
|
8
|
+
</p>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<div class="center hero-unit">
|
2
|
+
<h1>Welcome to the Sample App</h1>
|
3
|
+
<h2>
|
4
|
+
This is the home page for the
|
5
|
+
<a href="https://github.com/Dkemp04/Generator">Survey on Rails</a> sample application.
|
6
|
+
</h2>
|
7
|
+
|
8
|
+
<% if !signed_in? %>
|
9
|
+
<%= link_to "Sign up now!", signup_path, class: "btn btn-large btn-primary" %>
|
10
|
+
<% end %>
|
11
|
+
</div>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
Dir[File.dirname(__FILE__) + '/*.rb'].each { |file| require file }
|
2
|
+
|
3
|
+
APPLICATION = SurveyOnRails::Builder::build do
|
4
|
+
application do
|
5
|
+
model(:surveys => SURVEYS)
|
6
|
+
|
7
|
+
|
8
|
+
view(:static_pages => STATIC_PAGES, :header => HEADER.first, :footer => FOOTER.first, :styles => STYLES, :forms => FORMS)
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
SURVEYS = SurveyOnRails::Builder::build do
|
2
|
+
survey("customer_satisfaction_survey", :author => "Example Company", :title => "Customer Satisfaction Survey") do
|
3
|
+
singleChoice "convenience", :title => "How convenient is our company to use?", :choices_s => "Extremely convenient, Very convenient, Moderately convenient, Slightly convenient, Not at all convenient"
|
4
|
+
singleChoice "professionality", :title => "How professional is our company?", :choices_s => "Extremely professional, Very professional, Moderately professional, Slightly professional, Not at all professional"
|
5
|
+
singleChoice "quality", :title => "Compared to our competitors, is our product quality better, worse, or about the same?", :choices_s => "Much better, Somewhat better, Slightly better, About the same, Slightly worse, Somewhat worse, Much worse"
|
6
|
+
singleChoice "adequacy", :title => "Compared to our competitors, are our prices more reasonable, less reasonable, or about the same?", :choices_s => "Much more reasonable, Somewhat more reasonable, Slightly more reasonable, About as reasonable, Slightly less reasonable, Somewhat less reasonable, Much less reasonable"
|
7
|
+
singleChoice "responsiveness", :title => "How responsive is our company?", :choices_s => "Extremely responsive, Very responsive, Moderately responsive, Slightly responsive, Not at all responsive"
|
8
|
+
singleChoice "service", :title => "How well do the customer service representatives at our company answer your questions?", :choices_s => "Extremely well, Very well, Moderately well, Slightly well, Not at all well"
|
9
|
+
singleChoice "satisfaction", :title => "Overall, are you satisfied with the employees at our company, neither satisfied nor dissatisfied with them, or dissatisfied with them?", :choices_s => "Extremely satisfied, Moderately satisfied, Slightly satisfied, Neither satisfied nor dissatisfied, Slightly dissatisfied, Moderately dissatisfied, Extremely dissatisfied"
|
10
|
+
singleChoice "rating", :title => "Do you like our company, neither like nor dislike it, or dislike it?", :choices_s => "Like a great deal, Like a moderate amount, Like a little, Neither like nor dislike, Dislike a little, Dislike a moderate amount, Dislike a great deal"
|
11
|
+
singleChoice "recommendation", :title => "How likely are you to recommend our company to people you know ?", :choices_s => "Extremely likely, Very likely, Moderately likely, Slightly likely, Not at all likely"
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
STATIC_PAGES = SurveyOnRails::Builder::build do
|
2
|
+
staticPage "home", :title => "Home", :root => true
|
3
|
+
staticPage "about", :title => "About"
|
4
|
+
staticPage "contact", :title => "Contact"
|
5
|
+
staticPage "help", :title => "Help"
|
6
|
+
end
|
7
|
+
|
8
|
+
HEADER = SurveyOnRails::Builder::build do
|
9
|
+
header do
|
10
|
+
link "link_2", :title => "Home", :url => "root_path", :path => true
|
11
|
+
link "link_3", :title => "Help", :url => "help_path", :path => true
|
12
|
+
surveyManagement
|
13
|
+
userManagement
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
FOOTER = SurveyOnRails::Builder::build do
|
18
|
+
footer do
|
19
|
+
link "link_7", :title => "About", :url => "about_path", :path => true
|
20
|
+
link "link_8", :title => "Contact", :url => "contact_path", :path => true
|
21
|
+
end
|
22
|
+
end
|
@@ -9,6 +9,7 @@ class SurveyGenerator < Rails::Generators::Base
|
|
9
9
|
class_option :migrate, :type => :boolean, :default => false, :desc => "Performs database migrations"
|
10
10
|
class_option :populate, :type => :boolean, :default => false, :desc => "Populates database with users"
|
11
11
|
class_option :silent, :type => :boolean, :default => false, :desc => "Prevents console feedback"
|
12
|
+
class_option :showcase, :type => :boolean, :default => false, :desc => "A showcase to demonstrate the model definition"
|
12
13
|
|
13
14
|
def generate_survey
|
14
15
|
start_time = Time.now
|
@@ -20,6 +21,8 @@ class SurveyGenerator < Rails::Generators::Base
|
|
20
21
|
run 'rails g survey --gems --migrate --no-dynamic --silent'
|
21
22
|
end
|
22
23
|
|
24
|
+
copy_showcase if options.showcase?
|
25
|
+
|
23
26
|
out "Generating ruby on rails source code for the survey in '#{model_path}'"
|
24
27
|
|
25
28
|
if File.exists?(model_path)
|
@@ -200,6 +203,8 @@ class SurveyGenerator < Rails::Generators::Base
|
|
200
203
|
|
201
204
|
file.puts("\nHEADER = SurveyOnRails::Builder::build do")
|
202
205
|
file.puts("\theader do")
|
206
|
+
file.puts("\t\tsurveyManagement")
|
207
|
+
file.puts("\t\tuserManagement")
|
203
208
|
file.puts("\tend")
|
204
209
|
file.puts("end")
|
205
210
|
|
@@ -244,6 +249,12 @@ class SurveyGenerator < Rails::Generators::Base
|
|
244
249
|
end
|
245
250
|
end
|
246
251
|
|
252
|
+
def copy_showcase
|
253
|
+
out "Copying showcase model to application"
|
254
|
+
|
255
|
+
copy_dir("#{File.dirname(__FILE__)}/showcase", "#{Rails.root.to_s}/gen")
|
256
|
+
end
|
257
|
+
|
247
258
|
def copy_assets
|
248
259
|
out "Copying assets to target directory"
|
249
260
|
|
@@ -34,7 +34,7 @@
|
|
34
34
|
<% end %>
|
35
35
|
<% end %>
|
36
36
|
|
37
|
-
<% define 'question', :for =>
|
37
|
+
<% define 'question', :for => ViewElement do %>
|
38
38
|
<% if name? and style? %>
|
39
39
|
<% nl %>
|
40
40
|
.<%= name %> {<% iinc %>
|
@@ -79,9 +79,9 @@
|
|
79
79
|
<% end %>
|
80
80
|
|
81
81
|
<% define 'element_style', :for => Style do %>
|
82
|
-
<%
|
82
|
+
<% names_and_types.each do |name_type| %>
|
83
83
|
<% nl %>
|
84
|
-
.<%=
|
84
|
+
.<%= name_type %> {<% iinc %>
|
85
85
|
<% expand 'style' %>
|
86
86
|
<% idec %>}
|
87
87
|
<% end %>
|
@@ -95,10 +95,10 @@
|
|
95
95
|
padding:<% 4.times do %> <%= padding %>px<% end %>;
|
96
96
|
<% end %>
|
97
97
|
<% if foreground? %>
|
98
|
-
color: <%=
|
98
|
+
color: <%= foreground_color %>;
|
99
99
|
<% end %>
|
100
100
|
<% if background? %>
|
101
|
-
background-color: <%=
|
101
|
+
background-color: <%= background_color %>;
|
102
102
|
<% end %>
|
103
103
|
<% if font_size? %>
|
104
104
|
font-size: <%= font_size %> px;
|
@@ -109,10 +109,10 @@
|
|
109
109
|
<% if font_weight? %>
|
110
110
|
font-size: <%= weight %>;
|
111
111
|
<% end %>
|
112
|
-
<% if
|
112
|
+
<% if horizontal_alignment? %>
|
113
113
|
text-align: <%= horizontal_align %>;
|
114
114
|
<% end %>
|
115
|
-
<% if
|
115
|
+
<% if vertical_alignment? %>
|
116
116
|
vertical-align: <%= vertical_align %>;
|
117
117
|
<% end %>
|
118
118
|
|
@@ -89,7 +89,7 @@
|
|
89
89
|
<% if element.is_a?(CheckboxGroup) and element.dropdown %>
|
90
90
|
params[:<%= element.name %>][:content] = (params[:<%= element.name %>][:content]).join(', ') if (!params[:<%= element.name %>].blank? and !params[:<%= element.name %>][:content].blank?)
|
91
91
|
<% elsif (element.is_a?(CheckboxGroup) and !element.dropdown) or (element.is_a?(Table) and (element.type == :multipleChoice or element.type == :singleChoice or element.type == :likert or element.type == :text)) %>
|
92
|
-
params[:<%= element.name %>][:content] = <%= element.
|
92
|
+
params[:<%= element.name %>][:content] = <%= element.parameters %> if !params[:<%= element.name %>].blank?
|
93
93
|
<% end %>
|
94
94
|
<% end %>
|
95
95
|
<% end %>
|
@@ -23,11 +23,11 @@
|
|
23
23
|
unless record.content.to_s =~ <%= rule.regex %><% iinc %>
|
24
24
|
record.errors[:content] << " of '<%= rule.question.title %>' has to match the regular expression '<%= rule.regex %>'!"
|
25
25
|
<% idec %>end
|
26
|
-
<% elsif rule.is_a?(
|
26
|
+
<% elsif rule.is_a?(IntegerRule) %>
|
27
27
|
unless record.content.to_s =~ /^\d+$/<% iinc %>
|
28
28
|
record.errors[:content] << " of '<%= rule.question.title %>' has to be a number!"
|
29
29
|
<% idec %>end
|
30
|
-
<% elsif rule.is_a?(
|
30
|
+
<% elsif rule.is_a?(FloatRule) %>
|
31
31
|
unless record.content.to_s =~ /^\d+??(?:\.\d{0,2})?$/<% iinc %>
|
32
32
|
record.errors[:content] << " of '<%= rule.question.title %>' has to be a floating point number!"
|
33
33
|
<% idec %>end
|
@@ -1,13 +1,13 @@
|
|
1
|
-
<% define 'checkbox_group', :for => CheckboxGroup do %>
|
2
|
-
<% if dropdown %>
|
3
|
-
<% expand 'choice_question::dropdown', name, real_class_name, choices, true %>
|
4
|
-
<% else %>
|
5
|
-
<% choices.each do |choice| %>
|
6
|
-
<span class="<%= choice.name %>"><% iinc %>
|
7
|
-
<%%= check_box_tag "<%= name %>_<%= choice.name %>", "<%= choice.title %>", (!params[:<%= name %>_<%= choice.name %>].nil? and (params[:<%= name %>_<%= choice.name %>] == "<%= choice.title %>")) %>
|
8
|
-
<%%= label_tag "<%= choice.title %>", nil, :class => "checkbox inline" %>
|
9
|
-
<% idec %></span>
|
10
|
-
<br />
|
11
|
-
<% end %>
|
12
|
-
<% end %>
|
1
|
+
<% define 'checkbox_group', :for => CheckboxGroup do %>
|
2
|
+
<% if dropdown %>
|
3
|
+
<% expand 'choice_question::dropdown', name, real_class_name, choices, true %>
|
4
|
+
<% else %>
|
5
|
+
<% choices.each do |choice| %>
|
6
|
+
<span class="<%= choice.name %>"><% iinc %>
|
7
|
+
<%%= check_box_tag "<%= name %>_<%= choice.name %>", "<%= choice.title %>", (!params[:<%= name %>_<%= choice.name %>].nil? and (params[:<%= name %>_<%= choice.name %>] == "<%= choice.title %>")) %>
|
8
|
+
<%%= label_tag "<%= choice.title %>", nil, :class => "checkbox inline" %>
|
9
|
+
<% idec %></span>
|
10
|
+
<br />
|
11
|
+
<% end %>
|
12
|
+
<% end %>
|
13
13
|
<% end %>
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/generators/survey/templates/app/views/{form → forms}/horizontal_radio_button_group.tpl
RENAMED
File without changes
|
File without changes
|
@@ -5,18 +5,17 @@
|
|
5
5
|
<% if actual_pages_number >= 1 %>
|
6
6
|
<div class="pagination pagination-centered"><% iinc %>
|
7
7
|
<ul><% iinc %>
|
8
|
-
<% expand 'prev_link', snake_name, j if has_multiple_pages %>
|
8
|
+
<% expand 'prev_link', snake_name, j if has_multiple_pages? %>
|
9
9
|
|
10
10
|
<% i = 1 %>
|
11
11
|
<% j = 0 %>
|
12
12
|
<% page_elements.each do |page_elements| %>
|
13
13
|
<% j = j + 1 %>
|
14
|
-
<% expand 'page_link', snake_name, j if has_multiple_pages %>
|
15
|
-
<% page_title
|
16
|
-
<% expand 'page_file', file_name, page_title, page_elements, (j == actual_pages_number), j, :indent => 0 %>
|
14
|
+
<% expand 'page_link', snake_name, j if has_multiple_pages? %>
|
15
|
+
<% expand 'page_file', file_name, page_title(j), page_elements, (j == actual_pages_number), j, :indent => 0 %>
|
17
16
|
<% end %>
|
18
17
|
|
19
|
-
<% expand 'next_link', snake_name, j if has_multiple_pages %>
|
18
|
+
<% expand 'next_link', snake_name, j if has_multiple_pages? %>
|
20
19
|
<% idec %></ul>
|
21
20
|
<% idec %></div>
|
22
21
|
<% end %>
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,32 +1,32 @@
|
|
1
|
-
<% indent = 5 %>
|
2
|
-
|
3
|
-
<% define 'static' do %>
|
4
|
-
<% file "app/views/layouts/_header.html.erb" do %>
|
5
|
-
<% expand 'start' %>
|
6
|
-
<% expand 'end', :indent => indent %>
|
7
|
-
<% end %>
|
8
|
-
<% end %>
|
9
|
-
|
10
|
-
<% define 'dynamic', :for => View do %>
|
11
|
-
<% file "app/views/layouts/_header.html.erb" do %>
|
12
|
-
<% expand 'start' %>
|
13
|
-
<% expand 'static_element::elements', header.elements, forms, indent, :indent => indent %>
|
14
|
-
<% expand 'end', :indent => indent %>
|
15
|
-
<% end %>
|
16
|
-
<% end %>
|
17
|
-
|
18
|
-
<% define 'start' do %>
|
19
|
-
<header class="navbar navbar-fixed-top navbar-inverse"><% iinc %>
|
20
|
-
<div class="navbar-inner"><% iinc %>
|
21
|
-
<div class="container"><% iinc %>
|
22
|
-
<nav><% iinc %>
|
23
|
-
<ul class="nav pull-right"><% iinc %>
|
24
|
-
<% end %>
|
25
|
-
|
26
|
-
<% define 'end' do %>
|
27
|
-
<% idec %></ul>
|
28
|
-
<% idec %></nav>
|
29
|
-
<% idec %></div>
|
30
|
-
<% idec %></div>
|
31
|
-
<% idec %></header>
|
1
|
+
<% indent = 5 %>
|
2
|
+
|
3
|
+
<% define 'static' do %>
|
4
|
+
<% file "app/views/layouts/_header.html.erb" do %>
|
5
|
+
<% expand 'start' %>
|
6
|
+
<% expand 'end', :indent => indent %>
|
7
|
+
<% end %>
|
8
|
+
<% end %>
|
9
|
+
|
10
|
+
<% define 'dynamic', :for => View do %>
|
11
|
+
<% file "app/views/layouts/_header.html.erb" do %>
|
12
|
+
<% expand 'start' %>
|
13
|
+
<% expand 'static_element::elements', header.elements, forms, indent, :indent => indent %>
|
14
|
+
<% expand 'end', :indent => indent %>
|
15
|
+
<% end %>
|
16
|
+
<% end %>
|
17
|
+
|
18
|
+
<% define 'start' do %>
|
19
|
+
<header class="navbar navbar-fixed-top navbar-inverse"><% iinc %>
|
20
|
+
<div class="navbar-inner"><% iinc %>
|
21
|
+
<div class="container"><% iinc %>
|
22
|
+
<nav><% iinc %>
|
23
|
+
<ul class="nav pull-right"><% iinc %>
|
24
|
+
<% end %>
|
25
|
+
|
26
|
+
<% define 'end' do %>
|
27
|
+
<% idec %></ul>
|
28
|
+
<% idec %></nav>
|
29
|
+
<% idec %></div>
|
30
|
+
<% idec %></div>
|
31
|
+
<% idec %></header>
|
32
32
|
<% end %>
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: survey_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Daniel Kemper
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-23 00:00:00.000000000 Z
|
12
13
|
dependencies: []
|
13
14
|
description: A generator for surveys based on model-driven development with RGen.
|
14
15
|
email: daniel.kemper@uni-muenster.de
|
@@ -20,10 +21,20 @@ files:
|
|
20
21
|
- lib/generators/survey/metamodels/base.rb
|
21
22
|
- lib/generators/survey/metamodels/main.rb
|
22
23
|
- lib/generators/survey/metamodels/model.rb
|
24
|
+
- lib/generators/survey/metamodels/static.rb
|
23
25
|
- lib/generators/survey/metamodels/style.rb
|
24
26
|
- lib/generators/survey/metamodels/types.rb
|
25
27
|
- lib/generators/survey/metamodels/validation.rb
|
26
28
|
- lib/generators/survey/metamodels/view.rb
|
29
|
+
- lib/generators/survey/showcase/assets/static_pages/about.html.erb
|
30
|
+
- lib/generators/survey/showcase/assets/static_pages/contact.html.erb
|
31
|
+
- lib/generators/survey/showcase/assets/static_pages/help.html.erb
|
32
|
+
- lib/generators/survey/showcase/assets/static_pages/home.html.erb
|
33
|
+
- lib/generators/survey/showcase/models/app.rb
|
34
|
+
- lib/generators/survey/showcase/models/model.rb
|
35
|
+
- lib/generators/survey/showcase/models/static.rb
|
36
|
+
- lib/generators/survey/showcase/models/styles.rb
|
37
|
+
- lib/generators/survey/showcase/models/view.rb
|
27
38
|
- lib/generators/survey/survey_generator.rb
|
28
39
|
- lib/generators/survey/templates/app/app.tpl
|
29
40
|
- lib/generators/survey/templates/app/assets/assets.tpl
|
@@ -48,18 +59,18 @@ files:
|
|
48
59
|
- lib/generators/survey/templates/app/models/survey.tpl
|
49
60
|
- lib/generators/survey/templates/app/models/user.tpl
|
50
61
|
- lib/generators/survey/templates/app/models/validator.tpl
|
51
|
-
- lib/generators/survey/templates/app/views/
|
52
|
-
- lib/generators/survey/templates/app/views/
|
53
|
-
- lib/generators/survey/templates/app/views/
|
54
|
-
- lib/generators/survey/templates/app/views/
|
55
|
-
- lib/generators/survey/templates/app/views/
|
56
|
-
- lib/generators/survey/templates/app/views/
|
57
|
-
- lib/generators/survey/templates/app/views/
|
58
|
-
- lib/generators/survey/templates/app/views/
|
59
|
-
- lib/generators/survey/templates/app/views/
|
60
|
-
- lib/generators/survey/templates/app/views/
|
61
|
-
- lib/generators/survey/templates/app/views/
|
62
|
-
- lib/generators/survey/templates/app/views/
|
62
|
+
- lib/generators/survey/templates/app/views/forms/checkbox_group.tpl
|
63
|
+
- lib/generators/survey/templates/app/views/forms/choice_question.tpl
|
64
|
+
- lib/generators/survey/templates/app/views/forms/dropdown.tpl
|
65
|
+
- lib/generators/survey/templates/app/views/forms/element.tpl
|
66
|
+
- lib/generators/survey/templates/app/views/forms/form.tpl
|
67
|
+
- lib/generators/survey/templates/app/views/forms/group.tpl
|
68
|
+
- lib/generators/survey/templates/app/views/forms/horizontal_radio_button_group.tpl
|
69
|
+
- lib/generators/survey/templates/app/views/forms/image.tpl
|
70
|
+
- lib/generators/survey/templates/app/views/forms/pagination.tpl
|
71
|
+
- lib/generators/survey/templates/app/views/forms/radio_button_group.tpl
|
72
|
+
- lib/generators/survey/templates/app/views/forms/table.tpl
|
73
|
+
- lib/generators/survey/templates/app/views/forms/textfield.tpl
|
63
74
|
- lib/generators/survey/templates/app/views/layouts/application.tpl
|
64
75
|
- lib/generators/survey/templates/app/views/layouts/footer.tpl
|
65
76
|
- lib/generators/survey/templates/app/views/layouts/header.tpl
|
@@ -108,25 +119,26 @@ files:
|
|
108
119
|
- gen/models/view.rb
|
109
120
|
homepage: https://github.com/Dkemp04/Generator
|
110
121
|
licenses: []
|
111
|
-
metadata: {}
|
112
122
|
post_install_message:
|
113
123
|
rdoc_options: []
|
114
124
|
require_paths:
|
115
125
|
- - lib
|
116
126
|
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
117
128
|
requirements:
|
118
129
|
- - ! '>='
|
119
130
|
- !ruby/object:Gem::Version
|
120
131
|
version: '0'
|
121
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
|
+
none: false
|
122
134
|
requirements:
|
123
135
|
- - ! '>='
|
124
136
|
- !ruby/object:Gem::Version
|
125
137
|
version: '0'
|
126
138
|
requirements: []
|
127
139
|
rubyforge_project:
|
128
|
-
rubygems_version:
|
140
|
+
rubygems_version: 1.8.24
|
129
141
|
signing_key:
|
130
|
-
specification_version:
|
142
|
+
specification_version: 3
|
131
143
|
summary: MDSD in Ruby on Rails
|
132
144
|
test_files: []
|