bootstrap_validator_rails 0.0.5 → 0.0.6

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: 7aa0953b9d9451e51e6a306aa2629f0e76ad7b80
4
- data.tar.gz: f40f6e3a46650a2ce036b7870ad10b0d2e9161f5
3
+ metadata.gz: f97fdd5bd95e2b0ccec5e2ba7c5f09c49bc14e5d
4
+ data.tar.gz: 4413ee1e361aef621ef33935634f1b23bd4573ac
5
5
  SHA512:
6
- metadata.gz: f4d35e519518edc73e001bae6674303ceafc6b1bbbcb4b87b644c1db561f39316a422106774a3e44eceeb11475796027979516e3ab363e74ccb4465ae0d41099
7
- data.tar.gz: f901934fa64442e44202c38e5d471284ee207d7132e8a1d94662af9730a455e2194bdac37ea75a3102720c604584bcbbc30efe7fb944d65c06e3dfb1ade2806f
6
+ metadata.gz: b4cd0cffee07a3790ded8fb41c412c8b06b026b1f471b0a1e05b61d1382ee52e039f8ca20ac28908f5bc5efc7b303cc4bf5123c3b182f91d937ccbb064fc0ce8
7
+ data.tar.gz: 6e9c27d9ab1492e393c5063adb8af7e99e697341462bfdc7cfceb721bbcf30fd8399a2bd584913bceca81c4445109ee721e0f2d22e3c66e69df9a44a23664647
@@ -32,7 +32,7 @@ end
32
32
 
33
33
  module BootstrapValidatorRails
34
34
  module Helper
35
- def validated_bootstrap_form_for(object, options = {}, &block)
35
+ def bootstrap_validation_form_for(object, options = {}, &block)
36
36
  options.reverse_merge!({builder: BootstrapValidatorRails::FormBuilder})
37
37
  bootstrap_form_for(object, options, &block)
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module BootstrapValidatorRails
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -3,7 +3,7 @@ require 'test_helper'
3
3
  class BootstrapValidatorRailsTest < ActionView::TestCase
4
4
  def setup
5
5
  @post = Post.new(title: 'An awesome title')
6
- @form = view.validated_bootstrap_form_for(@post, url: '#') do |f|
6
+ @form = view.bootstrap_validation_form_for(@post, url: '#') do |f|
7
7
  f.text_field :title
8
8
  end
9
9
  end
@@ -777,5 +777,17 @@ BootstrapValidatorRailsTest: test_test_will_be_included_later
777
777
   (0.1ms) begin transaction
778
778
  -------------------------------------------------------------
779
779
  BootstrapValidatorRailsTest: test_test_will_be_included_later
780
+ -------------------------------------------------------------
781
+  (0.1ms) rollback transaction
782
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
783
+  (0.1ms) begin transaction
784
+ -------------------------------------------------------------
785
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
786
+ -------------------------------------------------------------
787
+  (0.1ms) rollback transaction
788
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
789
+  (0.1ms) begin transaction
790
+ -------------------------------------------------------------
791
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
780
792
  -------------------------------------------------------------
781
793
   (0.1ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_validator_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - huynhquancam