nephos-server 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +3 -0
  3. data/bin/nephos-server +6 -3
  4. data/version +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4514440bf54a350bfc10a1708dd59e62026c09a
4
- data.tar.gz: 9b799b47b67cf952c673dff00d0f78372fdd19ab
3
+ metadata.gz: fafffc3b9fdd5ee491e7df8a1546d4a7cd016eae
4
+ data.tar.gz: 65c935615e226cf314c77a2faa44bf59178657c2
5
5
  SHA512:
6
- metadata.gz: e9c40078b0cd371e4d8a78ef260d8ba60077495c27b4b0dcc8608d439585c39102281d877906345776168351d3d2709a409cfe1a15b9ade138cb141835117786
7
- data.tar.gz: 4d9d73d790941b6a0192525ed3c20374c683affc465d83ad761ac7a32e6a9268524205141d26dcd83d13e3ef1bdbe4f34fb4035cb8d5bcfdbb87849fa435c8cd
6
+ metadata.gz: 7b64a9a8263f866929e5bb72af132dd52a74093ddbf048d06b6b441b23e725927be767bf252cea6ab8ff33be127ca4e186d4a9333bb4bd16ae1b80124ff70448
7
+ data.tar.gz: 4d555a6a371e0afc3355121584ee20fa7e1e17c19b201c1b888aba3fbccd2ec095cda34552d25f49d2013afc583e2641cc90c47da6e7542407ac4bee4f9f171f
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ v0.4.5
2
+ * fix server executable
3
+
1
4
  v0.4.4
2
5
  * improve errors
3
6
  * fix unitary tests about controller generator
data/bin/nephos-server CHANGED
@@ -1,7 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ require 'colorize'
3
4
  require 'optparse'
4
5
 
6
+ class RoutingError < StandardError; end
7
+
5
8
  begin
6
9
  OptionParser.new do |opts|
7
10
  opts.banner = "Usage: nephos-server [-p=port] [--debug]"
@@ -33,9 +36,9 @@ begin
33
36
  Nephos::Server.start($server_port)
34
37
 
35
38
  rescue RoutingError => err
36
- puts "#{err.class}. Check out the documentation and `routes.rb` file."
37
- puts err.message
39
+ puts "Routing Error: Check out the documentation and `routes.rb` file.".yellow
40
+ puts "#{err.class}: #{err.message}".red
38
41
 
39
42
  rescue => err
40
- puts "Error: #{err.message}"
43
+ puts "#{err.class}: #{err.message}".red
41
44
  end
data/version CHANGED
@@ -1 +1 @@
1
- 0.4.4
1
+ 0.4.5
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nephos-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - poulet_a
@@ -148,5 +148,5 @@ rubyforge_project:
148
148
  rubygems_version: 2.4.8
149
149
  signing_key:
150
150
  specification_version: 4
151
- summary: "* improve errors * fix unitary tests about controller generator"
151
+ summary: "* fix server executable"
152
152
  test_files: []