pretender 0.3.3 → 0.3.4

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
  SHA256:
3
- metadata.gz: 3deb0e2dc3a17b16d42141dd2552f14c5060f33c1190bc7507293ad7b1db5684
4
- data.tar.gz: 9931e74f8ad318081ee5f2b77148871fe14934f274124e77c6b94a3d6558e135
3
+ metadata.gz: aa4f281cec158458c8e11e92636f78dca21a9a28d41c19d8174a0886c9b0e30d
4
+ data.tar.gz: aafa5c4bc331c5fa8747c43d45c94b7d36b3aa0b743d8ee62a9ed1deaae2ec6d
5
5
  SHA512:
6
- metadata.gz: c56b632e14b220ae4e795eabc36a5b08b71ed78eb9a19f60c3f4a1b9fb4a3a376a152e3d135b441cbbefe0e1ebd5351ffa2413ce96a9b363006ec5f9896593b4
7
- data.tar.gz: 3bf7ae9760fc675dbe3ba74caa02229f542a6eb840041d2089a2730bb182116c9ba50959891559e10a7e3818cbda0f11ac2ccc8d08028e642756952093b9db71
6
+ metadata.gz: f9865b482b9823a414f64c848fa28ac45a55b15b5623ae176a4fbebb89175bdfe3da9aee878ed61009184b06a7eddda887af616e11ec54d2b84960f3cac6d53c
7
+ data.tar.gz: b17a3a70509a4eecd6f1cf8e31db8ffd2301b331bc851cc45569f83f85687943757594c52d8b055c9e289d08c579ac12599b31d09e3899090eb30312545e29b4
@@ -1,3 +1,7 @@
1
+ ## 0.3.4
2
+
3
+ - Fixed error with Action Cable and eager loading
4
+
1
5
  ## 0.3.3
2
6
 
3
7
  - Added support for Action Cable
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013-2018 Andrew Kane
1
+ Copyright (c) 2013-2019 Andrew Kane
2
2
 
3
3
  MIT License
4
4
 
@@ -73,6 +73,5 @@ ActiveSupport.on_load(:action_controller) do
73
73
  extend Pretender::Methods
74
74
  end
75
75
 
76
- ActiveSupport.on_load(:action_cable) do
77
- ActionCable::Connection::Base.extend Pretender::Methods
78
- end
76
+ # ActiveSupport.on_load(:action_cable) runs too late with Unicorn
77
+ ActionCable::Connection::Base.extend(Pretender::Methods) if defined?(ActionCable)
@@ -1,3 +1,3 @@
1
1
  module Pretender
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pretender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-21 00:00:00.000000000 Z
11
+ date: 2019-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  requirements: []
99
99
  rubyforge_project:
100
- rubygems_version: 2.7.7
100
+ rubygems_version: 2.7.6
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: Log in as another user in Rails