bradgessler-domain_slice 0.0.0

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/VERSION.yml ADDED
@@ -0,0 +1,4 @@
1
+ ---
2
+ :minor: 0
3
+ :patch: 0
4
+ :major: 0
@@ -0,0 +1,7 @@
1
+ module DomainSlice
2
+ module Middleware
3
+ module Static
4
+ # Grabs the static assets out of the correctomundo path
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ require 'rubygems'
2
+ require 'domain_slice'
3
+ require 'rack'
4
+ require File.join(File.dirname(__FILE__), %w[middleware static])
5
+
6
+ module DomainSlice
7
+ module Middleware
8
+ end
9
+ end
@@ -0,0 +1,6 @@
1
+ module DomainSlice
2
+ module Rails
3
+ module Initializer
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,16 @@
1
+ require 'domain_slice'
2
+ require File.join(File.dirname(__FILE__), %w[rails initializer])
3
+
4
+ module DomainSlice
5
+ module Rails
6
+ class << self
7
+ def init
8
+ # Strap all of the domain-slice crap into rails
9
+ end
10
+
11
+ def root
12
+
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,2 @@
1
+ module DomainSlice
2
+ end
@@ -0,0 +1,12 @@
1
+ require 'rubygems'
2
+ require 'spec'
3
+
4
+ module DomainSlice
5
+ module TestHelpers
6
+ class << self
7
+ def require_domain_slice
8
+ require File.join(File.dirname(__FILE__), %w[.. lib domain_slice])
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,4 @@
1
+ require File.join(File.dirname(__FILE__), %w[.. spec_helper])
2
+
3
+ describe DomainSlice, "loading" do
4
+ end
@@ -0,0 +1 @@
1
+ require File.join(File.dirname(__FILE__), %w[.. spec_helper])
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bradgessler-domain_slice
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Brad Gessler
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-03-25 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Partition rails apps by domains
17
+ email: brad@conden.se
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
24
+ files:
25
+ - VERSION.yml
26
+ - lib/domain_slice
27
+ - lib/domain_slice/middleware
28
+ - lib/domain_slice/middleware/static.rb
29
+ - lib/domain_slice/middleware.rb
30
+ - lib/domain_slice/rails
31
+ - lib/domain_slice/rails/initializer.rb
32
+ - lib/domain_slice/rails.rb
33
+ - lib/domain_slice.rb
34
+ - spec/spec_helper.rb
35
+ - spec/specs
36
+ - spec/specs/domain_slice_spec.rb
37
+ - spec/specs/rails_spec.rb
38
+ has_rdoc: true
39
+ homepage: http://github.com/bradgessler/domain-slice
40
+ post_install_message:
41
+ rdoc_options:
42
+ - --inline-source
43
+ - --charset=UTF-8
44
+ require_paths:
45
+ - lib
46
+ required_ruby_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: "0"
51
+ version:
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: "0"
57
+ version:
58
+ requirements: []
59
+
60
+ rubyforge_project:
61
+ rubygems_version: 1.2.0
62
+ signing_key:
63
+ specification_version: 2
64
+ summary: Domain slice is a way to partition a rails application into various domains. This was built for a project where we needed to build private label websites for one of our rails applications.
65
+ test_files: []
66
+