motion_print 1.1.1 → 1.1.2

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: b4ed877efb7cefed072fe2369cf8bdf9d33c6f83
4
- data.tar.gz: 91f92dee52757dfb7781e4e4538b2ec15425d8a2
3
+ metadata.gz: c772e0187fe937a271a34d698929e4bca9635fb5
4
+ data.tar.gz: fdd45786552ffd36d249080f21c1f2ad07451627
5
5
  SHA512:
6
- metadata.gz: b057c05c9d53626b21d1743437f50ab1ac7386e996417ee1f2d0c043244956bb584ad71f9e5f49de5ec961a6f01ee3c11adc985f00af48541d592580f002ee90
7
- data.tar.gz: 5269f39359498f98a58e6523c7a23cf9badb5d64cff5b977f43c5d5df9feeee956f825b4c55ac86af8a3187405566417ec0571f659414fa81ead970d36a3c45f
6
+ metadata.gz: 61ff97c12ed2f2e2b15fcfb4d2d31e62e381964e9f77c75bc5a67237da99fd470f7bef2a3540b5754ee3a6dc56105edd208c7f81592174b7e97da952716a0e62
7
+ data.tar.gz: 1c0f33c77c747e2750770ab463d9676fda9e38dce307d76a2c579be3fa02b1e210f3519d38f1b78946493ef699245a99d9bfc551690128862c2d0b091cb7d189
@@ -5,10 +5,6 @@ module MotionPrint
5
5
  !!defined?(MotionRepl)
6
6
  end
7
7
 
8
- def cdq_object
9
- return CDQManagedObject if defined? CDQManagedObject
10
- end
11
-
12
8
  def logger(object, options = {})
13
9
  options = {
14
10
  indent_level: 1,
@@ -30,23 +26,11 @@ module MotionPrint
30
26
  # l_file object
31
27
  # when Struct
32
28
  # l_struct object
33
- when cdq_object
34
- l_cdq(object, options)
35
29
  else
36
30
  l_custom(object, options)
37
31
  end
38
32
  end
39
33
 
40
- def l_cdq(c, options)
41
- # Requires CDQ > v0.1.10
42
- if c.respond_to? :attributes
43
- "OID: " + colorize(c.oid.gsub('"',''), options[:force_color]) + "\n" + l_hash(c.attributes, options)
44
- else
45
- # old colorless method, still more informative than nothing
46
- c.log
47
- end
48
- end
49
-
50
34
  def l_array(a, options)
51
35
  return "[]" if a.empty?
52
36
  out = []
@@ -1,3 +1,3 @@
1
1
  module MotionPrint
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion_print
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Rickert