twitter-bootstrap-rails-cdn 1.0.6 → 1.0.7
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 +3 -2
- data/lib/twitter-bootstrap-rails-cdn/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 379eb036f829a8257153b2a599c8e57a98b6cfb0
|
4
|
+
data.tar.gz: b7387fcc900741e5e99da36320f0ac200bba432e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a35c26f283030a9241887d8002958bfc914b371e5aee4b10403544c2824fca28371e8f540acb6a06ff45a95eea77158a89488e967128f7ae757d087e8d0bec19
|
7
|
+
data.tar.gz: a8f9b1ca88fcaf6e9a1575101faa1bf13fd332be3e8d43790183347930fc002067fba734c1512eb7e7273958179155d5b9584802cc4145ed1f124d9dbc5ac315
|
@@ -42,12 +42,13 @@ module TwitterBootstrap::Rails::Cdn
|
|
42
42
|
|
43
43
|
def twitter_bootstrap_url(type, host, options = {})
|
44
44
|
version = options[:version] || BOOTSTRAP_VERSIONS.first
|
45
|
+
is_v3 = !!version.match(/^3/)
|
45
46
|
|
46
47
|
prefix = 'twitter-bootstrap'
|
47
|
-
prefix = 'bootstrap' if
|
48
|
+
prefix = 'bootstrap' if is_v3
|
48
49
|
|
49
50
|
ext = ''
|
50
|
-
if type == :css &&
|
51
|
+
if type == :css && !is_v3
|
51
52
|
ext << '-combined' unless options[:responsive] == false
|
52
53
|
end
|
53
54
|
ext << '.min' unless options[:compressed] == false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-bootstrap-rails-cdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Barthelemy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Twitter Boostrap CDN support for Rails 3 and 4
|
14
14
|
email:
|