pretentious 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pretentious/generator.rb +1 -1
- data/lib/pretentious/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28c7fd8ec4fc2e51d48102f3582a0edc3a7325ea
|
4
|
+
data.tar.gz: 705b61f7a627fbd932d0b917c6a94a53af93a575
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7098bf0da48bad18f5157a0a45524751d92e8453e92b6c50e6e06271e67833a1a6e8ff8d2077b6dfa9e72cda9cb3a8e3c3d756508f61a78a2654ec0699633055
|
7
|
+
data.tar.gz: 7b25ed070e1e264bc0c74fd6d98f5436a18195b5a3b3b8e15cd63ec79388a128630c5a15ca1265a0af24441a3fc6eb3232c650829992d1309a97bd3ea41fc818
|
@@ -516,7 +516,7 @@ module Pretentious
|
|
516
516
|
|
517
517
|
# rescues for handling native objects that don't have standard methods
|
518
518
|
begin
|
519
|
-
if instance.respond_to?(:_set_init_arguments) && !instance.respond_to?(:impostor?)
|
519
|
+
if instance.respond_to?(:_set_init_arguments) && !instance.respond_to?(:impostor?) && !instance.frozen?
|
520
520
|
instance._set_init_arguments(*args, &block)
|
521
521
|
end
|
522
522
|
rescue NoMethodError
|
data/lib/pretentious/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pretentious
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joseph Emmanuel Dayo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: binding_of_caller
|