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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 942d233e8db89efea3069363c9bc729f65b38fed
4
- data.tar.gz: c8810c4a8e5f7b403394ede43137e0ff081d9917
3
+ metadata.gz: 2af6e750ed73e3bb2d5a4e36b8a22bb45d4e06af
4
+ data.tar.gz: 2f7ee65828e9b1995f8b8a124f26cce0b5f3add6
5
5
  SHA512:
6
- metadata.gz: 12895d4237d004b66be0ac8a4192f10be5fd80609a09ed616f35c3fdeece9d51e18319dbcfa47cd468eddc8da4391daa88c99a4478ca702d1ab12f2e53b92751
7
- data.tar.gz: a8f886d191335f04b8b105cd305668d445e906f57d659b1656002b93513fb737031257b968f3a5b59b801b040e445eaae4d7a7fd20e9bfd811e6aa6fd536bc93
6
+ metadata.gz: 68114ab1a2a4a8734e41c6ff891107c04825acd8029aee7ef2b0019d0d3251062d0ff5677759b03a28c3b56afb098d0d0dc5022b8c0f48fe5e95db9059cb1c06
7
+ data.tar.gz: d855fe7758e8d058f827ba8178a97481bf7c3cd07827b54b1b4856dd7fb68b2100dccf846ad45a2e4853f0d06de174f9fd629d31c231d629e15192eaf14f274b
data/fixie.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "fixie"
5
- gem.version = "0.3.0"
5
+ gem.version = "0.4.0"
6
6
  gem.authors = ["Paul Barry"]
7
7
  gem.email = ["mail@paulbarry.com"]
8
8
  gem.description = %q{A standalone library for managing test fixture data}
data/lib/fixie/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fixie
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
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.delete
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.3.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-13 00:00:00.000000000 Z
11
+ date: 2015-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport