active_mocker 2.4.0.pre2 → 2.4.0.pre3

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: 9696a956e1bea0e39fab858b45697d76cef725a7
4
- data.tar.gz: e71122a7b31abd042d9ad33d6bfba2d5afc16a0b
3
+ metadata.gz: add34a8a0b3a70e3f30fdb54b802ba7534e98466
4
+ data.tar.gz: 878db3b1876606382669d6a59de99b1de6656e15
5
5
  SHA512:
6
- metadata.gz: 18bb1cf82a31fc4a39726f3eda57c8bd1466ae608c58f03f012774b2e2fafc2b58351c6d48bc8f623c7271553c9d934115e83d4a517afc17bf1fabf7b7cbe3e8
7
- data.tar.gz: 2155bcea9852bb130941a57fd0736b0bd4bdc856902627afbb4f33356b6c317acd6ba6907b489201ecb04914a3e407dd4b9744ee520c23398d193c47f1a417ec
6
+ metadata.gz: 015b6289ee812e58635eee81ea72d0a9f4949c9b4a50a9e655baab50721083d1a1434248a015074386d763c6bf26671835faa4b8635f9f169ca3f4a3a92f4084
7
+ data.tar.gz: fa75df7c31f75875ef129d4a0cdb71af18dff93750d318efc31da834804e5a58d027164b8c60fc618e907284c25e72df70903b9cc359487314b54ea288774bdf
@@ -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.4.0.pre3 - 2016-10-18
5
+ ### Fix
6
+ - Add missing requires
7
+
4
8
  ## 2.4.0.pre2 - 2016-10-17
5
9
  ### Enhancement
6
10
  - ActiveRecord Enum support
@@ -28,5 +28,6 @@ require "active_mocker/mock_creator"
28
28
  require "active_mocker/error_object"
29
29
  require "active_mocker/display_errors"
30
30
  require "active_mocker/generate"
31
+ require "active_mocker/attribute_types/register"
31
32
  require "active_mocker/attribute_types/enum"
32
33
  require "active_mocker/attribute"
@@ -1,3 +1,6 @@
1
+ # frozen_string_literal: true
2
+ require "virtus"
3
+
1
4
  module ActiveMocker
2
5
  module AttributeTypes
3
6
  class Enum < Virtus::Attribute
@@ -60,5 +63,3 @@ module ActiveMocker
60
63
  end
61
64
  end
62
65
  end
63
-
64
- ActiveRecordSchemaScrapper::Attributes.register_type(name: :enum, klass: String)
@@ -0,0 +1,2 @@
1
+ # frozen_string_literal: true
2
+ ActiveRecordSchemaScrapper::Attributes.register_type(name: :enum, klass: String)
@@ -27,4 +27,5 @@ require "active_mocker/mock/records"
27
27
  require "active_mocker/mock/object_inspect"
28
28
  require "active_mocker/mock/alias_attribute"
29
29
  require "active_mocker/mock/unrepresentable_const_value"
30
+ require "active_mocker/attribute_types/enum"
30
31
  require "active_mocker/mock/base"
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ActiveMocker
3
- VERSION = "2.4.0.pre2"
3
+ VERSION = "2.4.0.pre3"
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.pre2
4
+ version: 2.4.0.pre3
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-17 00:00:00.000000000 Z
11
+ date: 2016-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -186,6 +186,7 @@ files:
186
186
  - lib/active_mocker.rb
187
187
  - lib/active_mocker/attribute.rb
188
188
  - lib/active_mocker/attribute_types/enum.rb
189
+ - lib/active_mocker/attribute_types/register.rb
189
190
  - lib/active_mocker/config.rb
190
191
  - lib/active_mocker/deprecated_components/mock_abilities.rb
191
192
  - lib/active_mocker/deprecated_components/rspec.rb