formula 0.0.1 → 0.0.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.
Files changed (3) hide show
  1. data/lib/formula.rb +12 -0
  2. data/lib/formula/railtie.rb +9 -0
  3. metadata +3 -2
data/lib/formula.rb CHANGED
@@ -0,0 +1,12 @@
1
+ module Formula
2
+
3
+ require 'formula/railtie' if defined?(Rails)
4
+
5
+ class FormulaFormBuilder < ActionView::Helpers::FormBuilder
6
+
7
+ def input(method, options = {})
8
+ end
9
+
10
+ end
11
+
12
+ end
@@ -0,0 +1,9 @@
1
+ require 'formula'
2
+ require 'rails'
3
+
4
+ module Formula
5
+ class Railtie < Rails::Railtie
6
+ initializer 'formula.initialize' do
7
+ end
8
+ end
9
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kevin Sylvestre
@@ -28,6 +28,7 @@ extensions: []
28
28
  extra_rdoc_files: []
29
29
 
30
30
  files:
31
+ - lib/formula/railtie.rb
31
32
  - lib/formula.rb
32
33
  - README.rdoc
33
34
  - LICENSE