Sha256: b0a181ffa9e5f665d9f6a53ed798a4d7fe3332d118f314e925907c89610d2a38
Contents?: true
Size: 749 Bytes
Versions: 4
Compression:
Stored size: 749 Bytes
Contents
class MigrationFinder def initialize gem, path finder = Gem::GemPathSearcher.new taggable_spec = finder.find(gem) taggable_migration = finder.matching_files(taggable_spec, File.join(*path)).first require taggable_migration end end # Social Stream Base MigrationFinder.new 'social_stream-base', ['generators', 'social_stream', 'base', 'templates', 'migration'] # acts-as-taggable-on MigrationFinder.new 'acts-as-taggable-on', ["generators", "acts_as_taggable_on", "migration", "templates", "active_record", "migration"] # Mailboxer MigrationFinder.new 'mailboxer', ['generators', 'mailboxer', 'templates', 'migration']
Version data entries
4 entries across 4 versions & 2 rubygems