side_do 0.1.3 → 0.1.4

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/game.rb +2 -0
  3. data/lib/side_do/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ce6d135016542618eb8d0e9717b928b253d87c8
4
- data.tar.gz: 77668cda26d478b2188ae838d1c78b626ad9efb5
3
+ metadata.gz: ef63803b57644d1f2d5ca528ddf3e278c4686d09
4
+ data.tar.gz: 92547bbc6910c965ebaa20064aab3f58a86f30fb
5
5
  SHA512:
6
- metadata.gz: 017ba230152c1cca4ad06d15338d099675bcbd12c4a1e0108c156fab717ba8db983fa237971a2dd8548f8052a4bcad20cbe9236b003d2e2fc058e4b43596b737
7
- data.tar.gz: a82f640988de8f4c60fc47be1d4d5078e9b8b3d66f65c2412d0fe355329db10dfb7c3831985a114b3937855d7e85e1549e51adf5ac258e7a40c9efbf07e9d9a4
6
+ metadata.gz: af6ab1a80c2b56b551c62de48eda896eecfa7690b47459d108402982d4376639ebe3b00ba8c0c273803ed52094d8e27bc0c56541b32a8d1ccb19f49058091c08
7
+ data.tar.gz: a75119bde4462a53c2e49470ac478182491eb2b7e4e1fc0d215198abe520723d0b271f28e512fe1425f62e57b7e00299441707dfa4bab57d5feb212db82159ca
data/bin/game.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require 'active_record'
2
2
  require 'mysql2'
3
3
  require 'open3'
4
+ require 'yaml'
4
5
  yml_path = File.join(ENV['HOME'], '.side_do.rc.yaml')
5
6
  raise "could not find your config file in #{yml_path}, please make it first" unless File.exist?(yml_path)
6
7
 
@@ -14,6 +15,7 @@ ActiveRecord::Base.establish_connection(
14
15
  )
15
16
 
16
17
  class Game < ActiveRecord::Base
18
+ self.inheritance_column = :something_diffrent_from_type # here dont use single talbe inheri..
17
19
  has_many :game_files
18
20
  end
19
21
 
@@ -1,3 +1,3 @@
1
1
  module SideDo
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: side_do
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wang Guangxing