connection_ninja 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest CHANGED
@@ -1,11 +1,11 @@
1
1
  CHANGELOG
2
+ MIT-License
3
+ Manifest
4
+ README.markdown
5
+ Rakefile
2
6
  config/database.example.yml
3
7
  connection_ninja.gemspec
4
8
  lib/connection_ninja.rb
5
- Manifest
6
- MIT-License
7
- Rakefile
8
- README.markdown
9
9
  spec/connection_ninja_spec.rb
10
10
  spec/fixtures/models.rb
11
11
  spec/fixtures/structure.sql
data/README.markdown CHANGED
@@ -3,6 +3,21 @@ Introduction
3
3
 
4
4
  Connection Ninja is a really simple gem to help connection to multiple databases. I wrote it to help with the way we were connected a new application at work to our older application that holds the data we needed to do reporting on. We have code (models) that is shared between those two applications, and I wanted them to be able to connect to the correct database regardless which app they were in, and therefore which database.yml they were reading.
5
5
 
6
+ Installation
7
+ ============
8
+
9
+ To install connection_ninja you need to be using gemcutter, so install it if you haven't:
10
+
11
+ sudo gem install gemcutter
12
+
13
+ And enable the gem source
14
+
15
+ gem tumble
16
+
17
+ Then you can install connection_ninja
18
+
19
+ sudo gem install connection_ninja
20
+
6
21
  Configuration
7
22
  =============
8
23
 
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('connection_ninja', '0.3.3') do |p|
5
+ Echoe.new('connection_ninja', '0.3.4') do |p|
6
6
  p.description = "Inject a new connection to an alternate database into an ActiveRecord Model at runtime"
7
7
  p.summary = ""
8
8
  p.url = "http://github.com/cherring/connection_ninja"
@@ -2,20 +2,20 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{connection_ninja}
5
- s.version = "0.3.3"
5
+ s.version = "0.3.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Chris Herring"]
9
- s.date = %q{2009-06-08}
9
+ s.date = %q{2009-10-12}
10
10
  s.description = %q{Inject a new connection to an alternate database into an ActiveRecord Model at runtime}
11
11
  s.email = %q{chris.herring.iphone@gmail.com}
12
- s.extra_rdoc_files = ["CHANGELOG", "lib/connection_ninja.rb", "README.markdown"]
13
- s.files = ["CHANGELOG", "config/database.example.yml", "connection_ninja.gemspec", "lib/connection_ninja.rb", "Manifest", "MIT-License", "Rakefile", "README.markdown", "spec/connection_ninja_spec.rb", "spec/fixtures/models.rb", "spec/fixtures/structure.sql", "spec/spec_helper.rb", "spec/test_helper.rb"]
12
+ s.extra_rdoc_files = ["CHANGELOG", "README.markdown", "lib/connection_ninja.rb"]
13
+ s.files = ["CHANGELOG", "MIT-License", "Manifest", "README.markdown", "Rakefile", "config/database.example.yml", "connection_ninja.gemspec", "lib/connection_ninja.rb", "spec/connection_ninja_spec.rb", "spec/fixtures/models.rb", "spec/fixtures/structure.sql", "spec/spec_helper.rb", "spec/test_helper.rb"]
14
14
  s.homepage = %q{http://github.com/cherring/connection_ninja}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Connection_ninja", "--main", "README.markdown"]
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = %q{connection_ninja}
18
- s.rubygems_version = %q{1.3.3}
18
+ s.rubygems_version = %q{1.3.4}
19
19
  s.summary = %q{Inject a new connection to an alternate database into an ActiveRecord Model at runtime}
20
20
 
21
21
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: connection_ninja
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Herring
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-08 00:00:00 +10:00
12
+ date: 2009-10-12 00:00:00 +11:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -21,17 +21,17 @@ extensions: []
21
21
 
22
22
  extra_rdoc_files:
23
23
  - CHANGELOG
24
- - lib/connection_ninja.rb
25
24
  - README.markdown
25
+ - lib/connection_ninja.rb
26
26
  files:
27
27
  - CHANGELOG
28
+ - MIT-License
29
+ - Manifest
30
+ - README.markdown
31
+ - Rakefile
28
32
  - config/database.example.yml
29
33
  - connection_ninja.gemspec
30
34
  - lib/connection_ninja.rb
31
- - Manifest
32
- - MIT-License
33
- - Rakefile
34
- - README.markdown
35
35
  - spec/connection_ninja_spec.rb
36
36
  - spec/fixtures/models.rb
37
37
  - spec/fixtures/structure.sql