phil_columns-activerecord 0.2.1 → 0.2.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8669fb4534bed3973ade5405629bbbabc2206501
|
4
|
+
data.tar.gz: b5ff6da84974c856212edee3d999aa3fd841b3f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c9040b00fb81ee7a44a84a97d6efbc7d3ce48226e8c2e0fe32aa1d8016851475b212d4430a3bb02302250138beabe8566eeeb4c04956d78e63429e4589afd45
|
7
|
+
data.tar.gz: fd9481b4ac441299e05460483f0352cf6d85dae6ec1101ee1c0240cf2aa853002b6124ebbb75c714055a4645dac40e04e5c4fbc63d8c8fdbee9e46baedd9fa83
|
@@ -19,6 +19,8 @@ module PhilColumns
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def clear_migrations_table
|
22
|
+
return unless ActiveRecord::Base.connection.table_exists?( schema_migrations_table_name )
|
23
|
+
|
22
24
|
case connection_config[:adapter]
|
23
25
|
when 'sqlite', 'sqlite3'
|
24
26
|
connection.execute("DELETE FROM #{table_name}")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phil_columns-activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- C. Jason Harrelson (midas)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|