bjork 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -16,3 +16,4 @@ spec/reports
16
16
  test/tmp
17
17
  test/version_tmp
18
18
  tmp
19
+ .rbenv-version
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Bjork
2
2
 
3
+ [Documentation](http://pixieengine.github.io/bjork/)
4
+
3
5
  Magical HTML local game server. Serves up your CoffeeScript, JavaScript, image and sound assets.
4
6
 
5
7
  Put your files in:
@@ -14,31 +16,21 @@ and they will be served by Bjork.
14
16
 
15
17
  ## Installation
16
18
 
17
- Add this line to your application's Gemfile:
18
-
19
- gem 'bjork'
20
-
21
- And then execute:
22
-
23
- $ bundle
24
-
25
- Or install it yourself as:
26
-
27
- $ gem install bjork
19
+ gem install bjork
28
20
 
29
21
  ## Usage
30
22
 
31
- Start the server and it will serve up your game. In your Rakefile
23
+ Creating a new game is easy!
32
24
 
33
- require "bjork/tasks"
25
+ bjork create awesome_game
34
26
 
35
- Then on the command line
27
+ Start the server and it will serve up your game. On the command line from within your games root directory:
36
28
 
37
- rake start
29
+ bjork
38
30
 
39
31
  This will start the bjork server.
40
32
 
41
- Your game will be accessible at http://localhost:4567
33
+ Your game will be accessible at http://localhost:1999
42
34
 
43
35
  ## FAQ
44
36
 
data/Rakefile CHANGED
@@ -2,6 +2,7 @@ require "bundler/gem_tasks"
2
2
 
3
3
  task :default => :start
4
4
 
5
+ desc "start the bjork server"
5
6
  task :start do
6
7
  require "bjork"
7
8
 
@@ -28,4 +28,6 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency "shank"
29
29
  spec.add_dependency "thor"
30
30
  spec.add_dependency "jquery-source", "1.9.1.1"
31
+ # spec.add_dependency "spacedocs"
31
32
  end
33
+
@@ -76,6 +76,12 @@ module Bjork
76
76
  200
77
77
  end
78
78
 
79
+ get "/docs" do
80
+ documentation_dir = "#{local_folder}/documentation"
81
+
82
+ haml "#{documentation_dir}/index.html"
83
+ end
84
+
79
85
  get '/debug_console' do
80
86
  haml :debug
81
87
  end
@@ -1,3 +1,3 @@
1
1
  module Bjork
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bjork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-07 00:00:00.000000000 Z
12
+ date: 2013-05-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  version: '0'
205
205
  requirements: []
206
206
  rubyforge_project:
207
- rubygems_version: 1.8.24
207
+ rubygems_version: 1.8.25
208
208
  signing_key:
209
209
  specification_version: 3
210
210
  summary: A magical singing HTML5 game server