constant_table_saver 2.0.0 → 3.0.0

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 CHANGED
@@ -11,7 +11,8 @@ named after the name field you specify.
11
11
  Compatibility
12
12
  =============
13
13
 
14
- Currently tested against Rails 2.3.14, 3.0.17, 3.1.8, and 3.2.8.
14
+ Currently tested against Rails 3.2.13, on Ruby 1.8.7 and 2.0.0p0.
15
+ Was also tested compatible with 2.3.14, 3.0.17, and 3.1.8.
15
16
 
16
17
 
17
18
  Example
@@ -62,4 +63,4 @@ Means you will also have methods returning those records:
62
63
  Optionally, you can specify a :name_prefix and/or :name_suffix.
63
64
 
64
65
 
65
- Copyright (c) 2010-2012 Will Bryant, Sekuda Ltd, released under the MIT license
66
+ Copyright (c) 2010-2013 Will Bryant, Sekuda Ltd, released under the MIT license
@@ -16,7 +16,8 @@ named after the name field you specify.
16
16
  Compatibility
17
17
  =============
18
18
 
19
- Currently tested against Rails 2.3.14, 3.0.17, 3.1.8, and 3.2.8.
19
+ Currently tested against Rails 3.2.13, on Ruby 1.8.7 and 2.0.0p0.
20
+ Was also tested compatible with 2.3.14, 3.0.17, and 3.1.8.
20
21
  EOF
21
22
  gem.has_rdoc = false
22
23
  gem.author = "Will Bryant"
@@ -52,8 +52,8 @@ module ConstantTableSaver
52
52
  module ActiveRecord3ClassMethods
53
53
  def scoped(options = nil)
54
54
  return super if options
55
- return super if respond_to?(:current_scoped_methods) && current_scoped_methods
56
- return super if respond_to?(:current_scope) && current_scope
55
+ return super if respond_to?(:current_scoped_methods, true) && current_scoped_methods
56
+ return super if respond_to?(:current_scope, true) && current_scope
57
57
  @cached_blank_scope ||= super.tap do |s|
58
58
  class << s
59
59
  def to_a
@@ -1,3 +1,3 @@
1
1
  module ConstantTableSaver
2
- VERSION = '2.0.0'
2
+ VERSION = '3.0.0'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: constant_table_saver
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
- - 2
7
+ - 3
8
8
  - 0
9
9
  - 0
10
- version: 2.0.0
10
+ version: 3.0.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Will Bryant
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-19 00:00:00 Z
18
+ date: 2013-04-20 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activerecord
@@ -70,7 +70,8 @@ description: |
70
70
  Compatibility
71
71
  =============
72
72
 
73
- Currently tested against Rails 2.3.14, 3.0.17, 3.1.8, and 3.2.8.
73
+ Currently tested against Rails 3.2.13, on Ruby 1.8.7 and 2.0.0p0.
74
+ Was also tested compatible with 2.3.14, 3.0.17, and 3.1.8.
74
75
 
75
76
  email: will.bryant@gmail.com
76
77
  executables: []