Sha256: 4c940a3f613cd6527b07423c5fc26fd082043442f6d1062c62df76f0a4a7bdbe

Contents?: true

Size: 849 Bytes

Versions: 10

Compression:

Stored size: 849 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/setup"
require "drafting"

$LOAD_PATH.unshift(File.expand_path('..', File.dirname(__FILE__)))
require 'lib/generators/drafting/migration/templates/migration.rb'
require 'spec/support/spec_migration.rb'

require 'spec/models/user'
require 'spec/models/topic'
require 'spec/models/message'
require 'spec/models/page'
require 'spec/models/tag'

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start

ActiveRecord::Base.configurations = YAML.load_file('spec/database.yml')
ActiveRecord::Base.establish_connection(:sqlite)
ActiveRecord::Migration.verbose = false

DraftingMigration.up
SpecMigration.up

require "irb"
IRB.start

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
drafting-0.5.1 bin/console
drafting-0.5.0 bin/console
drafting-0.4.2 bin/console
drafting-0.4.1 bin/console
drafting-0.4.0 bin/console
drafting-0.3.1 bin/console
drafting-0.3.0 bin/console
drafting-0.2.0 bin/console
drafting-0.1.1 bin/console
drafting-0.1.0 bin/console