activeset 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: 8a2838aec338dd5f82088e61e90e37ad419a2039
4
- data.tar.gz: 741731ac20fec572d99e2b7b62019af6116c89fc
3
+ metadata.gz: aee5f35b2eba91b7f28431bb7b023de8a1a1e47a
4
+ data.tar.gz: e58182617ed601e1bf5b553d9364caccbca89924
5
5
  SHA512:
6
- metadata.gz: 406349801340205ffc8035cc71540b8f03cfd89d67ef4c150b2c16fd94dc5838a16acdfee91dc5fd7c74b300fb4b5f39fbee79429b57c4411a2e9d87ee88a60b
7
- data.tar.gz: 661719703c5b4b1fd8cee0459ef6e261fdf0094ea85dc855c96115ccaeda55bbb773d0eaf93edfc1d08f67544487dfc737d563b484dabfc608c8feafab49e0e5
6
+ metadata.gz: 6b90c61856131638982ac21dde343e3b2b09d7115886760c744de2f1dbed0c24331ee45fd996846b45a2ba37d408d52bf28dab098b72781891e9356578efd9c1
7
+ data.tar.gz: af694c42227c3871e7ea187cd7674e09ef842cdcbaaaa39303a0261e647e36b76822d9641de56a8ced052bfa8213d0542220fba0b8b3a5c140893a080b320d02
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v 0.6.1
2
+ - fix bug with ActiveSet#method_missing blowing up when the delegated method properly returned a false Boolean
1
3
  v 0.6.0
2
4
  - rewrite from the ground up
3
5
  v 0.5.8
data/lib/active_set.rb CHANGED
@@ -28,7 +28,9 @@ class ActiveSet
28
28
  end
29
29
 
30
30
  def method_missing(method_name, *args, &block)
31
- @view.send(method_name, *args, &block) || super
31
+ return @view.send(method_name, *args, &block) if @view.respond_to?(method_name)
32
+
33
+ super
32
34
  end
33
35
 
34
36
  def respond_to_missing?(method_name, include_private = false)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ActiveSet
4
- VERSION = '0.6.0'
4
+ VERSION = '0.6.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeset
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
  - Stephen Margheim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-16 00:00:00.000000000 Z
11
+ date: 2018-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport