breadcrumble 3.0.0.beta → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/breadcrumble.gemspec +1 -1
- data/lib/breadcrumble/action_controller.rb +0 -10
- data/lib/breadcrumble/version.rb +1 -1
- data/spec/dummy/config.ru +1 -1
- data/spec/dummy/config/boot.rb +4 -8
- data/spec/dummy/config/environments/development.rb +2 -0
- data/spec/dummy/config/environments/production.rb +2 -2
- data/spec/dummy/config/environments/test.rb +1 -1
- data/spec/dummy/config/initializers/secret_token.rb +1 -1
- data/spec/dummy/config/initializers/session_store.rb +1 -1
- metadata +11 -8
data/breadcrumble.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = Breadcrumble::VERSION
|
17
17
|
|
18
|
-
gem.add_dependency "rails", ['>= 4.0.0.
|
18
|
+
gem.add_dependency "rails", ['>= 4.0.0.rc1']
|
19
19
|
gem.add_development_dependency "sqlite3"
|
20
20
|
gem.add_development_dependency "rspec-rails"
|
21
21
|
end
|
@@ -12,11 +12,6 @@ module Breadcrumble
|
|
12
12
|
controller.send :add_breadcrumb, name, url
|
13
13
|
end
|
14
14
|
end
|
15
|
-
|
16
|
-
def add_crumb name, url = nil
|
17
|
-
warn "[DEPRECATION] 'add_crumb' is deprecated. Please use 'add_breadcrumb' instead."
|
18
|
-
add_breadcrumb name, url
|
19
|
-
end
|
20
15
|
end
|
21
16
|
|
22
17
|
protected
|
@@ -26,11 +21,6 @@ module Breadcrumble
|
|
26
21
|
@breadcrumbs << { name: name, url: url ? url_for(url) : nil }
|
27
22
|
end
|
28
23
|
|
29
|
-
def add_crumb name, url = nil
|
30
|
-
warn "[DEPRECATION] 'add_crumb' is deprecated. Please use 'add_breadcrumb' instead."
|
31
|
-
add_breadcrumb name, url
|
32
|
-
end
|
33
|
-
|
34
24
|
def breadcrumbs
|
35
25
|
@breadcrumbs
|
36
26
|
end
|
data/lib/breadcrumble/version.rb
CHANGED
data/spec/dummy/config.ru
CHANGED
data/spec/dummy/config/boot.rb
CHANGED
@@ -1,9 +1,5 @@
|
|
1
|
-
|
1
|
+
# Set up gems listed in the Gemfile.
|
2
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
|
2
3
|
|
3
|
-
if File.
|
4
|
-
|
5
|
-
require 'bundler'
|
6
|
-
Bundler.setup
|
7
|
-
end
|
8
|
-
|
9
|
-
$:.unshift File.expand_path('../../../../lib', __FILE__)
|
4
|
+
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
|
5
|
+
$LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
|
@@ -23,5 +23,7 @@ Dummy::Application.configure do
|
|
23
23
|
config.active_record.migration_error = :page_load
|
24
24
|
|
25
25
|
# Debug mode disables concatenation and preprocessing of assets.
|
26
|
+
# This option may cause significant delays in view rendering with a large
|
27
|
+
# number of complex assets.
|
26
28
|
config.assets.debug = true
|
27
29
|
end
|
@@ -23,10 +23,10 @@ Dummy::Application.configure do
|
|
23
23
|
config.serve_static_assets = false
|
24
24
|
|
25
25
|
# Compress JavaScripts and CSS.
|
26
|
-
config.assets.js_compressor
|
26
|
+
config.assets.js_compressor = :uglifier
|
27
27
|
# config.assets.css_compressor = :sass
|
28
28
|
|
29
|
-
#
|
29
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
30
30
|
config.assets.compile = false
|
31
31
|
|
32
32
|
# Generate digests for assets URLs.
|
@@ -13,7 +13,7 @@ Dummy::Application.configure do
|
|
13
13
|
config.eager_load = false
|
14
14
|
|
15
15
|
# Configure static asset server for tests with Cache-Control for performance.
|
16
|
-
config.serve_static_assets
|
16
|
+
config.serve_static_assets = true
|
17
17
|
config.static_cache_control = "public, max-age=3600"
|
18
18
|
|
19
19
|
# Show full error reports and disable caching.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
|
-
# Your secret key for verifying the integrity of signed cookies.
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
4
|
# If you change this key, all old signed cookies will become invalid!
|
5
5
|
|
6
6
|
# Make sure the secret is at least 30 characters and all random,
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: breadcrumble
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0
|
5
|
-
prerelease:
|
4
|
+
version: 3.0.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- ma2ge
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 4.0.0.
|
21
|
+
version: 4.0.0.rc1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 4.0.0.
|
29
|
+
version: 4.0.0.rc1
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: sqlite3
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,13 +125,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
125
125
|
version: '0'
|
126
126
|
segments:
|
127
127
|
- 0
|
128
|
-
hash:
|
128
|
+
hash: -789322070461792342
|
129
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
130
|
none: false
|
131
131
|
requirements:
|
132
|
-
- - ! '
|
132
|
+
- - ! '>='
|
133
133
|
- !ruby/object:Gem::Version
|
134
|
-
version:
|
134
|
+
version: '0'
|
135
|
+
segments:
|
136
|
+
- 0
|
137
|
+
hash: -789322070461792342
|
135
138
|
requirements: []
|
136
139
|
rubyforge_project:
|
137
140
|
rubygems_version: 1.8.23
|