store_base_sti_class 0.0.1

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.
Files changed (58) hide show
  1. data/Appraisals +25 -0
  2. data/CHANGELOG +2 -0
  3. data/Gemfile +9 -0
  4. data/Gemfile.lock +45 -0
  5. data/LICENSE.txt +20 -0
  6. data/README.rdoc +63 -0
  7. data/Rakefile +47 -0
  8. data/VERSION +1 -0
  9. data/db/storebasestiname_unittest.sql +0 -0
  10. data/gemfiles/rails_3.0.10.gemfile +11 -0
  11. data/gemfiles/rails_3.0.10.gemfile.lock +43 -0
  12. data/gemfiles/rails_3.0.11.gemfile +11 -0
  13. data/gemfiles/rails_3.0.11.gemfile.lock +43 -0
  14. data/gemfiles/rails_3.0.12.gemfile +11 -0
  15. data/gemfiles/rails_3.0.12.gemfile.lock +43 -0
  16. data/gemfiles/rails_3.0.3.gemfile +11 -0
  17. data/gemfiles/rails_3.0.3.gemfile.lock +43 -0
  18. data/gemfiles/rails_3.0.4.gemfile +11 -0
  19. data/gemfiles/rails_3.0.4.gemfile.lock +43 -0
  20. data/gemfiles/rails_3.0.5.gemfile +11 -0
  21. data/gemfiles/rails_3.0.5.gemfile.lock +43 -0
  22. data/gemfiles/rails_3.0.6.gemfile +11 -0
  23. data/gemfiles/rails_3.0.6.gemfile.lock +43 -0
  24. data/gemfiles/rails_3.0.7.gemfile +11 -0
  25. data/gemfiles/rails_3.0.7.gemfile.lock +43 -0
  26. data/gemfiles/rails_3.0.8.gemfile +11 -0
  27. data/gemfiles/rails_3.0.8.gemfile.lock +43 -0
  28. data/gemfiles/rails_3.0.9.gemfile +11 -0
  29. data/gemfiles/rails_3.0.9.gemfile.lock +43 -0
  30. data/gemfiles/rails_3.1.0.gemfile +11 -0
  31. data/gemfiles/rails_3.1.0.gemfile.lock +47 -0
  32. data/gemfiles/rails_3.1.1.gemfile +11 -0
  33. data/gemfiles/rails_3.1.1.gemfile.lock +45 -0
  34. data/gemfiles/rails_3.1.2.gemfile +11 -0
  35. data/gemfiles/rails_3.1.2.gemfile.lock +45 -0
  36. data/gemfiles/rails_3.1.3.gemfile +11 -0
  37. data/gemfiles/rails_3.1.3.gemfile.lock +45 -0
  38. data/gemfiles/rails_3.1.4.gemfile +11 -0
  39. data/gemfiles/rails_3.1.4.gemfile.lock +45 -0
  40. data/gemfiles/rails_3.2.0.gemfile +11 -0
  41. data/gemfiles/rails_3.2.0.gemfile.lock +45 -0
  42. data/gemfiles/rails_3.2.1.gemfile +11 -0
  43. data/gemfiles/rails_3.2.1.gemfile.lock +45 -0
  44. data/gemfiles/rails_3.2.2.gemfile +11 -0
  45. data/gemfiles/rails_3.2.2.gemfile.lock +45 -0
  46. data/gemfiles/rails_3.2.3.gemfile +11 -0
  47. data/gemfiles/rails_3.2.3.gemfile.lock +45 -0
  48. data/lib/store_base_sti_class.rb +7 -0
  49. data/lib/store_base_sti_class_for_3_0.rb +470 -0
  50. data/lib/store_base_sti_class_for_3_1_and_above.rb +304 -0
  51. data/store_base_sti_class.gemspec +111 -0
  52. data/storebasestiname_unittest.sql +0 -0
  53. data/test/connection.rb +22 -0
  54. data/test/helper.rb +63 -0
  55. data/test/models.rb +48 -0
  56. data/test/schema.rb +35 -0
  57. data/test/test_store_base_sti_class.rb +161 -0
  58. metadata +205 -0
