Sha256: da1e11765a5be1ab6ddacbeff15a52688475030ef1b74855728310f65414f478

Contents?: true

Size: 858 Bytes

Versions: 2

Compression:

Stored size: 858 Bytes

Contents

# Social Stream migration template
social_stream_migration =
  File.join(File.dirname(__FILE__), '..', '..', 'lib', 'generators', 'social_stream', 'base', 'templates', 'migration')

require social_stream_migration

# Adding acts_as_taggable_on
finder = Gem::GemPathSearcher.new
taggable_spec = finder.find('acts-as-taggable-on')
taggable_migration = finder.matching_files(taggable_spec,
                                           File.join("generators","acts_as_taggable_on","migration","templates","active_record","migration")).first

require taggable_migration

# Mailboxer migration template
finder = Gem::GemPathSearcher.new
mailboxer_spec = finder.find('mailboxer')
mailboxer_migration =
  finder.matching_files(mailboxer_spec,
                        File.join('generators', 'mailboxer', 'templates', 'migration')).first

require mailboxer_migration


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
social_stream-base-0.5.1 spec/support/migrations.rb
social_stream-base-0.5.0 spec/support/migrations.rb