what 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
data/bin/what CHANGED
@@ -31,4 +31,4 @@ unless What::Config.loaded?
31
31
  exit
32
32
  end
33
33
 
34
- Rack::Handler::WEBrick.run(What::Server.new, :Port => 9428)
34
+ Rack::Handler::WEBrick.run(What::Server.new, :Port => What::Config['port'] || 9428)
@@ -1,7 +1,8 @@
1
1
  module What
2
2
  class Formatters::YAML < Formatters::Base
3
3
  def mime
4
- 'application/x-yaml'
4
+ #'application/x-yaml'
5
+ 'text/plain'
5
6
  end
6
7
 
7
8
  def format(hash)
data/lib/what/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module What
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: what
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 14
10
- version: 0.0.14
9
+ - 15
10
+ version: 0.0.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Fitzgerald
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-05-19 00:00:00 -07:00
19
+ date: 2011-05-20 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency