dynamic_fieldsets 0.0.5 → 0.0.6

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/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.0.6
2
+
3
+ * Moved the javascript includes into the view so this is usable out of the box.
4
+ * Updated the readme to include instructions for installing the javascript libraries
5
+
1
6
  == 0.0.5
2
7
 
3
8
  * Moved sqlite and capybara to development
data/README.rdoc CHANGED
@@ -2,11 +2,13 @@
2
2
 
3
3
  User defined fieldsets for dynamic questions in forms.
4
4
 
5
- I recommend not using this until a 0.1 release.j
5
+ I recommend not using this until a 0.1 release.
6
6
 
7
7
  = how to use
8
8
 
9
- Install the gem, run the install generator
9
+ Install the gem, run the install generator.
10
+
11
+ Download jquery-ui-1.8.15.custom.min.js and jquery-ui-nestedSortable.js and add to your project's javascripts folder to enable reordering on the fieldset children page. There are working copies in spec/dummy/public/javascripts.
10
12
 
11
13
  Add the mixin to your model. There are some configuration options here.
12
14
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -1,3 +1,7 @@
1
+ <%= javascript_include_tag "jquery-1.6.2.min" %>
2
+ <%= javascript_include_tag "jquery-ui-1.8.15.custom.min" %>
3
+ <%= javascript_include_tag "jquery-ui-nestedSortable" %>
4
+
1
5
  <h3 class="fieldset name"><%= @fieldset.name %></h3>
2
6
  <p class="fieldset description"><%= @fieldset.description %></p>
3
7
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dynamic_fieldsets}
8
- s.version = "0.0.5"
8
+ s.version = "0.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Jeremiah Hemphill}, %q{Ethan Pemble}, %q{John Carter}]
12
- s.date = %q{2011-09-01}
12
+ s.date = %q{2011-11-09}
13
13
  s.description = %q{Dynamic fieldsets for rails controllers}
14
14
  s.email = %q{jeremiah@cloudspace.com}
