standalone_migrations 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -12,16 +12,13 @@ USAGE
12
12
  =====
13
13
  Install Ruby, RubyGems and a ruby-database driver (e.g. `gem install mysql`) then:
14
14
 
15
- sudo gem install standalone_migrations
15
+ $ gem install standalone_migrations
16
16
 
17
17
  Add to `Rakefile` in your projects base directory:
18
18
 
19
19
  ```ruby
20
- begin
21
- require 'tasks/standalone_migrations'
22
- rescue LoadError => e
23
- puts "gem install standalone_migrations to get db:migrate:* tasks! (Error: #{e})"
24
- end
20
+ require 'standalone_migrations'
21
+ StandaloneMigrations::Tasks.load_tasks
25
22
  ```
26
23
 
27
24
  Add database configuration to `db/config.yml` in your projects base directory e.g.:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.2
1
+ 2.0.3
@@ -36,7 +36,7 @@ module StandaloneMigrations
36
36
  :schema => "db/schema.rb"
37
37
  }
38
38
  @options = load_from_file(defaults.dup) || defaults.merge(options)
39
- ENV['SCHEMA'] = schema
39
+ ENV['SCHEMA'] = File.expand_path(schema)
40
40
  end
41
41
 
42
42
  def config
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "standalone_migrations"
8
- s.version = "2.0.2"
8
+ s.version = "2.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Todd Huss", "Michael Grosser"]
12
- s.date = "2012-10-15"
12
+ s.date = "2013-01-15"
13
13
  s.email = "thuss@gabrito.com"
14
14
  s.extra_rdoc_files = [
15
15
  "README.markdown"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standalone_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-10-15 00:00:00.000000000 Z
13
+ date: 2013-01-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  segments:
110
110
  - 0
111
- hash: -1055845040885562451
111
+ hash: -1228439765539390917
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  none: false
114
114
  requirements: