motion_print 0.0.3 → 0.0.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: 12ea4afe2110c7add6e01033f181178c2573430f
4
- data.tar.gz: 81911bf1c345fcc3c252e448c958e901c69ea910
3
+ metadata.gz: 4822270b7c57e517918b8941817941bb3dba3e73
4
+ data.tar.gz: af4aef483305cf2704bbd646c20de785528e554a
5
5
  SHA512:
6
- metadata.gz: 4148e6596230e9cf8c2f41e79be53f7287a778a1990058bacc6336a4f93508f425111f22504f4b4af9fda4c8521b820ecdd62968dc524262f58fa870466238b6
7
- data.tar.gz: 4778dc04007a6b938fc9a0e7ac1ad39e7d798168e17542ed7ad1a56e71b70e91593841e6d5307008c6b191f8ecae95bcc1681eee4ba003f5a73cbff0b5a91b25
6
+ metadata.gz: 45ed6f30a4acb0cdfb7a0d87819f12a9f4f37dce7fcd5772f8095ab5eb8734f2a0a440101bf5eb239437783742f29baca954bc042fe933ed6674cbb5ed6272d1
7
+ data.tar.gz: 095eae4a5039266ef10f58f31ac8720db90c9bbb4793c6b9d5e169ed41116aff507608f3da0fc43cbb29f3dd4b2bcbdb9ce23f871370b7edfcc8e56be556cad5
data/README.md CHANGED
@@ -65,10 +65,19 @@ And then execute:
65
65
  ```bash
66
66
  bundle
67
67
  ```
68
+ ## Fancy Debugging Tips
69
+
70
+ Ruby comes with some great methods for method introspection. These methods look great in motion_print.
71
+
72
+ `mp __method__` will echo the name of the method from which you called motion_print.
73
+
74
+ `mp caller` will trace back up the call stack, so you can see how a method got called.
75
+
68
76
  ## Roadmap
69
77
 
70
78
  1. Add more core objects people want to output: `UIView`, `Struct`, etc. Please open an issue to make suggestions or just implement it yourself and send me a pull request!
71
- 2. ~~Test suite.~~
79
+ 2. Add common gem objects RMQ, ProMotion etc. (CDQ was added and supported)
80
+ 3. ~~Test suite.~~
72
81
 
73
82
  ## What about awesome_print_motion?
74
83
 
@@ -63,8 +63,7 @@ module MotionPrint
63
63
  return "{}" if h.empty?
64
64
  data, out = [], []
65
65
 
66
- keys = h.keys.sort { |a, b| a.to_s <=> b.to_s }
67
- keys.each do |key|
66
+ h.keys.each do |key|
68
67
  data << [logger(key), h[key]]
69
68
  end
70
69
 
@@ -1,3 +1,3 @@
1
1
  module MotionPrint
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion_print
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Rickert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-19 00:00:00.000000000 Z
11
+ date: 2014-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bacon
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  version: '0'
74
74
  requirements: []
75
75
  rubyforge_project:
76
- rubygems_version: 2.3.0
76
+ rubygems_version: 2.2.0
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: A RubyMotion pretty printer.