simphi 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10974effdccd8a5d4f76d8f62bbfe930c543517c
4
- data.tar.gz: 2c5e4f76f235539758cbd64f28001f4489dcaa35
3
+ metadata.gz: 9c36520c11a8143bcede2faf085f2bf6997125a6
4
+ data.tar.gz: 4eabe10fae1866cd901737942aa8ef4a48459b08
5
5
  SHA512:
6
- metadata.gz: 31e051e84db62d1c8b4b1a24fbcec56f75a633c4e14fb073c427136b579e704a596737f5489828ed495390e1a6c5e480de6675ea10db547c688b955c801b7c4a
7
- data.tar.gz: 3de89aa57adcf8ceadd3afd8a75cbb36ceaed2d0e0a595de1bb436bfb8d808672ab17b7d2525d38e120ec2fae2b83bf3188b3d76ba656abcd44ac3ec6ba1e5ef
6
+ metadata.gz: 2566a0b80155769ce9e21047ac01b78f5a57c26c79ed4b5f7233db1578ec15058f4383cdba61a0dd64a20303fa0687fef69fa099d235cd747fb4af5ffe0f1baa
7
+ data.tar.gz: 92eb8b1e0901d783d8f00bb1b0ced6f089a1998600a05fbfe21f99e42781cce6f2f79e27d6714c1857ec3a0d0b444a09159cba3fb3b9490a624cada22de2dfed
data/README.md CHANGED
@@ -33,7 +33,7 @@ The middleware relies to `-simphi` part of the hash key.
33
33
  #### Hash Input
34
34
  SimphiInput is a SimpleForm custom input which create a typical hash structure for input with key, value.
35
35
 
36
- [Simphi Hash Input](http://gdurl.com/wTNH)
36
+ ![Simphi Hash Input](http://gdurl.com/wTNH)
37
37
 
38
38
  It can be used as usual custom input:
39
39
  ```ruby
data/lib/simphi.rb CHANGED
@@ -1,13 +1,4 @@
1
- require "simple_form"
2
- require "simphi/simphi_input"
3
-
4
1
  module Simphi
5
2
  class Engine < Rails::Engine
6
3
  end
7
4
  end
8
-
9
- module SimpleForm
10
- class FormBuilder
11
- map_type :simphi, to: Simphi::SimphiInput
12
- end
13
- end
@@ -0,0 +1,8 @@
1
+ require "simple_form"
2
+ require "simphi/simphi_input"
3
+
4
+ module SimpleForm
5
+ class FormBuilder
6
+ map_type :simphi, to: Simphi::SimphiInput
7
+ end
8
+ end
data/simphi.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "simphi"
7
- spec.version = "0.1.2"
7
+ spec.version = "0.1.3"
8
8
  spec.authors = ["Alex Beznos"]
9
9
  spec.email = ["beznosa@yahoo.com"]
10
10
  spec.summary = %q{Ability to deale with hash like inputs}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simphi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Beznos
@@ -110,6 +110,7 @@ files:
110
110
  - app/assets/javascripts/simphi.js.coffee
111
111
  - app/assets/stylesheets/simphi.css
112
112
  - lib/simphi.rb
113
+ - lib/simphi/form_builder.rb
113
114
  - lib/simphi/middleware.rb
114
115
  - lib/simphi/request.rb
115
116
  - lib/simphi/simphi_input.rb