oasis 0.5.0 → 0.5.1

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.
@@ -4,6 +4,7 @@ require "oasis/debug"
4
4
  require "oasis/app/list"
5
5
  require "oasis/app/loader"
6
6
  require "oasis/dependencies"
7
+ require "oasis/configure"
7
8
  require "oasis/development"
8
9
 
9
10
  require "oasis/routes" if defined? ActionController::Routing
@@ -0,0 +1,10 @@
1
+ module Oasis
2
+ module Configure
3
+ def configure!(config)
4
+ config.after_initialize do
5
+ ActiveSupport::Dependencies.extend Oasis::Dependencies
6
+ end
7
+ end
8
+ end
9
+ extend Configure
10
+ end
@@ -66,8 +66,3 @@ module Oasis
66
66
  end
67
67
  end
68
68
  end
69
-
70
-
71
- module ::ActiveSupport::Dependencies #:nodoc:
72
- extend Oasis::Dependencies
73
- end
@@ -1,3 +1,3 @@
1
1
  module Oasis
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oasis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Perez
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2010-01-11 00:00:00 -08:00
13
+ date: 2010-01-26 00:00:00 -08:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -41,6 +41,7 @@ files:
41
41
  - lib/oasis.rb
42
42
  - lib/oasis/app/list.rb
43
43
  - lib/oasis/app/loader.rb
44
+ - lib/oasis/configure.rb
44
45
  - lib/oasis/debug.rb
45
46
  - lib/oasis/dependencies.rb
46
47
  - lib/oasis/development.rb