activeset 0.8.4 → 0.8.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: 111dce72262ab724e87284ae53db551f64f7fbd3
4
- data.tar.gz: 1b27b096fff28fd454031b867e37e5fa330eca9f
3
+ metadata.gz: 54b59c64a9123a20e6c545a47465ad67fb32ab50
4
+ data.tar.gz: 047caa653858d885ccc875590374989e9a29463c
5
5
  SHA512:
6
- metadata.gz: db987bc554e79ea8153205f488ee9b7a66e1c46eb1e5a7d6ba3a047a681fdb3d7e8251d9bb7a1e67bab29b29fb65036fc6e8e20280d8499432f026d45c34cb42
7
- data.tar.gz: 3a00cead112dc0a94b2b588ecaece1bbea28936cbd4e5383d5902a36bc4a05cacad6ca22181af02af8d56a700a585983203545d513220433db0d5140b354715c
6
+ metadata.gz: ba97bcac5e9a3e8e08cfddb65cf366773229358a7a4e8c5821d20ae1a55e9af620c01c8ecd860e978168b295fc5c4d369ee6419de78e003398d2c1a14a772a9a
7
+ data.tar.gz: f9521e71e1e5aaafea6d60f0c4bbd7f98f126bb0374e31f253a7eaaa9985c34d3a8dcd6eea697bbdbd3741ffcf1ddb0fdefae751efd0b8cc308659485305dcc4
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ v 0.8.5
2
+ - fix a bug in Enumerable class method filtering when method returns object, not array
3
+ - add specs for Enumerable filtering
4
+ - make the factories more intelligently to avoid some random failures from poor data creation
1
5
  v 0.8.4
2
6
  - start using Bundler v2.x
3
7
  - check the Gemfile.lock into version control
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activeset (0.8.3)
4
+ activeset (0.8.5)
5
5
  activesupport (>= 4.0.2)
6
6
 
7
7
  GEM
data/activeset.gemspec CHANGED
@@ -6,7 +6,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
6
  Gem::Specification.new do |spec|
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.name = 'activeset'
9
- spec.version = '0.8.4'
9
+ spec.version = '0.8.5'
10
10
  spec.authors = ['Stephen Margheim']
11
11
  spec.email = ['stephen.margheim@gmail.com']
12
12
 
@@ -64,7 +64,7 @@ class ActiveSet
64
64
  elsif maybe_item_or_collection_or_nil.respond_to?(:each)
65
65
  maybe_item_or_collection_or_nil.include? attribute_item_for(item)
66
66
  else
67
- maybe_item_or_collection_or_nil.present?
67
+ maybe_item_or_collection_or_nil == attribute_item_for(item)
68
68
  end
69
69
  end
70
70
  # rubocop:enable Metrics/MethodLength
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeset
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Margheim