bezel-app 0.1.4 → 0.1.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a704618556c1ec5f3d303fe862e14ec78eaf446f
4
- data.tar.gz: 2ede1231be7a0e20f4f0b3b6b50a6ec9e798a83d
3
+ metadata.gz: e48861177b67c8e7d434ea7e527cfb070e8cb79c
4
+ data.tar.gz: e6848b554d84f0addcae5b7bf2f4a136de6ec537
5
5
  SHA512:
6
- metadata.gz: 450027d5e67411ffafc49df055d6123d32d6085b3dd14fe845cbcaa7c103d763ff6f350101011c1c486a59d4d31a3410032adc97b8a03907404eb0b9a90f86a0
7
- data.tar.gz: 95d75c46f8d74c88eaf2559f74006c20c8a6f2d17fd16248f318e3152531b1460f701ba75c1b557d9e235a4951e4af2a4a283a9d9c60ef6017f5cd34e4f9727f
6
+ metadata.gz: 8469ccfc7e4be77ed179134768c378fbc987fa405a42e460f55a19bc658502f19c8af8870341bd6cc885b0d9b05a2311001b8d015cd19a45a316bd0f99631af4
7
+ data.tar.gz: b0ba9b1378a261104cad9b3b44beeae4ec104ca91f4599af60f2087c2c10948e7af6714ed0694772567b10a65ba71bb70b1c8cb8bef0840c17c7477874080ff9
data/bezel-app.gemspec CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'bezel-app'
8
- spec.version = '0.1.4'
8
+ spec.version = '0.1.5'
9
9
  spec.authors = ['Keith Thompson']
10
10
  spec.email = ['KeithM_Thompson@outlook.com']
11
11
 
data/bin/bezel-app CHANGED
@@ -86,9 +86,12 @@ class CLI < Thor
86
86
  subcommand 'g', Generate
87
87
 
88
88
  desc 'server', 'starts the Bezel server'
89
+ option :p
89
90
  def server
90
91
  require_relative '../lib/bezel'
91
- Bezel::ServerConnection.start
92
+ port = nil
93
+ port = options[:p]
94
+ Bezel::ServerConnection.start(port)
92
95
  end
93
96
 
94
97
  desc 'new', 'creates a new Bezel app'
@@ -6,7 +6,7 @@ require_relative 'db_connection'
6
6
 
7
7
  module Bezel
8
8
  class ServerConnection
9
- def self.start
9
+ def self.start(port = 3000)
10
10
  DBConnection.open
11
11
 
12
12
  asset_app = Proc.new do |env|
@@ -23,7 +23,7 @@ module Bezel
23
23
 
24
24
  Rack::Server.start(
25
25
  app: app,
26
- Port: 3000
26
+ Port: port
27
27
  )
28
28
  end
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bezel-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Thompson