lib/importmap/map.rb in importmap-rails-1.1.6 vs lib/importmap/map.rb in importmap-rails-1.2.0
- old
+ new
@@ -67,10 +67,10 @@
# end
def digest(resolver:)
Digest::SHA1.hexdigest(to_json(resolver: resolver).to_s)
end
- # Returns an instance ActiveSupport::EventedFileUpdateChecker configured to clear the cache of the map
+ # Returns an instance of ActiveSupport::EventedFileUpdateChecker configured to clear the cache of the map
# when the directories passed on initialization via `watches:` have changes. This is used in development
# and test to ensure the map caches are reset when javascript files are changed.
def cache_sweeper(watches: nil)
if watches
@cache_sweeper =