lgm 0.0.2 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/lgm +4 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b35884abdde76ce2969f272ef552d636258c4c3b
4
- data.tar.gz: b77e4fb3305236a87828213e912d95e1a4015356
3
+ metadata.gz: 8db6a41190826509f61907621b214a437092ff7e
4
+ data.tar.gz: e5f0ac6fc71d734ca743a95687fb775a332ab241
5
5
  SHA512:
6
- metadata.gz: c61f8eef8d0257079069a214f5edac69c5715c761051ebedfca3f7a37e5ac574d73f7d94d21d24770d6e2ef0f86033062cbdd64684dfd129905c0f44ed4f9690
7
- data.tar.gz: d255d2f6061224006f597b71d7003c02665f2cb64e51a65e31d7200db2a35b43be8d21a2b8d839a1155ba4e0d34e08be00f070219ebac4e55574ab21e171f636
6
+ metadata.gz: ca1d2a80f934d6b3f30219e015cbf3d03076162302e71203fe0be4bbde2c4888b44b8692af3303e30fe2a20ed71f0eccc4e9daad61f723a5fe0bf201772ced34
7
+ data.tar.gz: 39e14ed2ebc09a20064a09970e1795f62f1784a6fdab1303d0eb51e19ddeefe83421fed30f65efea043229ce9894f0f752f9abdd5556a4326dc39ed32c4b913d
data/bin/lgm CHANGED
@@ -3,7 +3,9 @@
3
3
  require 'puma'
4
4
  require_relative '../server/app'
5
5
 
6
- server = Puma::Server.new App.new
7
- server.add_tcp_listener '127.0.0.1:8000'
6
+ root = File.dirname __dir__
7
+ server = Puma::Server.new App.new "#{root}/static/dist"
8
+ puts 'Starting lgm at localhost:8000.'
9
+ server.add_tcp_listener '127.0.0.1', 8000
8
10
  server.run
9
11
  sleep
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lgm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoly Chernow