database_cleaner 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,5 +1,10 @@
1
1
  0.4.x (In Git)
2
2
 
3
+ == 0.4.3 2010-01-17
4
+
5
+ === New features
6
+ Truncation for ActiveRecord oracle_enhanced adapter. (Edgars Beigarts)
7
+
3
8
  == 0.4.2 2010-01-12
4
9
 
5
10
  === Bufixes
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :minor: 4
3
- :patch: 2
3
+ :patch: 3
4
4
  :build:
5
5
  :major: 0
@@ -33,6 +33,12 @@ module ActiveRecord
33
33
  end
34
34
  end
35
35
 
36
+ class OracleEnhancedAdapter
37
+ def truncate_table(table_name)
38
+ execute("TRUNCATE TABLE #{quote_table_name(table_name)}")
39
+ end
40
+ end
41
+
36
42
  end
37
43
  end
38
44
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: database_cleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Mabey
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-12 00:00:00 -07:00
12
+ date: 2010-01-17 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15