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 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.beta1']
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
@@ -1,3 +1,3 @@
1
1
  module Breadcrumble
2
- VERSION = "3.0.0.beta"
2
+ VERSION = "3.0.0"
3
3
  end
data/spec/dummy/config.ru CHANGED
@@ -1,4 +1,4 @@
1
1
  # This file is used by Rack-based servers to start the application.
2
2
 
3
3
  require ::File.expand_path('../config/environment', __FILE__)
4
- run Dummy::Application
4
+ run Rails.application
@@ -1,9 +1,5 @@
1
- gemfile = File.expand_path('../../../../Gemfile', __FILE__)
1
+ # Set up gems listed in the Gemfile.
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
2
3
 
3
- if File.exist?(gemfile)
4
- ENV['BUNDLE_GEMFILE'] = gemfile
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 = :uglifier
26
+ config.assets.js_compressor = :uglifier
27
27
  # config.assets.css_compressor = :sass
28
28
 
29
- # Whether to fallback to assets pipeline if a precompiled asset is missed.
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 = true
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,
@@ -1,3 +1,3 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- Dummy::Application.config.session_store :encrypted_cookie_store, key: '_dummy_session'
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
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.beta
5
- prerelease: 6
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-03-07 00:00:00.000000000 Z
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.beta1
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.beta1
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: 1844892911861684683
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: 1.3.1
134
+ version: '0'
135
+ segments:
136
+ - 0
137
+ hash: -789322070461792342
135
138
  requirements: []
136
139
  rubyforge_project:
137
140
  rubygems_version: 1.8.23