serve 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  = Change Log
2
2
 
3
+ == 1.5.1 (July 13, 2011)
4
+ * Include .empty file in Gem for "blank" template. Closes #42. [jlong]
5
+ * Include .htaccess file in Gem for "default" template. [jlong]
6
+
3
7
  == 1.5.0 (July 12, 2011)
4
8
  * Integrated bundler into config.ru and added a default Gemfile. [jlong]
5
9
  * Added new --template option which allows you to specify a project template when creating a new project. [jlong]
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.5.1
data/lib/serve/project.rb CHANGED
@@ -206,11 +206,6 @@ module Serve #:nodoc:
206
206
  end
207
207
  end
208
208
 
209
- # Convert dashes and spaces to underscores
210
- def underscore(string)
211
- string.gsub(/-|\s+/, '_')
212
- end
213
-
214
209
  def default_templates_directory
215
210
  "#{File.dirname(__FILE__)}/templates"
216
211
  end
File without changes
@@ -0,0 +1 @@
1
+ Options +MultiViews
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: serve
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.5.0
5
+ version: 1.5.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - John W. Long
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2011-07-12 00:00:00 -04:00
15
+ date: 2011-07-13 00:00:00 -04:00
16
16
  default_executable: serve
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
@@ -273,6 +273,8 @@ files:
273
273
  - lib/serve/project.rb
274
274
  - lib/serve/rack.rb
275
275
  - lib/serve/router.rb
276
+ - lib/serve/templates/blank/.empty
277
+ - lib/serve/templates/default/public/.htaccess
276
278
  - lib/serve/templates/default/public/images/serve-logo.png
277
279
  - lib/serve/templates/default/stylesheets/modules/_all.scss
278
280
  - lib/serve/templates/default/stylesheets/modules/_links.scss
@@ -315,7 +317,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
315
317
  requirements:
316
318
  - - ">="
317
319
  - !ruby/object:Gem::Version
318
- hash: -400107684497950535
320
+ hash: -3258795319669960495
319
321
  segments:
320
322
  - 0
321
323
  version: "0"