mystic 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/mystic +3 -4
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fbdf6a4843eab0066ec065ec94a9d29b6e18e538
4
- data.tar.gz: 81ed53366028c2f41e0f65230a409f6056be743d
3
+ metadata.gz: 7628f25056343c8a5c5d6e21948356804b06c894
4
+ data.tar.gz: e0572740b6528e68a3272715dcf1f8d49940c4d2
5
5
  SHA512:
6
- metadata.gz: de08d8da6f42ea8237642713fbdaecd5db6cbc82df2647fc9f8d909356fa872abb0306445e9bda7754b69e0e81c1bd2a7167714ea9885342d1f613dfc58c4c73
7
- data.tar.gz: 93d34179630048f64393f1b35dc5045b1df655ca32e13297816a3a8ffb11fa5cd81057df29f4f2e88feaf30d75a76b2b8a10d72c8b87201a53af4c91613011a2
6
+ metadata.gz: 4916038f9234491af9b051f1c8094120f64462c59bdcfc09f68e9116db7c5f2577d5ad8da9d23dc92fa3d13c5660bd304b8ed177b171eaebf655f87f2407d5ce
7
+ data.tar.gz: eb2328c47bca739a6c52ecdf9a04af5bb470bb7401d377fed8c865c8964bb9b81a637eec11aa3dff6d24f79fb76b4b704b60dc3f61e4b9f2e93ba6f0b2d9b3c0
data/bin/mystic CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  require "mystic"
4
4
  require "irb"
5
+ require 'irb/completion'
5
6
 
6
7
  # Examples:
7
8
  # mystic create migration InitialMigration
@@ -28,10 +29,8 @@ begin
28
29
  Mystic.rollback
29
30
  when :console
30
31
  puts "Starting Mystic console: #{Mystic.env}"
31
- IRB.setup nil
32
- IRB.conf[:MAIN_CONTEXT] = IRB::Irb.new.context
33
- require "irb/ext/multi-irb"
34
- IRB.irb nil, IRB::WorkSpace.new
32
+ ARGV.clear
33
+ IRB.start
35
34
  end
36
35
  Mystic.disconnect
37
36
  rescue Mystic::EnvironmentError => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mystic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathaniel Symer
@@ -95,5 +95,6 @@ rubyforge_project:
95
95
  rubygems_version: 2.2.2
96
96
  signing_key:
97
97
  specification_version: 4
98
- summary: Lightweight migrations + SQL execution
98
+ summary: Expressive migrations and adapters coupled with a singleton for SQL execution.
99
+ Heroku, rails, whatever compatible.
99
100
  test_files: []