formalize 0.0.3 → 0.0.4

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.
@@ -1,7 +1,12 @@
1
1
  require "formalize/version"
2
2
  require "formalize/field"
3
3
 
4
- module Form
4
+ class Form
5
+
6
+ def initialize
7
+ fields
8
+ self
9
+ end
5
10
 
6
11
  def text(id, opts={})
7
12
  @fields ||= {}
@@ -1,3 +1,3 @@
1
1
  module Formalize
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formalize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-26 00:00:00.000000000 Z
12
+ date: 2012-09-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This is a very basic (and untested!) RubyGem to simplify web form creation,
15
15
  validation and processing. It is designed for use with the Sinatra framework.