blossom 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/blossom.rb +2 -2
  2. metadata +4 -19
data/lib/blossom.rb CHANGED
@@ -7,7 +7,7 @@ require "rack/strip-www"
7
7
  require "hassle"
8
8
 
9
9
  module Blossom
10
- VERSION = "0.0.9"
10
+ VERSION = "0.0.10"
11
11
  end
12
12
 
13
13
  def Blossom.get_seconds(value, unit)
@@ -36,7 +36,7 @@ def Blossom(root_file, index = :index, options = {})
36
36
  Rack::Builder.app do
37
37
  cache = options[:cache]
38
38
  use Hassle
39
- use Rack::StripWWW
39
+ use Rack::StripWWW unless options[:strip_www?] == false
40
40
  defined? Rack::Coffee and use Rack::Coffee,
41
41
  :static => false,
42
42
  :urls => "/",
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blossom
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 0
9
- - 9
10
- version: 0.0.9
8
+ - 10
9
+ version: 0.0.10
11
10
  platform: ruby
12
11
  authors:
13
12
  - Daniel Brockman
@@ -15,18 +14,16 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-12-09 00:00:00 +01:00
17
+ date: 2011-03-01 00:00:00 +01:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: sinatra
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
25
  - - ~>
28
26
  - !ruby/object:Gem::Version
29
- hash: 23
30
27
  segments:
31
28
  - 1
32
29
  - 0
@@ -38,11 +35,9 @@ dependencies:
38
35
  name: haml
39
36
  prerelease: false
40
37
  requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
38
  requirements:
43
39
  - - ~>
44
40
  - !ruby/object:Gem::Version
45
- hash: 7
46
41
  segments:
47
42
  - 3
48
43
  - 0
@@ -54,11 +49,9 @@ dependencies:
54
49
  name: compass
55
50
  prerelease: false
56
51
  requirement: &id003 !ruby/object:Gem::Requirement
57
- none: false
58
52
  requirements:
59
53
  - - ~>
60
54
  - !ruby/object:Gem::Version
61
- hash: 55
62
55
  segments:
63
56
  - 0
64
57
  - 10
@@ -70,11 +63,9 @@ dependencies:
70
63
  name: rack-strip-www
71
64
  prerelease: false
72
65
  requirement: &id004 !ruby/object:Gem::Requirement
73
- none: false
74
66
  requirements:
75
67
  - - ~>
76
68
  - !ruby/object:Gem::Version
77
- hash: 23
78
69
  segments:
79
70
  - 0
80
71
  - 2
@@ -86,11 +77,9 @@ dependencies:
86
77
  name: hassle
87
78
  prerelease: false
88
79
  requirement: &id005 !ruby/object:Gem::Requirement
89
- none: false
90
80
  requirements:
91
81
  - - ~>
92
82
  - !ruby/object:Gem::Version
93
- hash: 29
94
83
  segments:
95
84
  - 0
96
85
  - 0
@@ -120,27 +109,23 @@ rdoc_options: []
120
109
  require_paths:
121
110
  - lib
122
111
  required_ruby_version: !ruby/object:Gem::Requirement
123
- none: false
124
112
  requirements:
125
113
  - - ">="
126
114
  - !ruby/object:Gem::Version
127
- hash: 3
128
115
  segments:
129
116
  - 0
130
117
  version: "0"
131
118
  required_rubygems_version: !ruby/object:Gem::Requirement
132
- none: false
133
119
  requirements:
134
120
  - - ">="
135
121
  - !ruby/object:Gem::Version
136
- hash: 3
137
122
  segments:
138
123
  - 0
139
124
  version: "0"
140
125
  requirements: []
141
126
 
142
127
  rubyforge_project:
143
- rubygems_version: 1.3.7
128
+ rubygems_version: 1.3.6
144
129
  signing_key:
145
130
  specification_version: 3
146
131
  summary: Quick-start web development with Haml, Sass and Compass.