deleted_at 0.6.0.pre.1 → 0.6.0.pre.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f702112df5aaab3c584dd6cf56a7f106aee39a41e1474d9e676ba0e960b72ab
4
- data.tar.gz: 423ac85c6209fe354ead11a2b4b758ddebc5ec151251303cae885e4f72c69075
3
+ metadata.gz: b9cf5aea9d0f1df96b7fd9d30396733d8d523a8cf6076abb7c8b79b8c4c9c2e8
4
+ data.tar.gz: 014e280a3bf095389b40d3b4f87f19335f4a1a4d538e08e60a95ced387ded595
5
5
  SHA512:
6
- metadata.gz: 260846b1749da3892ebc80a52b31d00a2a4f3738613bacfda250cd35582925c6795b76be40bdaafa5c5ac52b326e8da7a66af5ab64431ad26128d299735e1436
7
- data.tar.gz: 49f6e710ac42079d03e88e993ebf2178c59a4faa189451255e962077c7dfbdaa23146e0028ca327edb0eafc8574296f56b06a27f00fc7e66bb22c397fd200d0f
6
+ metadata.gz: 2fcbea0f8620db2ee9ad31e6e278647acfeb1511f0f03e88a00e9669dcdd6de2e669f79e8838a2070477c5a6597957baf02f6ebfefabedeca46c3274da66c972
7
+ data.tar.gz: 6a998e6ba5e99f43d9c81923ada798670da76aaed3040fa83b24cf14f7a1088e2f3880bc34b985f431bfaf2be77f1ceb6b023a6da97f01cde106fc1bcb2e3934
data/CHANGELOG.md CHANGED
@@ -1,9 +1,5 @@
1
1
  # DeletedAt
2
2
 
3
- ## 0.6.0 _(September 4, 2018)_
4
- - Added support for Rails 5.2
5
- - Overhauled injection process for cleaner and more reliable sub-selecting
6
-
7
3
  ## 0.5.0 _(June 25, 2018)_
8
4
  - Removed use of invasive views in preference of sub-selects
9
5
  - Dropped support for Ruby 2.0, 2.1, 2.2
@@ -30,7 +30,7 @@ module DeletedAt
30
30
  # Rails 4.x
31
31
  def from_value
32
32
  if (subselect = deleted_at_select)
33
- [subselect, table_name]
33
+ [subselect, ::ActiveRecord::Base.connection.quote_table_name(table_name)]
34
34
  else
35
35
  super
36
36
  end
@@ -39,7 +39,7 @@ module DeletedAt
39
39
  # Rails 5.x
40
40
  def from_clause
41
41
  if (subselect = deleted_at_select)
42
- ::ActiveRecord::Relation::FromClause.new(subselect, table_name)
42
+ ::ActiveRecord::Relation::FromClause.new(subselect, ::ActiveRecord::Base.connection.quote_table_name(table_name))
43
43
  else
44
44
  super
45
45
  end
@@ -1,3 +1,3 @@
1
1
  module DeletedAt
2
- VERSION = "0.6.0-1"
2
+ VERSION = "0.6.0-2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deleted_at
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.pre.1
4
+ version: 0.6.0.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Stevens