named_instances 0.0.2 → 0.0.3
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/README.rdoc +0 -1
- data/VERSION +1 -1
- data/named_instances.gemspec +6 -4
- data/rails/init.rb +1 -0
- metadata +3 -2
data/README.rdoc
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.3
|
data/named_instances.gemspec
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# Generated by jeweler
|
|
2
|
-
# DO NOT EDIT THIS FILE
|
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{named_instances}
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Jason Dew"]
|
|
12
|
-
s.date = %q{2009-
|
|
12
|
+
s.date = %q{2009-12-11}
|
|
13
13
|
s.description = %q{Give cached access to ActiveRecord models for quicker and more readable data-based logic.}
|
|
14
14
|
s.email = %q{jason.dew@gmail.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
|
|
|
25
25
|
"VERSION",
|
|
26
26
|
"lib/named_instances.rb",
|
|
27
27
|
"named_instances.gemspec",
|
|
28
|
+
"rails/init.rb",
|
|
28
29
|
"test/fixtures/diagnosis.rb",
|
|
29
30
|
"test/named_instances_test.rb",
|
|
30
31
|
"test/rails_crutch.rb",
|
|
@@ -61,3 +62,4 @@ Gem::Specification.new do |s|
|
|
|
61
62
|
s.add_dependency(%q<activesupport>, [">= 0"])
|
|
62
63
|
end
|
|
63
64
|
end
|
|
65
|
+
|
data/rails/init.rb
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ActiveRecord::Base.send(:include, NamedInstances)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: named_instances
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jason Dew
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-12-11 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -60,6 +60,7 @@ files:
|
|
|
60
60
|
- VERSION
|
|
61
61
|
- lib/named_instances.rb
|
|
62
62
|
- named_instances.gemspec
|
|
63
|
+
- rails/init.rb
|
|
63
64
|
- test/fixtures/diagnosis.rb
|
|
64
65
|
- test/named_instances_test.rb
|
|
65
66
|
- test/rails_crutch.rb
|