pushpop 0.3.2 → 0.3.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
  SHA1:
3
- metadata.gz: 6b5c8c5f448db0f349b1f67a83452eb99c8cede4
4
- data.tar.gz: 46d2988e35bd9dc03ebe6bd5adf904f8908892d5
3
+ metadata.gz: fe7805d7d7e709db2e7755e129304910d3d0fee1
4
+ data.tar.gz: a54982a5c2d839742707fb436c80b5c2797be836
5
5
  SHA512:
6
- metadata.gz: ced64c203502d950795bb1659922913fb632ecad5ea8bea830e30d37184e79b5fb24adf1bf9e72bf15d23cf2ba78c766f7054a85c5a5073d905fb1ec3c7bfd9a
7
- data.tar.gz: c548a07eaef640e6b6ca6964e3fcf0f59d71d45cac012671ab12aa7eb076d02cddfe6d97a93740ba4d3e5087cd26b660a5f976b690a221d7c0d98a2f32aac953
6
+ metadata.gz: 774bf40378cf98a36a075251ca1e387771234608c642969f47b461c655d64ed98d1c25b9687234fad8a7ff9f53d2c418400c7e28a54486e67b6d2c53353b03e9
7
+ data.tar.gz: 37498cee6426ea779b993de3406d31ce61187836558920140ec6fd4ff64a0da28f3d27f99ec1c64c646076b1260e7b58c6574fc7f383b67019c3298039fe916b
@@ -41,7 +41,11 @@ module Pushpop
41
41
  # on the CLI interface
42
42
  if web.routes.length > 0
43
43
  Thread.new do
44
- @web.app.run!
44
+ if ENV['PORT']
45
+ @web.app.run! :port => ENV['PORT']
46
+ else
47
+ @web.app.run!
48
+ end
45
49
  end
46
50
  else
47
51
  false
@@ -1,3 +1,3 @@
1
1
  module Pushpop
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pushpop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Dzielak