15
15
  s.extra_rdoc_files = [
@@ -153,10 +153,6 @@ Gem::Specification.new do |s|
153
153
  "spec/models/fieldset_associator_spec.rb",
154
154
  "spec/models/fieldset_child_spec.rb",
155
155
  "spec/models/fieldset_spec.rb",
156
- "spec/reports/SPEC-ActsAsMultipartForm.xml",
157
- "spec/reports/SPEC-MultipartForm-InProgressForm-validations.xml",
158
- "spec/reports/SPEC-MultipartForm-InProgressForm.xml",
159
- "spec/reports/SPEC-Navigation.xml",
160
156
  "spec/spec_helper.rb",
161
157
  "spec/support/dependency_group_helper.rb",
162
158
  "spec/support/dependency_helper.rb",
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynamic_fieldsets
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeremiah Hemphill
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2011-09-01 00:00:00 Z
15
+ date: 2011-11-09 00:00:00 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rails
@@ -325,10 +325,6 @@ files:
325
325
  - spec/models/fieldset_associator_spec.rb
326
326
  - spec/models/fieldset_child_spec.rb
327
327
  - spec/models/fieldset_spec.rb
328
- - spec/reports/SPEC-ActsAsMultipartForm.xml
329
- - spec/reports/SPEC-MultipartForm-InProgressForm-validations.xml
330
- - spec/reports/SPEC-MultipartForm-InProgressForm.xml
331
- - spec/reports/SPEC-Navigation.xml
332
328
  - spec/spec_helper.rb
333
329
  - spec/support/dependency_group_helper.rb
334
330
  - spec/support/dependency_helper.rb
@@ -353,7 +349,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
353
349
  requirements:
354
350
  - - ">="
355
351
  - !ruby/object:Gem::Version
356
- hash: -3106094573859044367
352
+ hash: 4306683891801116677
357
353
  segments:
358
354
  - 0
359
355
  version: "0"
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="ActsAsMultipartForm" tests="1" time="0.04001929" failures="0" errors="0" skipped="0">
3
- <testcase name="ActsAsMultipartForm should be valid" time="0.039701244">
4
- </testcase>
5
- <system-out>
6
- </system-out>
7
- <system-err>
8
- </system-err>
9
- </testsuite>
@@ -1,47 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="MultipartForm::InProgressForm validations" tests="5" time="0.00780956" failures="0" errors="5" skipped="0">
3
- <testcase name="MultipartForm::InProgressForm validations should be valid" time="0.001769442">
4
- <failure type="ActiveRecord::StatementInvalid" message="Could not find table 'in_progress_forms'">
5
- Could not find table 'in_progress_forms' (ActiveRecord::StatementInvalid)
6
- ActiveRecord::StatementInvalid:
7
- Could not find table 'in_progress_forms'
8
- ./spec/in_progress_form_spec.rb:6:in `new'
9
- ./spec/in_progress_form_spec.rb:6:in `block (3 levels) in &lt;top (required)&gt;' </failure>
10
- </testcase>
11
- <testcase name="MultipartForm::InProgressForm validations should require a form subject" time="0.00119303">
12
- <failure type="ActiveRecord::StatementInvalid" message="Could not find table 'in_progress_forms'">
13
- Could not find table 'in_progress_forms' (ActiveRecord::StatementInvalid)
14
- ActiveRecord::StatementInvalid:
15
- Could not find table 'in_progress_forms'
16
- ./spec/in_progress_form_spec.rb:6:in `new'
17
- ./spec/in_progress_form_spec.rb:6:in `block (3 levels) in &lt;top (required)&gt;' </failure>
18
- </testcase>
19
- <testcase name="MultipartForm::InProgressForm validations should require a form name" time="0.001504453">
20
- <failure type="ActiveRecord::StatementInvalid" message="Could not find table 'in_progress_forms'">
21
- Could not find table 'in_progress_forms' (ActiveRecord::StatementInvalid)
22
- ActiveRecord::StatementInvalid:
23
- Could not find table 'in_progress_forms'
24
- ./spec/in_progress_form_spec.rb:6:in `new'
25
- ./spec/in_progress_form_spec.rb:6:in `block (3 levels) in &lt;top (required)&gt;' </failure>
26
- </testcase>
27
- <testcase name="MultipartForm::InProgressForm validations should require a last completed step" time="0.001388378">
28
- <failure type="ActiveRecord::StatementInvalid" message="Could not find table 'in_progress_forms'">
29
- Could not find table 'in_progress_forms' (ActiveRecord::StatementInvalid)
30
- ActiveRecord::StatementInvalid:
31
- Could not find table 'in_progress_forms'
32
- ./spec/in_progress_form_spec.rb:6:in `new'
33
- ./spec/in_progress_form_spec.rb:6:in `block (3 levels) in &lt;top (required)&gt;' </failure>
34
- </testcase>
35
- <testcase name="MultipartForm::InProgressForm validations should require completed" time="0.001450073">
36
- <failure type="ActiveRecord::StatementInvalid" message="Could not find table 'in_progress_forms'">
37
- Could not find table 'in_progress_forms' (ActiveRecord::StatementInvalid)
38
- ActiveRecord::StatementInvalid:
39
- Could not find table 'in_progress_forms'
40
- ./spec/in_progress_form_spec.rb:6:in `new'
41
- ./spec/in_progress_form_spec.rb:6:in `block (3 levels) in &lt;top (required)&gt;' </failure>
42
- </testcase>
43
- <system-out>
44
- </system-out>
45
- <system-err>
46
- </system-err>
47
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="MultipartForm::InProgressForm" tests="0" time="0.000230508" failures="0" errors="0" skipped="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Navigation" tests="1" time="0.004622105" failures="0" errors="0" skipped="0">
3
- <testcase name="Navigation should be a valid app" time="0.002294373">
4
- </testcase>
5
- <system-out>
6
- </system-out>
7
- <system-err>
8
- </system-err>
9
- </testsuite>