db-charmer 1.8.2 → 1.8.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,8 @@
1
+ 1.8.3 (2013-02-11):
2
+
3
+ Bumped up rails dependencies up to 3.2.12.
4
+
5
+ ----------------------------------------------------------------------------------------
1
6
  1.8.2 (2013-01-11):
2
7
 
3
8
  Bumped up rails dependencies up to 3.2.11.
@@ -1,5 +1,6 @@
1
1
  # In Rails 2.2 they did not add it to the autoload so it won't work w/o this require
2
2
  require 'active_record/version' unless defined?(::ActiveRecord::VERSION::MAJOR)
3
+ require 'active_support/core_ext'
3
4
 
4
5
  module DbCharmer
5
6
  # Configure autoload
@@ -108,6 +109,7 @@ require 'db_charmer/force_slave_reads'
108
109
 
109
110
  # Add our custom class-level attributes to AR models
110
111
  require 'db_charmer/active_record/class_attributes'
112
+ require 'active_record'
111
113
  ActiveRecord::Base.extend(DbCharmer::ActiveRecord::ClassAttributes)
112
114
 
113
115
  # Enable connections switching in AR
@@ -2,7 +2,7 @@ module DbCharmer
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 8
5
- PATCH = 2
5
+ PATCH = 3
6
6
  BUILD = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
metadata CHANGED
@@ -1,106 +1,106 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: db-charmer
3
- version: !ruby/object:Gem::Version
4
- hash: 51
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.8.3
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 8
9
- - 2
10
- version: 1.8.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Oleksiy Kovyrin
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-01-11 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-02-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: activesupport
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - <=
27
- - !ruby/object:Gem::Version
28
- hash: 25
29
- segments:
30
- - 3
31
- - 2
32
- - 11
33
- version: 3.2.11
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.12
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: activerecord
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - <=
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.12
30
+ - !ruby/object:Gem::Dependency
31
+ name: activerecord
32
+ requirement: !ruby/object:Gem::Requirement
40
33
  none: false
41
- requirements:
34
+ requirements:
42
35
  - - <=
43
- - !ruby/object:Gem::Version
44
- hash: 25
45
- segments:
46
- - 3
47
- - 2
48
- - 11
49
- version: 3.2.11
36
+ - !ruby/object:Gem::Version
37
+ version: 3.2.12
50
38
  type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: rspec
54
39
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - <=
44
+ - !ruby/object:Gem::Version
45
+ version: 3.2.12
46
+ - !ruby/object:Gem::Dependency
47
+ name: rspec
48
+ requirement: !ruby/object:Gem::Requirement
56
49
  none: false
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- hash: 3
61
- segments:
62
- - 0
63
- version: "0"
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
64
54
  type: :development
65
- version_requirements: *id003
66
- - !ruby/object:Gem::Dependency
67
- name: yard
68
55
  prerelease: false
69
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: yard
64
+ requirement: !ruby/object:Gem::Requirement
70
65
  none: false
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- hash: 3
75
- segments:
76
- - 0
77
- version: "0"
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
78
70
  type: :development
79
- version_requirements: *id004
80
- - !ruby/object:Gem::Dependency
81
- name: actionpack
82
71
  prerelease: false
83
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
84
73
  none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- hash: 3
89
- segments:
90
- - 0
91
- version: "0"
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: actionpack
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
92
86
  type: :development
93
- version_requirements: *id005
94
- description: DbCharmer is a Rails plugin (and gem) that could be used to manage AR model connections, implement master/slave query schemes, sharding and other magic features many high-scale applications need.
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ description: DbCharmer is a Rails plugin (and gem) that could be used to manage AR
95
+ model connections, implement master/slave query schemes, sharding and other magic
96
+ features many high-scale applications need.
95
97
  email: alexey@kovyrin.net
96
98
  executables: []
97
-
98
99
  extensions: []
99
-
100
- extra_rdoc_files:
100
+ extra_rdoc_files:
101
101
  - LICENSE
102
102
  - README.rdoc
103
- files:
103
+ files:
104
104
  - lib/db_charmer/action_controller/force_slave_reads.rb
105
105
  - lib/db_charmer/active_record/association_preload.rb
106
106
  - lib/db_charmer/active_record/class_attributes.rb
@@ -141,36 +141,28 @@ files:
141
141
  - CHANGES
142
142
  homepage: http://kovyrin.github.com/db-charmer
143
143
  licenses: []
144
-
145
144
  post_install_message:
146
- rdoc_options:
145
+ rdoc_options:
147
146
  - --charset=UTF-8
148
- require_paths:
147
+ require_paths:
149
148
  - lib
150
- required_ruby_version: !ruby/object:Gem::Requirement
149
+ required_ruby_version: !ruby/object:Gem::Requirement
151
150
  none: false
152
- requirements:
153
- - - ">="
154
- - !ruby/object:Gem::Version
155
- hash: 3
156
- segments:
157
- - 0
158
- version: "0"
159
- required_rubygems_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ! '>='
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
155
+ required_rubygems_version: !ruby/object:Gem::Requirement
160
156
  none: false
161
- requirements:
162
- - - ">="
163
- - !ruby/object:Gem::Version
164
- hash: 3
165
- segments:
166
- - 0
167
- version: "0"
157
+ requirements:
158
+ - - ! '>='
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
168
161
  requirements: []
169
-
170
162
  rubyforge_project:
171
163
  rubygems_version: 1.8.24
172
164
  signing_key:
173
165
  specification_version: 3
174
166
  summary: ActiveRecord Connections Magic (slaves, multiple connections, etc)
175
167
  test_files: []
176
-
168
+ has_rdoc: