gretel 3.0.5
Legitimate Rails breadcrumb gem
“Gretel is a Ruby on Rails plugin that makes it easy yet flexible to create breadcrumbs.”
Ruby recursively deletes a directory treeRuby subshell command execution
SHA-2567e198fa482d21fdf42dec7f0352d8488a78e76de86604f613bc93c90f47a1cb8
MaleculeH₄(Cm₂DbF₂Po₂)Md(Pa)
Evidence
1# -*- encoding: utf-8 -*-
2lib = File.expand_path('../lib', __FILE__)
3$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4require 'gretel/version'
5
6Gem::Specification.new do |gem|
7 gem.name = "gretel"
8 gem.version = Gretel::VERSION
9 gem.authors = ["Lasse Bunk"]
10 gem.email = ["[email protected] …
11:11… ription = %q{Gretel is a Ruby on Rails plugin that makes it easy yet flexible to create breadcrumbs.}
12 gem.summary = %q{Flexible Ruby on Rails breadcrumbs plugin.}
13 gem.homepage = "http://github.com/lassebunk/gretel"
14 gem.license = "MIT"
15
16 gem.files = `git ls-files`.split($/)
17 gem.test_files = gem.files.grep(%r{^test/})
18 gem.require_paths = ["lib"]
19
20 gem.add_dependency "rails", ">= 3.2 …
1module Gretel
2 module Crumbs
3 class << self
4 include Resettable
5
6 # Stores the supplied block for later use.
7 def crumb(key, &block)
8 crumbs[key] = block
9 end
10
11 # Returns …
25:20… _mtimes.clear
26 breadcrumb_files.each do |file|
27 instance_eval open(file).read, file
28 loaded_file_mtimes << File.mtime(file)
29 end
⋯5 lines
⋯5 lines
76end
77
78ActionView::Base.send :include, Gretel::ViewHelpers
No evidence locations were recorded for this file. Raw result