strapless 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Strapless
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -29,7 +29,7 @@ namespace :db do
29
29
  data = File.join(Rails.root, 'db', 'data')
30
30
  Dir.mkdir(data) unless File.exists?(data)
31
31
  Dir['app/models/*'].each {|f| require f }
32
- ActiveRecord::Base.descendants.each do |klass|
32
+ ActiveRecord::Base.descendants.select{|m| m.table_exists? }.each do |klass|
33
33
  klass.dump_fixtures(data)
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strapless
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jeff Rafter
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-06 00:00:00 -07:00
18
+ date: 2011-06-02 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  requirements: []
69
69
 
70
70
  rubyforge_project: strapless
71
- rubygems_version: 1.4.1
71
+ rubygems_version: 1.3.8
72
72
  signing_key:
73
73
  specification_version: 3
74
74
  summary: Simple tasks for bootstrapping the data in your rails application