rails_bootstrap_navbar 1.0.1.pre1 → 1.0.1.pre2

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: f38d283cc78060e7c4bf0957aadb02ebe13afa07
4
- data.tar.gz: e64e0b869ce0b868b2358641b095ee0c2a7def18
3
+ metadata.gz: 19bf51e8a04af82e78a8bd34b9a80a97e570dfae
4
+ data.tar.gz: d3594cddb49d319a041b11e921d49c02ecea20db
5
5
  SHA512:
6
- metadata.gz: 040765519dfb6a56e8ba78fccdbfda7ed89616b9691beb7e48d8973d185ffce1469eaea8f85f9839e5256628ad00780027a14de532ba12ac565faeb042678af8
7
- data.tar.gz: f4230e2ca5c9e6127f75492ccdd6e292f8946d7af765545d754fe55d56971050f8e826add456c4f289337b719e4cccdad088bfd39fae0359829419fa1f1034e7
6
+ metadata.gz: 5eccbc54e97511fa97fbc4e966ca6a825d1a919565572796d754e471cb461cde318574880d60b59377b6c733b74cb42ca745b59718f15a33c55020a6176648ce
7
+ data.tar.gz: afe6856984f1b285ff2b3a9a2bcf7e25e8b43fae49002a76bb4e526717d15b1bfee0b27609e60fa2c508539ab31727ced4018bd7f61fe3b30417a877484d912d
@@ -1,2 +1,2 @@
1
1
  require_relative 'rails_bootstrap_navbar/version'
2
- require_relative 'rails_bootstrap_navbar/railtie'
2
+ require_relative 'rails_bootstrap_navbar/railtie' if defined?(Rails)
@@ -15,12 +15,6 @@ module RailsBootstrapNavbar
15
15
  else
16
16
  '[request.protocol, request.host_with_port, request.fullpath].join'
17
17
  end
18
-
19
- if Gem.loaded_specs.keys.include?('bootstrap-sass')
20
- bootstrap_sass_version = Gem.loaded_specs['bootstrap-sass'].version
21
- bootstrap_version = bootstrap_sass_version.to_s[0..4]
22
- config.bootstrap_version = bootstrap_version
23
- end
24
18
  end
25
19
 
26
20
  ActionView::Base.send :include, BootstrapNavbar::Helpers
@@ -1,3 +1,3 @@
1
1
  module RailsBootstrapNavbar
2
- VERSION = "1.0.1.pre1"
2
+ VERSION = "1.0.1.pre2"
3
3
  end
@@ -21,6 +21,6 @@ Gem::Specification.new do |gem|
21
21
  gem.add_development_dependency 'guard-rspec', '~> 3.0'
22
22
  gem.add_development_dependency 'rails', '>= 3.0.0'
23
23
 
24
- gem.add_runtime_dependency 'bootstrap-navbar', '~> 1.0.0.pre6'
24
+ gem.add_runtime_dependency 'bootstrap-navbar', '~> 1.0.0.pre8'
25
25
  gem.add_runtime_dependency 'rails', '>= 3.0.0'
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_bootstrap_navbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1.pre1
4
+ version: 1.0.1.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jules Copeland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-06 00:00:00.000000000 Z
11
+ date: 2013-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: 1.0.0.pre6
75
+ version: 1.0.0.pre8
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 1.0.0.pre6
82
+ version: 1.0.0.pre8
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rails
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -115,7 +115,6 @@ files:
115
115
  - lib/rails_bootstrap_navbar/railtie.rb
116
116
  - lib/rails_bootstrap_navbar/version.rb
117
117
  - rails_bootstrap_navbar.gemspec
118
- - spec/rails_bootstrap_navbar/railtie_spec.rb
119
118
  - spec/spec_helper.rb
120
119
  homepage: ''
121
120
  licenses:
@@ -142,6 +141,5 @@ signing_key:
142
141
  specification_version: 4
143
142
  summary: Generate Bootstrap Navbars in Rails views
144
143
  test_files:
145
- - spec/rails_bootstrap_navbar/railtie_spec.rb
146
144
  - spec/spec_helper.rb
147
145
  has_rdoc:
@@ -1,10 +0,0 @@
1
- require 'spec_helper'
2
-
3
- require 'rails'
4
- require 'rails_bootstrap_navbar/railtie'
5
-
6
- describe RailsBootstrapNavbar::Railtie do
7
- it 'sets BootstrapNavbar.current_url_method' do
8
- BootstrapNavbar.current_url_method.should_not be_nil
9
- end
10
- end