twitter-bootstrap-rails-cdn 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/twitter-bootstrap-rails-cdn.rb +4 -3
- data/lib/twitter-bootstrap-rails-cdn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcd56394c5d4e460fb718f675ea3394b6f88d20b
|
4
|
+
data.tar.gz: 4c701d54d10511854e2d10f60ef2aee9bc0c6d4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c7c8cae84d4e79b68ebeffa7f95b71749c827d395b4343eb5c9ff6e57345922de107e42296ae641ce4368028e7490c95d69af7182307ab2882385ab05ea2da6
|
7
|
+
data.tar.gz: bf3dc6633f55b1d9f8e92b160dcc7c5d19da1189f34d96d9ff421db440b0b31a4085c4c105346c828fdcefb7cf46cf116ce6daf278ba94d6428b9887edb0916a
|
@@ -43,14 +43,15 @@ module TwitterBootstrap::Rails::Cdn
|
|
43
43
|
def twitter_bootstrap_url(type, host, options = {})
|
44
44
|
version = options[:version] || BOOTSTRAP_VERSIONS.first
|
45
45
|
|
46
|
-
|
46
|
+
prefix = 'twitter-bootstrap'
|
47
|
+
prefix = 'bootstrap' if version == '3.0.0-rc1'
|
48
|
+
|
49
|
+
ext = ''
|
47
50
|
if type == :css && version != '3.0.0-rc1'
|
48
51
|
ext << '-combined' unless options[:responsive] == false
|
49
52
|
end
|
50
53
|
ext << '.min' unless options[:compressed] == false
|
51
54
|
|
52
|
-
prefix = 'bootstrap' if version == '3.0.0-rc1'
|
53
|
-
|
54
55
|
{
|
55
56
|
:netdna => "//netdna.bootstrapcdn.com/#{prefix}/#{version}/#{type}/bootstrap#{ext}.#{type}",
|
56
57
|
:local => "bootstrap-#{version}#{ext}"
|