fivepointssolutions-serve 0.9.11 → 0.9.12
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/{History.txt → CHANGELOG} +0 -0
- data/{License.txt → LICENSE} +0 -0
- data/{README.txt → README} +0 -0
- data/Rakefile +14 -0
- data/VERSION.yml +1 -1
- data/rails/init.rb +11 -0
- metadata +7 -5
data/{History.txt → CHANGELOG}
RENAMED
|
File without changes
|
data/{License.txt → LICENSE}
RENAMED
|
File without changes
|
data/{README.txt → README}
RENAMED
|
File without changes
|
data/Rakefile
ADDED
|
@@ -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
|
data/VERSION.yml
CHANGED
data/rails/init.rb
ADDED
|
@@ -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.
|
|
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-
|
|
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
|
-
-
|
|
26
|
-
-
|
|
25
|
+
- CHANGELOG
|
|
26
|
+
- LICENSE
|
|
27
27
|
- Quickstart.textile
|
|
28
|
-
-
|
|
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
|