bootstrap_validator_rails 0.0.6 → 0.1.0

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: f97fdd5bd95e2b0ccec5e2ba7c5f09c49bc14e5d
4
- data.tar.gz: 4413ee1e361aef621ef33935634f1b23bd4573ac
3
+ metadata.gz: b775517e9b166ac65696deff578593cf7fc36380
4
+ data.tar.gz: 5f512d9a39b1ed2f9a5020109cd33f7f8e1651ff
5
5
  SHA512:
6
- metadata.gz: b4cd0cffee07a3790ded8fb41c412c8b06b026b1f471b0a1e05b61d1382ee52e039f8ca20ac28908f5bc5efc7b303cc4bf5123c3b182f91d937ccbb064fc0ce8
7
- data.tar.gz: 6e9c27d9ab1492e393c5063adb8af7e99e697341462bfdc7cfceb721bbcf30fd8399a2bd584913bceca81c4445109ee721e0f2d22e3c66e69df9a44a23664647
6
+ metadata.gz: e59ff5058adcbb83de1034a997fa7ae384c84abac301b4b66ff0713196477bb87e074352436dddd2ccff45f570d7205a8a2715cafdc11bb8c4bc36f92c8b55f4
7
+ data.tar.gz: 22bfa58927206c18133ae047a82d1af52a750e3d4da414571accea7b5387f8427d0a138b6d6b03548d9ac5af8354384ee08c44ea1735fc8639eeed06595f39e6
@@ -0,0 +1,18 @@
1
+ require 'bootstrap_form'
2
+
3
+ module BootstrapValidatorRails
4
+ class FormBuilder < BootstrapForm::FormBuilder
5
+ def initialize(object_name, object, template, options)
6
+ @attributes = BootstrapValidatorRails::Validators::Attributes.new(object)
7
+ super
8
+ end
9
+
10
+ def text_field(method, options = {})
11
+ attribute = @attributes.validator_data(method)
12
+
13
+ options[:data] ||= {}
14
+ options[:data] = options[:data].merge(attribute)
15
+ super
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,8 @@
1
+ module BootstrapValidatorRails
2
+ module Helper
3
+ def bootstrap_validation_form_for(object, options = {}, &block)
4
+ options.reverse_merge!({builder: BootstrapValidatorRails::FormBuilder})
5
+ bootstrap_form_for(object, options, &block)
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,22 @@
1
+ module BootstrapValidatorRails
2
+ module Validators
3
+ class Attributes
4
+ def initialize(record)
5
+ @record = record
6
+ end
7
+
8
+ def validator_data(method)
9
+ validators = validators_on(method)
10
+
11
+ validators.inject({}) do |attributes, validator|
12
+ @generator = BootstrapValidatorRails::Validators::Generator.new(@record, validator, method)
13
+ attributes.merge @generator.generate_data
14
+ end
15
+ end
16
+
17
+ def validators_on(method)
18
+ @record.class.validators_on(method)
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,19 @@
1
+ module BootstrapValidatorRails
2
+ module Validators
3
+ class Generator
4
+ VALIDATOR_SUPPORTED = [:presence, :numericality]
5
+
6
+ def initialize(record, validator, method)
7
+ @record, @validator, @method = record, validator, method
8
+ @kind = validator.kind
9
+ end
10
+
11
+ def generate_data(options = {})
12
+ return {} unless VALIDATOR_SUPPORTED.include?(@kind)
13
+ klass = "BootstrapValidatorRails::Validators::#{@kind.to_s.capitalize}".constantize
14
+ bootstrap_validator = klass.new(@record, @method, @validator)
15
+ bootstrap_validator.generate_data
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,49 @@
1
+ module BootstrapValidatorRails
2
+ module Validators
3
+ class Numericality
4
+ def initialize(record, method, validator)
5
+ @record, @method, @validator = record, method, validator
6
+ end
7
+
8
+ def generate_data
9
+ data = {
10
+ :bv_numeric_separator => '',
11
+ :bv_numeric_separator_message => generate_message
12
+ }
13
+
14
+ data.merge(generate_options)
15
+ end
16
+
17
+ def generate_message
18
+ @record.errors.generate_message(@method, :presence, {default: 'should be a number'})
19
+ end
20
+
21
+ def generate_options
22
+ options = @validator.options
23
+
24
+ data = {}
25
+
26
+ if options[:greater_than].present?
27
+ data[:bv_greaterthan_inclusive] = 'false'
28
+ data[:bv_greaterthan_value] = options[:greater_than]
29
+ end
30
+
31
+ if options[:greater_than_or_equal_to].present?
32
+ data[:bv_greaterthan_inclusive] = 'true'
33
+ data[:bv_greaterthan_value] = options[:greater_than_or_equal_to]
34
+ end
35
+
36
+ if options[:less_than].present?
37
+ data[:bv_lessthan_inclusive] = 'false'
38
+ data[:bv_lessthan_value] = options[:less_than]
39
+ end
40
+
41
+ if options[:less_than_or_equal_to].present?
42
+ data[:bv_lessthan_inclusive] = 'true'
43
+ data[:bv_lessthan_value] = options[:less_than_or_equal_to]
44
+ end
45
+ data
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,20 @@
1
+ module BootstrapValidatorRails
2
+ module Validators
3
+ class Presence
4
+ def initialize(record, method, validator)
5
+ @record, @method, @validator = record, method, @validator
6
+ end
7
+
8
+ def generate_data
9
+ {
10
+ :bv_notempty => '',
11
+ :bv_notempty_message => generate_message
12
+ }
13
+ end
14
+
15
+ def generate_message
16
+ @record.errors.generate_message(@method, :presence, {default: 'cannot be blank'})
17
+ end
18
+ end
19
+ end
20
+ end
@@ -1,3 +1,3 @@
1
1
  module BootstrapValidatorRails
