farmstead 0.0.84 → 0.0.85

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: c0239815b172e357f2aa65383f9e1865656d6f1d
4
- data.tar.gz: e46bc4af68efbf9a2957a2ecff995b9933712e5e
3
+ metadata.gz: 5da550b7959977858909e8cdc49c024c6bdd0ff4
4
+ data.tar.gz: fd822bda469d92673d5d3884c4a79d899592a75b
5
5
  SHA512:
6
- metadata.gz: b0f838a8c9d7b83d45c7272ab5af3cf40e37ff0a2153c34a8156673267142667d35cd69e96ce1a353717936f2b189a5c41b38b122621ef22c2f086ed177c171b
7
- data.tar.gz: ff4d7c3810e81c093a5995ad72b1f0549c6ab59dbefc0a8452631259b573e516dbe237fd6dec0a8f316e469638eb33b83dd93476abe0c230a644637c42365972
6
+ metadata.gz: 6c7dabbe52f2867b77336e7ce5e735955923e2e91337d6eb402d499b7e990f7ad2048cfe7ca2e65e517fac04f7ac44aafb5061e8e72404e9f34392f760d452f0
7
+ data.tar.gz: 5cffee8cd33d3082eeebc343ac8f8147e23f3b5734c39a064861dafaa313b12dd36c65e67a027eb358bdea1bc63666201e676d29c139c4247982220afe7bfc02
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- farmstead (0.0.84)
4
+ farmstead (0.0.85)
5
5
  httparty (~> 0.15.6)
6
6
  mechanize (~> 2.7)
7
7
  mysql2 (~> 0.4.10)
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 integer primary key, "
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
@@ -1,3 +1,3 @@
1
1
  module Farmstead
2
- VERSION = "0.0.84"
2
+ VERSION = "0.0.85"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: farmstead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.84
4
+ version: 0.0.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Jenney