storefront 0.5.2.1 → 0.5.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/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/gempackagetask'
5
5
  spec = Gem::Specification.new do |s|
6
6
  s.name = "storefront"
7
7
  s.authors = ["Lance Pollard"]
8
- s.version = "0.5.2.1"
8
+ s.version = "0.5.2.2"
9
9
  s.description = "Opinionated Forms, Tables, and Widgets for Rails and Sinatra"
10
10
  s.summary = "A simple and semantic FormBuilder, TableBuilder, Locale Interpolator, and Widget API for Rails 3 and Sinatra"
11
11
  s.homepage = "http://github.com/viatropos/storefront"
@@ -25,5 +25,7 @@ require "storefront/components/base"
25
25
  require "storefront/components/form"
26
26
  require "storefront/components/form/base"
27
27
  require "storefront/components/form/input"
28
+ require "storefront/components/form/builder"
29
+ require "storefront/components/form/field"
28
30
  Dir["#{this}/storefront/components/**/*"].each { |path| require path unless ::File.directory?(path) }
29
31
  Dir["#{this}/storefront/models/**/*"].each { |path| require path unless ::File.directory?(path) }
@@ -8,7 +8,7 @@ module Storefront
8
8
  class Field < Storefront::Components::Form::Builder
9
9
  def initialize(options = {})
10
10
  super
11
-
11
+
12
12
  # input type
13
13
  options[:as] ||= attribute.input_type(options)
14
14
  @input_type = options[:as]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: storefront
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.2.1
5
+ version: 0.5.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Lance Pollard