breadcrumb_trail 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -1
- data/README.md +2 -2
- data/breadcrumb_trail.gemspec +2 -2
- data/lib/breadcrumb_trail/breadcrumb.rb +1 -1
- data/lib/breadcrumb_trail/version.rb +1 -1
- data/spec/breadcrumb_spec.rb +1 -1
- metadata +3 -4
- data/lib/tasks/breadcrumb_trail_tasks.rake +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3eead2835ff79cb282a9394183c7605923f6d74
|
4
|
+
data.tar.gz: 24f57b3ffe1fb1dd1cce614c174018551562763e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8f708a07412c375e3e3b3480e2c22b2ae3a96783b36c067f4c9542c47e79c926689f6bd5abb903c626434158854496240933b64d25f3a459d33d7d14faf0cdd
|
7
|
+
data.tar.gz: 292a46246e9c7109f9d54519452daffd1adf6b95e7397e75d87a3a193ba40d2612506df6d8546b8682ffe3b71df12d612e89f37e7afe89b73ffe152e105e1e25
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
[![Code Climate](https://codeclimate.com/github/medcat/breadcrumb_trail/badges/gpa.svg)](https://codeclimate.com/github/medcat/breadcrumb_trail) [![Build Status](https://travis-ci.org/medcat/breadcrumb_trail.svg)](https://travis-ci.org/medcat/breadcrumb_trail) [![Test Coverage](https://codeclimate.com/github/medcat/breadcrumb_trail/badges/coverage.svg)](https://codeclimate.com/github/medcat/breadcrumb_trail)
|
3
3
|
|
4
4
|
Helps you create a breadcrumb system for your Rails application.
|
5
|
-
Better than any other library,
|
5
|
+
Better than any other library, guaranteed<sup>*</sup>.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -133,4 +133,4 @@ builder's `#initialize` via the last argument.
|
|
133
133
|
4. Push to the branch (`git push origin my-new-feature`)
|
134
134
|
5. Create a new Pull Request
|
135
135
|
|
136
|
-
<sup>*</sup>: Not
|
136
|
+
<sup>*</sup>: Not guaranteed.
|
data/breadcrumb_trail.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
|
-
lib = File.expand_path(
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require
|
4
|
+
require "breadcrumb_trail/version"
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "breadcrumb_trail"
|
data/spec/breadcrumb_spec.rb
CHANGED
@@ -27,7 +27,7 @@ RSpec.describe BreadcrumbTrail::Breadcrumb do
|
|
27
27
|
let(:actual_path) { "/" }
|
28
28
|
|
29
29
|
it "returns the called name" do
|
30
|
-
expect(
|
30
|
+
expect(I18n).to receive(:translate).with(:some_name).and_return(actual_name)
|
31
31
|
expect(subject.computed_name(context)).to be actual_name
|
32
32
|
end
|
33
33
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: breadcrumb_trail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Rodi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -122,7 +122,6 @@ files:
|
|
122
122
|
- lib/breadcrumb_trail/builder.rb
|
123
123
|
- lib/breadcrumb_trail/railtie.rb
|
124
124
|
- lib/breadcrumb_trail/version.rb
|
125
|
-
- lib/tasks/breadcrumb_trail_tasks.rake
|
126
125
|
- spec/block_builder_spec.rb
|
127
126
|
- spec/breadcrumb_spec.rb
|
128
127
|
- spec/builder_spec.rb
|
@@ -185,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
184
|
version: '0'
|
186
185
|
requirements: []
|
187
186
|
rubyforge_project:
|
188
|
-
rubygems_version: 2.
|
187
|
+
rubygems_version: 2.4.5
|
189
188
|
signing_key:
|
190
189
|
specification_version: 4
|
191
190
|
summary: A basic breadcrumb trail plugin.
|