bootstrap_validator_rails 0.0.6 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bootstrap_validator_rails/form_builder.rb +18 -0
- data/lib/bootstrap_validator_rails/helper.rb +8 -0
- data/lib/bootstrap_validator_rails/validator_message.rb +0 -0
- data/lib/bootstrap_validator_rails/validators/attributes.rb +22 -0
- data/lib/bootstrap_validator_rails/validators/generator.rb +19 -0
- data/lib/bootstrap_validator_rails/validators/numericality_validator.rb +49 -0
- data/lib/bootstrap_validator_rails/validators/presence_validator.rb +20 -0
- data/lib/bootstrap_validator_rails/version.rb +1 -1
- data/lib/bootstrap_validator_rails.rb +8 -39
- data/test/bootstrap_validator_rails_test.rb +1 -0
- data/test/dummy/app/models/post.rb +2 -1
- data/test/dummy/log/test.log +673 -0
- metadata +11 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b775517e9b166ac65696deff578593cf7fc36380
|
4
|
+
data.tar.gz: 5f512d9a39b1ed2f9a5020109cd33f7f8e1651ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
File without changes
|
@@ -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,42 +1,11 @@
|
|
1
1
|
require 'bootstrap_validator_rails/engine'
|
2
|
-
require '
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
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
|
+
|
data/test/dummy/log/test.log
CHANGED
@@ -789,5 +789,678 @@ BootstrapValidatorRailsTest: test_test_will_be_included_later
|
|
789
789
|
[1m[35m (0.1ms)[0m begin transaction
|
790
790
|
-------------------------------------------------------------
|
791
791
|
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
792
|
+
-------------------------------------------------------------
|
793
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
794
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
795
|
+
[1m[35m (0.1ms)[0m begin transaction
|
796
|
+
-------------------------------------------------------------
|
797
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
798
|
+
-------------------------------------------------------------
|
799
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
800
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
801
|
+
[1m[35m (0.1ms)[0m begin transaction
|
802
|
+
-------------------------------------------------------------
|
803
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
804
|
+
-------------------------------------------------------------
|
805
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
806
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
807
|
+
[1m[35m (0.1ms)[0m begin transaction
|
808
|
+
-------------------------------------------------------------
|
809
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
810
|
+
-------------------------------------------------------------
|
811
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
812
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
813
|
+
[1m[35m (0.1ms)[0m begin transaction
|
814
|
+
-------------------------------------------------------------
|
815
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
816
|
+
-------------------------------------------------------------
|
817
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
818
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
819
|
+
[1m[35m (0.1ms)[0m begin transaction
|
820
|
+
-------------------------------------------------------------
|
821
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
822
|
+
-------------------------------------------------------------
|
823
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
824
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
825
|
+
[1m[35m (0.1ms)[0m begin transaction
|
826
|
+
-------------------------------------------------------------
|
827
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
828
|
+
-------------------------------------------------------------
|
829
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
830
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
831
|
+
[1m[35m (0.1ms)[0m begin transaction
|
832
|
+
-------------------------------------------------------------
|
833
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
834
|
+
-------------------------------------------------------------
|
835
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
836
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
837
|
+
[1m[35m (0.1ms)[0m begin transaction
|
838
|
+
-------------------------------------------------------------
|
839
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
840
|
+
-------------------------------------------------------------
|
841
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
842
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
843
|
+
[1m[35m (0.1ms)[0m begin transaction
|
844
|
+
-------------------------------------------------------------
|
845
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
846
|
+
-------------------------------------------------------------
|
847
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
848
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
849
|
+
[1m[35m (0.1ms)[0m begin transaction
|
850
|
+
-------------------------------------------------------------
|
851
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
852
|
+
-------------------------------------------------------------
|
853
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
854
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
855
|
+
[1m[35m (0.1ms)[0m begin transaction
|
856
|
+
-------------------------------------------------------------
|
857
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
858
|
+
-------------------------------------------------------------
|
859
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
860
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
861
|
+
[1m[35m (0.1ms)[0m begin transaction
|
862
|
+
-------------------------------------------------------------
|
863
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
864
|
+
-------------------------------------------------------------
|
865
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
866
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
867
|
+
[1m[35m (0.1ms)[0m begin transaction
|
868
|
+
-------------------------------------------------------------
|
869
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
870
|
+
-------------------------------------------------------------
|
871
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
872
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
873
|
+
[1m[35m (0.1ms)[0m begin transaction
|
874
|
+
-------------------------------------------------------------
|
875
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
876
|
+
-------------------------------------------------------------
|
877
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
878
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
879
|
+
[1m[35m (0.1ms)[0m begin transaction
|
880
|
+
-------------------------------------------------------------
|
881
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
882
|
+
-------------------------------------------------------------
|
883
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
884
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
885
|
+
[1m[35m (0.1ms)[0m begin transaction
|
886
|
+
-------------------------------------------------------------
|
887
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
888
|
+
-------------------------------------------------------------
|
889
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
890
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
891
|
+
[1m[35m (0.1ms)[0m begin transaction
|
892
|
+
-------------------------------------------------------------
|
893
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
894
|
+
-------------------------------------------------------------
|
895
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
896
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
897
|
+
[1m[35m (0.1ms)[0m begin transaction
|
898
|
+
-------------------------------------------------------------
|
899
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
900
|
+
-------------------------------------------------------------
|
901
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
902
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
903
|
+
[1m[35m (0.1ms)[0m begin transaction
|
904
|
+
-------------------------------------------------------------
|
905
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
906
|
+
-------------------------------------------------------------
|
907
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
908
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
909
|
+
[1m[35m (0.1ms)[0m begin transaction
|
910
|
+
-------------------------------------------------------------
|
911
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
912
|
+
-------------------------------------------------------------
|
913
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
914
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
915
|
+
[1m[35m (0.1ms)[0m begin transaction
|
916
|
+
-------------------------------------------------------------
|
917
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
918
|
+
-------------------------------------------------------------
|
919
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
920
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
921
|
+
[1m[35m (0.1ms)[0m begin transaction
|
922
|
+
-------------------------------------------------------------
|
923
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
924
|
+
-------------------------------------------------------------
|
925
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
926
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
927
|
+
[1m[35m (0.1ms)[0m begin transaction
|
928
|
+
-------------------------------------------------------------
|
929
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
930
|
+
-------------------------------------------------------------
|
931
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
932
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
933
|
+
[1m[35m (0.1ms)[0m begin transaction
|
934
|
+
-------------------------------------------------------------
|
935
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
936
|
+
-------------------------------------------------------------
|
937
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
938
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
939
|
+
[1m[35m (0.1ms)[0m begin transaction
|
940
|
+
-------------------------------------------------------------
|
941
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
942
|
+
-------------------------------------------------------------
|
943
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
944
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
945
|
+
[1m[35m (0.1ms)[0m begin transaction
|
946
|
+
-------------------------------------------------------------
|
947
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
948
|
+
-------------------------------------------------------------
|
949
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
950
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
951
|
+
[1m[35m (0.1ms)[0m begin transaction
|
952
|
+
-------------------------------------------------------------
|
953
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
954
|
+
-------------------------------------------------------------
|
955
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
956
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
957
|
+
[1m[35m (0.1ms)[0m begin transaction
|
958
|
+
-------------------------------------------------------------
|
959
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
960
|
+
-------------------------------------------------------------
|
961
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
962
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
963
|
+
[1m[35m (0.1ms)[0m begin transaction
|
964
|
+
-------------------------------------------------------------
|
965
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
966
|
+
-------------------------------------------------------------
|
967
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
968
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
969
|
+
[1m[35m (0.1ms)[0m begin transaction
|
970
|
+
-------------------------------------------------------------
|
971
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
972
|
+
-------------------------------------------------------------
|
973
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
974
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
975
|
+
[1m[35m (0.1ms)[0m begin transaction
|
976
|
+
-------------------------------------------------------------
|
977
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
978
|
+
-------------------------------------------------------------
|
979
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
980
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
981
|
+
[1m[35m (0.1ms)[0m begin transaction
|
982
|
+
-------------------------------------------------------------
|
983
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
984
|
+
-------------------------------------------------------------
|
985
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
986
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
987
|
+
[1m[35m (0.1ms)[0m begin transaction
|
988
|
+
-------------------------------------------------------------
|
989
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
990
|
+
-------------------------------------------------------------
|
991
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
992
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
993
|
+
[1m[35m (0.1ms)[0m begin transaction
|
994
|
+
-------------------------------------------------------------
|
995
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
996
|
+
-------------------------------------------------------------
|
997
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
998
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
999
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1000
|
+
-------------------------------------------------------------
|
1001
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1002
|
+
-------------------------------------------------------------
|
1003
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1004
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1005
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1006
|
+
-------------------------------------------------------------
|
1007
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1008
|
+
-------------------------------------------------------------
|
1009
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1010
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1011
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1012
|
+
-------------------------------------------------------------
|
1013
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1014
|
+
-------------------------------------------------------------
|
1015
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1016
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1017
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1018
|
+
-------------------------------------------------------------
|
1019
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1020
|
+
-------------------------------------------------------------
|
1021
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1022
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1023
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1024
|
+
-------------------------------------------------------------
|
1025
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1026
|
+
-------------------------------------------------------------
|
1027
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1028
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1029
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1030
|
+
-------------------------------------------------------------
|
1031
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1032
|
+
-------------------------------------------------------------
|
1033
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1034
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1035
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1036
|
+
-------------------------------------------------------------
|
1037
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1038
|
+
-------------------------------------------------------------
|
1039
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1040
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1041
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1042
|
+
-------------------------------------------------------------
|
1043
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1044
|
+
-------------------------------------------------------------
|
1045
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1046
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1047
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1048
|
+
-------------------------------------------------------------
|
1049
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1050
|
+
-------------------------------------------------------------
|
1051
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1052
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1053
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1054
|
+
-------------------------------------------------------------
|
1055
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1056
|
+
-------------------------------------------------------------
|
1057
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1058
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1059
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1060
|
+
-------------------------------------------------------------
|
1061
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1062
|
+
-------------------------------------------------------------
|
1063
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1064
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1065
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1066
|
+
-------------------------------------------------------------
|
1067
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1068
|
+
-------------------------------------------------------------
|
1069
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1070
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1071
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1072
|
+
-------------------------------------------------------------
|
1073
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1074
|
+
-------------------------------------------------------------
|
1075
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1076
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1077
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1078
|
+
-------------------------------------------------------------
|
1079
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1080
|
+
-------------------------------------------------------------
|
1081
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1082
|
+
[1m[36mPost Load (2.6ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
1083
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1084
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1085
|
+
-------------------------------------------------------------
|
1086
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1087
|
+
-------------------------------------------------------------
|
1088
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1089
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1090
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1091
|
+
-------------------------------------------------------------
|
1092
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1093
|
+
-------------------------------------------------------------
|
1094
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1095
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1096
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1097
|
+
-------------------------------------------------------------
|
1098
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1099
|
+
-------------------------------------------------------------
|
1100
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1101
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1102
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1103
|
+
-------------------------------------------------------------
|
1104
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1105
|
+
-------------------------------------------------------------
|
1106
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1107
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1108
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1109
|
+
-------------------------------------------------------------
|
1110
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1111
|
+
-------------------------------------------------------------
|
1112
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1113
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1114
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1115
|
+
-------------------------------------------------------------
|
1116
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1117
|
+
-------------------------------------------------------------
|
1118
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1119
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1120
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1121
|
+
-------------------------------------------------------------
|
1122
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1123
|
+
-------------------------------------------------------------
|
1124
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1125
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1126
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1127
|
+
-------------------------------------------------------------
|
1128
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1129
|
+
-------------------------------------------------------------
|
1130
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1131
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1132
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1133
|
+
-------------------------------------------------------------
|
1134
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1135
|
+
-------------------------------------------------------------
|
1136
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1137
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1138
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1139
|
+
-------------------------------------------------------------
|
1140
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1141
|
+
-------------------------------------------------------------
|
1142
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1143
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1144
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1145
|
+
-------------------------------------------------------------
|
1146
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1147
|
+
-------------------------------------------------------------
|
1148
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1149
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1150
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1151
|
+
-------------------------------------------------------------
|
1152
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1153
|
+
-------------------------------------------------------------
|
1154
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1155
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1156
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1157
|
+
-------------------------------------------------------------
|
1158
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1159
|
+
-------------------------------------------------------------
|
1160
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1161
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1162
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1163
|
+
-------------------------------------------------------------
|
1164
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1165
|
+
-------------------------------------------------------------
|
1166
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1167
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1168
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1169
|
+
-------------------------------------------------------------
|
1170
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1171
|
+
-------------------------------------------------------------
|
1172
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1173
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1174
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1175
|
+
-------------------------------------------------------------
|
1176
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1177
|
+
-------------------------------------------------------------
|
1178
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1179
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1180
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1181
|
+
-------------------------------------------------------------
|
1182
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1183
|
+
-------------------------------------------------------------
|
1184
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1185
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1186
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1187
|
+
-------------------------------------------------------------
|
1188
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1189
|
+
-------------------------------------------------------------
|
1190
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1191
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1192
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1193
|
+
-------------------------------------------------------------
|
1194
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1195
|
+
-------------------------------------------------------------
|
1196
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1197
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1198
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1199
|
+
-------------------------------------------------------------
|
1200
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1201
|
+
-------------------------------------------------------------
|
1202
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1203
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1204
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1205
|
+
-------------------------------------------------------------
|
1206
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1207
|
+
-------------------------------------------------------------
|
1208
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1209
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1210
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1211
|
+
-------------------------------------------------------------
|
1212
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1213
|
+
-------------------------------------------------------------
|
1214
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1215
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1216
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1217
|
+
-------------------------------------------------------------
|
1218
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1219
|
+
-------------------------------------------------------------
|
1220
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1221
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1222
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1223
|
+
-------------------------------------------------------------
|
1224
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1225
|
+
-------------------------------------------------------------
|
1226
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1227
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1228
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1229
|
+
-------------------------------------------------------------
|
1230
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1231
|
+
-------------------------------------------------------------
|
1232
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1233
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1234
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1235
|
+
-------------------------------------------------------------
|
1236
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1237
|
+
-------------------------------------------------------------
|
1238
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1239
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1240
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1241
|
+
-------------------------------------------------------------
|
1242
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1243
|
+
-------------------------------------------------------------
|
1244
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1245
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1246
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1247
|
+
-------------------------------------------------------------
|
1248
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1249
|
+
-------------------------------------------------------------
|
1250
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1251
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1253
|
+
-------------------------------------------------------------
|
1254
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1255
|
+
-------------------------------------------------------------
|
1256
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1257
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1258
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1259
|
+
-------------------------------------------------------------
|
1260
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1261
|
+
-------------------------------------------------------------
|
1262
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1263
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1264
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1265
|
+
-------------------------------------------------------------
|
1266
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1267
|
+
-------------------------------------------------------------
|
1268
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1269
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1270
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1271
|
+
-------------------------------------------------------------
|
1272
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1273
|
+
-------------------------------------------------------------
|
1274
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1275
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1276
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1277
|
+
-------------------------------------------------------------
|
1278
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1279
|
+
-------------------------------------------------------------
|
1280
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1281
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1282
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1283
|
+
-------------------------------------------------------------
|
1284
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1285
|
+
-------------------------------------------------------------
|
1286
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1287
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1288
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1289
|
+
-------------------------------------------------------------
|
1290
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1291
|
+
-------------------------------------------------------------
|
1292
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1293
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1294
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1295
|
+
-------------------------------------------------------------
|
1296
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1297
|
+
-------------------------------------------------------------
|
1298
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1299
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1300
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1301
|
+
-------------------------------------------------------------
|
1302
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1303
|
+
-------------------------------------------------------------
|
1304
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1305
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1306
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1307
|
+
-------------------------------------------------------------
|
1308
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1309
|
+
-------------------------------------------------------------
|
1310
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1311
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1312
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1313
|
+
-------------------------------------------------------------
|
1314
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1315
|
+
-------------------------------------------------------------
|
1316
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1317
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1318
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1319
|
+
-------------------------------------------------------------
|
1320
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1321
|
+
-------------------------------------------------------------
|
1322
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1323
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1324
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1325
|
+
-------------------------------------------------------------
|
1326
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1327
|
+
-------------------------------------------------------------
|
1328
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1329
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1330
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1331
|
+
-------------------------------------------------------------
|
1332
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1333
|
+
-------------------------------------------------------------
|
1334
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1335
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1336
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1337
|
+
-------------------------------------------------------------
|
1338
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1339
|
+
-------------------------------------------------------------
|
1340
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1341
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1342
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1343
|
+
-------------------------------------------------------------
|
1344
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1345
|
+
-------------------------------------------------------------
|
1346
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1347
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1348
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1349
|
+
-------------------------------------------------------------
|
1350
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1351
|
+
-------------------------------------------------------------
|
1352
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1353
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1354
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1355
|
+
-------------------------------------------------------------
|
1356
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1357
|
+
-------------------------------------------------------------
|
1358
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1359
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1360
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1361
|
+
-------------------------------------------------------------
|
1362
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1363
|
+
-------------------------------------------------------------
|
1364
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1365
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1366
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1367
|
+
-------------------------------------------------------------
|
1368
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1369
|
+
-------------------------------------------------------------
|
1370
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1371
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1372
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1373
|
+
-------------------------------------------------------------
|
1374
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1375
|
+
-------------------------------------------------------------
|
1376
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1377
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1378
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1379
|
+
-------------------------------------------------------------
|
1380
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1381
|
+
-------------------------------------------------------------
|
1382
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1383
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1384
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1385
|
+
-------------------------------------------------------------
|
1386
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1387
|
+
-------------------------------------------------------------
|
1388
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1389
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1390
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1391
|
+
-------------------------------------------------------------
|
1392
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1393
|
+
-------------------------------------------------------------
|
1394
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1395
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1396
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1397
|
+
-------------------------------------------------------------
|
1398
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1399
|
+
-------------------------------------------------------------
|
1400
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1401
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1402
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1403
|
+
-------------------------------------------------------------
|
1404
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1405
|
+
-------------------------------------------------------------
|
1406
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1407
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1408
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1409
|
+
-------------------------------------------------------------
|
1410
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1411
|
+
-------------------------------------------------------------
|
1412
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1413
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1414
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1415
|
+
-------------------------------------------------------------
|
1416
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1417
|
+
-------------------------------------------------------------
|
1418
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1419
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1420
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1421
|
+
-------------------------------------------------------------
|
1422
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1423
|
+
-------------------------------------------------------------
|
1424
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1425
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1426
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1427
|
+
-------------------------------------------------------------
|
1428
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1429
|
+
-------------------------------------------------------------
|
1430
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1431
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1432
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1433
|
+
-------------------------------------------------------------
|
1434
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1435
|
+
-------------------------------------------------------------
|
1436
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1437
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1438
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1439
|
+
-------------------------------------------------------------
|
1440
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1441
|
+
-------------------------------------------------------------
|
1442
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1443
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1444
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1445
|
+
-------------------------------------------------------------
|
1446
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1447
|
+
-------------------------------------------------------------
|
1448
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1449
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1450
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1451
|
+
-------------------------------------------------------------
|
1452
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1453
|
+
-------------------------------------------------------------
|
1454
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1455
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1456
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1457
|
+
-------------------------------------------------------------
|
1458
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1459
|
+
-------------------------------------------------------------
|
1460
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1461
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1462
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1463
|
+
-------------------------------------------------------------
|
1464
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
792
1465
|
-------------------------------------------------------------
|
793
1466
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
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
|
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-
|
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.
|
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.
|
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
|