fixie 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fixie.gemspec +1 -1
- data/lib/fixie/version.rb +1 -1
- data/lib/fixie.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2af6e750ed73e3bb2d5a4e36b8a22bb45d4e06af
|
4
|
+
data.tar.gz: 2f7ee65828e9b1995f8b8a124f26cce0b5f3add6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68114ab1a2a4a8734e41c6ff891107c04825acd8029aee7ef2b0019d0d3251062d0ff5677759b03a28c3b56afb098d0d0dc5022b8c0f48fe5e95db9059cb1c06
|
7
|
+
data.tar.gz: d855fe7758e8d058f827ba8178a97481bf7c3cd07827b54b1b4856dd7fb68b2100dccf846ad45a2e4853f0d06de174f9fd629d31c231d629e15192eaf14f274b
|
data/fixie.gemspec
CHANGED
data/lib/fixie/version.rb
CHANGED
data/lib/fixie.rb
CHANGED
@@ -66,7 +66,7 @@ module Fixie
|
|
66
66
|
# Do a second pass to resolve associations and load data in DB
|
67
67
|
all_fixtures[db_name].each do |table_name, fixtures|
|
68
68
|
table = db[table_name]
|
69
|
-
table.
|
69
|
+
table.truncate(cascade: true, restart: true)
|
70
70
|
table_has_created_at = table.columns.include?(:created_at)
|
71
71
|
table_has_updated_at = table.columns.include?(:updated_at)
|
72
72
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fixie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|