crumbly 2.2.0 → 2.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06aa2669dc2486a8c255ca46215e1c65e7ca3eaf76cd834501a7c0f8a1734237
4
- data.tar.gz: 37ab7df264cbb31555bc2f3e646c2ea10036057dac7e9f4f70e022506906f6cf
3
+ metadata.gz: 5bf3918dd4b7fcbadd1730b66e44af7449e2185eb7e18967a25bf6c1363b1700
4
+ data.tar.gz: 0e372c5825ba04c4fb71287af76ebca3b8522959b7f80877d83f137b6a03e32b
5
5
  SHA512:
6
- metadata.gz: 5d77cc663933f726c4923fb1a5655ecff481b0eaabb6bcc0fb852306bf342e7f7838d420a68b823234fe3a13d4ea40355a500bdce8e80dc86ecb0a24788b2dc9
7
- data.tar.gz: 6d3a5af07dcd0d5e69b3a6d2f6669c03c4eae29d182a17d30fa69f8f24886afd67f27d2b89e5394561f166c4033d4166d792fb4f5acca46902290b7140e6bb27
6
+ metadata.gz: f05b3347e70dc154bca5ce217428c3b8559c1834404c328c47fbfd8166b923306eeba2b2f7679659774259838671ed177ce7fc9b9d5e023c8ceda02186650621
7
+ data.tar.gz: 347c7fa50a57807fc4fb404d8e4f4c11a3c37d2b60649135e3067738a39b1def40e8e78ac7f6586a5afde88d4799e494b9b2c70030098fb30da14d4c7916f30d
data/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [2.3.0] — 2026-11-28
6
+
7
+ Crumbly boots without loading Prism, and the trails it works out give valid JSON-LD, singular resources and namespaced models included.
8
+
9
+ **Faster**
10
+ - `require "crumbly"` no longer loads Prism: only `Crumbly.verify!` does. About 65 ms and 5 MB less per boot on Ruby 3.3 without JIT.
11
+
12
+ **Fixed**
13
+ - `breadcrumb_json_ld` gives full URLs to the levels Crumbly works out for a trail, instead of raising `Crumbly::RelativeUrl` outside production and dropping the structured data in production.
14
+ - A singular resource with a show route (`resource :account`) links to that route, with no made-up "Accounts" level above it, and sits under its parent record when nested.
15
+ - A `javascript:` URL spelled with character references in an `html_safe` string (`javascript:`, `javascript:`) is refused like any other script URL.
16
+ - `Crumbly.verify!` no longer reports a namespaced model's crumb (`billing_invoice` for `Billing::Invoice`) as dead.
17
+ - `Crumbly.verify!` checks crumbs called on `self` (`parent: self.orders`, as crumbly-convert writes them): they no longer count as dead, and a misspelled name or wrong argument count is reported.
18
+ - `crumbly-convert --views` lists `breadcrumb` calls closed with `-%>`.
19
+
5
20
  ## [2.2.0] — 2026-11-06
6
21
 
7
22
  A trail class can turn off derived trails with `derive_trails false`, and a derived level labels a record without its own `to_s` "Invoice 12" instead of `#<Invoice:0x…>`.
@@ -86,7 +101,8 @@ tests. Replaces gretel: `crumbly-convert` turns its breadcrumbs files into Crumb
86
101
  `breadcrumb` calls a derived trail may now cover.
87
102
  - `Crumbly::Oracle.compare` draws trails with gretel and with Crumbly, from a test of an app migrating.
88
103
 
89
- [Unreleased]: https://github.com/levups/crumbly/compare/v2.2.0...HEAD
104
+ [Unreleased]: https://github.com/levups/crumbly/compare/v2.3.0...HEAD
105
+ [2.3.0]: https://github.com/levups/crumbly/compare/v2.2.0...v2.3.0
90
106
  [2.2.0]: https://github.com/levups/crumbly/compare/v2.1.0...v2.2.0
91
107
  [2.1.0]: https://github.com/levups/crumbly/compare/v2.0.0...v2.1.0
92
108
  [2.0.0]: https://github.com/levups/crumbly/compare/v1.1.0...v2.0.0
data/README.md CHANGED
@@ -13,6 +13,9 @@ checks every trail in the app, so a broken one fails CI before anyone opens the
13
13
 
14
14
  The guide, the migration notes and the benchmarks are also on the website: <https://levups.github.io/crumbly/>.
15
15
 
16
+ Coding agents can start from <https://levups.github.io/crumbly/llms.txt>, or read this README and the
17
+ website's pages as one Markdown file: <https://levups.github.io/crumbly/llms-full.txt>.
18
+
16
19
  ## Why Crumbly
17
20
 
18
21
  Crumbly was written to replace [gretel](https://github.com/kzkn/gretel) in a back office with 265 crumbs, in one
@@ -122,7 +125,8 @@ A crumb calls `crumb label, url = nil, parent: nil, links: []`.
122
125
 
123
126
  `url` can be a string, a record or a polymorphic array such as `[:admin, owner, :returns]`. Leave it out for a
124
127
  level without a link. A `javascript:`, `vbscript:` or `data:` URL would run a script once your layout links it,
125
- so Crumbly refuses it, however it is spelled (`" JavaScript:"`, `"java\tscript:"`): see
128
+ so Crumbly refuses it, however it is spelled (`" JavaScript:"`, `"java\tscript:"`, or `"javascript&colon;"` in an
129
+ `html_safe` string, which the browser decodes): see
126
130
  [Mistakes in development and in production](#mistakes-in-development-and-in-production).
127
131
 
128
132
  `links:` is for a level that points to more than one page. It takes extra `link(label, url)` entries, which your
@@ -181,6 +185,10 @@ instead ("Post 5"), not `#<Post:0x000...>`.
181
185
  Nested routes work too. On `/admin/posts/5/comments`, the trail is Posts › Post 5 › Comments, and the post is
182
186
  the `@post` the controller loaded. If the controller didn't load it, Crumbly skips that level and keeps Posts.
183
187
 
188
+ A singular resource with a `show` route (`resource :account`) has no collection: its record links to that route,
189
+ under its parent record when the route is nested, so the profile on `/admin/customers/7/profile` sits under its
190
+ customer. A crumb named after the controller or the nesting (`customer_profiles`) still comes first.
191
+
184
192
  To change how these trails are built, override the private methods `collection_crumb`, `record_crumb`,
185
193
  `new_record_crumb` or `edit_record_crumb` in your trail class.
186
194
 
@@ -283,6 +291,9 @@ module Storefront
283
291
  end
284
292
  ```
285
293
 
294
+ The levels Crumbly builds for a trail it works out get full URLs in the JSON-LD on their own, and keep paths in
295
+ the page. Your own crumbs, `root` included, still need `_url` helpers.
296
+
286
297
  A relative URL raises `Crumbly::RelativeUrl` in development and test. In production it is reported to
287
298
  `Rails.error` and the page has no structured data. `Crumbly.raise_on_relative_url` changes this.
288
299
 
@@ -359,6 +370,7 @@ bundle exec rake test # latest Rails
359
370
  BUNDLE_GEMFILE=gemfiles/rails_8_0.gemfile bundle exec rake test # Rails 8.0
360
371
  bundle exec rubocop
361
372
  bundle exec rake docs:highlight # after editing a code block in docs/
373
+ bundle exec rake docs:llms # after editing the README or docs/
362
374
  ```
363
375
 
364
376
  [CONTRIBUTING.md](CONTRIBUTING.md) says what a pull request needs.
@@ -373,10 +385,11 @@ bin/release minor --dry-run # shows the notes and the changes, writes nothing
373
385
  bin/release minor # or patch, major, or an exact version such as 1.2.0
374
386
  ```
375
387
 
376
- `bin/release` bumps the version on a `release/vX.Y.Z` branch, opens its pull request, waits for it to merge
377
- itself once CI is green, and pushes a signed tag `vX.Y.Z` on the merge commit (`bin/release --tag X.Y.Z` resumes
378
- this step if you stopped it). The tag starts the Release workflow, which publishes the gem to RubyGems through
379
- trusted publishing and creates the GitHub release.
388
+ `main` takes no direct push, so `bin/release` dates the notes and bumps the version on a `release/vX.Y.Z` branch,
389
+ opens a pull request that merges itself once CI is green, and waits for it (`bin/release --wait X.Y.Z` if you
390
+ stopped it). The merge starts the Release workflow, which waits for a maintainer's approval, tags the merge commit
391
+ `vX.Y.Z`, publishes the gem to RubyGems through trusted publishing and creates the GitHub release with the notes
392
+ and the `.gem`.
380
393
 
381
394
  ## License
382
395
 
@@ -12,7 +12,8 @@ module Crumbly
12
12
  end
13
13
  end
14
14
 
15
- BREADCRUMB_CALL = /\bbreadcrumb[ (]\s*(?<target>:\w+|@\w+)(?<arguments>[^\n%}]*)/
15
+ # The call ends before the tag closes, `-%>` (ERB's trim mode) included.
16
+ BREADCRUMB_CALL = /\bbreadcrumb[ (]\s*(?<target>:\w+|@\w+)(?<arguments>[^\n%}]*?)(?=\s*(?:-?%|\}|$))/
16
17
  VIEW_GLOB = "**/*.{erb,haml,slim,ruby}"
17
18
  FORM_CRUMBS = %w[generic_form new edit].freeze
18
19
 
data/lib/crumbly/trail.rb CHANGED
@@ -63,10 +63,12 @@ module Crumbly
63
63
  new(helpers).send(:levels_for, target, arguments)
64
64
  end
65
65
 
66
- def derive(helpers)
66
+ def derive(helpers, full_urls: false)
67
67
  return [] unless derive_trails?
68
68
 
69
- new(helpers).send(:derived_levels)
69
+ trail = new(helpers)
70
+ trail.instance_variable_set(:@full_urls, true) if full_urls
71
+ trail.send(:derived_levels)
70
72
  end
71
73
  end
72
74
 
@@ -117,17 +119,25 @@ module Crumbly
117
119
 
118
120
  # A URL built from user input can run a script once a layout links it: the level keeps its label, not the link.
119
121
  def safe_url(url)
120
- return url if url.start_with?("/", "https://", "http://") || !url.include?(":")
121
- return url unless UNSAFE_URL_SCHEME.match?(url.gsub(IGNORED_URL_CHARACTERS, ""))
122
+ href = (url.html_safe? && url.include?("&")) ? decoded_attribute(url) : url
123
+ return url if href.start_with?("/", "https://", "http://") || !href.include?(":")
124
+ return url unless UNSAFE_URL_SCHEME.match?(href.gsub(IGNORED_URL_CHARACTERS, ""))
122
125
 
123
126
  exception = UnsafeUrl.new("#{self.class} links to #{url.inspect}, which a browser runs as a script: " \
124
127
  "check its scheme before passing it to a crumb")
125
128
  raise exception if Crumbly.raise_on_unsafe_url?
126
129
 
127
- ActiveSupport.error_reporter.report(exception, handled: true)
130
+ # breadcrumb_json_ld derives again, with full URLs, a trail the page has just derived and reported.
131
+ ActiveSupport.error_reporter.report(exception, handled: true) unless @full_urls
128
132
  nil
129
133
  end
130
134
 
135
+ # link_to writes an html_safe URL into href as is, and the browser decodes its character references first:
136
+ # "javascript&colon;" runs too.
137
+ def decoded_attribute(url)
138
+ Loofah.html5_fragment(%(<a href="#{url.gsub('"', "&quot;")}">)).children.first["href"]
139
+ end
140
+
131
141
  def levels_for(target, arguments)
132
142
  levels(target_crumb(target, arguments))
133
143
  end
@@ -180,7 +190,8 @@ module Crumbly
180
190
  exception = UnknownCrumb.new(message)
181
191
  raise exception if Crumbly.raise_on_unknown_crumb?
182
192
 
183
- ActiveSupport.error_reporter.report(exception, handled: true)
193
+ # breadcrumb_json_ld derives again, with full URLs, a trail the page has just derived and reported.
194
+ ActiveSupport.error_reporter.report(exception, handled: true) unless @full_urls
184
195
  nil
185
196
  end
186
197
 
@@ -204,13 +215,19 @@ module Crumbly
204
215
 
205
216
  # The four crumbs below build a derived trail; override any of them as a private method.
206
217
  def collection_crumb
207
- nested_collection_crumb(controller.controller_name, route_parents)
218
+ parents = route_parents
219
+ if singular_show_location && !(parents.all?(&:record) && nesting_crumb?(parents))
220
+ return singular_resource_parent_crumb(parents)
221
+ end
222
+
223
+ nested_collection_crumb(controller.controller_name, parents)
208
224
  end
209
225
 
210
226
  def record_crumb(record)
211
227
  return crumb_for(record) if crumb_name_for(record)
212
228
 
213
- crumb(record_label(record), route_path(action: "show", id: record), parent: collection_crumb)
229
+ url = singular_show_location || route_path(action: "show", id: record)
230
+ crumb(record_label(record), url, parent: collection_crumb)
214
231
  end
215
232
 
216
233
  # Kernel#to_s would label the level "#<Invoice:0x000...>".
@@ -228,6 +245,41 @@ module Crumbly
228
245
  crumb(I18n.t("crumbly.edit", default: "Edit"), parent: record_crumb(record))
229
246
  end
230
247
 
248
+ def singular_show_location
249
+ return @singular_show_location if defined?(@singular_show_location)
250
+
251
+ @singular_show_location = (route_path(action: "show") if singular_resource?)
252
+ end
253
+
254
+ # A singular resource (resource :account) has no index route, and each of its show routes ends with a static
255
+ # segment (/account), where a plural one ends with its member key (/orders/:id, /tags/:slug).
256
+ def singular_resource?
257
+ return false if controller.action_name == "index" || controller.request.path_parameters.key?(:id)
258
+ return false if route_path(action: "index")
259
+
260
+ show_paths = controller._routes.routes.filter_map do |route|
261
+ next unless route.defaults[:controller] == controller.controller_path && route.defaults[:action] == "show"
262
+
263
+ route.path.spec.to_s.delete_suffix("(.:format)")
264
+ end
265
+ show_paths.any? && show_paths.none? { |path| path.split("/").last.to_s.match?(/[:*]/) }
266
+ end
267
+
268
+ def nesting_crumb?(parents)
269
+ self.class.crumb?([*parents.map(&:name), controller.controller_name].join("_").to_sym)
270
+ end
271
+
272
+ # Under a nested route (/customers/7/profile), the level above a singular resource is its parent record, or
273
+ # the collection of the first parent the controller didn't load.
274
+ def singular_resource_parent_crumb(parents)
275
+ return if parents.empty?
276
+
277
+ loaded_parents = parents.take_while(&:record)
278
+ return parent_record_crumb(parents) if loaded_parents.size == parents.size
279
+
280
+ nested_collection_crumb(parents[loaded_parents.size].name.pluralize, loaded_parents)
281
+ end
282
+
231
283
  # Under a nested route (/orders/42/messages), a crumb named after the whole nesting (order_messages) is
232
284
  # called with the parents' records; otherwise the collection is derived under its parent record.
233
285
  def nested_collection_crumb(name, parents)
@@ -277,7 +329,7 @@ module Crumbly
277
329
  # A controller without an index or show route still gets its level, without a link.
278
330
  def route_path(resources: controller.controller_name, **options)
279
331
  namespace = controller.controller_path.delete_suffix(controller.controller_name)
280
- helpers.url_for(controller: "/#{namespace}#{resources}", only_path: true, **options)
332
+ helpers.url_for(controller: "/#{namespace}#{resources}", only_path: !@full_urls, **options)
281
333
  rescue ActionController::UrlGenerationError
282
334
  nil
283
335
  end
@@ -41,9 +41,9 @@ module Crumbly
41
41
  definition = definition_of(method)
42
42
  return unless definition
43
43
 
44
- receiverless_calls(definition).each do |call|
44
+ calls_on_self(definition).each do |call|
45
45
  name = call.name
46
- location = "#{method.source_location.first}:#{call.location.start_line}"
46
+ location = "#{method.source_location.first}:#{(call.message_loc || call.location).start_line}"
47
47
  if trail_class.crumb?(name)
48
48
  arity_problem = arity_problem(trail_class, name, call)
49
49
  problems << "#{trail_class}##{method.name} calls #{name} #{arity_problem} (#{location})" if arity_problem
@@ -74,9 +74,10 @@ module Crumbly
74
74
  definitions
75
75
  end
76
76
 
77
- def receiverless_calls(definition)
77
+ # crumbly-convert writes `self.orders` when a local of the crumb is also named orders.
78
+ def calls_on_self(definition)
78
79
  calls = []
79
- each_node(definition) { |node| calls << node if node in Prism::CallNode[receiver: nil] }
80
+ each_node(definition) { |node| calls << node if node in Prism::CallNode[receiver: nil | Prism::SelfNode] }
80
81
  calls
81
82
  end
82
83
 
@@ -192,9 +193,27 @@ module Crumbly
192
193
  [*nesting_names, controller_name.singularize.to_sym]
193
194
  end
194
195
 
195
- # A crumb named after a model is reachable from any `breadcrumb @record` or `crumb_for(record)`.
196
+ # A crumb named after a model is reachable from any `breadcrumb @record` or `crumb_for(record)`. Its name is
197
+ # the model's `model_name.singular`, where each underscore may stand for a namespace: billing_invoice is
198
+ # the crumb of Billing::Invoice.
196
199
  def model_name?(name)
197
- name.to_s.camelize.safe_constantize.respond_to?(:model_name)
200
+ model_named?(name.to_s, name.to_s.split("_"), Object)
201
+ end
202
+
203
+ # Only a prefix that names a module is searched further, so `settings_profile` never reads inside a
204
+ # Settings object.
205
+ def model_named?(name, words, namespace)
206
+ (1..words.size).any? do |count|
207
+ constant_name = words.first(count).join("_").camelize
208
+ next false unless constant_name.match?(/\A[A-Z]\w*\z/) && namespace.const_defined?(constant_name, false)
209
+
210
+ constant = namespace.const_get(constant_name, false)
211
+ if count == words.size
212
+ constant.respond_to?(:model_name) && constant.model_name.try(:singular) == name
213
+ else
214
+ constant.is_a?(Module) && model_named?(name, words.drop(count), constant)
215
+ end
216
+ end
198
217
  end
199
218
 
200
219
  def crumb_names(trail_class)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Crumbly
4
- VERSION = "2.2.0"
4
+ VERSION = "2.3.0"
5
5
  end
@@ -22,10 +22,21 @@ module Crumbly
22
22
  end
23
23
 
24
24
  def breadcrumb_json_ld
25
- breadcrumb_list = JsonLd.call(breadcrumb_trail)
25
+ breadcrumb_list = JsonLd.call(crumbly_json_ld_trail)
26
26
  return unless breadcrumb_list
27
27
 
28
28
  content_tag(:script, ERB::Util.json_escape(JSON.generate(breadcrumb_list)).html_safe, type: "application/ld+json")
29
29
  end
30
+
31
+ private
32
+
33
+ # Google needs full URLs and the page keeps paths: a derived trail that links a path is derived again, with
34
+ # full URLs, for the JSON-LD.
35
+ def crumbly_json_ld_trail
36
+ levels = breadcrumb_trail
37
+ return levels if @crumbly_breadcrumb || levels.all? { |level| level.url.nil? || JsonLd::ABSOLUTE_URL.match?(level.url) }
38
+
39
+ @crumbly_json_ld_trail ||= Crumbly.trail_class_for(controller.class).derive(self, full_urls: true)
40
+ end
30
41
  end
31
42
  end
data/lib/crumbly.rb CHANGED
@@ -15,10 +15,12 @@ require_relative "crumbly/trail"
15
15
  require_relative "crumbly/json_ld"
16
16
  require_relative "crumbly/controller"
17
17
  require_relative "crumbly/view_helpers"
18
- require_relative "crumbly/verifier"
19
18
  require_relative "crumbly/railtie" if defined?(Rails::Railtie)
20
19
 
21
20
  module Crumbly
21
+ # Prism, which the verifier parses crumbs with, is only loaded by verify!: production never runs it.
22
+ autoload :Verifier, File.expand_path("crumbly/verifier", __dir__)
23
+
22
24
  class << self
23
25
  attr_writer :routes, :raise_on_unknown_crumb, :raise_on_relative_url, :raise_on_unsafe_url
24
26
 
metadata CHANGED
@@ -1,111 +1,115 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crumbly
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
- - Level UP Solutions
7
+ - Level UP Solutions
8
8
  bindir: exe
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
- - !ruby/object:Gem::Dependency
13
- name: actionpack
14
- requirement: !ruby/object:Gem::Requirement
15
- requirements:
16
- - - ">="
17
- - !ruby/object:Gem::Version
18
- version: '8.0'
19
- type: :runtime
20
- prerelease: false
21
- version_requirements: !ruby/object:Gem::Requirement
22
- requirements:
23
- - - ">="
24
- - !ruby/object:Gem::Version
25
- version: '8.0'
26
- - !ruby/object:Gem::Dependency
27
- name: activesupport
28
- requirement: !ruby/object:Gem::Requirement
29
- requirements:
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: '8.0'
33
- type: :runtime
34
- prerelease: false
35
- version_requirements: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: '8.0'
40
- - !ruby/object:Gem::Dependency
41
- name: loofah
42
- requirement: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 2.25.3
47
- type: :runtime
48
- prerelease: false
49
- version_requirements: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 2.25.3
54
- description: Each level of a breadcrumb trail is a Ruby method that names its parent.
55
- When a view names no crumb, Crumbly works the trail out from the controller and
56
- the routes, and one test checks every trail in the app. The trail comes back as
57
- data, so your layout writes the HTML.
12
+ - !ruby/object:Gem::Dependency
13
+ name: actionpack
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ -
17
+ - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: "8.0"
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ -
25
+ - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: "8.0"
28
+ - !ruby/object:Gem::Dependency
29
+ name: activesupport
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ -
33
+ - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: "8.0"
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ -
41
+ - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: "8.0"
44
+ - !ruby/object:Gem::Dependency
45
+ name: loofah
46
+ requirement: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ -
49
+ - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: 2.25.3
52
+ type: :runtime
53
+ prerelease: false
54
+ version_requirements: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ -
57
+ - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: 2.25.3
60
+ description: "Each level of a breadcrumb trail is a Ruby method that names its parent. When a view names no crumb, Crumbly works the trail out from the controller and the routes, and one test checks every trail in the app. The trail comes back as data, so your layout writes the HTML."
58
61
  executables:
59
- - crumbly-convert
62
+ - crumbly-convert
60
63
  extensions: []
61
64
  extra_rdoc_files: []
62
65
  files:
63
- - CHANGELOG.md
64
- - LICENSE
65
- - README.md
66
- - exe/crumbly-convert
67
- - lib/crumbly.rb
68
- - lib/crumbly/controller.rb
69
- - lib/crumbly/converter.rb
70
- - lib/crumbly/converter/crumb_definition.rb
71
- - lib/crumbly/converter/source.rb
72
- - lib/crumbly/crumb.rb
73
- - lib/crumbly/derived_call_sites.rb
74
- - lib/crumbly/errors.rb
75
- - lib/crumbly/json_ld.rb
76
- - lib/crumbly/level.rb
77
- - lib/crumbly/oracle.rb
78
- - lib/crumbly/railtie.rb
79
- - lib/crumbly/test_helper.rb
80
- - lib/crumbly/trail.rb
81
- - lib/crumbly/verifier.rb
82
- - lib/crumbly/version.rb
83
- - lib/crumbly/view_helpers.rb
84
- homepage: https://github.com/levups/crumbly
66
+ - CHANGELOG.md
67
+ - LICENSE
68
+ - README.md
69
+ - exe/crumbly-convert
70
+ - lib/crumbly.rb
71
+ - lib/crumbly/controller.rb
72
+ - lib/crumbly/converter.rb
73
+ - lib/crumbly/converter/crumb_definition.rb
74
+ - lib/crumbly/converter/source.rb
75
+ - lib/crumbly/crumb.rb
76
+ - lib/crumbly/derived_call_sites.rb
77
+ - lib/crumbly/errors.rb
78
+ - lib/crumbly/json_ld.rb
79
+ - lib/crumbly/level.rb
80
+ - lib/crumbly/oracle.rb
81
+ - lib/crumbly/railtie.rb
82
+ - lib/crumbly/test_helper.rb
83
+ - lib/crumbly/trail.rb
84
+ - lib/crumbly/verifier.rb
85
+ - lib/crumbly/version.rb
86
+ - lib/crumbly/view_helpers.rb
87
+ homepage: "https://github.com/levups/crumbly"
85
88
  licenses:
86
- - MIT
89
+ - MIT
87
90
  metadata:
88
- source_code_uri: https://github.com/levups/crumbly
89
- changelog_uri: https://github.com/levups/crumbly/blob/main/CHANGELOG.md
90
- documentation_uri: https://levups.github.io/crumbly/
91
- bug_tracker_uri: https://github.com/levups/crumbly/issues
92
- rubygems_mfa_required: 'true'
91
+ source_code_uri: "https://github.com/levups/crumbly"
92
+ changelog_uri: "https://github.com/levups/crumbly/blob/main/CHANGELOG.md"
93
+ documentation_uri: "https://levups.github.io/crumbly/"
94
+ bug_tracker_uri: "https://github.com/levups/crumbly/issues"
95
+ rubygems_mfa_required: "true"
93
96
  rdoc_options: []
94
97
  require_paths:
95
- - lib
98
+ - lib
96
99
  required_ruby_version: !ruby/object:Gem::Requirement
97
100
  requirements:
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- version: '3.3'
101
+ -
102
+ - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: "3.3"
101
105
  required_rubygems_version: !ruby/object:Gem::Requirement
102
106
  requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- version: '0'
107
+ -
108
+ - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: "0"
106
111
  requirements: []
107
- rubygems_version: 4.0.20
112
+ rubygems_version: 4.1.1
108
113
  specification_version: 4
109
- summary: Breadcrumb trails for Rails, written as plain Ruby methods and checked in
110
- tests
114
+ summary: "Breadcrumb trails for Rails, written as plain Ruby methods and checked in tests"
111
115
  test_files: []