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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 571483022043d505192c0619b08ba39fdf98d1d2
4
- data.tar.gz: f1503b9c6f9035e7b4f3cf55751a0125cb3bbda4
3
+ metadata.gz: 28c7fd8ec4fc2e51d48102f3582a0edc3a7325ea
4
+ data.tar.gz: 705b61f7a627fbd932d0b917c6a94a53af93a575
5
5
  SHA512:
6
- metadata.gz: 1809c42e1c1a87360a0c5da9a5180d8c3eba0a0b09fba080f9a9c36b965736e1243a7ae6177c9c4b67bf652b66fe9c0182f91272a2c24f23d9dc8eafbde68b1a
7
- data.tar.gz: 817192833157ec3591f5d1c7565f1091cc51ad498ab2eb900b07d4033c31cf8c516e57b336a3ca817d078df5578e2c30cb65d8ad9212c1384c354330e3a74fcb
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
@@ -1,4 +1,4 @@
1
1
  # Pretentious - version
2
2
  module Pretentious
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
4
4
  end
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.3
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-05 00:00:00.000000000 Z
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