coffeeshop 0.0.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/coffeeshop +6 -3
- data/lib/coffeeshop/version.rb +1 -1
- metadata +8 -13
- data/foo.coffee +0 -1
- data/index.html +0 -1
- data/test/index.html +0 -1
- data/test.html +0 -1
data/bin/coffeeshop
CHANGED
@@ -3,9 +3,12 @@ require "bundler"
|
|
3
3
|
require "sinatra"
|
4
4
|
require_relative "../lib/coffeeshop"
|
5
5
|
|
6
|
-
|
7
|
-
set :
|
8
|
-
set :
|
6
|
+
configure do
|
7
|
+
set :static, true
|
8
|
+
set :public_folder, ENV["PWD"]
|
9
|
+
set :root, ENV["PWD"]
|
10
|
+
set :run, true
|
11
|
+
end
|
9
12
|
|
10
13
|
not_found do
|
11
14
|
path = settings.root + env["PATH_INFO"]
|
data/lib/coffeeshop/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coffeeshop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-03-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sinatra
|
16
|
-
requirement: &
|
16
|
+
requirement: &70208448224400 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70208448224400
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: coffee-script
|
27
|
-
requirement: &
|
27
|
+
requirement: &70208446792420 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70208446792420
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: redis
|
38
|
-
requirement: &
|
38
|
+
requirement: &70208446789400 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70208446789400
|
47
47
|
description: coffeeshop is a quick and dirty Sinatra app that serves up any CoffeeScript
|
48
48
|
in a directory as JavaScript. It uses Redis for basic caching because that's how
|
49
49
|
I roll.
|
@@ -60,12 +60,8 @@ files:
|
|
60
60
|
- Rakefile
|
61
61
|
- bin/coffeeshop
|
62
62
|
- coffeeshop.gemspec
|
63
|
-
- foo.coffee
|
64
|
-
- index.html
|
65
63
|
- lib/coffeeshop.rb
|
66
64
|
- lib/coffeeshop/version.rb
|
67
|
-
- test.html
|
68
|
-
- test/index.html
|
69
65
|
homepage: http://github.com/tysontate/coffeeshop
|
70
66
|
licenses: []
|
71
67
|
post_install_message:
|
@@ -90,5 +86,4 @@ rubygems_version: 1.8.11
|
|
90
86
|
signing_key:
|
91
87
|
specification_version: 3
|
92
88
|
summary: Simple Sinatra app to serve up CoffeeScript as JavaScript quickly.
|
93
|
-
test_files:
|
94
|
-
- test/index.html
|
89
|
+
test_files: []
|
data/foo.coffee
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rad.cool()
|
data/index.html
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
index
|
data/test/index.html
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
fsdhfs
|
data/test.html
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
test
|