acts_as 0.6.4 → 0.6.5

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: 15fd1734d96a4851b895c5dee27dee35f60527fc
4
- data.tar.gz: bf3c25453ba178413ffbe423b9c31a833d454b91
3
+ metadata.gz: 31d63a475858dd048fb15d2ae41480286acaeab3
4
+ data.tar.gz: 8289d7375330136ba7b2106d6688a98bfdbc8a9d
5
5
  SHA512:
6
- metadata.gz: c3b38d53698a4b135a79869e55f8ffe940b0898fd1e70065870a60f7909cef90377b65111655f13cbeaf7bee2eec0616d3d92e9856d3286001192ff0d2a4e123
7
- data.tar.gz: c6bbe641bc0b4265ba4100f8976855180d2f9e0503cffa5a3373483c94cf1cb4eafca7911e4be6bd8217dcf19d7c4ee3b9802d4cdf86475d7d4f2ef504b35560
6
+ metadata.gz: 67697b9f124323bf22e19eeb6d206914b58f8feb7179ee0a9d68b0996947546692e263efcf8a3fbdfab8f92f939c80360f478a6507fd0996019ca42367da406a
7
+ data.tar.gz: b90e3d7b61cb0dd4d83ad2db11e80b1f15fa737b3d1b46fbbb41829fc85435b75857b24a266b1086cd2792adf3987c26640ef03ec628153e2dc0c47ba970c84b
@@ -58,7 +58,6 @@ module ActsAs
58
58
  end
59
59
 
60
60
  def where(opts = :chain, *rest)
61
- return self if opts.blank?
62
61
  relation = super
63
62
  #TODO support nested attribute joins like Guns.where(rebels: {strength: 10}))
64
63
  # for now, only first level joins will happen automagically
@@ -1,3 +1,3 @@
1
1
  module ActsAs
2
- VERSION = "0.6.4"
2
+ VERSION = "0.6.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hired, Inc
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-10 00:00:00.000000000 Z
12
+ date: 2016-08-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  version: '0'
122
122
  requirements: []
123
123
  rubyforge_project:
124
- rubygems_version: 2.4.5
124
+ rubygems_version: 2.5.1
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: delegate an entire 1:1 association worth of active record field-related helpers