@@ -0,0 +1,43 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.8)
5
+ activesupport (= 3.0.8)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.5.0)
8
+ activerecord (3.0.8)
9
+ activemodel (= 3.0.8)
10
+ activesupport (= 3.0.8)
11
+ arel (~> 2.0.10)
12
+ tzinfo (~> 0.3.23)
13
+ activesupport (3.0.8)
14
+ appraisal (0.4.1)
15
+ bundler
16
+ rake
17
+ arel (2.0.10)
18
+ builder (2.1.2)
19
+ git (1.2.5)
20
+ i18n (0.5.0)
21
+ jeweler (1.8.3)
22
+ bundler (~> 1.0)
23
+ git (>= 1.2.5)
24
+ rake
25
+ rdoc
26
+ json (1.7.1)
27
+ rake (0.9.2.2)
28
+ rcov (1.0.0)
29
+ rdoc (3.12)
30
+ json (~> 1.4)
31
+ sqlite3 (1.3.6)
32
+ tzinfo (0.3.33)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ activerecord (= 3.0.8)
39
+ appraisal
40
+ bundler
41
+ jeweler
42
+ rcov
43
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.0.9"
11
+
@@ -0,0 +1,43 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.9)
5
+ activesupport (= 3.0.9)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.5.0)
8
+ activerecord (3.0.9)
9
+ activemodel (= 3.0.9)
10
+ activesupport (= 3.0.9)
11
+ arel (~> 2.0.10)
12
+ tzinfo (~> 0.3.23)
13
+ activesupport (3.0.9)
14
+ appraisal (0.4.1)
15
+ bundler
16
+ rake
17
+ arel (2.0.10)
18
+ builder (2.1.2)
19
+ git (1.2.5)
20
+ i18n (0.5.0)
21
+ jeweler (1.8.3)
22
+ bundler (~> 1.0)
23
+ git (>= 1.2.5)
24
+ rake
25
+ rdoc
26
+ json (1.7.1)
27
+ rake (0.9.2.2)
28
+ rcov (1.0.0)
29
+ rdoc (3.12)
30
+ json (~> 1.4)
31
+ sqlite3 (1.3.6)
32
+ tzinfo (0.3.33)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ activerecord (= 3.0.9)
39
+ appraisal
40
+ bundler
41
+ jeweler
42
+ rcov
43
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.1.0"
11
+
@@ -0,0 +1,47 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.1.0)
5
+ activesupport (= 3.1.0)
6
+ bcrypt-ruby (~> 3.0.0)
7
+ builder (~> 3.0.0)
8
+ i18n (~> 0.6)
9
+ activerecord (3.1.0)
10
+ activemodel (= 3.1.0)
11
+ activesupport (= 3.1.0)
12
+ arel (~> 2.2.1)
13
+ tzinfo (~> 0.3.29)
14
+ activesupport (3.1.0)
15
+ multi_json (~> 1.0)
16
+ appraisal (0.4.1)
17
+ bundler
18
+ rake
19
+ arel (2.2.3)
20
+ bcrypt-ruby (3.0.1)
21
+ builder (3.0.0)
22
+ git (1.2.5)
23
+ i18n (0.6.0)
24
+ jeweler (1.8.3)
25
+ bundler (~> 1.0)
26
+ git (>= 1.2.5)
27
+ rake
28
+ rdoc
29
+ json (1.7.1)
30
+ multi_json (1.3.4)
31
+ rake (0.9.2.2)
32
+ rcov (1.0.0)
33
+ rdoc (3.12)
34
+ json (~> 1.4)
35
+ sqlite3 (1.3.6)
36
+ tzinfo (0.3.33)
37
+
38
+ PLATFORMS
39
+ ruby
40
+
41
+ DEPENDENCIES
42
+ activerecord (= 3.1.0)
43
+ appraisal
44
+ bundler
45
+ jeweler
46
+ rcov
47
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.1.1"
11
+
@@ -0,0 +1,45 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.1.1)
5
+ activesupport (= 3.1.1)
6
+ builder (~> 3.0.0)
7
+ i18n (~> 0.6)
8
+ activerecord (3.1.1)
9
+ activemodel (= 3.1.1)
10
+ activesupport (= 3.1.1)
11
+ arel (~> 2.2.1)
12
+ tzinfo (~> 0.3.29)
13
+ activesupport (3.1.1)
14
+ multi_json (~> 1.0)
15
+ appraisal (0.4.1)
16
+ bundler
17
+ rake
18
+ arel (2.2.3)
19
+ builder (3.0.0)
20
+ git (1.2.5)
21
+ i18n (0.6.0)
22
+ jeweler (1.8.3)
23
+ bundler (~> 1.0)
24
+ git (>= 1.2.5)
25
+ rake
26
+ rdoc
27
+ json (1.7.1)
28
+ multi_json (1.3.4)
29
+ rake (0.9.2.2)
30
+ rcov (1.0.0)
31
+ rdoc (3.12)
32
+ json (~> 1.4)
33
+ sqlite3 (1.3.6)
34
+ tzinfo (0.3.33)
35
+
36
+ PLATFORMS
37
+ ruby
38
+
39
+ DEPENDENCIES
40
+ activerecord (= 3.1.1)
41
+ appraisal
42
+ bundler
43
+ jeweler
44
+ rcov
45
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.1.2"
11
+
@@ -0,0 +1,45 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.1.2)
5
+ activesupport (= 3.1.2)
6
+ builder (~> 3.0.0)
7
+ i18n (~> 0.6)
8
+ activerecord (3.1.2)
9
+ activemodel (= 3.1.2)
10
+ activesupport (= 3.1.2)
11
+ arel (~> 2.2.1)
12
+ tzinfo (~> 0.3.29)
13
+ activesupport (3.1.2)
14
+ multi_json (~> 1.0)
15
+ appraisal (0.4.1)
16
+ bundler
17
+ rake
18
+ arel (2.2.3)
19
+ builder (3.0.0)
20
+ git (1.2.5)
21
+ i18n (0.6.0)
22
+ jeweler (1.8.3)
23
+ bundler (~> 1.0)
24
+ git (>= 1.2.5)
25
+ rake
26
+ rdoc
27
+ json (1.7.1)
28
+ multi_json (1.3.4)
29
+ rake (0.9.2.2)
30
+ rcov (1.0.0)
31
+ rdoc (3.12)
32
+ json (~> 1.4)
33
+ sqlite3 (1.3.6)
34
+ tzinfo (0.3.33)
35
+
36
+ PLATFORMS
37
+ ruby
38
+
39
+ DEPENDENCIES
40
+ activerecord (= 3.1.2)
41
+ appraisal
42
+ bundler
43
+ jeweler
44
+ rcov
45
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.1.3"
11
+
@@ -0,0 +1,45 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.1.3)
5
+ activesupport (= 3.1.3)
6
+ builder (~> 3.0.0)
7
+ i18n (~> 0.6)
8
+ activerecord (3.1.3)
9
+ activemodel (= 3.1.3)
10
+ activesupport (= 3.1.3)
11
+ arel (~> 2.2.1)
12
+ tzinfo (~> 0.3.29)
13
+ activesupport (3.1.3)
14
+ multi_json (~> 1.0)
15
+ appraisal (0.4.1)
16
+ bundler
17
+ rake
18
+ arel (2.2.3)
19
+ builder (3.0.0)
20
+ git (1.2.5)
21
+ i18n (0.6.0)
22
+ jeweler (1.8.3)
23
+ bundler (~> 1.0)
24
+ git (>= 1.2.5)
25
+ rake
26
+ rdoc
27
+ json (1.7.1)
28
+ multi_json (1.3.4)
29
+ rake (0.9.2.2)
30
+ rcov (1.0.0)
31
+ rdoc (3.12)
32
+ json (~> 1.4)
33
+ sqlite3 (1.3.6)
34
+ tzinfo (0.3.33)
35
+
36
+ PLATFORMS
37
+ ruby
38
+
39
+ DEPENDENCIES
40
+ activerecord (= 3.1.3)
41
+ appraisal
42
+ bundler
43
+ jeweler
44
+ rcov
45
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.1.4"
11
+
@@ -0,0 +1,45 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.1.4)
5
+ activesupport (= 3.1.4)
6
+ builder (~> 3.0.0)
7
+ i18n (~> 0.6)
8
+ activerecord (3.1.4)
9
+ activemodel (= 3.1.4)
10
+ activesupport (= 3.1.4)
11
+ arel (~> 2.2.3)
12
+ tzinfo (~> 0.3.29)
13
+ activesupport (3.1.4)
14
+ multi_json (~> 1.0)
15
+ appraisal (0.4.1)
16
+ bundler
17
+ rake
18
+ arel (2.2.3)
19
+ builder (3.0.0)
20
+ git (1.2.5)
21
+ i18n (0.6.0)
22
+ jeweler (1.8.3)
23
+ bundler (~> 1.0)
24
+ git (>= 1.2.5)
25
+ rake
26
+ rdoc
27
+ json (1.7.1)
28
+ multi_json (1.3.4)
29
+ rake (0.9.2.2)
30
+ rcov (1.0.0)
31
+ rdoc (3.12)
32
+ json (~> 1.4)
33
+ sqlite3 (1.3.6)
34
+ tzinfo (0.3.33)
35
+
36
+ PLATFORMS
37
+ ruby
38
+
39
+ DEPENDENCIES
40
+ activerecord (= 3.1.4)
41
+ appraisal
42
+ bundler
43
+ jeweler
44
+ rcov
45
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.2.0"
11
+
@@ -0,0 +1,45 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.2.0)
5
+ activesupport (= 3.2.0)
6
+ builder (~> 3.0.0)
7
+ activerecord (3.2.0)
8
+ activemodel (= 3.2.0)
9
+ activesupport (= 3.2.0)
10
+ arel (~> 3.0.0)
11
+ tzinfo (~> 0.3.29)
12
+ activesupport (3.2.0)
13
+ i18n (~> 0.6)
14
+ multi_json (~> 1.0)
15
+ appraisal (0.4.1)
16
+ bundler
17
+ rake
18
+ arel (3.0.2)
19
+ builder (3.0.0)
20
+ git (1.2.5)
21
+ i18n (0.6.0)
22
+ jeweler (1.8.3)
23
+ bundler (~> 1.0)
24
+ git (>= 1.2.5)
25
+ rake
26
+ rdoc
27
+ json (1.7.1)
28
+ multi_json (1.3.4)
29
+ rake (0.9.2.2)
30
+ rcov (1.0.0)
31
+ rdoc (3.12)
32
+ json (~> 1.4)
33
+ sqlite3 (1.3.6)
34
+ tzinfo (0.3.33)
35
+
36
+ PLATFORMS
37
+ ruby
38
+
39
+ DEPENDENCIES
40
+ activerecord (= 3.2.0)
41
+ appraisal
42
+ bundler
43
+ jeweler
44
+ rcov
45
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.2.1"
11
+
@@ -0,0 +1,45 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.2.1)
5
+ activesupport (= 3.2.1)
6
+ builder (~> 3.0.0)
7
+ activerecord (3.2.1)
8
+ activemodel (= 3.2.1)
9
+ activesupport (= 3.2.1)
10
+ arel (~> 3.0.0)
11
+ tzinfo (~> 0.3.29)
12
+ activesupport (3.2.1)
13
+ i18n (~> 0.6)
14
+ multi_json (~> 1.0)
15
+ appraisal (0.4.1)
16
+ bundler
17
+ rake
18
+ arel (3.0.2)
19
+ builder (3.0.0)
20
+ git (1.2.5)
21
+ i18n (0.6.0)
22
+ jeweler (1.8.3)
23
+ bundler (~> 1.0)
24
+ git (>= 1.2.5)
25
+ rake
26
+ rdoc
27
+ json (1.7.1)
28
+ multi_json (1.3.4)
29
+ rake (0.9.2.2)
30
+ rcov (1.0.0)
31
+ rdoc (3.12)
32
+ json (~> 1.4)
33
+ sqlite3 (1.3.6)
34
+ tzinfo (0.3.33)
35
+
36
+ PLATFORMS
37
+ ruby
38
+
39
+ DEPENDENCIES
40
+ activerecord (= 3.2.1)
41
+ appraisal
42
+ bundler
43
+ jeweler
44
+ rcov
45
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.2.2"
11
+
@@ -0,0 +1,45 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.2.2)
5
+ activesupport (= 3.2.2)
6
+ builder (~> 3.0.0)
7
+ activerecord (3.2.2)
8
+ activemodel (= 3.2.2)
9
+ activesupport (= 3.2.2)
10
+ arel (~> 3.0.2)
11
+ tzinfo (~> 0.3.29)
12
+ activesupport (3.2.2)
13
+ i18n (~> 0.6)
14
+ multi_json (~> 1.0)
15
+ appraisal (0.4.1)
16
+ bundler
17
+ rake
18
+ arel (3.0.2)
19
+ builder (3.0.0)
20
+ git (1.2.5)
21
+ i18n (0.6.0)
22
+ jeweler (1.8.3)
23
+ bundler (~> 1.0)
24
+ git (>= 1.2.5)
25
+ rake
26
+ rdoc
27
+ json (1.7.1)
28
+ multi_json (1.3.4)
29
+ rake (0.9.2.2)
30
+ rcov (1.0.0)
31
+ rdoc (3.12)
32
+ json (~> 1.4)
33
+ sqlite3 (1.3.6)
34
+ tzinfo (0.3.33)
35
+
36
+ PLATFORMS
37
+ ruby
38
+
39
+ DEPENDENCIES
40
+ activerecord (= 3.2.2)
41
+ appraisal
42
+ bundler
43
+ jeweler
44
+ rcov
45
+ sqlite3
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source :rubygems
4
+
5
+ gem "appraisal"
6
+ gem "sqlite3"
7
+ gem "jeweler", :group=>:development
8
+ gem "rcov", ">= 0", :group=>:development
9
+ gem "bundler", :group=>:development
10
+ gem "activerecord", "3.2.3"
11
+
@@ -0,0 +1,45 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.2.3)
5
+ activesupport (= 3.2.3)
6
+ builder (~> 3.0.0)
7
+ activerecord (3.2.3)
8
+ activemodel (= 3.2.3)
9
+ activesupport (= 3.2.3)
10
+ arel (~> 3.0.2)
11
+ tzinfo (~> 0.3.29)
12
+ activesupport (3.2.3)
13
+ i18n (~> 0.6)
14
+ multi_json (~> 1.0)
15
+ appraisal (0.4.1)
16
+ bundler
17
+ rake
18
+ arel (3.0.2)
19
+ builder (3.0.0)
20
+ git (1.2.5)
21
+ i18n (0.6.0)
22
+ jeweler (1.8.3)
23
+ bundler (~> 1.0)
24
+ git (>= 1.2.5)
25
+ rake
26
+ rdoc
27
+ json (1.7.1)
28
+ multi_json (1.3.4)
29
+ rake (0.9.2.2)
30
+ rcov (1.0.0)
31
+ rdoc (3.12)
32
+ json (~> 1.4)
33
+ sqlite3 (1.3.6)
34
+ tzinfo (0.3.33)
35
+
36
+ PLATFORMS
37
+ ruby
38
+
39
+ DEPENDENCIES
40
+ activerecord (= 3.2.3)
41
+ appraisal
42
+ bundler
43
+ jeweler
44
+ rcov
45
+ sqlite3
@@ -0,0 +1,7 @@
1
+ require 'active_record'
2
+
3
+ if ActiveRecord::VERSION::STRING =~ /^3\.0/
4
+ require 'store_base_sti_class_for_3_0'
5
+ elsif ActiveRecord::VERSION::STRING =~ /^3\.(1|2)/
6
+ require 'store_base_sti_class_for_3_1_and_above'
7
+ end