bootstrap_validator_rails 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ff3c7a502915bd0100cc7aadeec7aca12f88d2b
|
4
|
+
data.tar.gz: b743741e1d8af8f146dca1f1bf1d8cfba63f98b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8bb6cad41c550caeea03c2dff003263e114006bb58af525e31480f2437a44f6217f6c5f45535702a88725ca7933e8601c43e452f87a6a434eb1685d4e37c25b
|
7
|
+
data.tar.gz: eec4cf2e1681a0e8cf8fc1949dbbc317c8439d7ada9ee39fe191475c1c0218b6f7cf710c64cb7ef98fc40b659782da414d9d84adc1002d80197bc4a9ebd88be0
|
@@ -7,12 +7,13 @@ module BootstrapValidatorRails
|
|
7
7
|
super
|
8
8
|
end
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
10
|
+
FIELD_HELPERS.each do |method_name|
|
11
|
+
define_method(method_name) do |method, options = {}|
|
12
|
+
attribute = @attributes.validator_data(method)
|
13
|
+
options[:data] ||= {}
|
14
|
+
options[:data] = options[:data].merge(attribute)
|
15
|
+
super(method, options)
|
16
|
+
end
|
16
17
|
end
|
17
18
|
end
|
18
19
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -1608,5 +1608,53 @@ BootstrapValidatorRailsTest: test_test_will_be_included_later
|
|
1608
1608
|
[1m[35m (0.1ms)[0m begin transaction
|
1609
1609
|
-------------------------------------------------------------
|
1610
1610
|
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1611
|
+
-------------------------------------------------------------
|
1612
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1613
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1614
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1615
|
+
-------------------------------------------------------------
|
1616
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1617
|
+
-------------------------------------------------------------
|
1618
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1619
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1620
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1621
|
+
-------------------------------------------------------------
|
1622
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1623
|
+
-------------------------------------------------------------
|
1624
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1625
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1626
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1627
|
+
-------------------------------------------------------------
|
1628
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1629
|
+
-------------------------------------------------------------
|
1630
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1631
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1632
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1633
|
+
-------------------------------------------------------------
|
1634
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1635
|
+
-------------------------------------------------------------
|
1636
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1637
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1638
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1639
|
+
-------------------------------------------------------------
|
1640
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1641
|
+
-------------------------------------------------------------
|
1642
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1643
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1644
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1645
|
+
-------------------------------------------------------------
|
1646
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1647
|
+
-------------------------------------------------------------
|
1648
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1649
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1650
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1651
|
+
-------------------------------------------------------------
|
1652
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1653
|
+
-------------------------------------------------------------
|
1654
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1655
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1656
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1657
|
+
-------------------------------------------------------------
|
1658
|
+
BootstrapValidatorRailsTest: test_test_will_be_included_later
|
1611
1659
|
-------------------------------------------------------------
|
1612
1660
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|