rails_bootstrap_navbar 0.2.1 → 1.0.0.pre

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: 6f3b0a4d55967ebe2514aea476dcf4d2b4da5bfb
4
- data.tar.gz: 19adbf3681cecdc3faa524df379da4bbebdb1a8d
3
+ metadata.gz: e9ba699cbaf09b6e5fc097761e76581b791872a5
4
+ data.tar.gz: fd8e2709d198f73d32183458516723409b13deea
5
5
  SHA512:
6
- metadata.gz: b7efeb135c758e3a74ce1002918cb2a8a94165a6764eb7a83fc45460d4dd26ce85cb311d702cd8f7392927a4718b1f6fa4d59e740258cfeab3637516ae1d33e9
7
- data.tar.gz: dc364a4823c87eba3d550b839ea5afb2bedca23215cf5f4658886b9c75f542587511c8dce14d4c6fbd6cad165479d62d9c45f71813baf50096711fa75ab393a0
6
+ metadata.gz: bb7ddceaa0989e7af9ce9bd9f7d4e9a6556a0dd7e67742bda2c8589c37d2d737adbf7dfb75a2cd0f629ace08ea8755e8168bfef010c45cc5356e2dd11f3dc184
7
+ data.tar.gz: c0ef08d3fd4b4e3763e97cdaf1c8e305759dccbeb71527ff0b17a24c08e7b10e3210411ca9739833fa1110629b45f9014f4acc3055e3d9e3c9f42bae568beaab
@@ -1,3 +1,7 @@
1
+ ## v0.2.1
2
+
3
+ * Gem 'bootstrap_navbar' was renamed to 'bootstrap-navbar'
4
+
1
5
  ## v0.2.0
2
6
 
3
7
  * Use gem 'bootstrap_navbar' for HTML rendering
@@ -30,4 +34,4 @@ These allow you to add dividers and headers into your dropdowns. Surprisingly en
30
34
  ## v0.1.5.beta
31
35
 
32
36
  * Minor fix - make menu_item link default to "#"
33
- * Readme updates
37
+ * Readme updates
@@ -1,2 +1,2 @@
1
- require 'rails_bootstrap_navbar/version'
2
- require 'rails_bootstrap_navbar/railtie' if defined?(Rails)
1
+ require_relative 'rails_bootstrap_navbar/version'
2
+ require_relative 'rails_bootstrap_navbar/railtie'
@@ -1,9 +1,18 @@
1
1
  require 'bootstrap-navbar'
2
2
 
3
- BootstrapNavbar.current_url_method = if Rails.version >= '3.2'
4
- 'request.original_url'
5
- else
6
- '[request.protocol, request.host_with_port, request.fullpath].join'
3
+ BootstrapNavbar.configure do |config|
4
+ config.current_url_method = if Rails.version >= '3.2'
5
+ 'request.original_url'
6
+ else
7
+ '[request.protocol, request.host_with_port, request.fullpath].join'
8
+ end
9
+
10
+ if Gem.loaded_specs.keys.include?('bootstrap-sass')
11
+ require 'bootstrap-sass/version'
12
+ bootstrap_sass_version = Bootstrap::VERSION
13
+ bootstrap_version = bootstrap_sass_version[0..4]
14
+ config.bootstrap_version = bootstrap_version
15
+ end
7
16
  end
8
17
 
9
18
  module BootstrapNavbar::Helpers
@@ -1,3 +1,3 @@
1
1
  module RailsBootstrapNavbar
2
- VERSION = "0.2.1"
2
+ VERSION = "1.0.0.pre"
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', '~> 0.0.13'
24
+ gem.add_runtime_dependency 'bootstrap-navbar', '~> 1.0.0.pre4'
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: 0.2.1
4
+ version: 1.0.0.pre
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-08-05 00:00:00.000000000 Z
11
+ date: 2013-11-06 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: 0.0.13
75
+ version: 1.0.0.pre4
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: 0.0.13
82
+ version: 1.0.0.pre4
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rails
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -132,12 +132,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - '>='
135
+ - - '>'
136
136
  - !ruby/object:Gem::Version
137
- version: '0'
137
+ version: 1.3.1
138
138
  requirements: []
139
139
  rubyforge_project:
140
- rubygems_version: 2.0.2
140
+ rubygems_version: 2.1.5
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: Generate Bootstrap Navbars in Rails views