bootstrap-cdn-rails 1.0 → 1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11cb6861a53b71d54a7aeb6d60fa4c2f7a0b7dc1
4
- data.tar.gz: e61fab39445ef48e09252847cc3e453898b338ff
3
+ metadata.gz: 7d726e30a164aece9cabfc394b00d87b18c1b6aa
4
+ data.tar.gz: 608073d79fda323d3c3619917a8851a86faec39c
5
5
  SHA512:
6
- metadata.gz: b2e7f7338166ad3ca998bb22a585fccd98c0e83d49061fc22995d6216166642d921ca2016f182a8ba657fcf660a6096d92337c8675926874d57672af7db6ddc2
7
- data.tar.gz: 3c4d11bcde744ac4b62463882c84c214b5d44ee2734897c2ab901cb2d04526eed0d868a23756659092dc9050ae453c68ad9829d59b9769078842a1cdd2a68da6
6
+ metadata.gz: a27e64f74d70d7c2bff9afda43f8cab367a5072c2a0f91817bdef136dc2ea693e755be27526b869ca83d81b1beba953b5a7de4027f523229eb1fff6794bdfaec
7
+ data.tar.gz: adfd0c6867d9c99d34e9434d3568f7e5f5b258cb137d4c402e626675bfae2509b10c4ed582e536a256c9f9c8729ba87951a36c54b9a1dad306766b239ae65370
@@ -1,8 +1,8 @@
1
- module BootstrapCDN::Rails
1
+ module BootstrapCDN::Rails::CDN
2
2
  module ActionViewExtensions
3
3
  OFFLINE = ( ::Rails.env.development? )
4
4
 
5
- BOOTSTRAP_VERSIONS = ["3.0.3", "3.0.2", "3.0.1", "3.0.0", "2.3.2"]
5
+ BOOTSTRAP_VERSIONS = [ "3.0.3", "3.0.2", "3.0.1", "3.0.0", "2.3.2" ]
6
6
  FONTAWESOME_VERSIONS = [ '4.0.3', '3.2.1' ]
7
7
 
8
8
  def boostrap_css_include_tag(options = {version: BOOTSTRAP_VERSIONS.first})
@@ -10,7 +10,7 @@ module BootstrapCDN::Rails
10
10
  end
11
11
 
12
12
  def boostrap_js_include_tag(options = {version: BOOTSTRAP_VERSIONS.first})
13
- javascript_include_tag("//netdna.bootstrapcdn.com/bootstrap/#{version}/js/bootstrap.min.js", options)
13
+ javascript_include_tag("//netdna.bootstrapcdn.com/bootstrap/#{options[:version]}/js/bootstrap.min.js", options)
14
14
  end
15
15
 
16
16
  def fontawesome_css_include_tag(options = {version: FONTAWESOME_VERSIONS.first})
@@ -1,5 +1,5 @@
1
1
  module BootstrapCDN
2
2
  module Rails
3
- VERSION = '1.0'
3
+ VERSION = '1.1'
4
4
  end # module Rails
5
5
  end # module FontAwesome
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-cdn-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Brito