usefull_scopes 0.0.1 → 0.1.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.
@@ -1,3 +1,3 @@
1
1
  module UsefullScopes
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -50,15 +50,6 @@ module UsefullScopes
50
50
  quoted_term = connection.quote(term + '%')
51
51
  where("#{quoted_table_name}.#{a} ilike #{quoted_term}")
52
52
  }
53
-
54
- scope "with_#{a}", lambda { |value|
55
- puts "*** DEPRECATION WARNING: Scope `with_#{a}` is deprecated and will be removed in the following versions. Please, use `with` scope instead."
56
- where("#{quoted_table_name}.#{a} = ?", value)
57
- }
58
- scope "without_#{a}", lambda {
59
- puts "*** DEPRECATION WARNING: Scope `without_#{a}` is deprecated and will be removed in the following versions. Please, use `without` scope instead."
60
- where("#{quoted_table_name}.#{a} IS NULL")
61
- }
62
53
  end
63
54
  end
64
55
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usefull_scopes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: