repres-bootstrap 1.8 → 1.9

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: cda580abee7f81a8bc5995939640f43bce38c743
4
- data.tar.gz: 58e7b3eaecaf2e8be6436554c517f09961b5cce0
3
+ metadata.gz: fa0859904aca03c234166be1c9ba71d376b81a65
4
+ data.tar.gz: c7e275161b3e4ec0ba4c719bbd0d6c61dcb1418e
5
5
  SHA512:
6
- metadata.gz: 316ca9a8e8b45bc4737d1d9824411e27ad7bce25c45c64c55ae22cbbce4ecd81b3829af7671642d704733f2ce3c01bd8ae38b77cccdc4bdf3ef3b170dbd34ffd
7
- data.tar.gz: 2ab07cf60765438c8b49467777a399f83666a7c8a601e2b57cfa162ebab6cea59a7cb2a5c48bbbd7bd1c0c927ca142dea784057663dfe4fb39dae13a443439cf
6
+ metadata.gz: 137b6ab5a9296bbc37fe1a94a83b0e1305467434dd580c29cf8cb4531ce551709f5577e411bd83e12974266191aa2cebf711b8f2acf4420395fafb6c2d65b3c6
7
+ data.tar.gz: 674f687dc938912b9295fec584e635e443d0aa876653019c02e06fa25400b3f12951f7d7fa3ae599a6c6f22fbee93d868b59f774b6bce6aa7f2ed02ef5d6bd58
data/README.md CHANGED
@@ -105,6 +105,7 @@ The following JavaScript libraries are switchable, and the version can be config
105
105
  - :'bootstrap-datetimepicker'
106
106
  - :'bootstrap-fileinput'
107
107
  - :'bootstrap-table'
108
+ - :'jquery.bootstrapvalidator'
108
109
 
109
110
  ### Render the Style
110
111
 
@@ -140,6 +141,7 @@ The following CSS libraries are switchable, and the version can be configurable:
140
141
  - :'bootstrap-datetimepicker'
141
142
  - :'bootstrap-fileinput'
142
143
  - :'bootstrap-table'
144
+ - :'jquery.bootstrapvalidator'
143
145
 
144
146
  ### Render the Form Field
145
147
 
@@ -17,3 +17,8 @@
17
17
  <%= javascript_include_tag "//#{domain_name(:'bootstrap-fileinput', options)}/bootstrap-fileinput/#{library_version(:'bootstrap-fileinput', '4.3.5', options)}/js/fileinput.min.js" %>
18
18
  <%= javascript_include_tag "//#{domain_name(:'bootstrap-fileinput', options)}/bootstrap-fileinput/#{library_version(:'bootstrap-fileinput', '4.3.5', options)}/js/locales/zh.min.js", charset: 'UTF-8' %>
19
19
  <% end %>
20
+
21
+ <% if library_enabled?(:'jquery.bootstrapvalidator', options) %>
22
+ <%= javascript_include_tag "//#{domain_name(:'jquery.bootstrapvalidator', options)}/jquery.bootstrapvalidator/#{library_version(:'jquery.bootstrapvalidator', '0.5.3', options)}/js/bootstrapValidator.min.js" %>
23
+ <%= javascript_include_tag "//#{domain_name(:'jquery.bootstrapvalidator', options)}/jquery.bootstrapvalidator/#{library_version(:'jquery.bootstrapvalidator', '0.5.3', options)}/js/language/zh_CN.min.js", charset: 'UTF-8' %>
24
+ <% end %>
@@ -12,3 +12,5 @@
12
12
  <%= stylesheet_link_tag "//#{domain_name(:'bootstrap-table', options)}/bootstrap-table/#{library_version(:'bootstrap-table', '1.11.0', options)}/bootstrap-table.min.css", media: 'all' if library_enabled?(:'bootstrap-table', options) %>
13
13
 
14
14
  <%= stylesheet_link_tag "//#{domain_name(:'bootstrap-fileinput', options)}/bootstrap-fileinput/#{library_version(:'bootstrap-fileinput', '4.3.5', options)}/css/fileinput.min.css", media: 'all' if library_enabled?(:'bootstrap-fileinput', options) %>
15
+
16
+ <%= stylesheet_link_tag "//#{domain_name(:'jquery.bootstrapvalidator', options)}/jquery.bootstrapvalidator/#{library_version(:'jquery.bootstrapvalidator', '0.5.3', options)}/css/bootstrapValidator.min.css", media: 'all' if library_enabled?(:'jquery.bootstrapvalidator', options) %>
@@ -1,5 +1,5 @@
1
1
  module Repres
2
2
  module Bootstrap
3
- VERSION = '1.8'.freeze
3
+ VERSION = '1.9'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: repres-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.8'
4
+ version: '1.9'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Topbit Du
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-15 00:00:00.000000000 Z
11
+ date: 2016-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails