active_mocker 2.4.0.pre4 → 2.4.0.pre5

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: bc207130a0c46ded87f8d86a71bf1cdc8519998e
4
- data.tar.gz: db15587b7ba52220b56090f7772a2d2886c8133e
3
+ metadata.gz: f21e27c6d5e3d3826ffd754a682e7e35a247cd23
4
+ data.tar.gz: 6105da23915b21ac5c3d216ee96ad6e969f1dee4
5
5
  SHA512:
6
- metadata.gz: ba893dcaf811234838ff1c6b3f68f3924d79081d2ac6684e7d349006e1830dc212c2ef0806c6525e9292a33a79cdac0dc059ac681f043a64f08eb949722264e4
7
- data.tar.gz: 31f2c55772b8862c114fc8da4ea410e24024281942e7e8b52a11ed22e2f1525e79e134be02aaef58e5699297b7fe89cbcec3ebb2fdc02c63bf7c41951dac86a7
6
+ metadata.gz: bb14e0c20c5ef33a7e55575c0f8b14dfdf42f20d8f07fc0f511993d3819c93b9c202573cade177eac21f7c6ba0c478a93729af388baac83865ec449d22bbc02f
7
+ data.tar.gz: d5aca0cb872f5adea5267c8d356b40cffce5bf661cb19d2c7b6f8afd827c54eec941c51c0587c962d013efeeb5b802da81dd12ad1f78d0cdd656ebf453cfe0e1
@@ -1,6 +1,9 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## 2.4.0.pre5 - 2016-10-21
5
+ - Up port 2.3.4 changes
6
+
4
7
  ## 2.4.0.pre4 - 2016-10-20
5
8
  ### Enhancement
6
9
  - Whitelist methods to import into mock code by adding a comment with `ActiveMocker.safe_methods(*methods)`
@@ -43,6 +46,10 @@ Compatible with ActiveRecord versions 5 and 4. Generating using different versio
43
46
  ActiveMocker::LoadedMocks.features.enable(:timestamps)
44
47
  ```
45
48
 
49
+ ## 2.3.4 - 2016-10-21
50
+ ### Fix
51
+ - Passing a single record when to collection association now causes a failure.
52
+
46
53
  ## 2.3.3 - 2016-10-13
47
54
  ### Enhancement
48
55
  - 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.4.0.pre4"
3
+ VERSION = "2.4.0.pre5"
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.4.0.pre4
4
+ version: 2.4.0.pre5
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-20 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