bootstrap_validator_rails 0.4.0 → 0.4.1

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: 4b5ca1cd7718d4e1be3cf0f8c39312bcbb90ba57
4
- data.tar.gz: 37e35c50c3777c315e4bfbdedef861b835059343
3
+ metadata.gz: b17862e74b5e1c1355c9aa5ebdae80fb381ae678
4
+ data.tar.gz: fc1b2bd5ace082b231d75165ee595e10e405ffc9
5
5
  SHA512:
6
- metadata.gz: dff9dcfd265d88557431ccac76d50d67d8ebb54074f19e8a79dbcb0f15abed9e554011e53c96ee53f626cb1337ca56f512d29fb60fa599598b8a12cd59a97734
7
- data.tar.gz: be4ff861e90babcb4845a9d4e7fba3267a4c5e923b0fca394b6193731363230eaf0e5f022f2addbfc1a14189febe3a648cb36a2224da97c6c0a9231af7a5d1c9
6
+ metadata.gz: 56aaaf7418e3425c51f7d557339f61b4061de5535d98397ef2731c708b1773d10e334bedc734bc5122e4bbbba7a45386321e8477f504223b1368d3c96590b148
7
+ data.tar.gz: 46e5dc18dfac83026daad8cb52837ff76ac28089b0c0aded8636fbfcd8abc4f5b6f6572c4b8a8d865d310c640a573a1e87db473eff43c80f099ed29c719fd2ce
@@ -15,6 +15,8 @@ module BootstrapValidatorRails
15
15
  data = {}
16
16
  options = @validator.options
17
17
  regex = options[:with].to_javascript
18
+ regex.sub!('/^', '^')
19
+ regex.sub!('$/', '$')
18
20
 
19
21
  data[:bv_regexp] = 'true'
20
22
 
@@ -1,3 +1,3 @@
1
1
  module BootstrapValidatorRails
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -2071,3 +2071,21 @@ BootstrapValidatorRailsTest: test_test_will_be_included_later
2071
2071
  BootstrapValidatorRailsTest: test_test_will_be_included_later
2072
2072
  -------------------------------------------------------------
2073
2073
   (0.1ms) rollback transaction
2074
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2075
+  (0.1ms) begin transaction
2076
+  (0.1ms) rollback transaction
2077
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2078
+  (0.1ms) begin transaction
2079
+  (0.1ms) rollback transaction
2080
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2081
+  (0.1ms) begin transaction
2082
+  (0.1ms) rollback transaction
2083
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2084
+  (0.1ms) begin transaction
2085
+  (0.1ms) rollback transaction
2086
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2087
+  (0.1ms) begin transaction
2088
+  (0.1ms) rollback transaction
2089
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2090
+  (0.1ms) begin transaction
2091
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_validator_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - huynhquancam