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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bcd56394c5d4e460fb718f675ea3394b6f88d20b
4
- data.tar.gz: 4c701d54d10511854e2d10f60ef2aee9bc0c6d4f
3
+ metadata.gz: 379eb036f829a8257153b2a599c8e57a98b6cfb0
4
+ data.tar.gz: b7387fcc900741e5e99da36320f0ac200bba432e
5
5
  SHA512:
6
- metadata.gz: 8c7c8cae84d4e79b68ebeffa7f95b71749c827d395b4343eb5c9ff6e57345922de107e42296ae641ce4368028e7490c95d69af7182307ab2882385ab05ea2da6
7
- data.tar.gz: bf3dc6633f55b1d9f8e92b160dcc7c5d19da1189f34d96d9ff421db440b0b31a4085c4c105346c828fdcefb7cf46cf116ce6daf278ba94d6428b9887edb0916a
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 version == '3.0.0-rc1'
48
+ prefix = 'bootstrap' if is_v3
48
49
 
49
50
  ext = ''
50
- if type == :css && version != '3.0.0-rc1'
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
@@ -1,7 +1,7 @@
1
1
  module TwitterBootstrap
2
2
  module Rails
3
3
  module Cdn
4
- VERSION = '1.0.6'
4
+ VERSION = '1.0.7'
5
5
  end
6
6
  end
7
7
  end
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.6
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-12 00:00:00.000000000 Z
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: