fivepointssolutions-serve 0.9.11 → 0.9.12

Sign up to get free protection for your applications and to get access to all the features.
File without changes
File without changes
File without changes
@@ -0,0 +1,14 @@
1
+ begin
2
+ require 'jeweler'
3
+ Jeweler::Tasks.new do |s|
4
+ s.name = "serve"
5
+ s.summary = "Serve is a small Ruby script that makes it easy to start up a WEBrick server in any directory. Serve is ideal for HTML prototyping and simple file sharing. If the haml, redcloth, and bluecloth gems are installed serve can handle Haml, Sass, Textile, and Markdown (in addition to HTML)."
6
+ s.email = "me@johnwlong.com"
7
+ s.files = FileList["[A-Z]*", "{bin,lib,rails,spec}/**/*"]
8
+ s.homepage = "http://github.com/jlong/serve"
9
+ s.description = s.summary
10
+ s.authors = ["John W. Long"]
11
+ end
12
+ rescue LoadError
13
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
14
+ end
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 9
3
- :patch: 11
3
+ :patch: 12
4
4
  :major: 0
@@ -0,0 +1,11 @@
1
+ require 'serve/rails'
2
+
3
+ serve_controllers_path = File.expand_path(File.dirname(__FILE__) + '/../lib/serve/rails/controllers')
4
+ ActiveSupport::Dependencies.load_paths << serve_controllers_path
5
+ ActiveSupport::Dependencies.explicitly_unloadable_constants << 'ServeController'
6
+ ActionController::Routing.controller_paths << serve_controllers_path
7
+ ActionController::Routing::RouteSet::Mapper.send :include, Serve::Rails::Routing::MapperExtensions
8
+
9
+ ActionController::AbstractResponse.module_eval do
10
+ attr_accessor :cache_timeout
11
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fivepointssolutions-serve
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.11
4
+ version: 0.9.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - John W. Long
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-17 00:00:00 -08:00
12
+ date: 2009-01-19 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -22,10 +22,11 @@ extensions: []
22
22
  extra_rdoc_files: []
23
23
 
24
24
  files:
25
- - History.txt
26
- - License.txt
25
+ - CHANGELOG
26
+ - LICENSE
27
27
  - Quickstart.textile
28
- - README.txt
28
+ - Rakefile
29
+ - README
29
30
  - VERSION.yml
30
31
  - bin/serve
31
32
  - lib/serve
@@ -53,6 +54,7 @@ files:
53
54
  - lib/serve/webrick/server.rb
54
55
  - lib/serve/webrick/servlet.rb
55
56
  - lib/serve.rb
57
+ - rails/init.rb
56
58
  - spec/response_cache_spec.rb
57
59
  - spec/serve_application_spec.rb
58
60
  - spec/serve_spec.rb