termworld 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/Gemfile.lock +1 -1
- data/bin/exec +2 -0
- data/bin/release +2 -0
- data/lib/termworld/constants/version.rb +1 -1
- data/lib/termworld/db/db.rb +8 -0
- data/lib/termworld/db/user.rb +11 -0
- data/lib/termworld.rb +8 -10
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec994ed512655c180ec297accf4119f15db32350aa248982485b4935540e9915
|
4
|
+
data.tar.gz: ae3a910c55b2e3396b62ad2adf6aa4a563f20de6d9aeaa805b93750d2622ad21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2b34d527b416a67c9aa72f09a2b3b4ed21cd972c86f62d2d64fbdafec6dd24f16a0acf4197eb0777f1a719a9e95b0284f5b2c9c357490993e18600a7c9c20c4
|
7
|
+
data.tar.gz: 48ae1d79ea3d002b92087c8409d34cd5918ec59330135fcfea582e004470abec88edfebe390322cc8a17926374e64db23381b77144ba6dccc56a60819bde8b2a
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/bin/exec
ADDED
data/bin/release
ADDED
data/lib/termworld.rb
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
require "thor"
|
2
|
-
require "
|
3
|
-
|
4
|
-
Dir.glob("lib/**/*.rb")
|
5
|
-
file.gsub(/^lib\//, '').gsub(/\.rb$/, '')
|
6
|
-
|
7
|
-
file
|
8
|
-
}.each { |file|
|
9
|
-
require file
|
10
|
-
}
|
2
|
+
require "sequel"
|
3
|
+
|
4
|
+
Dir.glob("lib/**/*.rb")
|
5
|
+
.map { |file| file.gsub(/^lib\//, '').gsub(/\.rb$/, '') }
|
6
|
+
.reject { |file| file == 'termworld' }
|
7
|
+
.each { |file| require file }
|
11
8
|
module Termworld
|
12
9
|
def self.start
|
13
|
-
|
10
|
+
DB.new
|
11
|
+
CLI.start
|
14
12
|
end
|
15
13
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: termworld
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kthatoto
|
@@ -126,11 +126,15 @@ files:
|
|
126
126
|
- README.md
|
127
127
|
- Rakefile
|
128
128
|
- bin/console
|
129
|
+
- bin/exec
|
130
|
+
- bin/release
|
129
131
|
- bin/setup
|
130
132
|
- exe/termworld
|
131
133
|
- lib/termworld.rb
|
132
134
|
- lib/termworld/cli.rb
|
133
135
|
- lib/termworld/constants/version.rb
|
136
|
+
- lib/termworld/db/db.rb
|
137
|
+
- lib/termworld/db/user.rb
|
134
138
|
- termworld.gemspec
|
135
139
|
homepage: https://github.com/kthatoto/termworld
|
136
140
|
licenses:
|