active_record-acts_as 3.0.1 → 3.0.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: fca3f3d972e2aafb7ad146874d1d4917f5d23795ad7a6b572c4be38e7a278bc0
4
- data.tar.gz: '09250a044b44518d8cf74ddf543cc2c122a584082a32ba6918c6b3fe2d75f574'
3
+ metadata.gz: f8c154ba79657fb9d0f37bf212375dd1c948f3603d822e66b577c4d83abf383c
4
+ data.tar.gz: 3ea39c3f20af0cc3d842d619d5cc381c422ad1eb64a47f100d5133fcdfb88f7d
5
5
  SHA512:
6
- metadata.gz: 9506c230f4cdfd794577cfabed81f585aebea3f186aab5e9320618cff93e06bcf6bad26779d0f56fe7a56a48f9aceb5a97b92f77309deb1a012c8fd4c2a155c2
7
- data.tar.gz: 24d5a09f532342ccd38b83cec45e3b6f45e74e1c2ae9b6e1a75e02aa30f20b87fa51559b636f64ef78a1257b31bfbe26cb3a34a4a72c6501e04c48c8292a3567
6
+ metadata.gz: 3c94bddeccbdc361c0d05616f98113a8054ffab19bcaf89f7c269462162eec7eff38d30f44304a875a8245d6040584bda99c9e37026b672e6523fb4b4579c4e5
7
+ data.tar.gz: a16eae6ff16a7611f9192add9e2e9b4bc500b4f9e8d17e6ead89d443e3ab10baa8f93d15490d7e2c193406c0e3576e9afbc19cd801d822c21d2e7c7904a6a463
@@ -93,7 +93,7 @@ module ActiveRecord
93
93
  end
94
94
 
95
95
  def self.scope(*)
96
- callable_by_submodel super
96
+ super.tap(&method(:callable_by_submodel))
97
97
  end
98
98
 
99
99
  alias_method :specific, name
@@ -1,6 +1,6 @@
1
1
  module ActiveRecord
2
2
  module ActsAs
3
- VERSION = "3.0.1"
3
+ VERSION = "3.0.2"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record-acts_as
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hassan Zamani
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-04-25 00:00:00.000000000 Z
12
+ date: 2018-08-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sqlite3