with_connection 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -1,7 +1 @@
1
- require 'rails/all'
2
-
3
- module WithConnection
4
- extend ActiveSupport::Autoload
5
-
6
- autoload :ConnectionPool
7
- end
1
+ require 'with_connection/connection_pool'
@@ -1,3 +1,5 @@
1
+ require "active_record/connection_adapters/abstract/connection_pool"
2
+
1
3
  module WithConnection
2
4
  class ConnectionPool < ActiveRecord::ConnectionAdapters::ConnectionPool
3
5
  attr_reader :name
@@ -0,0 +1,60 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "with_connection"
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Doug Youch"]
12
+ s.date = "2013-06-04"
13
+ s.description = "Uses active record connection pool logic with the fiber_patch"
14
+ s.email = "doug@sessionm.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rvmrc",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "lib/active_record/fiber_patches.rb",
29
+ "lib/with_connection.rb",
30
+ "lib/with_connection/connection_pool.rb",
31
+ "with_connection.gemspec"
32
+ ]
33
+ s.homepage = "http://github.com/dyouch5@yahoo.com/with_connection"
34
+ s.licenses = ["MIT"]
35
+ s.require_paths = ["lib"]
36
+ s.rubygems_version = "1.8.23"
37
+ s.summary = "Generic connection pool for fibers and threads"
38
+
39
+ if s.respond_to? :specification_version then
40
+ s.specification_version = 3
41
+
42
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
+ s.add_runtime_dependency(%q<rails>, ["~> 3.0.15"])
44
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
45
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
46
+ s.add_development_dependency(%q<rspec>, [">= 0"])
47
+ else
48
+ s.add_dependency(%q<rails>, ["~> 3.0.15"])
49
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
50
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
51
+ s.add_dependency(%q<rspec>, [">= 0"])
52
+ end
53
+ else
54
+ s.add_dependency(%q<rails>, ["~> 3.0.15"])
55
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
56
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
57
+ s.add_dependency(%q<rspec>, [">= 0"])
58
+ end
59
+ end
60
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: with_connection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -91,9 +91,10 @@ files:
91
91
  - README.rdoc
92
92
  - Rakefile
93
93
  - VERSION
94
+ - lib/active_record/fiber_patches.rb
94
95
  - lib/with_connection.rb
95
96
  - lib/with_connection/connection_pool.rb
96
- - lib/with_connection/fiber_patches.rb
97
+ - with_connection.gemspec
97
98
  homepage: http://github.com/dyouch5@yahoo.com/with_connection
98
99
  licenses:
99
100
  - MIT
@@ -109,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
110
  version: '0'
110
111
  segments:
111
112
  - 0
112
- hash: -1538544343472523699
113
+ hash: 3982890719728245561
113
114
  required_rubygems_version: !ruby/object:Gem::Requirement
114
115
  none: false
115
116
  requirements: