ncore 3.3.2 → 3.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/ncore/util.rb +9 -1
- data/lib/ncore/version.rb +1 -1
- data/ncore.gemspec +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1bfad3aa6f47ff4917335016f0dc43e51617e68b932e064b50bc5fefa84c51d
|
4
|
+
data.tar.gz: d7a5385d7a62e4429e192ed032da3a205f5d74aaddc8e7961a9b19c52f413f6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3bc26138793e56edf190fd010486a2e3e14e9559326d55251e2992ad518dc0c091523d23f27d2a21dc2351f9cadf4e8dc6e50e444ab5d183e158837702d41ce
|
7
|
+
data.tar.gz: cc000c1c0c60d559527080aae6d152b26b0281816fdb49d83b22c2b9f44f5f337c23dff0ecaabaa83efa7fdb6e7ff75ad371d47317e15502fc26db3ea88c001a
|
data/CHANGELOG.md
CHANGED
data/lib/ncore/util.rb
CHANGED
@@ -62,7 +62,15 @@ module NCore
|
|
62
62
|
|
63
63
|
|
64
64
|
def inspect
|
65
|
-
"
|
65
|
+
base = "#{self.class}:0x#{'%016x'%self.object_id} id: #{id.inspect}"
|
66
|
+
@@inspect_chain ||= []
|
67
|
+
return "#<#{base}, ...>" if @@inspect_chain.include? self
|
68
|
+
begin
|
69
|
+
@@inspect_chain.push self
|
70
|
+
"#<#{base}, attribs: #{@attribs.except(:id).inspect}, metadata: #{metadata.inspect}>"
|
71
|
+
ensure
|
72
|
+
@@inspect_chain.pop
|
73
|
+
end
|
66
74
|
end
|
67
75
|
|
68
76
|
end
|
data/lib/ncore/version.rb
CHANGED
data/ncore.gemspec
CHANGED
@@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_dependency 'activemodel', '>= 5.2', '< 6.2'
|
22
22
|
spec.add_dependency 'excon', '~> 0.32'
|
23
23
|
|
24
|
-
spec.add_development_dependency "bundler"
|
24
|
+
spec.add_development_dependency "bundler"
|
25
25
|
spec.add_development_dependency "rake"
|
26
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ncore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Notioneer Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -48,16 +48,16 @@ dependencies:
|
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
51
|
+
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '0'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- - "
|
58
|
+
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rake
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
rubygems_version: 3.
|
144
|
+
rubygems_version: 3.2.15
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: NCore - Gem for building REST API clients
|