Sha256: c17ef929e928db0920acde0629cdb227fb515ce656cec9215b8274c535bf2021

Contents?: true

Size: 850 Bytes

Versions: 3

Compression:

Stored size: 850 Bytes

Contents

# Social Stream migration template
social_stream_migration =
  File.join(File.dirname(__FILE__), '..', '..', 'lib', 'generators', 'social_stream', '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

3 entries across 3 versions & 1 rubygems

Version Path
social_stream-0.4.6 spec/support/migrations.rb
social_stream-0.4.5 spec/support/migrations.rb
social_stream-0.4.4 spec/support/migrations.rb