noodall-form-builder 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -2,7 +2,8 @@ source :rubygems
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rails', '3.0.1'
5
+ gem 'mm-versionable', '0.2.5'
6
+ gem 'rails', '3.1.3'
6
7
  gem 'noodall-ui'
7
8
  gem 'capybara', '>= 0.3.9'
8
9
  gem 'rspec-rails', '>= 2.0.0.beta'
@@ -0,0 +1,2 @@
1
+ <%= (f.label field.underscored_name, field.label) %><%= (field.required ? content_tag('span', ' *', :class => 'required') : '') %>
2
+ <%= f.text_area field.underscored_name, :cols => 20, :rows => field.rows, :class => field.default_class(form_response) %>
@@ -1,6 +1,2 @@
1
1
  <%= (f.label field.underscored_name, field.label) %><%= (field.required ? content_tag('span', ' *', :class => 'required') : '') %>
2
- <% if field.rows > 1 %>
3
- <%= f.text_area field.underscored_name, :cols => 20, :rows => field.rows, :class => field.default_class(form_response) %>
4
- <% else %>
5
2
  <%= f.text_field field.underscored_name, :class => field.default_class(form_response) %>
6
- <% end %>
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
2
  module FormBuilder
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
@@ -4,6 +4,7 @@ require "active_model/railtie"
4
4
  require "action_controller/railtie"
5
5
  require "action_view/railtie"
6
6
  require "action_mailer/railtie"
7
+ require "sprockets/railtie"
7
8
 
8
9
  Bundler.require
9
10
  require "noodall-form-builder"
@@ -41,6 +42,9 @@ module Dummy
41
42
  # Configure sensitive parameters which will be filtered from the log file.
42
43
  config.filter_parameters += [:password]
43
44
 
45
+ # Enable the asset pipeline
46
+ config.assets.enabled = true
47
+
44
48
  config.middleware.insert_after 'Rack::Lock', 'Dragonfly::Middleware', :noodall_assets, '/media'
45
49
  end
46
50
  end
@@ -11,7 +11,6 @@ Dummy::Application.configure do
11
11
 
12
12
  # Show full error reports and disable caching
13
13
  config.consider_all_requests_local = true
14
- config.action_view.debug_rjs = true
15
14
  config.action_controller.perform_caching = false
16
15
 
17
16
  # Don't care if the mailer can't send
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noodall-form-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2011-11-29 00:00:00.000000000Z
14
+ date: 2011-12-02 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
18
- requirement: &13067740 !ruby/object:Gem::Requirement
18
+ requirement: &15241020 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 1.0.0
24
24
  type: :development
25
25
  prerelease: false
26
- version_requirements: *13067740
26
+ version_requirements: *15241020
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: fastercsv
29
- requirement: &13067280 !ruby/object:Gem::Requirement
29
+ requirement: &15240480 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *13067280
37
+ version_requirements: *15240480
38
38
  description: Functionality for building custom forms
39
39
  email: []
40
40
  executables: []
@@ -85,6 +85,7 @@ files:
85
85
  - app/views/noodall/form_responses/fields/_multiselect.html.erb
86
86
  - app/views/noodall/form_responses/fields/_radio.html.erb
87
87
  - app/views/noodall/form_responses/fields/_select.html.erb
88
+ - app/views/noodall/form_responses/fields/_textarea.html.erb
88
89
  - app/views/noodall/form_responses/fields/_textfield.html.erb
89
90
  - app/views/noodall/form_responses/new.html.erb
90
91
  - app/views/noodall/forms/edit.html.erb
@@ -169,7 +170,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
169
170
  version: '0'
170
171
  segments:
171
172
  - 0
172
- hash: 2077469177402188089
173
+ hash: 1378576621811178490
173
174
  required_rubygems_version: !ruby/object:Gem::Requirement
174
175
  none: false
175
176
  requirements: