/usr/lib/ruby/vendor_ruby/rails-assets-jakobmattsson--jquery-elastic.rb is in ruby-rails-assets-jakobmattsson-jquery-elastic 1.6.11~dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | require "rails-assets-jakobmattsson--jquery-elastic/version"
require "rails-assets-jquery"
module RailsAssetsJakobmattssonJqueryElastic
def self.gem_path
Pathname(File.realpath(__FILE__)).join('../..')
end
def self.gem_spec
Gem::Specification::load(
gem_path.join("rails-assets-jakobmattsson--jquery-elastic.gemspec").to_s
)
end
def self.load_paths
gem_path.join('app/assets').each_child.to_a
end
def self.dependencies
[
RailsAssetsJquery
]
end
if defined?(Rails)
class Engine < ::Rails::Engine
# Rails -> use app/assets directory.
config.root='/usr/share/ruby-rails-assets-jakobmattsson-jquery-elastic'
end
end
end
class RailsAssets
@components ||= []
class << self
attr_accessor :components
def load_paths
components.flat_map(&:load_paths)
end
end
end
RailsAssets.components << RailsAssetsJakobmattssonJqueryElastic
|