guard-railstestdb 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ require 'guard/rake'
4
4
 
5
5
  module Guard
6
6
 
7
- class Railstestdb < Rake
7
+ class Railstestdb < Guard
8
8
 
9
9
  # Initialize a Guard.
10
10
  # @param [Array<Guard::Watcher>] watchers the Guard file watchers
@@ -1,3 +1,6 @@
1
- guard 'railstestdb', :task => 'db:test:prepare_safely' do
1
+ guard 'railstestdb' do
2
+ # This is just here so "guard init railstestdb" won't duplicate the real code below if run multiple times.
3
+ end
4
+ guard 'rake', :task => 'db:test:prepare_safely' do
2
5
  watch(%r{^db/schema.rb})
3
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-railstestdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-10-05 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
- requirement: &2168704500 !ruby/object:Gem::Requirement
16
+ requirement: &2168753460 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2168704500
24
+ version_requirements: *2168753460
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: guard-rake
27
- requirement: &2168703820 !ruby/object:Gem::Requirement
27
+ requirement: &2168752960 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2168703820
35
+ version_requirements: *2168752960
36
36
  description: Guard extension that automatically migrates your test database.
37
37
  email:
38
38
  - leon@singlebrook.com