2
- VERSION = "0.0.6"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -1,42 +1,11 @@
1
1
  require 'bootstrap_validator_rails/engine'
2
- require 'bootstrap_form'
3
-
4
- module BootstrapValidatorRails
5
- class FormBuilder < BootstrapForm::FormBuilder
6
- def validators_of(method)
7
- object.class.validators_on(method)
8
- end
9
-
10
- def generate_validation_message(method, type)
11
- object.errors.generate_message(method, type, default: "is invalid")
12
- end
13
-
14
- def text_field(method, options = {})
15
- validators = validators_of(method)
16
- validator_messages = {}
17
- validators.each do |validator|
18
- if validator.kind == :presence
19
- validator_messages[:mv_notempty] = ''
20
- validator_messages[:mv_notempty_message] = generate_validation_message(method, validator.kind)
21
- elsif validator.kind == :numericality
22
- validator_messages[:mv_numeric_separator] = ''
23
- validator_messages[:mv_numeric_separator_message] = generate_validation_message(method, validator.kind)
24
- end
25
- end
26
- options[:data] = {}
27
- options[:data] = options[:data].merge(validator_messages)
28
- super
29
- end
30
- end
31
- end
32
-
33
- module BootstrapValidatorRails
34
- module Helper
35
- def bootstrap_validation_form_for(object, options = {}, &block)
36
- options.reverse_merge!({builder: BootstrapValidatorRails::FormBuilder})
37
- bootstrap_form_for(object, options, &block)
38
- end
39
- end
40
- end
2
+ require 'bootstrap_validator_rails/form_builder'
3
+ require 'bootstrap_validator_rails/helper'
4
+ require 'bootstrap_validator_rails/validator_message'
5
+ require 'bootstrap_validator_rails/validators/attributes'
6
+ require 'bootstrap_validator_rails/validators/generator'
7
+ require 'bootstrap_validator_rails/validators/presence_validator'
8
+ require 'bootstrap_validator_rails/validators/numericality_validator'
41
9
 
42
10
  ActionView::Base.send :include, BootstrapValidatorRails::Helper
11
+
@@ -9,5 +9,6 @@ class BootstrapValidatorRailsTest < ActionView::TestCase
9
9
  end
10
10
 
11
11
  test 'test will be included later' do
12
+ p @form
12
13
  end
13
14
  end
@@ -1,3 +1,4 @@
1
1
  class Post < ActiveRecord::Base
2
- validates :title, presence: true, numericality: true
2
+ validates :title, presence: true, numericality: {less_than: 15}
3
+ validates :title, acceptance: true
3
4
  end
@@ -789,5 +789,678 @@ BootstrapValidatorRailsTest: test_test_will_be_included_later
789
789
   (0.1ms) begin transaction
790
790
  -------------------------------------------------------------
791
791
  BootstrapValidatorRailsTest: test_test_will_be_included_later
792
+ -------------------------------------------------------------
793
+  (0.1ms) rollback transaction
794
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
795
+  (0.1ms) begin transaction
796
+ -------------------------------------------------------------
797
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
798
+ -------------------------------------------------------------
799
+  (0.1ms) rollback transaction
800
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
801
+  (0.1ms) begin transaction
802
+ -------------------------------------------------------------
803
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
804
+ -------------------------------------------------------------
805
+  (0.1ms) rollback transaction
806
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
807
+  (0.1ms) begin transaction
808
+ -------------------------------------------------------------
809
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
810
+ -------------------------------------------------------------
811
+  (0.1ms) rollback transaction
812
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
813
+  (0.1ms) begin transaction
814
+ -------------------------------------------------------------
815
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
816
+ -------------------------------------------------------------
817
+  (0.1ms) rollback transaction
818
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
819
+  (0.1ms) begin transaction
820
+ -------------------------------------------------------------
821
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
822
+ -------------------------------------------------------------
823
+  (0.1ms) rollback transaction
824
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
825
+  (0.1ms) begin transaction
826
+ -------------------------------------------------------------
827
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
828
+ -------------------------------------------------------------
829
+  (0.1ms) rollback transaction
830
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
831
+  (0.1ms) begin transaction
832
+ -------------------------------------------------------------
833
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
834
+ -------------------------------------------------------------
835
+  (0.1ms) rollback transaction
836
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
837
+  (0.1ms) begin transaction
838
+ -------------------------------------------------------------
839
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
840
+ -------------------------------------------------------------
841
+  (0.1ms) rollback transaction
842
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
843
+  (0.1ms) begin transaction
844
+ -------------------------------------------------------------
845
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
846
+ -------------------------------------------------------------
847
+  (0.1ms) rollback transaction
848
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
849
+  (0.1ms) begin transaction
850
+ -------------------------------------------------------------
851
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
852
+ -------------------------------------------------------------
853
+  (0.1ms) rollback transaction
854
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
855
+  (0.1ms) begin transaction
856
+ -------------------------------------------------------------
857
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
858
+ -------------------------------------------------------------
859
+  (0.1ms) rollback transaction
860
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
861
+  (0.1ms) begin transaction
862
+ -------------------------------------------------------------
863
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
864
+ -------------------------------------------------------------
865
+  (0.1ms) rollback transaction
866
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
867
+  (0.1ms) begin transaction
868
+ -------------------------------------------------------------
869
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
870
+ -------------------------------------------------------------
871
+  (0.1ms) rollback transaction
872
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
873
+  (0.1ms) begin transaction
874
+ -------------------------------------------------------------
875
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
876
+ -------------------------------------------------------------
877
+  (0.1ms) rollback transaction
878
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
879
+  (0.1ms) begin transaction
880
+ -------------------------------------------------------------
881
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
882
+ -------------------------------------------------------------
883
+  (0.1ms) rollback transaction
884
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
885
+  (0.1ms) begin transaction
886
+ -------------------------------------------------------------
887
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
888
+ -------------------------------------------------------------
889
+  (0.1ms) rollback transaction
890
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
891
+  (0.1ms) begin transaction
892
+ -------------------------------------------------------------
893
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
894
+ -------------------------------------------------------------
895
+  (0.1ms) rollback transaction
896
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
897
+  (0.1ms) begin transaction
898
+ -------------------------------------------------------------
899
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
900
+ -------------------------------------------------------------
901
+  (0.1ms) rollback transaction
902
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
903
+  (0.1ms) begin transaction
904
+ -------------------------------------------------------------
905
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
906
+ -------------------------------------------------------------
907
+  (0.1ms) rollback transaction
908
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
909
+  (0.1ms) begin transaction
910
+ -------------------------------------------------------------
911
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
912
+ -------------------------------------------------------------
913
+  (0.1ms) rollback transaction
914
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
915
+  (0.1ms) begin transaction
916
+ -------------------------------------------------------------
917
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
918
+ -------------------------------------------------------------
919
+  (0.1ms) rollback transaction
920
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
921
+  (0.1ms) begin transaction
922
+ -------------------------------------------------------------
923
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
924
+ -------------------------------------------------------------
925
+  (0.1ms) rollback transaction
926
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
927
+  (0.1ms) begin transaction
928
+ -------------------------------------------------------------
929
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
930
+ -------------------------------------------------------------
931
+  (0.1ms) rollback transaction
932
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
933
+  (0.1ms) begin transaction
934
+ -------------------------------------------------------------
935
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
936
+ -------------------------------------------------------------
937
+  (0.1ms) rollback transaction
938
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
939
+  (0.1ms) begin transaction
940
+ -------------------------------------------------------------
941
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
942
+ -------------------------------------------------------------
943
+  (0.1ms) rollback transaction
944
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
945
+  (0.1ms) begin transaction
946
+ -------------------------------------------------------------
947
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
948
+ -------------------------------------------------------------
949
+  (0.1ms) rollback transaction
950
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
951
+  (0.1ms) begin transaction
952
+ -------------------------------------------------------------
953
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
954
+ -------------------------------------------------------------
955
+  (0.1ms) rollback transaction
956
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
957
+  (0.1ms) begin transaction
958
+ -------------------------------------------------------------
959
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
960
+ -------------------------------------------------------------
961
+  (0.1ms) rollback transaction
962
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
963
+  (0.1ms) begin transaction
964
+ -------------------------------------------------------------
965
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
966
+ -------------------------------------------------------------
967
+  (0.1ms) rollback transaction
968
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
969
+  (0.1ms) begin transaction
970
+ -------------------------------------------------------------
971
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
972
+ -------------------------------------------------------------
973
+  (0.1ms) rollback transaction
974
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
975
+  (0.1ms) begin transaction
976
+ -------------------------------------------------------------
977
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
978
+ -------------------------------------------------------------
979
+  (0.1ms) rollback transaction
980
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
981
+  (0.1ms) begin transaction
982
+ -------------------------------------------------------------
983
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
984
+ -------------------------------------------------------------
985
+  (0.1ms) rollback transaction
986
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
987
+  (0.1ms) begin transaction
988
+ -------------------------------------------------------------
989
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
990
+ -------------------------------------------------------------
991
+  (0.1ms) rollback transaction
992
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
993
+  (0.1ms) begin transaction
994
+ -------------------------------------------------------------
995
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
996
+ -------------------------------------------------------------
997
+  (0.1ms) rollback transaction
998
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
999
+  (0.1ms) begin transaction
1000
+ -------------------------------------------------------------
1001
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1002
+ -------------------------------------------------------------
1003
+  (0.1ms) rollback transaction
1004
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1005
+  (0.1ms) begin transaction
1006
+ -------------------------------------------------------------
1007
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1008
+ -------------------------------------------------------------
1009
+  (0.1ms) rollback transaction
1010
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1011
+  (0.1ms) begin transaction
1012
+ -------------------------------------------------------------
1013
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1014
+ -------------------------------------------------------------
1015
+  (0.1ms) rollback transaction
1016
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1017
+  (0.1ms) begin transaction
1018
+ -------------------------------------------------------------
1019
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1020
+ -------------------------------------------------------------
1021
+  (0.1ms) rollback transaction
1022
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1023
+  (0.1ms) begin transaction
1024
+ -------------------------------------------------------------
1025
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1026
+ -------------------------------------------------------------
1027
+  (0.1ms) rollback transaction
1028
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1029
+  (0.1ms) begin transaction
1030
+ -------------------------------------------------------------
1031
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1032
+ -------------------------------------------------------------
1033
+  (0.1ms) rollback transaction
1034
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1035
+  (0.1ms) begin transaction
1036
+ -------------------------------------------------------------
1037
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1038
+ -------------------------------------------------------------
1039
+  (0.1ms) rollback transaction
1040
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1041
+  (0.1ms) begin transaction
1042
+ -------------------------------------------------------------
1043
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1044
+ -------------------------------------------------------------
1045
+  (0.1ms) rollback transaction
1046
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1047
+  (0.1ms) begin transaction
1048
+ -------------------------------------------------------------
1049
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1050
+ -------------------------------------------------------------
1051
+  (0.1ms) rollback transaction
1052
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1053
+  (0.1ms) begin transaction
1054
+ -------------------------------------------------------------
1055
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1056
+ -------------------------------------------------------------
1057
+  (0.1ms) rollback transaction
1058
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1059
+  (0.1ms) begin transaction
1060
+ -------------------------------------------------------------
1061
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1062
+ -------------------------------------------------------------
1063
+  (0.1ms) rollback transaction
1064
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1065
+  (0.1ms) begin transaction
1066
+ -------------------------------------------------------------
1067
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1068
+ -------------------------------------------------------------
1069
+  (0.1ms) rollback transaction
1070
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1071
+  (0.1ms) begin transaction
1072
+ -------------------------------------------------------------
1073
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1074
+ -------------------------------------------------------------
1075
+  (0.1ms) rollback transaction
1076
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1077
+  (0.1ms) begin transaction
1078
+ -------------------------------------------------------------
1079
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1080
+ -------------------------------------------------------------
1081
+  (0.1ms) rollback transaction
1082
+ Post Load (2.6ms) SELECT "posts".* FROM "posts"
1083
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1084
+  (0.1ms) begin transaction
1085
+ -------------------------------------------------------------
1086
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1087
+ -------------------------------------------------------------
1088
+  (0.1ms) rollback transaction
1089
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1090
+  (0.1ms) begin transaction
1091
+ -------------------------------------------------------------
1092
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1093
+ -------------------------------------------------------------
1094
+  (0.1ms) rollback transaction
1095
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1096
+  (0.1ms) begin transaction
1097
+ -------------------------------------------------------------
1098
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1099
+ -------------------------------------------------------------
1100
+  (0.1ms) rollback transaction
1101
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1102
+  (0.1ms) begin transaction
1103
+ -------------------------------------------------------------
1104
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1105
+ -------------------------------------------------------------
1106
+  (0.1ms) rollback transaction
1107
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1108
+  (0.1ms) begin transaction
1109
+ -------------------------------------------------------------
1110
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1111
+ -------------------------------------------------------------
1112
+  (0.1ms) rollback transaction
1113
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1114
+  (0.1ms) begin transaction
1115
+ -------------------------------------------------------------
1116
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1117
+ -------------------------------------------------------------
1118
+  (0.1ms) rollback transaction
1119
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1120
+  (0.1ms) begin transaction
1121
+ -------------------------------------------------------------
1122
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1123
+ -------------------------------------------------------------
1124
+  (0.1ms) rollback transaction
1125
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1126
+  (0.1ms) begin transaction
1127
+ -------------------------------------------------------------
1128
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1129
+ -------------------------------------------------------------
1130
+  (0.1ms) rollback transaction
1131
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1132
+  (0.1ms) begin transaction
1133
+ -------------------------------------------------------------
1134
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1135
+ -------------------------------------------------------------
1136
+  (0.1ms) rollback transaction
1137
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1138
+  (0.2ms) begin transaction
1139
+ -------------------------------------------------------------
1140
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1141
+ -------------------------------------------------------------
1142
+  (0.1ms) rollback transaction
1143
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1144
+  (0.1ms) begin transaction
1145
+ -------------------------------------------------------------
1146
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1147
+ -------------------------------------------------------------
1148
+  (0.1ms) rollback transaction
1149
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1150
+  (0.1ms) begin transaction
1151
+ -------------------------------------------------------------
1152
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1153
+ -------------------------------------------------------------
1154
+  (0.1ms) rollback transaction
1155
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1156
+  (0.1ms) begin transaction
1157
+ -------------------------------------------------------------
1158
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1159
+ -------------------------------------------------------------
1160
+  (0.1ms) rollback transaction
1161
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1162
+  (0.1ms) begin transaction
1163
+ -------------------------------------------------------------
1164
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1165
+ -------------------------------------------------------------
1166
+  (0.1ms) rollback transaction
1167
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1168
+  (0.2ms) begin transaction
1169
+ -------------------------------------------------------------
1170
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1171
+ -------------------------------------------------------------
1172
+  (0.1ms) rollback transaction
1173
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1174
+  (0.1ms) begin transaction
1175
+ -------------------------------------------------------------
1176
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1177
+ -------------------------------------------------------------
1178
+  (0.1ms) rollback transaction
1179
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1180
+  (0.1ms) begin transaction
1181
+ -------------------------------------------------------------
1182
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1183
+ -------------------------------------------------------------
1184
+  (0.1ms) rollback transaction
1185
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1186
+  (0.1ms) begin transaction
1187
+ -------------------------------------------------------------
1188
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1189
+ -------------------------------------------------------------
1190
+  (0.1ms) rollback transaction
1191
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1192
+  (0.1ms) begin transaction
1193
+ -------------------------------------------------------------
1194
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1195
+ -------------------------------------------------------------
1196
+  (0.1ms) rollback transaction
1197
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1198
+  (0.1ms) begin transaction
1199
+ -------------------------------------------------------------
1200
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1201
+ -------------------------------------------------------------
1202
+  (0.1ms) rollback transaction
1203
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1204
+  (0.1ms) begin transaction
1205
+ -------------------------------------------------------------
1206
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1207
+ -------------------------------------------------------------
1208
+  (0.1ms) rollback transaction
1209
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1210
+  (0.1ms) begin transaction
1211
+ -------------------------------------------------------------
1212
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1213
+ -------------------------------------------------------------
1214
+  (0.1ms) rollback transaction
1215
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1216
+  (0.1ms) begin transaction
1217
+ -------------------------------------------------------------
1218
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1219
+ -------------------------------------------------------------
1220
+  (0.1ms) rollback transaction
1221
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1222
+  (0.1ms) begin transaction
1223
+ -------------------------------------------------------------
1224
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1225
+ -------------------------------------------------------------
1226
+  (0.1ms) rollback transaction
1227
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1228
+  (0.1ms) begin transaction
1229
+ -------------------------------------------------------------
1230
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1231
+ -------------------------------------------------------------
1232
+  (0.1ms) rollback transaction
1233
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1234
+  (0.1ms) begin transaction
1235
+ -------------------------------------------------------------
1236
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1237
+ -------------------------------------------------------------
1238
+  (0.1ms) rollback transaction
1239
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1240
+  (0.2ms) begin transaction
1241
+ -------------------------------------------------------------
1242
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1243
+ -------------------------------------------------------------
1244
+  (0.1ms) rollback transaction
1245
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1246
+  (0.1ms) begin transaction
1247
+ -------------------------------------------------------------
1248
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1249
+ -------------------------------------------------------------
1250
+  (0.1ms) rollback transaction
1251
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1252
+  (0.1ms) begin transaction
1253
+ -------------------------------------------------------------
1254
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1255
+ -------------------------------------------------------------
1256
+  (0.2ms) rollback transaction
1257
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1258
+  (0.1ms) begin transaction
1259
+ -------------------------------------------------------------
1260
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1261
+ -------------------------------------------------------------
1262
+  (0.1ms) rollback transaction
1263
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1264
+  (0.1ms) begin transaction
1265
+ -------------------------------------------------------------
1266
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1267
+ -------------------------------------------------------------
1268
+  (0.1ms) rollback transaction
1269
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1270
+  (0.1ms) begin transaction
1271
+ -------------------------------------------------------------
1272
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1273
+ -------------------------------------------------------------
1274
+  (0.1ms) rollback transaction
1275
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1276
+  (0.1ms) begin transaction
1277
+ -------------------------------------------------------------
1278
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1279
+ -------------------------------------------------------------
1280
+  (0.1ms) rollback transaction
1281
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1282
+  (0.1ms) begin transaction
1283
+ -------------------------------------------------------------
1284
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1285
+ -------------------------------------------------------------
1286
+  (0.1ms) rollback transaction
1287
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1288
+  (0.1ms) begin transaction
1289
+ -------------------------------------------------------------
1290
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1291
+ -------------------------------------------------------------
1292
+  (0.1ms) rollback transaction
1293
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1294
+  (0.1ms) begin transaction
1295
+ -------------------------------------------------------------
1296
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1297
+ -------------------------------------------------------------
1298
+  (0.1ms) rollback transaction
1299
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1300
+  (0.1ms) begin transaction
1301
+ -------------------------------------------------------------
1302
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1303
+ -------------------------------------------------------------
1304
+  (0.1ms) rollback transaction
1305
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1306
+  (0.1ms) begin transaction
1307
+ -------------------------------------------------------------
1308
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1309
+ -------------------------------------------------------------
1310
+  (0.1ms) rollback transaction
1311
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1312
+  (0.1ms) begin transaction
1313
+ -------------------------------------------------------------
1314
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1315
+ -------------------------------------------------------------
1316
+  (0.1ms) rollback transaction
1317
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1318
+  (0.1ms) begin transaction
1319
+ -------------------------------------------------------------
1320
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1321
+ -------------------------------------------------------------
1322
+  (0.1ms) rollback transaction
1323
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1324
+  (0.1ms) begin transaction
1325
+ -------------------------------------------------------------
1326
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1327
+ -------------------------------------------------------------
1328
+  (0.1ms) rollback transaction
1329
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1330
+  (0.1ms) begin transaction
1331
+ -------------------------------------------------------------
1332
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1333
+ -------------------------------------------------------------
1334
+  (0.1ms) rollback transaction
1335
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1336
+  (0.1ms) begin transaction
1337
+ -------------------------------------------------------------
1338
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1339
+ -------------------------------------------------------------
1340
+  (0.1ms) rollback transaction
1341
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1342
+  (0.1ms) begin transaction
1343
+ -------------------------------------------------------------
1344
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1345
+ -------------------------------------------------------------
1346
+  (0.1ms) rollback transaction
1347
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1348
+  (0.1ms) begin transaction
1349
+ -------------------------------------------------------------
1350
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1351
+ -------------------------------------------------------------
1352
+  (0.1ms) rollback transaction
1353
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1354
+  (0.1ms) begin transaction
1355
+ -------------------------------------------------------------
1356
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1357
+ -------------------------------------------------------------
1358
+  (0.1ms) rollback transaction
1359
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1360
+  (0.1ms) begin transaction
1361
+ -------------------------------------------------------------
1362
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1363
+ -------------------------------------------------------------
1364
+  (0.1ms) rollback transaction
1365
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1366
+  (0.1ms) begin transaction
1367
+ -------------------------------------------------------------
1368
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1369
+ -------------------------------------------------------------
1370
+  (0.1ms) rollback transaction
1371
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1372
+  (0.1ms) begin transaction
1373
+ -------------------------------------------------------------
1374
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1375
+ -------------------------------------------------------------
1376
+  (0.1ms) rollback transaction
1377
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1378
+  (0.1ms) begin transaction
1379
+ -------------------------------------------------------------
1380
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1381
+ -------------------------------------------------------------
1382
+  (0.1ms) rollback transaction
1383
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1384
+  (0.1ms) begin transaction
1385
+ -------------------------------------------------------------
1386
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1387
+ -------------------------------------------------------------
1388
+  (0.1ms) rollback transaction
1389
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1390
+  (0.1ms) begin transaction
1391
+ -------------------------------------------------------------
1392
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1393
+ -------------------------------------------------------------
1394
+  (0.1ms) rollback transaction
1395
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1396
+  (0.1ms) begin transaction
1397
+ -------------------------------------------------------------
1398
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1399
+ -------------------------------------------------------------
1400
+  (0.1ms) rollback transaction
1401
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1402
+  (0.1ms) begin transaction
1403
+ -------------------------------------------------------------
1404
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1405
+ -------------------------------------------------------------
1406
+  (0.1ms) rollback transaction
1407
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1408
+  (0.1ms) begin transaction
1409
+ -------------------------------------------------------------
1410
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1411
+ -------------------------------------------------------------
1412
+  (0.1ms) rollback transaction
1413
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1414
+  (0.1ms) begin transaction
1415
+ -------------------------------------------------------------
1416
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1417
+ -------------------------------------------------------------
1418
+  (0.1ms) rollback transaction
1419
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1420
+  (0.1ms) begin transaction
1421
+ -------------------------------------------------------------
1422
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1423
+ -------------------------------------------------------------
1424
+  (0.1ms) rollback transaction
1425
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1426
+  (0.1ms) begin transaction
1427
+ -------------------------------------------------------------
1428
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1429
+ -------------------------------------------------------------
1430
+  (0.1ms) rollback transaction
1431
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1432
+  (0.1ms) begin transaction
1433
+ -------------------------------------------------------------
1434
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1435
+ -------------------------------------------------------------
1436
+  (0.1ms) rollback transaction
1437
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1438
+  (0.1ms) begin transaction
1439
+ -------------------------------------------------------------
1440
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1441
+ -------------------------------------------------------------
1442
+  (0.1ms) rollback transaction
1443
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1444
+  (0.1ms) begin transaction
1445
+ -------------------------------------------------------------
1446
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1447
+ -------------------------------------------------------------
1448
+  (0.1ms) rollback transaction
1449
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1450
+  (0.1ms) begin transaction
1451
+ -------------------------------------------------------------
1452
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1453
+ -------------------------------------------------------------
1454
+  (0.1ms) rollback transaction
1455
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1456
+  (0.1ms) begin transaction
1457
+ -------------------------------------------------------------
1458
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
1459
+ -------------------------------------------------------------
1460
+  (0.1ms) rollback transaction
1461
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1462
+  (0.1ms) begin transaction
1463
+ -------------------------------------------------------------
1464
+ BootstrapValidatorRailsTest: test_test_will_be_included_later
792
1465
  -------------------------------------------------------------
793
1466
   (0.1ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_validator_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - huynhquancam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-23 00:00:00.000000000 Z
11
+ date: 2014-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.1'
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.1'
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bootstrap_form
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -63,6 +63,13 @@ files:
63
63
  - Rakefile
64
64
  - lib/bootstrap_validator_rails.rb
65
65
  - lib/bootstrap_validator_rails/engine.rb
66
+ - lib/bootstrap_validator_rails/form_builder.rb
67
+ - lib/bootstrap_validator_rails/helper.rb
68
+ - lib/bootstrap_validator_rails/validator_message.rb
69
+ - lib/bootstrap_validator_rails/validators/attributes.rb
70
+ - lib/bootstrap_validator_rails/validators/generator.rb
71
+ - lib/bootstrap_validator_rails/validators/numericality_validator.rb
72
+ - lib/bootstrap_validator_rails/validators/presence_validator.rb
66
73
  - lib/bootstrap_validator_rails/version.rb
67
74
  - lib/tasks/bootstrap_validator_rails_tasks.rake
68
75
  - test/bootstrap_validator_rails_test.rb