msgpack-inspect 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,9 @@
1
+ module MessagePack
2
+ module Inspect
3
+ FORMATS = MessagePack::Inspect::Inspector::FORMATS
4
+
5
+ def self.inspect(io, format)
6
+ MessagePack::Inspect::Inspector.new(io, format).inspect
7
+ end
8
+ end
9
+ end
@@ -0,0 +1 @@
1
+ ../../../lib/msgpack/inspect/inspector.rb
@@ -0,0 +1 @@
1
+ ../../../lib/msgpack/inspect/node.rb
@@ -0,0 +1 @@
1
+ ../../../lib/msgpack/inspect/streamer.rb
@@ -0,0 +1 @@
1
+ ../../../lib/msgpack/inspect/version.rb
@@ -0,0 +1,33 @@
1
+ // This file is generated by mruby-cli. Do not touch.
2
+ #include <stdlib.h>
3
+ #include <stdio.h>
4
+
5
+ /* Include the mruby header */
6
+ #include <mruby.h>
7
+ #include <mruby/array.h>
8
+
9
+ int main(int argc, char *argv[])
10
+ {
11
+ mrb_state *mrb = mrb_open();
12
+ mrb_value ARGV = mrb_ary_new_capa(mrb, argc);
13
+ int i;
14
+ int return_value;
15
+
16
+ for (i = 0; i < argc; i++) {
17
+ mrb_ary_push(mrb, ARGV, mrb_str_new_cstr(mrb, argv[i]));
18
+ }
19
+ mrb_define_global_const(mrb, "ARGV", ARGV);
20
+
21
+ // call __main__(ARGV)
22
+ mrb_funcall(mrb, mrb_top_self(mrb), "__main__", 1, ARGV);
23
+
24
+ return_value = EXIT_SUCCESS;
25
+
26
+ if (mrb->exc) {
27
+ mrb_print_error(mrb);
28
+ return_value = EXIT_FAILURE;
29
+ }
30
+ mrb_close(mrb);
31
+
32
+ return return_value;
33
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: msgpack-inspect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-10 00:00:00.000000000 Z
11
+ date: 2016-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack
@@ -77,17 +77,33 @@ extra_rdoc_files: []
77
77
  files:
78
78
  - ".gitignore"
79
79
  - ".travis.yml"
80
+ - Dockerfile
80
81
  - Gemfile
81
82
  - LICENSE
82
83
  - README.md
83
84
  - Rakefile
85
+ - build_config.rb
86
+ - docker-compose.yml
84
87
  - exe/msgpack-inspect
85
88
  - lib/msgpack/inspect.rb
86
89
  - lib/msgpack/inspect/command.rb
90
+ - lib/msgpack/inspect/example.json
91
+ - lib/msgpack/inspect/example.yml
87
92
  - lib/msgpack/inspect/inspector.rb
93
+ - lib/msgpack/inspect/node.rb
94
+ - lib/msgpack/inspect/simple_yaml_dumper.rb
95
+ - lib/msgpack/inspect/streamer.rb
88
96
  - lib/msgpack/inspect/version.rb
97
+ - mrbgem.rake
98
+ - mrblib/msgpack-inspect.rb
99
+ - mrblib/msgpack/inspect.rb
100
+ - mrblib/msgpack/inspect/inspector.rb
101
+ - mrblib/msgpack/inspect/node.rb
102
+ - mrblib/msgpack/inspect/streamer.rb
103
+ - mrblib/msgpack/inspect/version.rb
89
104
  - msgpack-example.bin
90
105
  - msgpack-inspect.gemspec
106
+ - tools/msgpack-inspect/msgpack-inspect.c
91
107
  homepage: https://github.com/tagomoris/msgpack-inspect
92
108
  licenses:
93
109
  - Apache-2.0