bootstrap-cdn-rails 1.0 → 1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d726e30a164aece9cabfc394b00d87b18c1b6aa
|
4
|
+
data.tar.gz: 608073d79fda323d3c3619917a8851a86faec39c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a27e64f74d70d7c2bff9afda43f8cab367a5072c2a0f91817bdef136dc2ea693e755be27526b869ca83d81b1beba953b5a7de4027f523229eb1fff6794bdfaec
|
7
|
+
data.tar.gz: adfd0c6867d9c99d34e9434d3568f7e5f5b258cb137d4c402e626675bfae2509b10c4ed582e536a256c9f9c8729ba87951a36c54b9a1dad306766b239ae65370
|
@@ -1,8 +1,8 @@
|
|
1
|
-
module BootstrapCDN::Rails
|
1
|
+
module BootstrapCDN::Rails::CDN
|
2
2
|
module ActionViewExtensions
|
3
3
|
OFFLINE = ( ::Rails.env.development? )
|
4
4
|
|
5
|
-
BOOTSTRAP_VERSIONS = ["3.0.3", "3.0.2", "3.0.1", "3.0.0", "2.3.2"]
|
5
|
+
BOOTSTRAP_VERSIONS = [ "3.0.3", "3.0.2", "3.0.1", "3.0.0", "2.3.2" ]
|
6
6
|
FONTAWESOME_VERSIONS = [ '4.0.3', '3.2.1' ]
|
7
7
|
|
8
8
|
def boostrap_css_include_tag(options = {version: BOOTSTRAP_VERSIONS.first})
|
@@ -10,7 +10,7 @@ module BootstrapCDN::Rails
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def boostrap_js_include_tag(options = {version: BOOTSTRAP_VERSIONS.first})
|
13
|
-
javascript_include_tag("//netdna.bootstrapcdn.com/bootstrap/#{version}/js/bootstrap.min.js", options)
|
13
|
+
javascript_include_tag("//netdna.bootstrapcdn.com/bootstrap/#{options[:version]}/js/bootstrap.min.js", options)
|
14
14
|
end
|
15
15
|
|
16
16
|
def fontawesome_css_include_tag(options = {version: FONTAWESOME_VERSIONS.first})
|