formgen 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/formgen.gemspec +2 -2
- data/lib/generators/skizmo/form/form_generator.rb +1 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.4
|
data/formgen.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{formgen}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Pullmonkey"]
|
12
|
-
s.date = %q{2011-12-
|
12
|
+
s.date = %q{2011-12-20}
|
13
13
|
s.description = %q{Ruby on Rails form generator based on has_many and belongs_to associations. Includes the helpers and javascript for adding and removing fields_for form attributes.}
|
14
14
|
s.email = %q{info@skizmo.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -15,7 +15,7 @@ module Skizmo
|
|
15
15
|
copy_file "javascript.js", "public/javascripts/jquery.add_remove_links.js" if options.javascript?
|
16
16
|
copy_file "helper.rb", "app/helpers/add_remove_links_helper.rb" if options.helpers?
|
17
17
|
end
|
18
|
-
unless nested_classes_with_attributes.empty?
|
18
|
+
unless nested_classes_with_attributes.empty? and non_nested_has_many_classes.empty? and non_nested_belongs_to_classes.empty?
|
19
19
|
template "setup_helper.rb", "app/helpers/#{file_name}_setup_helper.rb" if options.helpers?
|
20
20
|
end
|
21
21
|
template "new.html.#{engine}", "app/views/#{file_name.pluralize}/new.html.#{engine}"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formgen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 4
|
10
|
+
version: 0.3.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Pullmonkey
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-12-
|
18
|
+
date: 2011-12-20 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|