scale.rb 0.2.9 → 0.2.10

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: 5a2cf612b6cd7c832ee28aec4da8fcec7ebeac8dc393ba1af41b1aecd96aa484
4
- data.tar.gz: 2035bde19211e78f604fcdd51a95cb3b653fc278024326787545655fa09b88da
3
+ metadata.gz: dba27c359003af9a2e6b3f23fd5baff9f971c3368909d104bbb3984cea64cea9
4
+ data.tar.gz: 60c1083aa471562ce96a309046ea8372a404ea240fae53a45f0a1776ff3901b7
5
5
  SHA512:
6
- metadata.gz: b1e10fd308c6f38525a2150e2bba0da42966e3c67dd9ca5f299133fd16a1c59e4988fb33841b194b3437bdae71f3dbea43cd2e4102e39f24b0bb7de9fd54f6dd
7
- data.tar.gz: fadad4fd7fd8ba14f02574bc594e2cc815b905fc75008f0735f38ba2381b87aff8ec7e2f5fa1b878e9d7658b88e34d861ccb8481fa82e5369c0bfb68af154d5a
6
+ metadata.gz: 55f235ae271e8c142b3a4e4a1e6b4dae0ee9c8cdc2a5c0774657c9d3d6ace9221de55714c5b2578eca48587e9f4da5b2e5d9ccaea6b9578c94c973659c4a8df0
7
+ data.tar.gz: 2be28d69e6524cf422c8aabf7bb89128c59551d60146407673fbef97263148292e6b447853f9c74ce459920827b1082646a36021df1492f078573fc4738b0714
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- scale.rb (0.2.9)
4
+ scale.rb (0.2.10)
5
5
  activesupport (>= 4.0.0)
6
6
  json (~> 2.3.0)
7
7
  substrate_common.rb (~> 0.1.9)
@@ -53,7 +53,7 @@ GEM
53
53
  tzinfo (1.2.7)
54
54
  thread_safe (~> 0.1)
55
55
  xxhash (0.4.0)
56
- zeitwerk (2.4.0)
56
+ zeitwerk (2.4.1)
57
57
 
58
58
  PLATFORMS
59
59
  ruby
@@ -92,14 +92,11 @@ module Scale
92
92
  end
93
93
 
94
94
  def type_traverse(type, types)
95
+ type = rename(type) if type.class == ::String
95
96
  if types.has_key?(type) && types[type] != type
96
97
  type_traverse(types[type], types)
97
98
  else
98
- if type.class == ::String
99
- rename(type)
100
- else
101
- type
102
- end
99
+ type
103
100
  end
104
101
  end
105
102
  end
@@ -1,3 +1,3 @@
1
1
  module Scale
2
- VERSION = "0.2.9".freeze
2
+ VERSION = "0.2.10".freeze
3
3
  end
@@ -12,7 +12,6 @@
12
12
  "CallHashOf": "CallHash",
13
13
  "Fixed64": "u64",
14
14
  "Fixed128": "u128",
15
- "AccountId": "GenericAccountId",
16
15
  "AccountIdOf": "AccountId",
17
16
  "AccountVoteSplit": {
18
17
  "type": "struct",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scale.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wu Minzhe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-18 00:00:00.000000000 Z
11
+ date: 2020-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: substrate_common.rb