casual-api 3.0.0 → 3.0.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/casual-api +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f562aeb27eaed4448ca125d26b257e9c0cf51c6
4
- data.tar.gz: 08a14d0ba57999138e843de5e5e567c33ffa50b0
3
+ metadata.gz: 615e5453eed2773913ee6567ca5e25e8b34e54e5
4
+ data.tar.gz: caab53ecf1987013cbc48e5a24a6a1cc7214a68f
5
5
  SHA512:
6
- metadata.gz: 194ac34b57ddec0727cfe72c415cb66266b589c0477e9c8784869e9a534a089c302c825b143cc718d669f312e95995f6e46c6673fea540fd2388acf9d591a55a
7
- data.tar.gz: eb1f02762637aeef75ed68d48786d35a36a097d8b846ddb401e17cae5334e0abe6bae542c9faa62ac88b476cb7b2061978298147cc6063f4767b066bb92c8e7f
6
+ metadata.gz: 6f90e9b8ad933610cff8933eaf2418a9423da898216e95525b7a85eb81f8ab0412bb74817e3b76979c193ac7a4c45b333182b129407d00a5675200525393d105
7
+ data.tar.gz: 4569b89b9554e635dac8e7e004241ccf602f971d351c7ecfad26d1be74e9ad6217303cb05db240d0afc8a43397b0358c174b142abe53b52f4623715d23a1b568
data/bin/casual-api CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'open3'
3
3
  lib = File.expand_path('../../lib', __FILE__)
4
- command = "thin -R #{lib}/config.ru start"
4
+ port = ARGV[0] || 3000
5
+ command = "thin -p #{port} -R #{lib}/config.ru start"
5
6
  puts "casual-api is running, CTRL+C to stop"
6
7
  _, out, err, th = Open3.popen3(command)
7
8
  th.join
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: casual-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takeshi Kojima