pinion 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pinion/server.rb +0 -4
- data/lib/pinion/version.rb +1 -1
- metadata +14 -3
data/lib/pinion/server.rb
CHANGED
@@ -48,9 +48,6 @@ module Pinion
|
|
48
48
|
# Boilerplate mostly stolen from sprockets
|
49
49
|
# https://github.com/sstephenson/sprockets/blob/master/lib/sprockets/server.rb
|
50
50
|
def call(env)
|
51
|
-
puts "********************** CALLING CALL"
|
52
|
-
puts "\033[01;34m>>>> env['PATH_INFO']: #{env["PATH_INFO"].inspect}\e[m"
|
53
|
-
puts "************************************"
|
54
51
|
start unless @running
|
55
52
|
|
56
53
|
# Avoid modifying the session state, don't set cookies, etc
|
@@ -96,7 +93,6 @@ module Pinion
|
|
96
93
|
invalidate_all_assets_of_type(asset.from_type)
|
97
94
|
return get_asset(to_path)
|
98
95
|
end
|
99
|
-
puts "\033[01;34m>>>> Using cached asset at to_path: #{to_path.inspect}\e[m"
|
100
96
|
else
|
101
97
|
begin
|
102
98
|
asset = get_uncached_asset(to_path)
|
data/lib/pinion/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pinion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-27 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|
16
|
-
requirement: &
|
16
|
+
requirement: &11163920 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,18 @@ dependencies:
|
|
21
21
|
version: '1.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *11163920
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rake
|
27
|
+
requirement: &11161740 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *11161740
|
25
36
|
description: ! 'Pinion is a Rack application that you can use to compile and serve
|
26
37
|
assets (such as Javascript and CSS).
|
27
38
|
|