termworld 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: ec994ed512655c180ec297accf4119f15db32350aa248982485b4935540e9915
4
- data.tar.gz: ae3a910c55b2e3396b62ad2adf6aa4a563f20de6d9aeaa805b93750d2622ad21
3
+ metadata.gz: 9fb28ea82445649a5fc0a168fe89ab394f821fde1b0afb9802fd9dabb0500aae
4
+ data.tar.gz: 0eb3cf48ead8858ac5f54036086c029168d9422681caf7f19eeb1567cbfa5626
5
5
  SHA512:
6
- metadata.gz: b2b34d527b416a67c9aa72f09a2b3b4ed21cd972c86f62d2d64fbdafec6dd24f16a0acf4197eb0777f1a719a9e95b0284f5b2c9c357490993e18600a7c9c20c4
7
- data.tar.gz: 48ae1d79ea3d002b92087c8409d34cd5918ec59330135fcfea582e004470abec88edfebe390322cc8a17926374e64db23381b77144ba6dccc56a60819bde8b2a
6
+ metadata.gz: 81c855b5c4a77d064e88ba64273b72854cbd77f123f05a6fa3b08a79c84b62f9c2a5c71cec7363f17421ad687ce197ae1940b340fbdf8d4aa65257bea3abcf0a
7
+ data.tar.gz: 04fd7e4e5ede01d5a5e6ae66c38b7a1fb0ad67b31175e8a53302eebaea9c27a3ccc0b8f8038d12f74c19ae02518d12b6d552091c709426eace507c7626031465
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- termworld (0.1.2)
4
+ termworld (0.1.3)
5
5
  sequel
6
6
  sqlite3
7
7
  thor
data/lib/termworld/cli.rb CHANGED
@@ -1,4 +1,3 @@
1
- # require 'thor'
2
1
  module Termworld
3
2
  class CLI < Thor
4
3
 
@@ -1,3 +1,3 @@
1
1
  module Termworld
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -1,7 +1,9 @@
1
+ require "termworld/db/user"
2
+
1
3
  module Termworld
2
4
  class DB
3
5
  def initialize
4
- $db = Sequel.sqlite('termworld.db')
6
+ $db = Sequel.sqlite('./termworld.db')
5
7
  User.new
6
8
  end
7
9
  end
data/lib/termworld.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  require "thor"
2
2
  require "sequel"
3
3
 
4
- Dir.glob("lib/**/*.rb")
5
- .map { |file| file.gsub(/^lib\//, '').gsub(/\.rb$/, '') }
6
- .reject { |file| file == 'termworld' }
7
- .each { |file| require file }
4
+ require "termworld/constants/version"
5
+ require "termworld/db/db"
6
+ require "termworld/cli"
7
+
8
8
  module Termworld
9
9
  def self.start
10
10
  DB.new
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: termworld
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - kthatoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-17 00:00:00.000000000 Z
11
+ date: 2019-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor