breadcrumbs_on_rails 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f861ee1dec574febf12f825fdf42eb2724cd1533
4
+ data.tar.gz: 18113d4d55b083203257f36ed7c26326116f86e2
5
+ SHA512:
6
+ metadata.gz: 9b09772ae55aa3e5af148d774969e8729c16e69fe334963ee2909b3dfa5b59515b19b73d271c62d176b6a5eb61282d1ea8fb8021a6a5b46141414337b2800e00
7
+ data.tar.gz: ac31a1edcf7894c13da3382789e44082cfbfd9cb8503499bc55a0c6f9514c5b901c894f3b5e1f9bb5f6796d25683eaa55f479a42cb83a9b6e1d6550e2391f70a
data/.gitignore CHANGED
@@ -2,6 +2,7 @@
2
2
  .bundle
3
3
  pkg/*
4
4
  Gemfile.lock
5
+ gemfiles/*.gemfile.lock
5
6
 
6
7
  # YARD
7
8
  .yardoc
@@ -0,0 +1 @@
1
+ breadcrumbs_on_rails
@@ -0,0 +1 @@
1
+ ruby-2.1
@@ -1,12 +1,18 @@
1
1
  rvm:
2
- - 1.8.7
3
2
  - 1.9.2
4
3
  - 1.9.3
5
- - ree
4
+ - 2.0.0
5
+ - 2.1.0
6
+ - 2.2.0
6
7
  gemfile:
7
8
  - gemfiles/3.0.gemfile
8
9
  - gemfiles/3.1.gemfile
9
10
  - gemfiles/3.2.gemfile
11
+ - gemfiles/4.0.gemfile
10
12
  notifications:
11
13
  recipients:
12
- - weppos@weppos.net
14
+ - weppos@weppos.net
15
+ matrix:
16
+ exclude:
17
+ - rvm: 1.9.2
18
+ gemfile: gemfiles/4.0.gemfile
data/Appraisals CHANGED
@@ -1,11 +1,15 @@
1
1
  appraise "3.0" do
2
- gem "activerecord", "~> 3.0"
2
+ gem "activerecord", "~> 3.0.0"
3
3
  end
4
4
 
5
5
  appraise "3.1" do
6
- gem "activerecord", "~> 3.1"
6
+ gem "activerecord", "~> 3.1.0"
7
7
  end
8
8
 
9
9
  appraise "3.2" do
10
- gem "activerecord", "~> 3.2"
11
- end
10
+ gem "activerecord", "~> 3.2.0"
11
+ end
12
+
13
+ appraise "4.0" do
14
+ gem "activerecord", "~> 4.0.0"
15
+ end
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## Release 2.3.1
4
+
5
+ - FIXED: Using `add_breadcrumbs` did not properly pass `options` (GH-46). [Thanks @link664]
6
+
3
7
 
4
8
  ## Release 2.3.0
5
9
 
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
1
+ Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net>
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -1,35 +1,35 @@
1
1
  # Breadcrumbs On Rails
2
+ [![Code Climate](https://codeclimate.com/github/weppos/breadcrumbs_on_rails.png)](https://codeclimate.com/github/weppos/breadcrumbs_on_rails)
2
3
 
3
- *BreadcrumbsOnRails* is a simple Ruby on Rails plugin for creating and managing a breadcrumb navigation for a Rails project.
4
- It provides helpers for creating navigation elements with a flexible interface.
4
+ <tt>BreadcrumbsOnRails</tt> is a simple Ruby on Rails plugin for creating and managing a breadcrumb navigation for a Rails project. It provides helpers for creating navigation elements with a flexible interface.
5
5
 
6
6
 
7
7
  ## Requirements
8
8
 
9
- * Rails 3
9
+ - Rails 3 or Rails 4
10
10
 
11
11
  Please note
12
12
 
13
- * BreadcrumbsOnRails 2.x requires Rails 3. Use BreadcrumbsOnRails 1.x with Rails 2.
14
- * BreadcrumbsOnRails doesn't work with Rails 2.1 or lower.
13
+ - <tt>BreadcrumbsOnRails</tt> 2.x requires Rails 3. Use <tt>BreadcrumbsOnRails</tt> 1.x with Rails 2.
14
+ - <tt>BreadcrumbsOnRails</tt> doesn't work with Rails 2.1 or lower.
15
15
 
16
16
 
17
17
  ## Installation
18
18
 
19
- [RubyGems](http://rubygems.org) is the preferred way to install *BreadcrumbsOnRails* and the best way if you want install a stable version.
19
+ [RubyGems](http://rubygems.org) is the preferred way to install <tt>BreadcrumbsOnRails</tt> and the best way if you want install a stable version.
20
20
 
21
21
  $ gem install breadcrumbs_on_rails
22
22
 
23
- Specify the Gem dependency in the [Bundler](http://gembundler.com) `Gemfile`.
23
+ Specify the Gem dependency in the [Bundler](http://bundler.io/) `Gemfile`.
24
24
 
25
25
  gem "breadcrumbs_on_rails"
26
26
 
27
- Use [Bundler](http://gembundler.com) and the [:git option](http://gembundler.com/v1.0/git.html) if you want to grab the latest version from the Git repository.
27
+ Use [Bundler](http://bundler.io/) and the `:git` option if you want to grab the latest version from the Git repository.
28
28
 
29
29
 
30
30
  ## Basic Usage
31
31
 
32
- Creating a breadcrumb navigation menu in your Rails app using *BreadcrumbsOnRails* is really straightforward.
32
+ Creating a breadcrumb navigation menu in your Rails app using <tt>BreadcrumbsOnRails</tt> is really straightforward.
33
33
 
34
34
  In your controller, call `add_breadcrumb` to push a new element on the breadcrumb stack. `add_breadcrumb` requires two arguments: the name of the breadcrumb and the target path.
35
35
 
@@ -49,6 +49,8 @@ In your controller, call `add_breadcrumb` to push a new element on the breadcrum
49
49
  The third, optional argument is a Hash of options to customize the breadcrumb link.
50
50
 
51
51
  class MyController
52
+ add_breadcrumb "home", :root_path, :options => { :title => "Home" }
53
+
52
54
  def index
53
55
  add_breadcrumb "index", index_path, :title => "Back to the Index"
54
56
  end
@@ -56,11 +58,9 @@ The third, optional argument is a Hash of options to customize the breadcrumb li
56
58
 
57
59
  In your view, you can render the breadcrumb menu with the `render_breadcrumbs` helper.
58
60
 
59
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
60
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
61
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
61
+ <!DOCTYPE html>
62
+ <html>
62
63
  <head>
63
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
64
64
  <title>untitled</title>
65
65
  </head>
66
66
 
@@ -75,25 +75,45 @@ In your view, you can render the breadcrumb menu with the `render_breadcrumbs` h
75
75
  <%= render_breadcrumbs :separator => ' / ' %>
76
76
  </body>
77
77
 
78
+ Current possible options are:
79
+ - `:separator`
80
+ - `:tag`
81
+
82
+ To use with Bootstrap you might use the following:
83
+
84
+ <body>
85
+ <ol class="breadcrumb">
86
+ <%= render_breadcrumbs :tag => :li, :separator => "" %>
87
+ </ol>
88
+ </body>
89
+
78
90
  More complex customizations require a custom Builder.
79
91
 
80
- Read the [documentation](http://www.simonecarletti.com/code/breadcrumbs_on_rails/docs/) to learn more about advanced usage and builders.
92
+ Read the [documentation](http://simonecarletti.com/code/breadcrumbs_on_rails/docs/) to learn more about advanced usage and builders.
81
93
 
82
94
 
83
95
  ## Credits
84
96
 
85
- * [Simone Carletti](http://www.simonecarletti.com/) <weppos@weppos.net> - The Author
97
+ <tt>BreadcrumbsOnRails</tt> was created and is maintained by [Simone Carletti](http://simonecarletti.com/). Many improvements and bugfixes were contributed by the [open source community](https://github.com/weppos/whois/graphs/contributors).
98
+
99
+
100
+ ## Contributing
101
+
102
+ Direct questions and discussions to [Stack Overflow](http://stackoverflow.com/questions/tagged/breadcrumbs-on-rails).
103
+
104
+ [Pull requests](https://github.com/weppos/whois/breadcrumbs_on_rails) are very welcome! Please include tests for every patch, and create a topic branch for every separate change you make.
105
+
106
+ Report issues or feature requests to [GitHub Issues](https://github.com/weppos/breadcrumbs_on_rails/issues).
86
107
 
87
108
 
88
- ## Resources
109
+ ## More Information
89
110
 
90
- * [Homepage](http://www.simonecarletti.com/code/breadcrumbs_on_rails)
91
- * [Documentation](http://www.simonecarletti.com/code/breadcrumbs_on_rails/docs/)
92
- * [API](http://rubydoc.info/gems/breadcrumbs_on_rails)
93
- * [Repository](https://github.com/weppos/breadcrumbs_on_rails)
94
- * [Issue Tracker](http://github.com/weppos/breadcrumbs_on_rails/issues)
111
+ - [Homepage](http://simonecarletti.com/code/breadcrumbs_on_rails)
112
+ - [RubyGems](http://rubygems.org/gems/breadcrumbs_on_rails)
113
+ - [Documentation](http://simonecarletti.com/code/breadcrumbs_on_rails/docs/)
114
+ - [Issues](https://github.com/weppos/breadcrumbs_on_rails/issues)
95
115
 
96
116
 
97
117
  ## License
98
118
 
99
- *BreadcrumbsOnRails* is Copyright (c) 2009-2012 Simone Carletti. This is Free Software distributed under the MIT license.
119
+ <tt>BreadcrumbsOnRails</tt> is Copyright (c) 2009-2014 Simone Carletti. This is Free Software distributed under the MIT license.
data/Rakefile CHANGED
@@ -29,7 +29,7 @@ spec = Gem::Specification.new do |s|
29
29
 
30
30
  s.add_development_dependency "rails", ">= 3.0"
31
31
  s.add_development_dependency "appraisal"
32
- s.add_development_dependency "mocha", "~> 0.9.10"
32
+ s.add_development_dependency "mocha", "~> 1.0.0"
33
33
  s.add_development_dependency "yard"
34
34
  end
35
35
 
@@ -6,34 +6,34 @@ Gem::Specification.new do |s|
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Simone Carletti"]
9
- s.date = "2012-12-25"
9
+ s.date = "2014-01-25"
10
10
  s.description = "BreadcrumbsOnRails is a simple Ruby on Rails plugin for creating and managing a breadcrumb navigation for a Rails project."
11
11
  s.email = "weppos@weppos.net"
12
- s.files = [".gitignore", ".rvmrc", ".travis.yml", "Appraisals", "CHANGELOG.md", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "breadcrumbs_on_rails.gemspec", "gemfiles/3.0.gemfile", "gemfiles/3.0.gemfile.lock", "gemfiles/3.1.gemfile", "gemfiles/3.1.gemfile.lock", "gemfiles/3.2.gemfile", "gemfiles/3.2.gemfile.lock", "init.rb", "lib/breadcrumbs_on_rails.rb", "lib/breadcrumbs_on_rails/action_controller.rb", "lib/breadcrumbs_on_rails/breadcrumbs.rb", "lib/breadcrumbs_on_rails/railtie.rb", "lib/breadcrumbs_on_rails/version.rb", "test/dummy.rb", "test/test_helper.rb", "test/unit/action_controller_test.rb", "test/unit/builder_test.rb", "test/unit/element_test.rb", "test/unit/simple_builder_test.rb", "test/views/example/default.html.erb"]
12
+ s.files = [".gitignore", ".ruby-gemset", ".ruby-version", ".travis.yml", "Appraisals", "CHANGELOG.md", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "breadcrumbs_on_rails.gemspec", "gemfiles/3.0.gemfile", "gemfiles/3.1.gemfile", "gemfiles/3.2.gemfile", "gemfiles/4.0.gemfile", "init.rb", "lib/breadcrumbs_on_rails.rb", "lib/breadcrumbs_on_rails/action_controller.rb", "lib/breadcrumbs_on_rails/breadcrumbs.rb", "lib/breadcrumbs_on_rails/railtie.rb", "lib/breadcrumbs_on_rails/version.rb", "test/dummy.rb", "test/test_helper.rb", "test/unit/action_controller_test.rb", "test/unit/builder_test.rb", "test/unit/element_test.rb", "test/unit/simple_builder_test.rb", "test/views/example/default.html.erb"]
13
13
  s.homepage = "http://www.simonecarletti.com/code/breadcrumbs_on_rails"
14
14
  s.require_paths = ["lib"]
15
- s.rubygems_version = "1.8.24"
15
+ s.rubygems_version = "2.0.14"
16
16
  s.summary = "A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation."
17
17
  s.test_files = ["test/dummy.rb", "test/test_helper.rb", "test/unit/action_controller_test.rb", "test/unit/builder_test.rb", "test/unit/element_test.rb", "test/unit/simple_builder_test.rb", "test/views/example/default.html.erb"]
18
18
 
19
19
  if s.respond_to? :specification_version then
20
- s.specification_version = 3
20
+ s.specification_version = 4
21
21
 
22
22
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
23
23
  s.add_development_dependency(%q<rails>, [">= 3.0"])
24
24
  s.add_development_dependency(%q<appraisal>, [">= 0"])
25
- s.add_development_dependency(%q<mocha>, ["~> 0.9.10"])
25
+ s.add_development_dependency(%q<mocha>, ["~> 1.0.0"])
26
26
  s.add_development_dependency(%q<yard>, [">= 0"])
27
27
  else
28
28
  s.add_dependency(%q<rails>, [">= 3.0"])
29
29
  s.add_dependency(%q<appraisal>, [">= 0"])
30
- s.add_dependency(%q<mocha>, ["~> 0.9.10"])
30
+ s.add_dependency(%q<mocha>, ["~> 1.0.0"])
31
31
  s.add_dependency(%q<yard>, [">= 0"])
32
32
  end
33
33
  else
34
34
  s.add_dependency(%q<rails>, [">= 3.0"])
35
35
  s.add_dependency(%q<appraisal>, [">= 0"])
36
- s.add_dependency(%q<mocha>, ["~> 0.9.10"])
36
+ s.add_dependency(%q<mocha>, ["~> 1.0.0"])
37
37
  s.add_dependency(%q<yard>, [">= 0"])
38
38
  end
39
39
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "activerecord", "~> 3.0"
5
+ gem "activerecord", "~> 3.0.0"
6
6
 
7
7
  gemspec :path=>"../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "activerecord", "~> 3.1"
5
+ gem "activerecord", "~> 3.1.0"
6
6
 
7
7
  gemspec :path=>"../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "activerecord", "~> 3.2"
5
+ gem "activerecord", "~> 3.2.0"
6
6
 
7
7
  gemspec :path=>"../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "activerecord", "~> 4.0.0"
6
+
7
+ gemspec :path=>"../"
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation.
5
5
  #
6
- # Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
6
+ # Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net>
7
7
  #++
8
8
 
9
9
  require 'breadcrumbs_on_rails/breadcrumbs'
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation.
5
5
  #
6
- # Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
6
+ # Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net>
7
7
  #++
8
8
 
9
9
  module BreadcrumbsOnRails
@@ -37,7 +37,7 @@ module BreadcrumbsOnRails
37
37
  end
38
38
  end
39
39
 
40
- # This is an horrible method with an horrible name.
40
+ # This is a horrible method with a horrible name.
41
41
  #
42
42
  # convert_to_set_of_strings(nil, [:foo, :bar])
43
43
  # # => nil
@@ -67,8 +67,10 @@ module BreadcrumbsOnRails
67
67
  path = Utils.instance_proc(path) if eval.include?("path")
68
68
  end
69
69
 
70
+ element_options = filter_options.delete(:options) || {}
71
+
70
72
  before_filter(filter_options) do |controller|
71
- controller.send(:add_breadcrumb, name, path)
73
+ controller.send(:add_breadcrumb, name, path, element_options)
72
74
  end
73
75
  end
74
76
 
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation.
5
5
  #
6
- # Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
6
+ # Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net>
7
7
  #++
8
8
 
9
9
  module BreadcrumbsOnRails
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation.
5
5
  #
6
- # Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
6
+ # Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net>
7
7
  #++
8
8
 
9
9
  module BreadcrumbsOnRails
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation.
5
5
  #
6
- # Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
6
+ # Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net>
7
7
  #++
8
8
 
9
9
  module BreadcrumbsOnRails
@@ -11,7 +11,7 @@ module BreadcrumbsOnRails
11
11
  module Version
12
12
  MAJOR = 2
13
13
  MINOR = 3
14
- PATCH = 0
14
+ PATCH = 1
15
15
  BUILD = nil
16
16
 
17
17
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
@@ -8,7 +8,7 @@ require "rails/railtie"
8
8
  class Dummy
9
9
  Routes = ActionDispatch::Routing::RouteSet.new
10
10
  Routes.draw do
11
- match ':controller(/:action(/:id))'
11
+ match ':controller(/:action(/:id))', via: [:get]
12
12
  end
13
13
  end
14
14
 
@@ -1,5 +1,5 @@
1
- require 'test/unit'
2
- require 'mocha'
1
+ require 'minitest/autorun'
2
+ require 'mocha/setup'
3
3
  require 'dummy'
4
4
 
5
5
  $:.unshift File.expand_path('../../lib', __FILE__)
@@ -16,7 +16,7 @@ class ExampleController < ActionController::Base
16
16
  def action_compute_paths
17
17
  add_breadcrumb "String", "/"
18
18
  add_breadcrumb "Proc", proc { |c| "/?proc" }
19
- add_breadcrumb "Polymorfic", [:admin, :namespace]
19
+ add_breadcrumb "Polymorphic", [:admin, :namespace]
20
20
  execute("action_default")
21
21
  end
22
22
 
@@ -30,7 +30,7 @@ class ExampleController < ActionController::Base
30
30
  end
31
31
 
32
32
  def admin_namespace_path(*)
33
- "/?polymorfic"
33
+ "/?polymorphic"
34
34
  end
35
35
  helper_method :admin_namespace_path
36
36
 
@@ -47,12 +47,49 @@ class ExampleControllerTest < ActionController::TestCase
47
47
 
48
48
  def test_render_compute_paths
49
49
  get :action_compute_paths
50
- assert_dom_equal %(<a href="/">String</a> &raquo; <a href="/?proc">Proc</a> &raquo; <a href="/?polymorfic">Polymorfic</a>),
50
+ assert_dom_equal %(<a href="/">String</a> &raquo; <a href="/?proc">Proc</a> &raquo; <a href="/?polymorphic">Polymorphic</a>),
51
51
  @response.body
52
52
  end
53
53
 
54
54
  end
55
55
 
56
+ class ClassLevelExampleController < ActionController::Base
57
+ include BreadcrumbsOnRails::ActionController
58
+
59
+ add_breadcrumb "String", "/"
60
+ add_breadcrumb "Proc", proc { |c| "/?proc" }
61
+ add_breadcrumb "Polymorphic", [:admin, :namespace]
62
+ add_breadcrumb "With options", "/", :options => { :title => "Awesome" }
63
+
64
+ def action_default
65
+ render 'example/default'
66
+ end
67
+
68
+ private
69
+
70
+ def admin_namespace_path(*)
71
+ "/?polymorphic"
72
+ end
73
+ helper_method :admin_namespace_path
74
+
75
+ end
76
+
77
+ class ClassLevelExampleControllerTest < ActionController::TestCase
78
+
79
+ def test_render_default
80
+ expected = [].tap { |links|
81
+ links << "<a href=\"/\">String</a>"
82
+ links << "<a href=\"/?proc\">Proc</a>"
83
+ links << "<a href=\"/?polymorphic\">Polymorphic</a>"
84
+ links << "<a href=\"/\" title=\"Awesome\">With options</a>"
85
+ }
86
+
87
+ get :action_default
88
+ assert_dom_equal %(#{expected.join(" &raquo; ")}), @response.body
89
+ end
90
+
91
+ end
92
+
56
93
  class ExampleHelpersTest < ActionView::TestCase
57
94
  tests BreadcrumbsOnRails::ActionController::HelperMethods
58
95
  include ActionView::Helpers::TagHelper
metadata CHANGED
@@ -1,78 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breadcrumbs_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
5
- prerelease:
4
+ version: 2.3.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Simone Carletti
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-12-25 00:00:00.000000000 Z
11
+ date: 2015-08-06 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '3.0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: appraisal
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: mocha
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: 0.9.10
47
+ version: 1.0.0
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
- version: 0.9.10
54
+ version: 1.0.0
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: yard
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  description: BreadcrumbsOnRails is a simple Ruby on Rails plugin for creating and
@@ -82,9 +73,10 @@ executables: []
82
73
  extensions: []
83
74
  extra_rdoc_files: []
84
75
  files:
85
- - .gitignore
86
- - .rvmrc
87
- - .travis.yml
76
+ - ".gitignore"
77
+ - ".ruby-gemset"
78
+ - ".ruby-version"
79
+ - ".travis.yml"
88
80
  - Appraisals
89
81
  - CHANGELOG.md
90
82
  - Gemfile
@@ -93,11 +85,9 @@ files:
93
85
  - Rakefile
94
86
  - breadcrumbs_on_rails.gemspec
95
87
  - gemfiles/3.0.gemfile
96
- - gemfiles/3.0.gemfile.lock
97
88
  - gemfiles/3.1.gemfile
98
- - gemfiles/3.1.gemfile.lock
99
89
  - gemfiles/3.2.gemfile
100
- - gemfiles/3.2.gemfile.lock
90
+ - gemfiles/4.0.gemfile
101
91
  - init.rb
102
92
  - lib/breadcrumbs_on_rails.rb
103
93
  - lib/breadcrumbs_on_rails/action_controller.rb
@@ -113,27 +103,26 @@ files:
113
103
  - test/views/example/default.html.erb
114
104
  homepage: http://www.simonecarletti.com/code/breadcrumbs_on_rails
115
105
  licenses: []
106
+ metadata: {}
116
107
  post_install_message:
117
108
  rdoc_options: []
118
109
  require_paths:
119
110
  - lib
120
111
  required_ruby_version: !ruby/object:Gem::Requirement
121
- none: false
122
112
  requirements:
123
- - - ! '>='
113
+ - - ">="
124
114
  - !ruby/object:Gem::Version
125
115
  version: '0'
126
116
  required_rubygems_version: !ruby/object:Gem::Requirement
127
- none: false
128
117
  requirements:
129
- - - ! '>='
118
+ - - ">="
130
119
  - !ruby/object:Gem::Version
131
120
  version: '0'
132
121
  requirements: []
133
122
  rubyforge_project:
134
- rubygems_version: 1.8.24
123
+ rubygems_version: 2.4.7
135
124
  signing_key:
136
- specification_version: 3
125
+ specification_version: 4
137
126
  summary: A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation.
138
127
  test_files:
139
128
  - test/dummy.rb
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm use @breadcrumbs_on_rails --create
@@ -1,100 +0,0 @@
1
- PATH
2
- remote: /Users/weppos/Code/breadcrumbs_on_rails
3
- specs:
4
- breadcrumbs_on_rails (2.1.0)
5
-
6
- GEM
7
- remote: http://rubygems.org/
8
- specs:
9
- actionmailer (3.2.1)
10
- actionpack (= 3.2.1)
11
- mail (~> 2.4.0)
12
- actionpack (3.2.1)
13
- activemodel (= 3.2.1)
14
- activesupport (= 3.2.1)
15
- builder (~> 3.0.0)
16
- erubis (~> 2.7.0)
17
- journey (~> 1.0.1)
18
- rack (~> 1.4.0)
19
- rack-cache (~> 1.1)
20
- rack-test (~> 0.6.1)
21
- sprockets (~> 2.1.2)
22
- activemodel (3.2.1)
23
- activesupport (= 3.2.1)
24
- builder (~> 3.0.0)
25
- activerecord (3.2.1)
26
- activemodel (= 3.2.1)
27
- activesupport (= 3.2.1)
28
- arel (~> 3.0.0)
29
- tzinfo (~> 0.3.29)
30
- activeresource (3.2.1)
31
- activemodel (= 3.2.1)
32
- activesupport (= 3.2.1)
33
- activesupport (3.2.1)
34
- i18n (~> 0.6)
35
- multi_json (~> 1.0)
36
- appraisal (0.4.0)
37
- bundler
38
- rake
39
- arel (3.0.0)
40
- builder (3.0.0)
41
- erubis (2.7.0)
42
- hike (1.2.1)
43
- i18n (0.6.0)
44
- journey (1.0.1)
45
- json (1.6.5)
46
- mail (2.4.1)
47
- i18n (>= 0.4.0)
48
- mime-types (~> 1.16)
49
- treetop (~> 1.4.8)
50
- mime-types (1.17.2)
51
- mocha (0.9.12)
52
- multi_json (1.0.4)
53
- polyglot (0.3.3)
54
- rack (1.4.1)
55
- rack-cache (1.1)
56
- rack (>= 0.4)
57
- rack-ssl (1.3.2)
58
- rack
59
- rack-test (0.6.1)
60
- rack (>= 1.0)
61
- rails (3.2.1)
62
- actionmailer (= 3.2.1)
63
- actionpack (= 3.2.1)
64
- activerecord (= 3.2.1)
65
- activeresource (= 3.2.1)
66
- activesupport (= 3.2.1)
67
- bundler (~> 1.0)
68
- railties (= 3.2.1)
69
- railties (3.2.1)
70
- actionpack (= 3.2.1)
71
- activesupport (= 3.2.1)
72
- rack-ssl (~> 1.3.2)
73
- rake (>= 0.8.7)
74
- rdoc (~> 3.4)
75
- thor (~> 0.14.6)
76
- rake (0.9.2.2)
77
- rdoc (3.12)
78
- json (~> 1.4)
79
- sprockets (2.1.2)
80
- hike (~> 1.2)
81
- rack (~> 1.0)
82
- tilt (~> 1.1, != 1.3.0)
83
- thor (0.14.6)
84
- tilt (1.3.3)
85
- treetop (1.4.10)
86
- polyglot
87
- polyglot (>= 0.3.1)
88
- tzinfo (0.3.31)
89
- yard (0.7.5)
90
-
91
- PLATFORMS
92
- ruby
93
-
94
- DEPENDENCIES
95
- activerecord (~> 3.0)
96
- appraisal
97
- breadcrumbs_on_rails!
98
- mocha (~> 0.9.10)
99
- rails (>= 3.0)
100
- yard
@@ -1,100 +0,0 @@
1
- PATH
2
- remote: /Users/weppos/Code/breadcrumbs_on_rails
3
- specs:
4
- breadcrumbs_on_rails (2.1.0)
5
-
6
- GEM
7
- remote: http://rubygems.org/
8
- specs:
9
- actionmailer (3.2.1)
10
- actionpack (= 3.2.1)
11
- mail (~> 2.4.0)
12
- actionpack (3.2.1)
13
- activemodel (= 3.2.1)
14
- activesupport (= 3.2.1)
15
- builder (~> 3.0.0)
16
- erubis (~> 2.7.0)
17
- journey (~> 1.0.1)
18
- rack (~> 1.4.0)
19
- rack-cache (~> 1.1)
20
- rack-test (~> 0.6.1)
21
- sprockets (~> 2.1.2)
22
- activemodel (3.2.1)
23
- activesupport (= 3.2.1)
24
- builder (~> 3.0.0)
25
- activerecord (3.2.1)
26
- activemodel (= 3.2.1)
27
- activesupport (= 3.2.1)
28
- arel (~> 3.0.0)
29
- tzinfo (~> 0.3.29)
30
- activeresource (3.2.1)
31
- activemodel (= 3.2.1)
32
- activesupport (= 3.2.1)
33
- activesupport (3.2.1)
34
- i18n (~> 0.6)
35
- multi_json (~> 1.0)
36
- appraisal (0.4.0)
37
- bundler
38
- rake
39
- arel (3.0.0)
40
- builder (3.0.0)
41
- erubis (2.7.0)
42
- hike (1.2.1)
43
- i18n (0.6.0)
44
- journey (1.0.1)
45
- json (1.6.5)
46
- mail (2.4.1)
47
- i18n (>= 0.4.0)
48
- mime-types (~> 1.16)
49
- treetop (~> 1.4.8)
50
- mime-types (1.17.2)
51
- mocha (0.9.12)
52
- multi_json (1.0.4)
53
- polyglot (0.3.3)
54
- rack (1.4.1)
55
- rack-cache (1.1)
56
- rack (>= 0.4)
57
- rack-ssl (1.3.2)
58
- rack
59
- rack-test (0.6.1)
60
- rack (>= 1.0)
61
- rails (3.2.1)
62
- actionmailer (= 3.2.1)
63
- actionpack (= 3.2.1)
64
- activerecord (= 3.2.1)
65
- activeresource (= 3.2.1)
66
- activesupport (= 3.2.1)
67
- bundler (~> 1.0)
68
- railties (= 3.2.1)
69
- railties (3.2.1)
70
- actionpack (= 3.2.1)
71
- activesupport (= 3.2.1)
72
- rack-ssl (~> 1.3.2)
73
- rake (>= 0.8.7)
74
- rdoc (~> 3.4)
75
- thor (~> 0.14.6)
76
- rake (0.9.2.2)
77
- rdoc (3.12)
78
- json (~> 1.4)
79
- sprockets (2.1.2)
80
- hike (~> 1.2)
81
- rack (~> 1.0)
82
- tilt (~> 1.1, != 1.3.0)
83
- thor (0.14.6)
84
- tilt (1.3.3)
85
- treetop (1.4.10)
86
- polyglot
87
- polyglot (>= 0.3.1)
88
- tzinfo (0.3.31)
89
- yard (0.7.5)
90
-
91
- PLATFORMS
92
- ruby
93
-
94
- DEPENDENCIES
95
- activerecord (~> 3.1)
96
- appraisal
97
- breadcrumbs_on_rails!
98
- mocha (~> 0.9.10)
99
- rails (>= 3.0)
100
- yard
@@ -1,100 +0,0 @@
1
- PATH
2
- remote: /Users/weppos/Code/breadcrumbs_on_rails
3
- specs:
4
- breadcrumbs_on_rails (2.1.0)
5
-
6
- GEM
7
- remote: http://rubygems.org/
8
- specs:
9
- actionmailer (3.2.1)
10
- actionpack (= 3.2.1)
11
- mail (~> 2.4.0)
12
- actionpack (3.2.1)
13
- activemodel (= 3.2.1)
14
- activesupport (= 3.2.1)
15
- builder (~> 3.0.0)
16
- erubis (~> 2.7.0)
17
- journey (~> 1.0.1)
18
- rack (~> 1.4.0)
19
- rack-cache (~> 1.1)
20
- rack-test (~> 0.6.1)
21
- sprockets (~> 2.1.2)
22
- activemodel (3.2.1)
23
- activesupport (= 3.2.1)
24
- builder (~> 3.0.0)
25
- activerecord (3.2.1)
26
- activemodel (= 3.2.1)
27
- activesupport (= 3.2.1)
28
- arel (~> 3.0.0)
29
- tzinfo (~> 0.3.29)
30
- activeresource (3.2.1)
31
- activemodel (= 3.2.1)
32
- activesupport (= 3.2.1)
33
- activesupport (3.2.1)
34
- i18n (~> 0.6)
35
- multi_json (~> 1.0)
36
- appraisal (0.4.0)
37
- bundler
38
- rake
39
- arel (3.0.0)
40
- builder (3.0.0)
41
- erubis (2.7.0)
42
- hike (1.2.1)
43
- i18n (0.6.0)
44
- journey (1.0.1)
45
- json (1.6.5)
46
- mail (2.4.1)
47
- i18n (>= 0.4.0)
48
- mime-types (~> 1.16)
49
- treetop (~> 1.4.8)
50
- mime-types (1.17.2)
51
- mocha (0.9.12)
52
- multi_json (1.0.4)
53
- polyglot (0.3.3)
54
- rack (1.4.1)
55
- rack-cache (1.1)
56
- rack (>= 0.4)
57
- rack-ssl (1.3.2)
58
- rack
59
- rack-test (0.6.1)
60
- rack (>= 1.0)
61
- rails (3.2.1)
62
- actionmailer (= 3.2.1)
63
- actionpack (= 3.2.1)
64
- activerecord (= 3.2.1)
65
- activeresource (= 3.2.1)
66
- activesupport (= 3.2.1)
67
- bundler (~> 1.0)
68
- railties (= 3.2.1)
69
- railties (3.2.1)
70
- actionpack (= 3.2.1)
71
- activesupport (= 3.2.1)
72
- rack-ssl (~> 1.3.2)
73
- rake (>= 0.8.7)
74
- rdoc (~> 3.4)
75
- thor (~> 0.14.6)
76
- rake (0.9.2.2)
77
- rdoc (3.12)
78
- json (~> 1.4)
79
- sprockets (2.1.2)
80
- hike (~> 1.2)
81
- rack (~> 1.0)
82
- tilt (~> 1.1, != 1.3.0)
83
- thor (0.14.6)
84
- tilt (1.3.3)
85
- treetop (1.4.10)
86
- polyglot
87
- polyglot (>= 0.3.1)
88
- tzinfo (0.3.31)
89
- yard (0.7.5)
90
-
91
- PLATFORMS
92
- ruby
93
-
94
- DEPENDENCIES
95
- activerecord (~> 3.2)
96
- appraisal
97
- breadcrumbs_on_rails!
98
- mocha (~> 0.9.10)
99
- rails (>= 3.0)
100
- yard