farmstead 0.0.84 → 0.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/farmstead/db.rb +1 -1
- data/lib/farmstead/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5da550b7959977858909e8cdc49c024c6bdd0ff4
|
4
|
+
data.tar.gz: fd822bda469d92673d5d3884c4a79d899592a75b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c7dabbe52f2867b77336e7ce5e735955923e2e91337d6eb402d499b7e990f7ad2048cfe7ca2e65e517fac04f7ac44aafb5061e8e72404e9f34392f760d452f0
|
7
|
+
data.tar.gz: 5cffee8cd33d3082eeebc343ac8f8147e23f3b5734c39a064861dafaa313b12dd36c65e67a027eb358bdea1bc63666201e676d29c139c4247982220afe7bfc02
|
data/Gemfile.lock
CHANGED
data/lib/farmstead/db.rb
CHANGED
@@ -67,7 +67,7 @@ module Farmstead
|
|
67
67
|
# For now keep it simple
|
68
68
|
def self.create_table(table, hash)
|
69
69
|
self.pull_variables
|
70
|
-
string = "CREATE TABLE IF NOT EXISTS #{table} (id
|
70
|
+
string = "CREATE TABLE IF NOT EXISTS #{table} (id MEDIUMINT NOT NULL AUTO_INCREMENT primary key, "
|
71
71
|
hash.each_with_index do |(key, value), index|
|
72
72
|
string = string + key.to_s + " " + value
|
73
73
|
unless index == 1
|
data/lib/farmstead/version.rb
CHANGED