createDBTable 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/createDBTable.rb +2 -2
- 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: baa4a2b405f590c7b2b157e350028ac0e8dd0235
|
4
|
+
data.tar.gz: 3ec37e19dceeee31af6b752756a74cc6848c2008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d4a9dfefcf1359b81c0b77c2dd1b0e1d5b832e613c8c46ca5e8affd39cda4eef825a576acc6835c4a2dcffddb16d5729d1e22952ac9a4627e2ecb24829ac438
|
7
|
+
data.tar.gz: 520a58839d2dbedf0d5cb418c12c6f0034df3842b846e3fa5dc2b8c6179ea8ab09105ac0f2a3d52c45657ca36294e74cf02df27d9981a7e6912cb5b30f1767ae
|
data/lib/createDBTable.rb
CHANGED
@@ -20,7 +20,7 @@ class RunRailsMigration
|
|
20
20
|
protected
|
21
21
|
def runRailsMigration
|
22
22
|
begin
|
23
|
-
exit_status=system("heroku run rails generate model #{@tablename} #{@schema}
|
23
|
+
exit_status=system("heroku run rails generate model #{@tablename} #{@schema}")
|
24
24
|
rescue Exception, NameError => nonerror
|
25
25
|
system('puts "Exception with Error" + nonerror >> log/NewVendorTable.log')
|
26
26
|
end
|
@@ -36,7 +36,7 @@ protected
|
|
36
36
|
private
|
37
37
|
def self.runDBMigrate
|
38
38
|
begin
|
39
|
-
exit_status=system("heroku run rake db:migrate
|
39
|
+
exit_status=system("heroku run rake db:migrate")
|
40
40
|
rescue Exception, NameError => nonerror
|
41
41
|
system('puts "Exception with Error" + nonerror >> log/NewVendorTable.log')
|
42
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: createDBTable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shiv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Creates a table
|
14
14
|
email: shiv@gmail.com
|