active_mocker 2.3.3 → 2.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a89dd0dfab6db30ab5b31de58cfcb6bf5b0873f
4
- data.tar.gz: 44a82456fc418273be4e242b3d46e0bf71a5ccec
3
+ metadata.gz: 8e8f5e3980719ae11507a108cf844c937e1771cb
4
+ data.tar.gz: 0394d2fc047f12289c0441335f5a932142be3c1b
5
5
  SHA512:
6
- metadata.gz: 447e2c97fdfcb91de7c2a0e7e09329164e2319c94d7c52abf5fec58e939dad1ae3b0e08c1f65c9ee81a54a05cfb838b5537e55e5ea990e1597d7721885ba2e63
7
- data.tar.gz: 4717823b1650b77109f63befac13ff0ff0e6a4111cdfc5d22cd318e27fb873fddc9a1762ccfce11b0fd493bf05669b8e24509ac63af675b23a3cc0f300c28f26
6
+ metadata.gz: e13cd71a327adc9561ee54499982d07446f9096f14a82a87b4552e76c88a57cf88dd72271fd0114ed6fa6cdd4bc05cc06d84c10f136e264011a63792ee679f31
7
+ data.tar.gz: ceb03ee2172a1db9ed5976615a55019aa13188ba46252d82d0dd2bcfb3e9c9fea7188450475c5bedcfc12af627d8f0b57583b94518084946790204a1fa02877a
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## 2.3.4 - 2016-10-21
5
+ ### Fix
6
+ - Passing a single record when to collection association now causes a failure.
7
+
4
8
  ## 2.3.3 - 2016-10-13
5
9
  ### Enhancement
6
10
  - Auto stubbing of ActiveRecord::RecordNotFound with requiring "active_mocker/rspec_helper"
@@ -9,7 +9,7 @@ module ActiveMocker
9
9
  alias distinct uniq
10
10
 
11
11
  def initialize(collection = [])
12
- @collection = [*collection]
12
+ @collection = collection
13
13
  end
14
14
 
15
15
  def <<(*records)
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ActiveMocker
3
- VERSION = "2.3.3"
3
+ VERSION = "2.3.4"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_mocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.3
4
+ version: 2.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-14 00:00:00.000000000 Z
11
+ date: 2016-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport