type_struct 0.7.0 → 0.7.1

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: b423f1e9114b2d1e513c52da2c8b6232c8e87dc4
4
- data.tar.gz: 462cb17e00f7175d41146744da71045d605d5920
3
+ metadata.gz: 62411529ae4d443eb76c8e65ec081314decf3fc1
4
+ data.tar.gz: 18398c63d48e66b1f7cb92f88a2e8369e0c2e707
5
5
  SHA512:
6
- metadata.gz: 398f990fd90659d043d5ae71e759ac2f083ea4008c79709e0ffdf6dddf2904fbb5ed700645c76905288c3de2af71e94a509b966b6b4e6c56a0e4717022c2922f
7
- data.tar.gz: 1e0e18577f41514ffdd5fb4c910b42fd065f65d3e763419d3453fc485aa9c29c995d829dfe726465d61ad8ad33b1cc5a39f9bc1f04f4c5247480f732a6345bdf
6
+ metadata.gz: e2de24f4d580ed09776828a16d5b66779eeffa4edd5a99efc2b18ca1e698e97fb7107175e9cb99d92f1da752abbfd1dd277e42adf1e674acb4db7c25aeb9f372
7
+ data.tar.gz: 9ecf7b2fddfabfb78b353b7f2999b4d7036aaefef259ee043bd683c994103c0028e9a983f2393b0cfe5320d7a47bcf2faa95645c3f488e5c80337685aa6a273e
@@ -37,13 +37,12 @@ class TypeStruct
37
37
  else
38
38
  type_struct = key.to_s.gsub(/e?s\z/, '').split('_').map(&:capitalize).join
39
39
  parse(type_struct, value)
40
+ io.puts " #{key}: #{type_struct},"
40
41
  end
41
42
  when NilClass
42
43
  io.puts " #{key}: Object,"
43
44
  when TrueClass, FalseClass
44
45
  io.puts " #{key}: TrueClass | FalseClass,"
45
- when Fixnum
46
- io.puts " #{key}: Integer"
47
46
  else
48
47
  io.puts " #{key}: #{value.class},"
49
48
  end
@@ -1,3 +1,3 @@
1
1
  class TypeStruct
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: type_struct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ksss