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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fdc03a80b72c9a127643f20d57920108087c6de
4
- data.tar.gz: b3f09986dca58e6cf04dfc7c1c9d71ac696c4257
3
+ metadata.gz: bcd56394c5d4e460fb718f675ea3394b6f88d20b
4
+ data.tar.gz: 4c701d54d10511854e2d10f60ef2aee9bc0c6d4f
5
5
  SHA512:
6
- metadata.gz: cd84b9bc8729fc4d56d10c288600a38035122574aefb64b93454d97ff2dfe02814abec2d6df3f3bade5a7ab381e5703a997c105a2ac63686de51c4be000ea77d
7
- data.tar.gz: 3328513dcfa791954ddac4e8241af679e3e7c214660eec8493a63599f27dba8771e963f452800cc6e3cf9df56a70f9f7dc356c8943e9d9589c503b4df624ea40
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
- ext = '', prefix = 'twitter-bootstrap'
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}"
@@ -1,7 +1,7 @@
1
1
  module TwitterBootstrap
2
2
  module Rails
3
3
  module Cdn
4
- VERSION = '1.0.5'
4
+ VERSION = '1.0.6'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter-bootstrap-rails-cdn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Barthelemy