Fix 'twenty up -b 0.0.0.0'
The fix comes from updating to server.rb v0.2.1 Also add Gemfile.lock for server/, cli/
This commit is contained in:
parent
c723d0abd5
commit
0cdea6df5e
5 changed files with 252 additions and 6 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -1,11 +1,8 @@
|
|||
*.gem
|
||||
.gems/
|
||||
.bundle
|
||||
Gemfile.lock
|
||||
.bundle/
|
||||
.yardoc/
|
||||
.dev/
|
||||
.doc/
|
||||
pkg/
|
||||
.gems/
|
||||
stage/
|
||||
packages/
|
||||
|
|
75
Gemfile.lock
Normal file
75
Gemfile.lock
Normal file
|
@ -0,0 +1,75 @@
|
|||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
twenty (0.5.7)
|
||||
twenty-cli (= 0.5.7)
|
||||
twenty-client (= 0.5.7)
|
||||
twenty-server (= 0.5.7)
|
||||
|
||||
PATH
|
||||
remote: cli
|
||||
specs:
|
||||
twenty-cli (0.5.7)
|
||||
cmd.rb (~> 0.5)
|
||||
paint (~> 2.3)
|
||||
|
||||
PATH
|
||||
remote: client
|
||||
specs:
|
||||
twenty-client (0.5.7)
|
||||
|
||||
PATH
|
||||
remote: server
|
||||
specs:
|
||||
twenty-server (0.5.7)
|
||||
graphql (~> 2.2)
|
||||
sequel (~> 5.78)
|
||||
server.rb (~> 0.1)
|
||||
sqlite3 (~> 1.6)
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
base64 (0.2.0)
|
||||
bigdecimal (3.1.7)
|
||||
cli-option_parser.rb (0.6.0)
|
||||
cmd.rb (0.5.1)
|
||||
cli-option_parser.rb (~> 0.6)
|
||||
ryo.rb (~> 0.5)
|
||||
ffi (1.16.3)
|
||||
graphql (2.3.2)
|
||||
base64
|
||||
listen (3.9.0)
|
||||
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||
rb-inotify (~> 0.9, >= 0.9.10)
|
||||
mini_portile2 (2.8.6)
|
||||
nio4r (2.7.1)
|
||||
paint (2.3.0)
|
||||
puma (6.4.2)
|
||||
nio4r (~> 2.0)
|
||||
rack (3.0.10)
|
||||
rb-fsevent (0.11.2)
|
||||
rb-inotify (0.10.1)
|
||||
ffi (~> 1.0)
|
||||
ryo.rb (0.5.1)
|
||||
sequel (5.80.0)
|
||||
bigdecimal
|
||||
server.rb (0.2.1)
|
||||
puma (~> 6.3)
|
||||
rack (~> 3.0)
|
||||
sqlite3 (1.7.3)
|
||||
mini_portile2 (~> 2.8.0)
|
||||
|
||||
PLATFORMS
|
||||
amd64-freebsd-14
|
||||
x86_64-openbsd
|
||||
|
||||
DEPENDENCIES
|
||||
listen
|
||||
twenty!
|
||||
twenty-cli!
|
||||
twenty-client!
|
||||
twenty-server!
|
||||
|
||||
BUNDLED WITH
|
||||
2.5.9
|
77
cli/Gemfile.lock
Normal file
77
cli/Gemfile.lock
Normal file
|
@ -0,0 +1,77 @@
|
|||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
twenty-cli (0.5.7)
|
||||
cmd.rb (~> 0.5)
|
||||
paint (~> 2.3)
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
ast (2.4.2)
|
||||
cli-option_parser.rb (0.6.0)
|
||||
cmd.rb (0.5.0)
|
||||
cli-option_parser.rb (~> 0.6)
|
||||
ryo.rb (~> 0.4)
|
||||
json (2.7.1)
|
||||
language_server-protocol (3.17.0.3)
|
||||
lint_roller (1.1.0)
|
||||
paint (2.3.0)
|
||||
parallel (1.24.0)
|
||||
parser (3.3.0.5)
|
||||
ast (~> 2.4.1)
|
||||
racc
|
||||
power_assert (2.0.3)
|
||||
racc (1.7.3)
|
||||
rainbow (3.1.1)
|
||||
redcarpet (3.6.0)
|
||||
regexp_parser (2.9.0)
|
||||
rexml (3.2.6)
|
||||
rubocop (1.62.1)
|
||||
json (~> 2.3)
|
||||
language_server-protocol (>= 3.17.0)
|
||||
parallel (~> 1.10)
|
||||
parser (>= 3.3.0.2)
|
||||
rainbow (>= 2.2.2, < 4.0)
|
||||
regexp_parser (>= 1.8, < 3.0)
|
||||
rexml (>= 3.2.5, < 4.0)
|
||||
rubocop-ast (>= 1.31.1, < 2.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (>= 2.4.0, < 3.0)
|
||||
rubocop-ast (1.31.2)
|
||||
parser (>= 3.3.0.4)
|
||||
rubocop-performance (1.20.2)
|
||||
rubocop (>= 1.48.1, < 2.0)
|
||||
rubocop-ast (>= 1.30.0, < 2.0)
|
||||
ruby-progressbar (1.13.0)
|
||||
ryo.rb (0.5.1)
|
||||
standard (1.35.1)
|
||||
language_server-protocol (~> 3.17.0.2)
|
||||
lint_roller (~> 1.0)
|
||||
rubocop (~> 1.62.0)
|
||||
standard-custom (~> 1.0.0)
|
||||
standard-performance (~> 1.3)
|
||||
standard-custom (1.0.2)
|
||||
lint_roller (~> 1.0)
|
||||
rubocop (~> 1.50)
|
||||
standard-performance (1.3.1)
|
||||
lint_roller (~> 1.1)
|
||||
rubocop-performance (~> 1.20.2)
|
||||
test-unit (3.5.9)
|
||||
power_assert
|
||||
unicode-display_width (2.5.0)
|
||||
yard (0.9.34)
|
||||
|
||||
PLATFORMS
|
||||
amd64-freebsd-14
|
||||
x86_64-openbsd
|
||||
|
||||
DEPENDENCIES
|
||||
redcarpet (~> 3.5)
|
||||
standard (~> 1.35)
|
||||
test-unit (~> 3.5.7)
|
||||
twenty-cli!
|
||||
yard (~> 0.9)
|
||||
|
||||
BUNDLED WITH
|
||||
2.5.3
|
97
server/Gemfile.lock
Normal file
97
server/Gemfile.lock
Normal file
|
@ -0,0 +1,97 @@
|
|||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
twenty-server (0.5.7)
|
||||
graphql (~> 2.2)
|
||||
sequel (~> 5.78)
|
||||
server.rb (~> 0.1)
|
||||
sqlite3 (~> 1.6)
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
ast (2.4.2)
|
||||
base64 (0.2.0)
|
||||
bigdecimal (3.1.7)
|
||||
graphql (2.3.0)
|
||||
base64
|
||||
json (2.7.1)
|
||||
language_server-protocol (3.17.0.3)
|
||||
lint_roller (1.1.0)
|
||||
mini_portile2 (2.8.5)
|
||||
nio4r (2.7.1)
|
||||
parallel (1.24.0)
|
||||
parser (3.3.0.5)
|
||||
ast (~> 2.4.1)
|
||||
racc
|
||||
power_assert (2.0.3)
|
||||
puma (6.4.2)
|
||||
nio4r (~> 2.0)
|
||||
racc (1.7.3)
|
||||
rack (3.0.10)
|
||||
rainbow (3.1.1)
|
||||
regexp_parser (2.9.0)
|
||||
rexml (3.2.6)
|
||||
rubocop (1.62.1)
|
||||
json (~> 2.3)
|
||||
language_server-protocol (>= 3.17.0)
|
||||
parallel (~> 1.10)
|
||||
parser (>= 3.3.0.2)
|
||||
rainbow (>= 2.2.2, < 4.0)
|
||||
regexp_parser (>= 1.8, < 3.0)
|
||||
rexml (>= 3.2.5, < 4.0)
|
||||
rubocop-ast (>= 1.31.1, < 2.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (>= 2.4.0, < 3.0)
|
||||
rubocop-ast (1.31.2)
|
||||
parser (>= 3.3.0.4)
|
||||
rubocop-performance (1.20.2)
|
||||
rubocop (>= 1.48.1, < 2.0)
|
||||
rubocop-ast (>= 1.30.0, < 2.0)
|
||||
ruby-progressbar (1.13.0)
|
||||
sequel (5.78.0)
|
||||
bigdecimal
|
||||
server.rb (0.1.1)
|
||||
puma (~> 6.3)
|
||||
rack (~> 3.0)
|
||||
sqlite3 (1.7.3)
|
||||
mini_portile2 (~> 2.8.0)
|
||||
sqlite3 (1.7.3-aarch64-linux)
|
||||
sqlite3 (1.7.3-arm-linux)
|
||||
sqlite3 (1.7.3-arm64-darwin)
|
||||
sqlite3 (1.7.3-x86-linux)
|
||||
sqlite3 (1.7.3-x86_64-darwin)
|
||||
sqlite3 (1.7.3-x86_64-linux)
|
||||
standard (1.35.1)
|
||||
language_server-protocol (~> 3.17.0.2)
|
||||
lint_roller (~> 1.0)
|
||||
rubocop (~> 1.62.0)
|
||||
standard-custom (~> 1.0.0)
|
||||
standard-performance (~> 1.3)
|
||||
standard-custom (1.0.2)
|
||||
lint_roller (~> 1.0)
|
||||
rubocop (~> 1.50)
|
||||
standard-performance (1.3.1)
|
||||
lint_roller (~> 1.1)
|
||||
rubocop-performance (~> 1.20.2)
|
||||
test-unit (3.5.9)
|
||||
power_assert
|
||||
unicode-display_width (2.5.0)
|
||||
|
||||
PLATFORMS
|
||||
aarch64-linux
|
||||
amd64-freebsd-14
|
||||
arm-linux
|
||||
arm64-darwin
|
||||
ruby
|
||||
x86-linux
|
||||
x86_64-darwin
|
||||
x86_64-linux
|
||||
|
||||
DEPENDENCIES
|
||||
standard (~> 1.35)
|
||||
test-unit (~> 3.5.7)
|
||||
twenty-server!
|
||||
|
||||
BUNDLED WITH
|
||||
2.5.3
|
|
@ -5,8 +5,8 @@ module Twenty::Rack
|
|||
require_relative "rack/graphql"
|
||||
|
||||
##
|
||||
# @param [Hash] options
|
||||
# A hash of server options.
|
||||
# @param [Hash, #to_h] options
|
||||
# Hash of server options
|
||||
#
|
||||
# @return [Thread]
|
||||
def self.server(options = {})
|
||||
|
|
Loading…
Reference in a new issue