twitter-bootstrap-rails-cdn 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/twitter-bootstrap-rails-cdn.rb +5 -3
- data/lib/twitter-bootstrap-rails-cdn/version.rb +1 -1
- metadata +7 -9
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8fdc03a80b72c9a127643f20d57920108087c6de
|
4
|
+
data.tar.gz: b3f09986dca58e6cf04dfc7c1c9d71ac696c4257
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cd84b9bc8729fc4d56d10c288600a38035122574aefb64b93454d97ff2dfe02814abec2d6df3f3bade5a7ab381e5703a997c105a2ac63686de51c4be000ea77d
|
7
|
+
data.tar.gz: 3328513dcfa791954ddac4e8241af679e3e7c214660eec8493a63599f27dba8771e963f452800cc6e3cf9df56a70f9f7dc356c8943e9d9589c503b4df624ea40
|
@@ -43,14 +43,16 @@ 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 = ''
|
47
|
-
if type == :css
|
46
|
+
ext = '', prefix = 'twitter-bootstrap'
|
47
|
+
if type == :css && version != '3.0.0-rc1'
|
48
48
|
ext << '-combined' unless options[:responsive] == false
|
49
49
|
end
|
50
50
|
ext << '.min' unless options[:compressed] == false
|
51
51
|
|
52
|
+
prefix = 'bootstrap' if version == '3.0.0-rc1'
|
53
|
+
|
52
54
|
{
|
53
|
-
:netdna => "//netdna.bootstrapcdn.com
|
55
|
+
:netdna => "//netdna.bootstrapcdn.com/#{prefix}/#{version}/#{type}/bootstrap#{ext}.#{type}",
|
54
56
|
:local => "bootstrap-#{version}#{ext}"
|
55
57
|
}[host]
|
56
58
|
end
|
metadata
CHANGED
@@ -1,15 +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.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Nicholas Barthelemy
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-08-12 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: Twitter Boostrap CDN support for Rails 3 and 4
|
15
14
|
email:
|
@@ -34,26 +33,25 @@ files:
|
|
34
33
|
homepage: https://github.com/nbarthelemy/twitter-bootstrap-rails-cdn
|
35
34
|
licenses:
|
36
35
|
- MIT
|
36
|
+
metadata: {}
|
37
37
|
post_install_message:
|
38
38
|
rdoc_options: []
|
39
39
|
require_paths:
|
40
40
|
- lib
|
41
41
|
required_ruby_version: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
42
|
requirements:
|
44
|
-
- -
|
43
|
+
- - '>='
|
45
44
|
- !ruby/object:Gem::Version
|
46
45
|
version: '0'
|
47
46
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
48
|
-
none: false
|
49
47
|
requirements:
|
50
|
-
- -
|
48
|
+
- - '>='
|
51
49
|
- !ruby/object:Gem::Version
|
52
50
|
version: '0'
|
53
51
|
requirements: []
|
54
52
|
rubyforge_project:
|
55
|
-
rubygems_version:
|
53
|
+
rubygems_version: 2.0.6
|
56
54
|
signing_key:
|
57
|
-
specification_version:
|
55
|
+
specification_version: 4
|
58
56
|
summary: Twitter Boostrap CDN support for Rails 3 and 4
|
59
57
|
test_files: []
|