ts-datetime-delta 2.0.1 → 2.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95bf54a85d84a151a5279f2e810eb7090e4e78e9
4
- data.tar.gz: e7adca952d3c26d03e3e8e8c0b02d01c40e72aa0
3
+ metadata.gz: a1e872a0608ee6f16b3cf455adfd90023b5e87be
4
+ data.tar.gz: 28e2b13539ca1d35460957599876c371e9dfa753
5
5
  SHA512:
6
- metadata.gz: 753c0bfdbe857220cc2d318dbcf01b92d4ab6b6e13da59452b23cc0b672790918acec25631e1ebe0955c2a916cffabccd19fe09b8fab60c9ba44854b5c24708d
7
- data.tar.gz: c45a214126ca62b0c225311b1431c0fda39bcb45a50b92a69ebdb5e55447d90d12fe1126796165ba700d71ebebf7eca65fce4ccb3ea29c464a3559e0d7c1a6c4
6
+ metadata.gz: 6a5d4951f8d34d59adedb5b1ca1b6c2750659ca82f7f2119f227cf5c20a7c6c13fe60b81e3bc25bb8d2ad9f1007725948fa3b8f4a66f5a7aa5de22786f4b1b74
7
+ data.tar.gz: 351f6826a36ef0523b0788cccb857ef4418a2c5c10296bad1987350d343f4cf0606f692efed44f7abee71aff470e9b52d554bd3801c60c89841a7abd37b09a1f
@@ -59,6 +59,13 @@ class ThinkingSphinx::Deltas::DatetimeDelta < ThinkingSphinx::Deltas::DefaultDel
59
59
  @threshold = options[:threshold] || 1.day
60
60
  end
61
61
 
62
+ # Don't remove records from the core index - we want them to stick around.
63
+ #
64
+ def delete(index, instance)
65
+ # do nothing
66
+ true
67
+ end
68
+
62
69
  # Does absolutely nothing, beyond returning true. Thinking Sphinx expects
63
70
  # this method, though, and we don't want to use the inherited behaviour from
64
71
  # DefaultDelta.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ts-datetime-delta
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-13 00:00:00.000000000 Z
11
+ date: 2015-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thinking-sphinx
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
- rubygems_version: 2.2.2
112
+ rubygems_version: 2.4.5
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Thinking Sphinx - Datetime Deltas