named_instances 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -5,7 +5,6 @@ Provides support for named instances in Rails.
5
5
  Quick usage:
6
6
 
7
7
  class Diagnosis < ActiveRecord::Base
8
- include NamedInstances
9
8
  has_named_instances :name
10
9
  end
11
10
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
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.2"
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-10-08}
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.2
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-10-08 00:00:00 -04:00
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