formulate 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/formulate.gemspec CHANGED
@@ -7,12 +7,15 @@ Gem::Specification.new do |gem|
7
7
  gem.homepage = 'http://github.com/tylerhunt/formulate'
8
8
  gem.author = 'Tyler Hunt'
9
9
 
10
- gem.files = `git ls-files`.split($\)
11
- gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
12
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
- gem.require_paths = ['lib']
10
+ gem.required_ruby_version = '>= 1.9'
14
11
 
15
12
  gem.add_dependency 'actionpack', '>= 3.0'
16
13
  gem.add_dependency 'activesupport', '>= 3.0'
14
+ gem.add_dependency 'haml', '>= 3.0'
17
15
  gem.add_dependency 'sass-rails', '>= 3.0'
16
+
17
+ gem.files = `git ls-files`.split($\)
18
+ gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
19
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
20
+ gem.require_paths = ['lib']
18
21
  end
@@ -1,10 +1,10 @@
1
1
  module Formulate
2
2
  class Engine < ::Rails::Engine
3
- initializer 'formulate.initialize' do |app|
3
+ initializer 'formulate.initialize', before: 'action_view.set_configs' do |app|
4
+ app.config.action_view.default_form_builder = Formulate::FormBuilder
5
+
4
6
  ActiveSupport.on_load(:action_view) do
5
7
  include Formulate::FormHelper
6
-
7
- app.config.default_form_builder = Formulate::FormBuilder
8
8
  end
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Formulate
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formulate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -43,6 +43,22 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: '3.0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: haml
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '3.0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
46
62
  - !ruby/object:Gem::Dependency
47
63
  name: sass-rails
48
64
  requirement: !ruby/object:Gem::Requirement
@@ -88,7 +104,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
104
  requirements:
89
105
  - - ! '>='
90
106
  - !ruby/object:Gem::Version
91
- version: '0'
107
+ version: '1.9'
92
108
  required_rubygems_version: !ruby/object:Gem::Requirement
93
109
  none: false
94
110
  requirements: