nested_fields 0.2.1 → 0.2.2

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -1 +1,11 @@
1
- require 'engine'
1
+ module NestedFields
2
+ class Engine < Rails::Engine
3
+ initializer 'nested_fields.add_middleware' do |app|
4
+ app.middleware.use ActionDispatch::Static, "#{root}/public"
5
+ end
6
+
7
+ config.to_prepare do
8
+ ApplicationController.helper(NestedFieldsHelper)
9
+ end
10
+ end
11
+ end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{nested_fields}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jason Murad"]
12
- s.date = %q{2011-01-22}
12
+ s.date = %q{2011-01-25}
13
13
  s.description = %q{Unobtrusive dynamic nested forms}
14
14
  s.email = %q{jason@thriess.com}
15
15
  s.extra_rdoc_files = [
@@ -29,7 +29,6 @@ Gem::Specification.new do |s|
29
29
  "app/views/nested_fields/_nested_fieldset.html.erb",
30
30
  "app/views/nested_fields/_singular_nested_fieldset.html.erb",
31
31
  "config/routes.rb",
32
- "lib/engine.rb",
33
32
  "lib/nested_fields.rb",
34
33
  "nested_fields.gemspec",
35
34
  "public/javascripts/nested_fields.js",
@@ -12,7 +12,6 @@ require 'shoulda'
12
12
 
13
13
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
14
  $LOAD_PATH.unshift(File.dirname(__FILE__))
15
- require 'nested_fields'
16
15
 
17
16
  class Test::Unit::TestCase
18
17
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jason Murad
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-22 00:00:00 -05:00
17
+ date: 2011-01-25 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -95,7 +95,6 @@ files:
95
95
  - app/views/nested_fields/_nested_fieldset.html.erb
96
96
  - app/views/nested_fields/_singular_nested_fieldset.html.erb
97
97
  - config/routes.rb
98
- - lib/engine.rb
99
98
  - lib/nested_fields.rb
100
99
  - nested_fields.gemspec
101
100
  - public/javascripts/nested_fields.js
@@ -115,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
114
  requirements:
116
115
  - - ">="
117
116
  - !ruby/object:Gem::Version
118
- hash: -3511116076311787627
117
+ hash: 1560371481662779139
119
118
  segments:
120
119
  - 0
121
120
  version: "0"
@@ -1,11 +0,0 @@
1
- module NestedFields
2
- class Engine < Rails::Engine
3
- initializer 'nested_fields.add_middleware' do |app|
4
- app.middleware.use ActionDispatch::Static, "#{root}/public"
5
- end
6
-
7
- config.to_prepare do
8
- ApplicationController.helper(NestedFieldsHelper)
9
- end
10
- end
11
- end