gretel 3.0.8 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.gitignore +11 -7
- data/.travis.yml +12 -8
- data/CHANGELOG.md +33 -1
- data/Gemfile +2 -13
- data/LICENSE.txt +2 -2
- data/README.md +31 -62
- data/Rakefile +3 -7
- data/coverage/coverage.txt +5 -0
- data/gretel.gemspec +13 -11
- data/lib/gretel.rb +2 -29
- data/lib/gretel/crumb.rb +5 -2
- data/lib/gretel/crumbs.rb +26 -7
- data/lib/gretel/railtie.rb +11 -0
- data/lib/gretel/renderer.rb +46 -27
- data/lib/gretel/version.rb +2 -2
- data/lib/gretel/view_helpers.rb +2 -0
- metadata +83 -109
- data/gemfiles/Gemfile-rails.3.2.x +0 -17
- data/gemfiles/Gemfile-rails.4.0.x +0 -17
- data/gemfiles/Gemfile-rails.4.1.x +0 -17
- data/lib/gretel/deprecated.rb +0 -1
- data/lib/gretel/deprecated/default_style_key.rb +0 -11
- data/lib/gretel/deprecated/layout.rb +0 -15
- data/lib/gretel/deprecated/show_root_alone.rb +0 -12
- data/lib/gretel/deprecated/yield_links.rb +0 -20
- data/test/deprecated_test.rb +0 -45
- data/test/dummy/Rakefile +0 -7
- data/test/dummy/app/assets/javascripts/application.js +0 -15
- data/test/dummy/app/assets/stylesheets/application.css +0 -13
- data/test/dummy/app/controllers/application_controller.rb +0 -3
- data/test/dummy/app/helpers/application_helper.rb +0 -5
- data/test/dummy/app/mailers/.gitkeep +0 -0
- data/test/dummy/app/models/.gitkeep +0 -0
- data/test/dummy/app/models/issue.rb +0 -3
- data/test/dummy/app/models/project.rb +0 -3
- data/test/dummy/app/views/breadcrumbs/site.rb +0 -3
- data/test/dummy/config.ru +0 -4
- data/test/dummy/config/application.rb +0 -14
- data/test/dummy/config/boot.rb +0 -10
- data/test/dummy/config/breadcrumbs.rb +0 -3
- data/test/dummy/config/breadcrumbs/test_crumbs.rb +0 -85
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -2
- data/test/dummy/config/environments/production.rb +0 -2
- data/test/dummy/config/environments/test.rb +0 -2
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/inflections.rb +0 -15
- data/test/dummy/config/initializers/mime_types.rb +0 -5
- data/test/dummy/config/initializers/secret_token.rb +0 -7
- data/test/dummy/config/initializers/session_store.rb +0 -8
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -5
- data/test/dummy/config/routes.rb +0 -11
- data/test/dummy/db/migrate/20130122163007_create_projects.rb +0 -9
- data/test/dummy/db/migrate/20130122163051_create_issues.rb +0 -10
- data/test/dummy/db/schema.rb +0 -29
- data/test/dummy/lib/assets/.gitkeep +0 -0
- data/test/dummy/log/.gitkeep +0 -0
- data/test/dummy/public/404.html +0 -26
- data/test/dummy/public/422.html +0 -26
- data/test/dummy/public/500.html +0 -25
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +0 -6
- data/test/fixtures/issues.yml +0 -4
- data/test/fixtures/projects.yml +0 -3
- data/test/gretel_test.rb +0 -24
- data/test/helper_methods_test.rb +0 -539
- data/test/test_helper.rb +0 -15
data/lib/gretel/crumbs.rb
CHANGED
@@ -3,11 +3,6 @@ module Gretel
|
|
3
3
|
class << self
|
4
4
|
include Resettable
|
5
5
|
|
6
|
-
# Stores the supplied block for later use.
|
7
|
-
def crumb(key, &block)
|
8
|
-
crumbs[key] = block
|
9
|
-
end
|
10
|
-
|
11
6
|
# Returns a hash of all stored crumb blocks.
|
12
7
|
def crumbs
|
13
8
|
@crumbs ||= {}
|
@@ -20,14 +15,15 @@ module Gretel
|
|
20
15
|
|
21
16
|
# Loads the breadcrumb configuration files.
|
22
17
|
def load_breadcrumbs
|
23
|
-
|
18
|
+
builder = Builder.new
|
24
19
|
|
25
20
|
loaded_file_mtimes.clear
|
26
21
|
breadcrumb_files.each do |file|
|
27
|
-
instance_eval open(file).read, file
|
22
|
+
builder.instance_eval open(file).read, file
|
28
23
|
loaded_file_mtimes << File.mtime(file)
|
29
24
|
end
|
30
25
|
|
26
|
+
@crumbs = builder.crumbs
|
31
27
|
@loaded = true
|
32
28
|
end
|
33
29
|
|
@@ -59,6 +55,29 @@ module Gretel
|
|
59
55
|
def loaded_file_mtimes
|
60
56
|
@loaded_file_mtimes ||= []
|
61
57
|
end
|
58
|
+
|
59
|
+
class Builder
|
60
|
+
attr_reader :crumbs
|
61
|
+
|
62
|
+
def initialize
|
63
|
+
@crumbs = {}
|
64
|
+
end
|
65
|
+
|
66
|
+
# Stores the supplied block for later use.
|
67
|
+
def crumb(key, &block)
|
68
|
+
crumbs[key] = block
|
69
|
+
end
|
70
|
+
|
71
|
+
# Returns a hash of all stored crumb blocks.
|
72
|
+
def crumbs
|
73
|
+
@crumbs ||= {}
|
74
|
+
end
|
75
|
+
|
76
|
+
# Returns true if a crumb with the given key has been set.
|
77
|
+
def crumb_defined?(key)
|
78
|
+
crumbs.has_key?(key)
|
79
|
+
end
|
80
|
+
end
|
62
81
|
end
|
63
82
|
end
|
64
83
|
end
|
data/lib/gretel/renderer.rb
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
require 'gretel/crumbs'
|
2
|
+
require 'gretel/crumb'
|
3
|
+
|
1
4
|
module Gretel
|
2
5
|
class Renderer
|
3
6
|
DEFAULT_OPTIONS = {
|
@@ -8,6 +11,7 @@ module Gretel
|
|
8
11
|
autoroot: true,
|
9
12
|
display_single_fragment: false,
|
10
13
|
link_current: false,
|
14
|
+
link_current_to_request_path: true,
|
11
15
|
semantic: false,
|
12
16
|
class: "breadcrumbs",
|
13
17
|
current_class: "current",
|
@@ -21,6 +25,7 @@ module Gretel
|
|
21
25
|
ol: { container_tag: :ol, fragment_tag: :li },
|
22
26
|
ul: { container_tag: :ul, fragment_tag: :li },
|
23
27
|
bootstrap: { container_tag: :ol, fragment_tag: :li, class: "breadcrumb", current_class: "active" },
|
28
|
+
bootstrap4: { container_tag: :ol, fragment_tag: :li, class: "breadcrumb", fragment_class: "breadcrumb-item", current_class: "active" },
|
24
29
|
foundation5: { container_tag: :ul, fragment_tag: :li, class: "breadcrumbs", current_class: "current" }
|
25
30
|
}
|
26
31
|
|
@@ -38,11 +43,6 @@ module Gretel
|
|
38
43
|
LinkCollection.new(context, links, options)
|
39
44
|
end
|
40
45
|
|
41
|
-
# Yields links with applied options.
|
42
|
-
def yield_links(options = {})
|
43
|
-
yield render(options)
|
44
|
-
end
|
45
|
-
|
46
46
|
# Returns the parent breadcrumb.
|
47
47
|
def parent_breadcrumb(options = {})
|
48
48
|
render(options)[-2]
|
@@ -84,7 +84,7 @@ module Gretel
|
|
84
84
|
end
|
85
85
|
|
86
86
|
# Set current link to actual path
|
87
|
-
if out.any? && request
|
87
|
+
if options[:link_current_to_request_path] && out.any? && request
|
88
88
|
out.last.url = request.fullpath
|
89
89
|
end
|
90
90
|
|
@@ -111,7 +111,7 @@ module Gretel
|
|
111
111
|
|
112
112
|
# Links of first crumb
|
113
113
|
links = crumb.links.dup
|
114
|
-
|
114
|
+
|
115
115
|
# Get parent links
|
116
116
|
links.unshift *parent_links_for(crumb)
|
117
117
|
|
@@ -137,9 +137,9 @@ module Gretel
|
|
137
137
|
|
138
138
|
class << self
|
139
139
|
include Resettable
|
140
|
-
|
140
|
+
|
141
141
|
# Registers a style for later use.
|
142
|
-
#
|
142
|
+
#
|
143
143
|
# Gretel::Renderer.register_style :ul, { container_tag: :ul, fragment_tag: :li }
|
144
144
|
def register_style(style_key, options)
|
145
145
|
styles[style_key] = options
|
@@ -169,13 +169,14 @@ module Gretel
|
|
169
169
|
return "" if links.empty?
|
170
170
|
|
171
171
|
# Loop through all but the last (current) link and build HTML of the fragments
|
172
|
-
fragments = links[0..-2].map do |link|
|
173
|
-
render_fragment(options[:fragment_tag], link.text, link.url, options[:semantic])
|
172
|
+
fragments = links[0..-2].map.with_index do |link, index|
|
173
|
+
render_fragment(options[:fragment_tag], link.text, link.url, options[:semantic], index + 1, fragment_class: options[:fragment_class])
|
174
174
|
end
|
175
175
|
|
176
176
|
# The current link is handled a little differently, and is only linked if specified in the options
|
177
177
|
current_link = links.last
|
178
|
-
|
178
|
+
position = links.size
|
179
|
+
fragments << render_fragment(options[:fragment_tag], current_link.text, (options[:link_current] ? current_link.url : nil), options[:semantic], position, fragment_class: options[:fragment_class], class: options[:current_class], current_link: current_link.url)
|
179
180
|
|
180
181
|
# Build the final HTML
|
181
182
|
html_fragments = []
|
@@ -191,42 +192,55 @@ module Gretel
|
|
191
192
|
end
|
192
193
|
|
193
194
|
html = html_fragments.join(" ").html_safe
|
194
|
-
|
195
|
+
|
196
|
+
if options[:semantic]
|
197
|
+
content_tag(options[:container_tag], html, id: options[:id], class: options[:class], itemscope: "", itemtype: "https://schema.org/BreadcrumbList")
|
198
|
+
else
|
199
|
+
content_tag(options[:container_tag], html, id: options[:id], class: options[:class])
|
200
|
+
end
|
195
201
|
end
|
196
202
|
|
197
203
|
alias :to_s :render
|
198
204
|
|
199
205
|
# Renders HTML for a breadcrumb fragment, i.e. a breadcrumb link.
|
200
|
-
def render_fragment(fragment_tag, text, url, semantic, options = {})
|
206
|
+
def render_fragment(fragment_tag, text, url, semantic, position, options = {})
|
201
207
|
if semantic
|
202
|
-
render_semantic_fragment(fragment_tag, text, url, options)
|
208
|
+
render_semantic_fragment(fragment_tag, text, url, position, options)
|
203
209
|
else
|
204
210
|
render_nonsemantic_fragment(fragment_tag, text, url, options)
|
205
211
|
end
|
206
212
|
end
|
207
213
|
|
208
214
|
# Renders semantic fragment HTML.
|
209
|
-
def render_semantic_fragment(fragment_tag, text, url, options = {})
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
215
|
+
def render_semantic_fragment(fragment_tag, text, url, position, options = {})
|
216
|
+
fragment_class = [options[:fragment_class], options[:class]].join(' ').strip
|
217
|
+
fragment_class = nil if fragment_class.blank?
|
218
|
+
fragment_tag = fragment_tag || 'span'
|
219
|
+
text = content_tag(:span, text, itemprop: "name")
|
220
|
+
|
221
|
+
if url.present?
|
222
|
+
text = breadcrumb_link_to(text, url, itemprop: "item")
|
223
|
+
elsif options[:current_link].present?
|
224
|
+
current_url = "#{root_url}#{options[:current_link].gsub(/^\//, '')}"
|
225
|
+
text = text + tag(:meta, itemprop: "item", content: current_url)
|
218
226
|
end
|
227
|
+
|
228
|
+
text = text + tag(:meta, itemprop:"position", content: "#{position}")
|
229
|
+
content_tag(fragment_tag.to_sym, text, class: fragment_class, itemprop: "itemListElement", itemscope: "", itemtype: "https://schema.org/ListItem")
|
219
230
|
end
|
220
231
|
|
221
232
|
# Renders regular, non-semantic fragment HTML.
|
222
233
|
def render_nonsemantic_fragment(fragment_tag, text, url, options = {})
|
234
|
+
fragment_class = [options[:fragment_class], options[:class]].join(' ').strip
|
235
|
+
fragment_class = nil if fragment_class.blank?
|
236
|
+
|
223
237
|
if fragment_tag
|
224
238
|
text = breadcrumb_link_to(text, url) if url.present?
|
225
|
-
content_tag(fragment_tag, text, class:
|
239
|
+
content_tag(fragment_tag, text, class: fragment_class)
|
226
240
|
elsif url.present?
|
227
|
-
breadcrumb_link_to(text, url, class:
|
241
|
+
breadcrumb_link_to(text, url, class: fragment_class)
|
228
242
|
elsif options[:class].present?
|
229
|
-
content_tag(:span, text, class:
|
243
|
+
content_tag(:span, text, class: fragment_class)
|
230
244
|
else
|
231
245
|
text
|
232
246
|
end
|
@@ -241,6 +255,11 @@ module Gretel
|
|
241
255
|
def method_missing(method, *args, &block)
|
242
256
|
context.send(method, *args, &block)
|
243
257
|
end
|
258
|
+
|
259
|
+
# Avoid unnecessary html escaping by template engines.
|
260
|
+
def html_safe?
|
261
|
+
true
|
262
|
+
end
|
244
263
|
end
|
245
264
|
end
|
246
265
|
end
|
data/lib/gretel/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Gretel
|
2
|
-
VERSION = "
|
3
|
-
end
|
2
|
+
VERSION = "4.1.0"
|
3
|
+
end
|
data/lib/gretel/view_helpers.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,56 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gretel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lasse Bunk
|
8
|
-
|
8
|
+
- Kazuki Nishikawa
|
9
|
+
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2020-09-20 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
+
name: railties
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
18
|
- - ">="
|
18
19
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
+
version: '5.1'
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '7.0'
|
20
24
|
type: :runtime
|
21
25
|
prerelease: false
|
22
26
|
version_requirements: !ruby/object:Gem::Requirement
|
23
27
|
requirements:
|
24
28
|
- - ">="
|
25
29
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
30
|
+
version: '5.1'
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '7.0'
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: actionview
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.1'
|
41
|
+
- - "<"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '7.0'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '5.1'
|
51
|
+
- - "<"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '7.0'
|
27
54
|
- !ruby/object:Gem::Dependency
|
28
55
|
name: sqlite3
|
29
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,10 +65,52 @@ dependencies:
|
|
38
65
|
- - ">="
|
39
66
|
- !ruby/object:Gem::Version
|
40
67
|
version: '0'
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: rspec-rails
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
type: :development
|
76
|
+
prerelease: false
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: simplecov
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
type: :development
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: simplecov-erb
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
type: :development
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
41
110
|
description: Gretel is a Ruby on Rails plugin that makes it easy yet flexible to create
|
42
111
|
breadcrumbs.
|
43
112
|
email:
|
44
|
-
-
|
113
|
+
- kzkn@users.noreply.github.com
|
45
114
|
executables: []
|
46
115
|
extensions: []
|
47
116
|
extra_rdoc_files: []
|
@@ -53,9 +122,7 @@ files:
|
|
53
122
|
- LICENSE.txt
|
54
123
|
- README.md
|
55
124
|
- Rakefile
|
56
|
-
-
|
57
|
-
- gemfiles/Gemfile-rails.4.0.x
|
58
|
-
- gemfiles/Gemfile-rails.4.1.x
|
125
|
+
- coverage/coverage.txt
|
59
126
|
- gretel.gemspec
|
60
127
|
- lib/generators/gretel/USAGE
|
61
128
|
- lib/generators/gretel/install_generator.rb
|
@@ -63,65 +130,17 @@ files:
|
|
63
130
|
- lib/gretel.rb
|
64
131
|
- lib/gretel/crumb.rb
|
65
132
|
- lib/gretel/crumbs.rb
|
66
|
-
- lib/gretel/deprecated.rb
|
67
|
-
- lib/gretel/deprecated/default_style_key.rb
|
68
|
-
- lib/gretel/deprecated/layout.rb
|
69
|
-
- lib/gretel/deprecated/show_root_alone.rb
|
70
|
-
- lib/gretel/deprecated/yield_links.rb
|
71
133
|
- lib/gretel/link.rb
|
134
|
+
- lib/gretel/railtie.rb
|
72
135
|
- lib/gretel/renderer.rb
|
73
136
|
- lib/gretel/resettable.rb
|
74
137
|
- lib/gretel/version.rb
|
75
138
|
- lib/gretel/view_helpers.rb
|
76
|
-
|
77
|
-
- test/dummy/Rakefile
|
78
|
-
- test/dummy/app/assets/javascripts/application.js
|
79
|
-
- test/dummy/app/assets/stylesheets/application.css
|
80
|
-
- test/dummy/app/controllers/application_controller.rb
|
81
|
-
- test/dummy/app/helpers/application_helper.rb
|
82
|
-
- test/dummy/app/mailers/.gitkeep
|
83
|
-
- test/dummy/app/models/.gitkeep
|
84
|
-
- test/dummy/app/models/issue.rb
|
85
|
-
- test/dummy/app/models/project.rb
|
86
|
-
- test/dummy/app/views/breadcrumbs/site.rb
|
87
|
-
- test/dummy/config.ru
|
88
|
-
- test/dummy/config/application.rb
|
89
|
-
- test/dummy/config/boot.rb
|
90
|
-
- test/dummy/config/breadcrumbs.rb
|
91
|
-
- test/dummy/config/breadcrumbs/test_crumbs.rb
|
92
|
-
- test/dummy/config/database.yml
|
93
|
-
- test/dummy/config/environment.rb
|
94
|
-
- test/dummy/config/environments/development.rb
|
95
|
-
- test/dummy/config/environments/production.rb
|
96
|
-
- test/dummy/config/environments/test.rb
|
97
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
98
|
-
- test/dummy/config/initializers/inflections.rb
|
99
|
-
- test/dummy/config/initializers/mime_types.rb
|
100
|
-
- test/dummy/config/initializers/secret_token.rb
|
101
|
-
- test/dummy/config/initializers/session_store.rb
|
102
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
103
|
-
- test/dummy/config/locales/en.yml
|
104
|
-
- test/dummy/config/routes.rb
|
105
|
-
- test/dummy/db/migrate/20130122163007_create_projects.rb
|
106
|
-
- test/dummy/db/migrate/20130122163051_create_issues.rb
|
107
|
-
- test/dummy/db/schema.rb
|
108
|
-
- test/dummy/lib/assets/.gitkeep
|
109
|
-
- test/dummy/log/.gitkeep
|
110
|
-
- test/dummy/public/404.html
|
111
|
-
- test/dummy/public/422.html
|
112
|
-
- test/dummy/public/500.html
|
113
|
-
- test/dummy/public/favicon.ico
|
114
|
-
- test/dummy/script/rails
|
115
|
-
- test/fixtures/issues.yml
|
116
|
-
- test/fixtures/projects.yml
|
117
|
-
- test/gretel_test.rb
|
118
|
-
- test/helper_methods_test.rb
|
119
|
-
- test/test_helper.rb
|
120
|
-
homepage: http://github.com/lassebunk/gretel
|
139
|
+
homepage: http://github.com/kzkn/gretel
|
121
140
|
licenses:
|
122
141
|
- MIT
|
123
142
|
metadata: {}
|
124
|
-
post_install_message:
|
143
|
+
post_install_message:
|
125
144
|
rdoc_options: []
|
126
145
|
require_paths:
|
127
146
|
- lib
|
@@ -136,53 +155,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
155
|
- !ruby/object:Gem::Version
|
137
156
|
version: '0'
|
138
157
|
requirements: []
|
139
|
-
|
140
|
-
|
141
|
-
signing_key:
|
158
|
+
rubygems_version: 3.0.3
|
159
|
+
signing_key:
|
142
160
|
specification_version: 4
|
143
161
|
summary: Flexible Ruby on Rails breadcrumbs plugin.
|
144
|
-
test_files:
|
145
|
-
- test/deprecated_test.rb
|
146
|
-
- test/dummy/Rakefile
|
147
|
-
- test/dummy/app/assets/javascripts/application.js
|
148
|
-
- test/dummy/app/assets/stylesheets/application.css
|
149
|
-
- test/dummy/app/controllers/application_controller.rb
|
150
|
-
- test/dummy/app/helpers/application_helper.rb
|
151
|
-
- test/dummy/app/mailers/.gitkeep
|
152
|
-
- test/dummy/app/models/.gitkeep
|
153
|
-
- test/dummy/app/models/issue.rb
|
154
|
-
- test/dummy/app/models/project.rb
|
155
|
-
- test/dummy/app/views/breadcrumbs/site.rb
|
156
|
-
- test/dummy/config.ru
|
157
|
-
- test/dummy/config/application.rb
|
158
|
-
- test/dummy/config/boot.rb
|
159
|
-
- test/dummy/config/breadcrumbs.rb
|
160
|
-
- test/dummy/config/breadcrumbs/test_crumbs.rb
|
161
|
-
- test/dummy/config/database.yml
|
162
|
-
- test/dummy/config/environment.rb
|
163
|
-
- test/dummy/config/environments/development.rb
|
164
|
-
- test/dummy/config/environments/production.rb
|
165
|
-
- test/dummy/config/environments/test.rb
|
166
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
167
|
-
- test/dummy/config/initializers/inflections.rb
|
168
|
-
- test/dummy/config/initializers/mime_types.rb
|
169
|
-
- test/dummy/config/initializers/secret_token.rb
|
170
|
-
- test/dummy/config/initializers/session_store.rb
|
171
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
172
|
-
- test/dummy/config/locales/en.yml
|
173
|
-
- test/dummy/config/routes.rb
|
174
|
-
- test/dummy/db/migrate/20130122163007_create_projects.rb
|
175
|
-
- test/dummy/db/migrate/20130122163051_create_issues.rb
|
176
|
-
- test/dummy/db/schema.rb
|
177
|
-
- test/dummy/lib/assets/.gitkeep
|
178
|
-
- test/dummy/log/.gitkeep
|
179
|
-
- test/dummy/public/404.html
|
180
|
-
- test/dummy/public/422.html
|
181
|
-
- test/dummy/public/500.html
|
182
|
-
- test/dummy/public/favicon.ico
|
183
|
-
- test/dummy/script/rails
|
184
|
-
- test/fixtures/issues.yml
|
185
|
-
- test/fixtures/projects.yml
|
186
|
-
- test/gretel_test.rb
|
187
|
-
- test/helper_methods_test.rb
|
188
|
-
- test/test_helper.rb
|
162
|
+
test_files: []
|