unread 0.6.0 → 0.6.1

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
  SHA1:
3
- metadata.gz: f5498050ac28f45c15fb7fddd5bd1288bf773d68
4
- data.tar.gz: 784de80f41de7112583dbc1586d3827830fc20cb
3
+ metadata.gz: b54928f534685b22218df3b892e9be469dda4a22
4
+ data.tar.gz: 847e2b242a01ac7489bf0f59f0fa88be9e2ee67b
5
5
  SHA512:
6
- metadata.gz: bf9a770272bfeb81435d347e8a8fafb4471b4e696f9d13a3a363cb82b9167c0d6d74c1422816bb50526dff6554cc104d936b54c2774a25b53e9b20ec48ba2b22
7
- data.tar.gz: 5e6961f8caa78f6a3fabd24a9cdb220936eaf8b50a5c6af741c76224b96dfc1f9a4d726f005e40975513c2746f4dba6ebeaff3be9c90d7bc8c138811341240b2
6
+ metadata.gz: 87aa05f39bb03471ae1eec26b7e51deae00529b93a6bedb99b00f63a13b6a6df7266b717286c728ae9fe7e87ad42dfef0e57f040390ad768bb10eb9a67eb2db0
7
+ data.tar.gz: b9a815db5ea3ae66df1c7e60737a74f103b5cbe2e8364ea1abe0a7a1fb8f3b6daa1d6ef5811d0364ae58db78e1b3f8884e5c4e7c40d177d8a0ca43c5cd9174f3
@@ -15,6 +15,6 @@ class ReadMark < ActiveRecord::Base
15
15
  class_attribute :readable_classes
16
16
 
17
17
  def self.reader_scope
18
- reader_options[:scope].try(:call) || self
18
+ reader_options[:scope].try(:call) || reader_class
19
19
  end
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module Unread
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unread
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Ledermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-27 00:00:00.000000000 Z
11
+ date: 2015-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord