hydeweb 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/HISTORY.md +5 -0
  2. data/Rakefile +0 -6
  3. data/lib/hyde.rb +1 -1
  4. data/lib/hyde/server.rb +5 -1
  5. metadata +1 -1
data/HISTORY.md CHANGED
@@ -1,3 +1,8 @@
1
+ v0.1.4
2
+ ------
3
+
4
+ - Fix: `hyde start` was giving errors.
5
+
1
6
  v0.1.3
2
7
  ------
3
8
 
data/Rakefile CHANGED
@@ -3,9 +3,3 @@ task :test do
3
3
  end
4
4
 
5
5
  task :default => :test
6
-
7
- task :gemrelease do
8
- require './lib/hyde'
9
- v = Hyde.version
10
- system "joe build && git commit -a -m \"Update to version #{v}.\" && git tag v#{v} && git push && joe release"
11
- end
data/lib/hyde.rb CHANGED
@@ -12,7 +12,7 @@ require 'shake'
12
12
  Tilt.mappings['html'] = Tilt.mappings['erb']
13
13
 
14
14
  class Hyde
15
- VERSION = "0.1.3"
15
+ VERSION = "0.1.4"
16
16
  PREFIX = File.expand_path('../', __FILE__)
17
17
 
18
18
  Error = Class.new(StandardError)
data/lib/hyde/server.rb CHANGED
@@ -14,8 +14,12 @@ class Hyde
14
14
  res.write "404"
15
15
  end
16
16
 
17
+ def options
18
+ @options ||= Hash.new
19
+ end
20
+
17
21
  def show_status(page)
18
- return if @options[:quiet]
22
+ return if options[:quiet]
19
23
  path = env['PATH_INFO']
20
24
  return if path == '/favicon.ico'
21
25
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: hydeweb
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rico Sta. Cruz