wbzyl-sinatra-static-assets 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.markdown CHANGED
@@ -122,10 +122,14 @@ In order to use include the following in a Sinatra application:
122
122
 
123
123
  Or, if subclassing `Sinatra::Base`, include helpers manually:
124
124
 
125
+ gem 'emk-sinatra-url-for'
126
+ require 'sinatra/url_for'
127
+
125
128
  gem 'wbzyl-sinatra-static-assets'
126
129
  require 'sinatra/static_assets'
127
130
 
128
131
  class Summer < Sinatra::Base
132
+ helpers Sinatra::UrlForHelper
129
133
  helpers Sinatra::StaticAssets
130
134
  # ...
131
135
  end
@@ -175,7 +179,7 @@ Next, create directories required by Passenger:
175
179
 
176
180
  mkdir /srv/www/hitch.local/{public,tmp}
177
181
 
178
- and copy `config.ru` into `/srv/www/hitch.local` and
182
+ and, finally, copy `config.ru` into `/srv/www/hitch.local` and
179
183
  update `LOAD_PATH` in the copied file.
180
184
 
181
185
  With everything in place, after restarting Apache2,
@@ -191,10 +195,10 @@ respectively.
191
195
 
192
196
  ## Miscellaneous stuff
193
197
 
194
- 1. The `examples` directory contains *summer* and *winter* applications.
198
+ 1\. The `examples` directory contains *summer* and *winter* applications.
195
199
 
196
- 2. In order to create a virual host add the following to */etc/hosts/*:
200
+ 2\. In order to create a virual host add the following to */etc/hosts/*:
197
201
 
198
202
  127.0.0.1 localhost.localdomain localhost hitch.local
199
203
 
200
- 3. TODO: write tests
204
+ 3\. TODO: write tests
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 4
4
+ :patch: 5
@@ -1,4 +1,4 @@
1
- gem 'sinatra', '~>0.9.2'
1
+ gem 'sinatra', '>=0.9.2'
2
2
  require 'sinatra/base'
3
3
 
4
4
  gem 'emk-sinatra-url-for', '>=0.2.1'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wbzyl-sinatra-static-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wlodek Bzyl
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-02 00:00:00 -07:00
12
+ date: 2009-06-06 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency