Skip to content
This repository
Browse code

Deprecate core extensions

  • Loading branch information...
commit df12f2e36d56b1faa73f1ef275712f481b23be0c 1 parent b420412
Ernie Miller authored September 03, 2012
7  CHANGELOG.md
Source Rendered
... ...
@@ -1,3 +1,8 @@
  1
+## 1.1.0 (unreleased)
  2
+
  3
+* Deprecated core extensions. In Squeel 2.0, the DSL will be the way to
  4
+  construct queries, and Symbol/Hash extensions will go away.
  5
+
1 6
 ## 1.0.11 (2012-09-03)
2 7
 
3 8
 * Fixed issue #157, resolving problems when joining the same table twice.
@@ -6,7 +11,7 @@
6 11
 
7 12
 ## 1.0.10 (2012-09-01)
8 13
 
9  
-  * Yanked from RubyGems.org due to semantic versioning oversight
  14
+* Yanked from RubyGems.org due to semantic versioning oversight
10 15
 
11 16
 ## 1.0.9 (2012-08-06)
12 17
 
1  lib/squeel/configuration.rb
@@ -33,6 +33,7 @@ def configure
33 33
     #   @param [Symbol] sym1 :hash or :symbol
34 34
     #   @param [Symbol] sym2 :hash or :symbol
35 35
     def load_core_extensions(*exts)
  36
+      deprecate 'Core extensions are deprecated and will be removed in Squeel 2.0.'
36 37
       exts.each do |ext|
37 38
         require "squeel/core_ext/#{ext}"
38 39
       end
2  lib/squeel/version.rb
... ...
@@ -1,3 +1,3 @@
1 1
 module Squeel
2  
-  VERSION = "1.0.11"
  2
+  VERSION = '1.1.0'
3 3
 end

2 notes on commit df12f2e

Philip Arndt

Is there an alternative in version 1.1.x? Can someone please provide an example? (I know it's not maintained)

the8472

use the DSL

Please sign in to comment.
Something went wrong with that request. Please try again.