inch 0.6.2 → 0.6.3

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: f20cc532c358b6ed1b38c07a3aee0fb70463c854
4
- data.tar.gz: 02ca81c0f84df27a474e41ecef356742e6336d17
3
+ metadata.gz: a532903e5f4b680ac857bbd0cd00961894cac338
4
+ data.tar.gz: 8441b59d19f5306e4c0d419807bd43a74ad15941
5
5
  SHA512:
6
- metadata.gz: e86adb1bf23ee8ce3d70435756af852cf00afb95e6caf53828e7b20043dab221e79d08513587dc15ad18d135529fa9cd24df579ddfc752beea66797a0d6dc9f6
7
- data.tar.gz: c244532af0d1fad89f9448037a4cd2663263b36914a2467123e6e1c7a22bb5de00b4c5612797797f591ed9605a3fc17741d9b4381e38999a4879dc93e6e7f0e2
6
+ metadata.gz: a5095f06f18343aa1b4d5247068c18cccbe9f39d59bdc878d5c328c6553238c7a1a55a78fd4d4cc6f72e2119d0fc8ee355d93e7e23990210be6475d46f1aaaae
7
+ data.tar.gz: 68c2ed5d448f1433bf0deaa81c82f6cbcd61c959c784968d32b560db3c4a0aa2d415cd55de00dbf6a015d2421ce54b65d7e9cf21b068605e8f722999af3581be
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.3
4
+
5
+ - Elixir: Recognize callbacks and macros
6
+ - NodeJS: Improve param type detection
7
+
8
+ ## 0.6.2
9
+
10
+ - CLI: Add `--format` option to `suggest` command
11
+ - Elixir: Improve general parameter detection
12
+
13
+ ## 0.6.1
14
+
15
+ - Fix bug related to score boundaries being Floats rather than Ints
16
+
3
17
  ## 0.6.0
4
18
 
5
19
  - NodeJS is renamed to JavaScript, which breaks backwards compatibility
@@ -110,7 +110,7 @@ module Inch
110
110
  false
111
111
  end
112
112
 
113
- HIDDEN_TYPES = %w(defcallback defmacro exception impl)
113
+ HIDDEN_TYPES = %w(exception impl)
114
114
  def nodoc?
115
115
  @hash['doc'] == false ||
116
116
  HIDDEN_TYPES.include?(@hash['type'])
@@ -22,8 +22,9 @@ module Inch
22
22
  def describes_parameter?(name)
23
23
  return false if name.nil?
24
24
  parameter = parameter_notations(name)
25
- type_notation = /(\{[^\}]+\}|\[[^\]]+\])/
26
- tag?(:param, /#{type_notation}\s+#{parameter}\s+\S+/)
25
+ type_notation = /(\{[^\}]+\}|\[[^\]]+\])/ # text in curly or square brackets
26
+ type_and_param = /(#{type_notation}\s+#{parameter}|#{parameter}\s+#{type_notation})/ # type and param OR param and type
27
+ tag?(:param, /#{type_and_param}\s+\S+/)
27
28
  end
28
29
 
29
30
  def mentions_parameter?(name)
@@ -81,13 +81,11 @@ module Inch
81
81
  # Role assigned to methods that are getters
82
82
  class Getter < Base
83
83
  applicable_if :getter?
84
- priority -1
85
84
  end
86
85
 
87
86
  # Role assigned to methods that are setters
88
87
  class Setter < Base
89
88
  applicable_if :setter?
90
- priority -1
91
89
  end
92
90
 
93
91
  # Role assigned to methods that are overriding another method
@@ -1,3 +1,3 @@
1
1
  module Inch
2
- VERSION = '0.6.2'
2
+ VERSION = '0.6.3'
3
3
  end
@@ -1,6 +1,11 @@
1
1
  {
2
- "args": [],
3
- "git_repo_url": "git@github.com:inch-ci/Hello-World-Elixir.git",
2
+ "args": [
3
+ "list"
4
+ ],
5
+ "branch_name": "master",
6
+ "client_name": "inch_ex",
7
+ "client_version": "0.3.3",
8
+ "git_repo_url": "https://github.com/inch-ci/Hello-World-Elixir.git",
4
9
  "language": "elixir",
5
10
  "objects": [
6
11
  {
@@ -8,173 +13,168 @@
8
13
  "module": "Elixir.InchTest",
9
14
  "moduledoc": null,
10
15
  "object_type": "ModuleObject",
11
- "source": null,
12
- "type": null,
13
- "typespecs": []
16
+ "source": "lib/inch_test.ex:1",
17
+ "type": null
18
+ },
19
+ {
20
+ "id": "InchTest.Callbacks",
21
+ "module": "Elixir.InchTest.Callbacks",
22
+ "moduledoc": null,
23
+ "object_type": "ModuleObject",
24
+ "source": "lib/inch_test/callbacks.ex:1",
25
+ "type": "behaviour"
14
26
  },
15
27
  {
16
28
  "id": "InchTest.CodeExamples",
17
29
  "module": "Elixir.InchTest.CodeExamples",
18
30
  "moduledoc": null,
19
31
  "object_type": "ModuleObject",
20
- "source": null,
21
- "type": null,
22
- "typespecs": []
32
+ "source": "lib/inch_test/code_examples.ex:1",
33
+ "type": null
23
34
  },
24
35
  {
25
36
  "id": "InchTest.Config",
26
37
  "module": "Elixir.InchTest.Config",
27
38
  "moduledoc": null,
28
39
  "object_type": "ModuleObject",
29
- "source": null,
30
- "type": null,
31
- "typespecs": []
40
+ "source": "lib/inch_test.ex:2",
41
+ "type": null
32
42
  },
33
43
  {
34
44
  "id": "InchTest.Docs.Formatter",
35
45
  "module": "Elixir.InchTest.Docs.Formatter",
36
46
  "moduledoc": "Provide JSON-formatted documentation\n",
37
47
  "object_type": "ModuleObject",
38
- "source": null,
39
- "type": null,
40
- "typespecs": []
48
+ "source": "lib/inch_test/docs/formatter.ex:3",
49
+ "type": null
41
50
  },
42
51
  {
43
52
  "id": "InchTest.Docs.Retriever",
44
53
  "module": "Elixir.InchTest.Docs.Retriever",
45
54
  "moduledoc": "Functions to extract documentation information from modules.\n",
46
55
  "object_type": "ModuleObject",
47
- "source": null,
48
- "type": null,
49
- "typespecs": []
56
+ "source": "lib/inch_test/docs/retriever.ex:24",
57
+ "type": null
50
58
  },
51
59
  {
52
60
  "id": "InchTest.Docs.Retriever.Error",
53
61
  "module": "Elixir.InchTest.Docs.Retriever.Error",
54
62
  "moduledoc": null,
55
63
  "object_type": "ModuleObject",
56
- "source": null,
57
- "type": "exception",
58
- "typespecs": []
64
+ "source": "lib/inch_test/docs/retriever.ex:20",
65
+ "type": "exception"
59
66
  },
60
67
  {
61
68
  "id": "InchTest.FunctionObject",
62
69
  "module": "Elixir.InchTest.FunctionObject",
63
70
  "moduledoc": null,
64
71
  "object_type": "ModuleObject",
65
- "source": null,
66
- "type": null,
67
- "typespecs": []
72
+ "source": "lib/inch_test/docs/retriever.ex:10",
73
+ "type": null
68
74
  },
69
75
  {
70
76
  "id": "InchTest.Functions",
71
77
  "module": "Elixir.InchTest.Functions",
72
78
  "moduledoc": " In this module we define funs that are \"cases\" for our test suite.\n",
73
79
  "object_type": "ModuleObject",
74
- "source": "lib/inch_test/functions.ex:9",
75
- "type": null,
76
- "typespecs": []
80
+ "source": "lib/inch_test/functions.ex:1",
81
+ "type": null
77
82
  },
78
83
  {
79
84
  "id": "InchTest.Html",
80
85
  "module": "Elixir.InchTest.Html",
81
86
  "moduledoc": null,
82
87
  "object_type": "ModuleObject",
83
- "source": null,
84
- "type": null,
85
- "typespecs": []
88
+ "source": "lib/inch_test/html.ex:3",
89
+ "type": null
86
90
  },
87
91
  {
88
92
  "id": "InchTest.Html.Safe",
89
93
  "module": "Elixir.InchTest.Html.Safe",
90
94
  "moduledoc": null,
91
95
  "object_type": "ModuleObject",
92
- "source": null,
93
- "type": "protocol",
94
- "typespecs": [
95
- "[Elixir.Any]"
96
- ]
96
+ "source": "lib/inch_test/html.ex:19",
97
+ "type": "protocol"
97
98
  },
98
99
  {
99
100
  "id": "InchTest.Html.Safe.Atom",
100
101
  "module": "Elixir.InchTest.Html.Safe.Atom",
101
102
  "moduledoc": null,
102
103
  "object_type": "ModuleObject",
103
- "source": null,
104
- "type": "impl",
105
- "typespecs": []
104
+ "source": "lib/inch_test/html.ex:23",
105
+ "type": "impl"
106
106
  },
107
107
  {
108
108
  "id": "InchTest.Html.Safe.BitString",
109
109
  "module": "Elixir.InchTest.Html.Safe.BitString",
110
110
  "moduledoc": null,
111
111
  "object_type": "ModuleObject",
112
- "source": null,
113
- "type": "impl",
114
- "typespecs": []
112
+ "source": "lib/inch_test/html.ex:28",
113
+ "type": "impl"
115
114
  },
116
115
  {
117
116
  "id": "InchTest.Html.Safe.Float",
118
117
  "module": "Elixir.InchTest.Html.Safe.Float",
119
118
  "moduledoc": null,
120
119
  "object_type": "ModuleObject",
121
- "source": null,
122
- "type": "impl",
123
- "typespecs": []
120
+ "source": "lib/inch_test/html.ex:66",
121
+ "type": "impl"
124
122
  },
125
123
  {
126
124
  "id": "InchTest.Html.Safe.Integer",
127
125
  "module": "Elixir.InchTest.Html.Safe.Integer",
128
126
  "moduledoc": null,
129
127
  "object_type": "ModuleObject",
130
- "source": null,
131
- "type": "impl",
132
- "typespecs": []
128
+ "source": "lib/inch_test/html.ex:62",
129
+ "type": "impl"
133
130
  },
134
131
  {
135
132
  "id": "InchTest.Html.Safe.List",
136
133
  "module": "Elixir.InchTest.Html.Safe.List",
137
134
  "moduledoc": null,
138
135
  "object_type": "ModuleObject",
139
- "source": null,
140
- "type": "impl",
141
- "typespecs": []
136
+ "source": "lib/inch_test/html.ex:34",
137
+ "type": "impl"
142
138
  },
143
139
  {
144
140
  "id": "InchTest.Html.Safe.Tuple",
145
141
  "module": "Elixir.InchTest.Html.Safe.Tuple",
146
142
  "moduledoc": null,
147
143
  "object_type": "ModuleObject",
148
- "source": null,
149
- "type": "impl",
150
- "typespecs": []
144
+ "source": "lib/inch_test/html.ex:72",
145
+ "type": "impl"
146
+ },
147
+ {
148
+ "id": "InchTest.Macros",
149
+ "module": "Elixir.InchTest.Macros",
150
+ "moduledoc": null,
151
+ "object_type": "ModuleObject",
152
+ "source": "lib/inch_test/macros.ex:1",
153
+ "type": null
151
154
  },
152
155
  {
153
156
  "id": "InchTest.ModuleObject",
154
157
  "module": "Elixir.InchTest.ModuleObject",
155
158
  "moduledoc": null,
156
159
  "object_type": "ModuleObject",
157
- "source": null,
158
- "type": null,
159
- "typespecs": []
160
+ "source": "lib/inch_test/docs/retriever.ex:5",
161
+ "type": null
160
162
  },
161
163
  {
162
164
  "id": "InchTest.Naming",
163
165
  "module": "Elixir.InchTest.Naming",
164
166
  "moduledoc": null,
165
167
  "object_type": "ModuleObject",
166
- "source": null,
167
- "type": null,
168
- "typespecs": []
168
+ "source": "lib/inch_test/naming.ex:3",
169
+ "type": null
169
170
  },
170
171
  {
171
172
  "id": "InchTest.TypeObject",
172
173
  "module": "Elixir.InchTest.TypeObject",
173
174
  "moduledoc": null,
174
175
  "object_type": "ModuleObject",
175
- "source": null,
176
- "type": null,
177
- "typespecs": []
176
+ "source": "lib/inch_test/docs/retriever.ex:15",
177
+ "type": null
178
178
  },
179
179
  {
180
180
  "arity": 4,
@@ -205,8 +205,57 @@
205
205
  null
206
206
  ]
207
207
  ],
208
- "source": null,
209
- "specs": [],
208
+ "source": "lib/inch_test.ex:12",
209
+ "type": "def"
210
+ },
211
+ {
212
+ "arity": 1,
213
+ "doc": "Informs the given message.\n",
214
+ "id": "full_doc/1",
215
+ "module_id": "InchTest.Callbacks",
216
+ "name": "full_doc",
217
+ "object_type": "FunctionObject",
218
+ "signature": null,
219
+ "source": "lib/inch_test/callbacks.ex:7",
220
+ "type": "defcallback"
221
+ },
222
+ {
223
+ "arity": 1,
224
+ "doc": null,
225
+ "id": "missing_doc/1",
226
+ "module_id": "InchTest.Callbacks",
227
+ "name": "missing_doc",
228
+ "object_type": "FunctionObject",
229
+ "signature": null,
230
+ "source": "lib/inch_test/callbacks.ex:12",
231
+ "type": "defcallback"
232
+ },
233
+ {
234
+ "arity": 1,
235
+ "doc": false,
236
+ "id": "no_doc/1",
237
+ "module_id": "InchTest.Callbacks",
238
+ "name": "no_doc",
239
+ "object_type": "FunctionObject",
240
+ "signature": null,
241
+ "source": "lib/inch_test/callbacks.ex:10",
242
+ "type": "defcallback"
243
+ },
244
+ {
245
+ "arity": 1,
246
+ "doc": false,
247
+ "id": "__behaviour__/1",
248
+ "module_id": "InchTest.Callbacks",
249
+ "name": "__behaviour__",
250
+ "object_type": "FunctionObject",
251
+ "signature": [
252
+ [
253
+ "atom1",
254
+ [],
255
+ "Elixir"
256
+ ]
257
+ ],
258
+ "source": "lib/inch_test/callbacks.ex:1",
210
259
  "type": "def"
211
260
  },
212
261
  {
@@ -217,8 +266,7 @@
217
266
  "name": "multiple_code_examples",
218
267
  "object_type": "FunctionObject",
219
268
  "signature": [],
220
- "source": null,
221
- "specs": [],
269
+ "source": "lib/inch_test/code_examples.ex:33",
222
270
  "type": "def"
223
271
  },
224
272
  {
@@ -229,8 +277,7 @@
229
277
  "name": "single_code_example",
230
278
  "object_type": "FunctionObject",
231
279
  "signature": [],
232
- "source": null,
233
- "specs": [],
280
+ "source": "lib/inch_test/code_examples.ex:12",
234
281
  "type": "def"
235
282
  },
236
283
  {
@@ -257,8 +304,7 @@
257
304
  null
258
305
  ]
259
306
  ],
260
- "source": null,
261
- "specs": [],
307
+ "source": "lib/inch_test/docs/formatter.ex:11",
262
308
  "type": "def"
263
309
  },
264
310
  {
@@ -280,8 +326,7 @@
280
326
  null
281
327
  ]
282
328
  ],
283
- "source": null,
284
- "specs": [],
329
+ "source": "lib/inch_test/docs/retriever.ex:32",
285
330
  "type": "def"
286
331
  },
287
332
  {
@@ -303,8 +348,7 @@
303
348
  null
304
349
  ]
305
350
  ],
306
- "source": null,
307
- "specs": [],
351
+ "source": "lib/inch_test/docs/retriever.ex:38",
308
352
  "type": "def"
309
353
  },
310
354
  {
@@ -326,13 +370,12 @@
326
370
  null
327
371
  ]
328
372
  ],
329
- "source": null,
330
- "specs": [],
373
+ "source": "lib/inch_test/docs/retriever.ex:44",
331
374
  "type": "def"
332
375
  },
333
376
  {
334
377
  "arity": 1,
335
- "doc": "Callback implementation of `Exception.exception/1`.",
378
+ "doc": false,
336
379
  "id": "exception/1",
337
380
  "module_id": "InchTest.Docs.Retriever.Error",
338
381
  "name": "exception",
@@ -344,62 +387,12 @@
344
387
  null
345
388
  ]
346
389
  ],
347
- "source": null,
348
- "specs": [
349
- [
350
- "::",
351
- {
352
- "line": 21
353
- },
354
- [
355
- [
356
- "exception",
357
- {
358
- "line": 21
359
- },
360
- [
361
- [
362
- [
363
- ".",
364
- {
365
- "line": 21
366
- },
367
- [
368
- "Elixir.Keyword",
369
- "t"
370
- ]
371
- ],
372
- {
373
- "line": 21
374
- },
375
- []
376
- ]
377
- ]
378
- ],
379
- [
380
- [
381
- ".",
382
- {
383
- "line": 21
384
- },
385
- [
386
- "Elixir.Exception",
387
- "t"
388
- ]
389
- ],
390
- {
391
- "line": 21
392
- },
393
- []
394
- ]
395
- ]
396
- ]
397
- ],
390
+ "source": "lib/inch_test/docs/retriever.ex:21",
398
391
  "type": "def"
399
392
  },
400
393
  {
401
394
  "arity": 1,
402
- "doc": "Callback implementation of `Exception.message/1`.",
395
+ "doc": false,
403
396
  "id": "message/1",
404
397
  "module_id": "InchTest.Docs.Retriever.Error",
405
398
  "name": "message",
@@ -411,57 +404,7 @@
411
404
  null
412
405
  ]
413
406
  ],
414
- "source": null,
415
- "specs": [
416
- [
417
- "::",
418
- {
419
- "line": 21
420
- },
421
- [
422
- [
423
- "message",
424
- {
425
- "line": 21
426
- },
427
- [
428
- [
429
- [
430
- ".",
431
- {
432
- "line": 21
433
- },
434
- [
435
- "Elixir.Exception",
436
- "t"
437
- ]
438
- ],
439
- {
440
- "line": 21
441
- },
442
- []
443
- ]
444
- ]
445
- ],
446
- [
447
- [
448
- ".",
449
- {
450
- "line": 21
451
- },
452
- [
453
- "Elixir.String",
454
- "t"
455
- ]
456
- ],
457
- {
458
- "line": 21
459
- },
460
- []
461
- ]
462
- ]
463
- ]
464
- ],
407
+ "source": "lib/inch_test/docs/retriever.ex:21",
465
408
  "type": "def"
466
409
  },
467
410
  {
@@ -483,8 +426,7 @@
483
426
  null
484
427
  ]
485
428
  ],
486
- "source": null,
487
- "specs": [],
429
+ "source": "lib/inch_test/functions.ex:16",
488
430
  "type": "def"
489
431
  },
490
432
  {
@@ -506,8 +448,7 @@
506
448
  "Elixir"
507
449
  ]
508
450
  ],
509
- "source": null,
510
- "specs": [],
451
+ "source": "lib/inch_test/functions.ex:31",
511
452
  "type": "def"
512
453
  },
513
454
  {
@@ -524,8 +465,7 @@
524
465
  null
525
466
  ]
526
467
  ],
527
- "source": null,
528
- "specs": [],
468
+ "source": "lib/inch_test/html.ex:76",
529
469
  "type": "def"
530
470
  },
531
471
  {
@@ -542,8 +482,7 @@
542
482
  null
543
483
  ]
544
484
  ],
545
- "source": null,
546
- "specs": [],
485
+ "source": "lib/inch_test/html.ex:14",
547
486
  "type": "def"
548
487
  },
549
488
  {
@@ -560,8 +499,7 @@
560
499
  null
561
500
  ]
562
501
  ],
563
- "source": null,
564
- "specs": [],
502
+ "source": "lib/inch_test/html.ex:16",
565
503
  "type": "def"
566
504
  },
567
505
  {
@@ -578,63 +516,7 @@
578
516
  "Elixir"
579
517
  ]
580
518
  ],
581
- "source": null,
582
- "specs": [
583
- [
584
- "::",
585
- {
586
- "line": 19
587
- },
588
- [
589
- [
590
- "__protocol__",
591
- {
592
- "line": 19
593
- },
594
- [
595
- "functions"
596
- ]
597
- ],
598
- [
599
- [
600
- "{}",
601
- {
602
- "line": 0
603
- },
604
- [
605
- "to_string",
606
- 1
607
- ]
608
- ],
609
- [
610
- "...",
611
- {
612
- "line": 0
613
- },
614
- null
615
- ]
616
- ]
617
- ]
618
- ],
619
- [
620
- "::",
621
- {
622
- "line": 19
623
- },
624
- [
625
- [
626
- "__protocol__",
627
- {
628
- "line": 19
629
- },
630
- [
631
- "name"
632
- ]
633
- ],
634
- "Elixir.InchTest.Html.Safe"
635
- ]
636
- ]
637
- ],
519
+ "source": "lib/inch_test/html.ex:19",
638
520
  "type": "def"
639
521
  },
640
522
  {
@@ -651,8 +533,7 @@
651
533
  null
652
534
  ]
653
535
  ],
654
- "source": null,
655
- "specs": [],
536
+ "source": "lib/inch_test/html.ex:20",
656
537
  "type": "def"
657
538
  },
658
539
  {
@@ -669,68 +550,12 @@
669
550
  "Elixir"
670
551
  ]
671
552
  ],
672
- "source": null,
673
- "specs": [
674
- [
675
- "::",
676
- {
677
- "line": 23
678
- },
679
- [
680
- [
681
- "__impl__",
682
- {
683
- "line": 23
684
- },
685
- [
686
- "protocol"
687
- ]
688
- ],
689
- "Elixir.InchTest.Html.Safe"
690
- ]
691
- ],
692
- [
693
- "::",
694
- {
695
- "line": 23
696
- },
697
- [
698
- [
699
- "__impl__",
700
- {
701
- "line": 23
702
- },
703
- [
704
- "target"
705
- ]
706
- ],
707
- "Elixir.InchTest.Html.Safe.Atom"
708
- ]
709
- ],
710
- [
711
- "::",
712
- {
713
- "line": 23
714
- },
715
- [
716
- [
717
- "__impl__",
718
- {
719
- "line": 23
720
- },
721
- [
722
- "for"
723
- ]
724
- ],
725
- "Elixir.Atom"
726
- ]
727
- ]
728
- ],
553
+ "source": "lib/inch_test/html.ex:23",
729
554
  "type": "def"
730
555
  },
731
556
  {
732
557
  "arity": 1,
733
- "doc": "Callback implementation of `InchTest.Html.Safe.to_string/1`.",
558
+ "doc": false,
734
559
  "id": "to_string/1",
735
560
  "module_id": "InchTest.Html.Safe.Atom",
736
561
  "name": "to_string",
@@ -742,8 +567,7 @@
742
567
  null
743
568
  ]
744
569
  ],
745
- "source": null,
746
- "specs": [],
570
+ "source": "lib/inch_test/html.ex:24",
747
571
  "type": "def"
748
572
  },
749
573
  {
@@ -760,68 +584,12 @@
760
584
  "Elixir"
761
585
  ]
762
586
  ],
763
- "source": null,
764
- "specs": [
765
- [
766
- "::",
767
- {
768
- "line": 28
769
- },
770
- [
771
- [
772
- "__impl__",
773
- {
774
- "line": 28
775
- },
776
- [
777
- "protocol"
778
- ]
779
- ],
780
- "Elixir.InchTest.Html.Safe"
781
- ]
782
- ],
783
- [
784
- "::",
785
- {
786
- "line": 28
787
- },
788
- [
789
- [
790
- "__impl__",
791
- {
792
- "line": 28
793
- },
794
- [
795
- "target"
796
- ]
797
- ],
798
- "Elixir.InchTest.Html.Safe.BitString"
799
- ]
800
- ],
801
- [
802
- "::",
803
- {
804
- "line": 28
805
- },
806
- [
807
- [
808
- "__impl__",
809
- {
810
- "line": 28
811
- },
812
- [
813
- "for"
814
- ]
815
- ],
816
- "Elixir.BitString"
817
- ]
818
- ]
819
- ],
587
+ "source": "lib/inch_test/html.ex:28",
820
588
  "type": "def"
821
589
  },
822
590
  {
823
591
  "arity": 1,
824
- "doc": "Callback implementation of `InchTest.Html.Safe.to_string/1`.",
592
+ "doc": false,
825
593
  "id": "to_string/1",
826
594
  "module_id": "InchTest.Html.Safe.BitString",
827
595
  "name": "to_string",
@@ -833,8 +601,7 @@
833
601
  null
834
602
  ]
835
603
  ],
836
- "source": null,
837
- "specs": [],
604
+ "source": "lib/inch_test/html.ex:29",
838
605
  "type": "def"
839
606
  },
840
607
  {
@@ -851,68 +618,12 @@
851
618
  "Elixir"
852
619
  ]
853
620
  ],
854
- "source": null,
855
- "specs": [
856
- [
857
- "::",
858
- {
859
- "line": 66
860
- },
861
- [
862
- [
863
- "__impl__",
864
- {
865
- "line": 66
866
- },
867
- [
868
- "protocol"
869
- ]
870
- ],
871
- "Elixir.InchTest.Html.Safe"
872
- ]
873
- ],
874
- [
875
- "::",
876
- {
877
- "line": 66
878
- },
879
- [
880
- [
881
- "__impl__",
882
- {
883
- "line": 66
884
- },
885
- [
886
- "target"
887
- ]
888
- ],
889
- "Elixir.InchTest.Html.Safe.Float"
890
- ]
891
- ],
892
- [
893
- "::",
894
- {
895
- "line": 66
896
- },
897
- [
898
- [
899
- "__impl__",
900
- {
901
- "line": 66
902
- },
903
- [
904
- "for"
905
- ]
906
- ],
907
- "Elixir.Float"
908
- ]
909
- ]
910
- ],
621
+ "source": "lib/inch_test/html.ex:66",
911
622
  "type": "def"
912
623
  },
913
624
  {
914
625
  "arity": 1,
915
- "doc": "Callback implementation of `InchTest.Html.Safe.to_string/1`.",
626
+ "doc": false,
916
627
  "id": "to_string/1",
917
628
  "module_id": "InchTest.Html.Safe.Float",
918
629
  "name": "to_string",
@@ -924,8 +635,7 @@
924
635
  null
925
636
  ]
926
637
  ],
927
- "source": null,
928
- "specs": [],
638
+ "source": "lib/inch_test/html.ex:67",
929
639
  "type": "def"
930
640
  },
931
641
  {
@@ -942,68 +652,12 @@
942
652
  "Elixir"
943
653
  ]
944
654
  ],
945
- "source": null,
946
- "specs": [
947
- [
948
- "::",
949
- {
950
- "line": 62
951
- },
952
- [
953
- [
954
- "__impl__",
955
- {
956
- "line": 62
957
- },
958
- [
959
- "protocol"
960
- ]
961
- ],
962
- "Elixir.InchTest.Html.Safe"
963
- ]
964
- ],
965
- [
966
- "::",
967
- {
968
- "line": 62
969
- },
970
- [
971
- [
972
- "__impl__",
973
- {
974
- "line": 62
975
- },
976
- [
977
- "target"
978
- ]
979
- ],
980
- "Elixir.InchTest.Html.Safe.Integer"
981
- ]
982
- ],
983
- [
984
- "::",
985
- {
986
- "line": 62
987
- },
988
- [
989
- [
990
- "__impl__",
991
- {
992
- "line": 62
993
- },
994
- [
995
- "for"
996
- ]
997
- ],
998
- "Elixir.Integer"
999
- ]
1000
- ]
1001
- ],
655
+ "source": "lib/inch_test/html.ex:62",
1002
656
  "type": "def"
1003
657
  },
1004
658
  {
1005
659
  "arity": 1,
1006
- "doc": "Callback implementation of `InchTest.Html.Safe.to_string/1`.",
660
+ "doc": false,
1007
661
  "id": "to_string/1",
1008
662
  "module_id": "InchTest.Html.Safe.Integer",
1009
663
  "name": "to_string",
@@ -1015,8 +669,7 @@
1015
669
  null
1016
670
  ]
1017
671
  ],
1018
- "source": null,
1019
- "specs": [],
672
+ "source": "lib/inch_test/html.ex:63",
1020
673
  "type": "def"
1021
674
  },
1022
675
  {
@@ -1033,68 +686,12 @@
1033
686
  "Elixir"
1034
687
  ]
1035
688
  ],
1036
- "source": null,
1037
- "specs": [
1038
- [
1039
- "::",
1040
- {
1041
- "line": 34
1042
- },
1043
- [
1044
- [
1045
- "__impl__",
1046
- {
1047
- "line": 34
1048
- },
1049
- [
1050
- "protocol"
1051
- ]
1052
- ],
1053
- "Elixir.InchTest.Html.Safe"
1054
- ]
1055
- ],
1056
- [
1057
- "::",
1058
- {
1059
- "line": 34
1060
- },
1061
- [
1062
- [
1063
- "__impl__",
1064
- {
1065
- "line": 34
1066
- },
1067
- [
1068
- "target"
1069
- ]
1070
- ],
1071
- "Elixir.InchTest.Html.Safe.List"
1072
- ]
1073
- ],
1074
- [
1075
- "::",
1076
- {
1077
- "line": 34
1078
- },
1079
- [
1080
- [
1081
- "__impl__",
1082
- {
1083
- "line": 34
1084
- },
1085
- [
1086
- "for"
1087
- ]
1088
- ],
1089
- "Elixir.List"
1090
- ]
1091
- ]
1092
- ],
689
+ "source": "lib/inch_test/html.ex:34",
1093
690
  "type": "def"
1094
691
  },
1095
692
  {
1096
693
  "arity": 1,
1097
- "doc": "Callback implementation of `InchTest.Html.Safe.to_string/1`.",
694
+ "doc": false,
1098
695
  "id": "to_string/1",
1099
696
  "module_id": "InchTest.Html.Safe.List",
1100
697
  "name": "to_string",
@@ -1106,8 +703,7 @@
1106
703
  null
1107
704
  ]
1108
705
  ],
1109
- "source": null,
1110
- "specs": [],
706
+ "source": "lib/inch_test/html.ex:35",
1111
707
  "type": "def"
1112
708
  },
1113
709
  {
@@ -1124,68 +720,12 @@
1124
720
  "Elixir"
1125
721
  ]
1126
722
  ],
1127
- "source": null,
1128
- "specs": [
1129
- [
1130
- "::",
1131
- {
1132
- "line": 72
1133
- },
1134
- [
1135
- [
1136
- "__impl__",
1137
- {
1138
- "line": 72
1139
- },
1140
- [
1141
- "protocol"
1142
- ]
1143
- ],
1144
- "Elixir.InchTest.Html.Safe"
1145
- ]
1146
- ],
1147
- [
1148
- "::",
1149
- {
1150
- "line": 72
1151
- },
1152
- [
1153
- [
1154
- "__impl__",
1155
- {
1156
- "line": 72
1157
- },
1158
- [
1159
- "target"
1160
- ]
1161
- ],
1162
- "Elixir.InchTest.Html.Safe.Tuple"
1163
- ]
1164
- ],
1165
- [
1166
- "::",
1167
- {
1168
- "line": 72
1169
- },
1170
- [
1171
- [
1172
- "__impl__",
1173
- {
1174
- "line": 72
1175
- },
1176
- [
1177
- "for"
1178
- ]
1179
- ],
1180
- "Elixir.Tuple"
1181
- ]
1182
- ]
1183
- ],
723
+ "source": "lib/inch_test/html.ex:72",
1184
724
  "type": "def"
1185
725
  },
1186
726
  {
1187
727
  "arity": 1,
1188
- "doc": "Callback implementation of `InchTest.Html.Safe.to_string/1`.",
728
+ "doc": false,
1189
729
  "id": "to_string/1",
1190
730
  "module_id": "InchTest.Html.Safe.Tuple",
1191
731
  "name": "to_string",
@@ -1197,10 +737,42 @@
1197
737
  "Elixir"
1198
738
  ]
1199
739
  ],
1200
- "source": null,
1201
- "specs": [],
740
+ "source": "lib/inch_test/html.ex:73",
1202
741
  "type": "def"
1203
742
  },
743
+ {
744
+ "arity": 0,
745
+ "doc": "Another example",
746
+ "id": "full_doc/0",
747
+ "module_id": "InchTest.Macros",
748
+ "name": "full_doc",
749
+ "object_type": "FunctionObject",
750
+ "signature": [],
751
+ "source": "lib/inch_test/macros.ex:3",
752
+ "type": "defmacro"
753
+ },
754
+ {
755
+ "arity": 0,
756
+ "doc": null,
757
+ "id": "missing_doc/0",
758
+ "module_id": "InchTest.Macros",
759
+ "name": "missing_doc",
760
+ "object_type": "FunctionObject",
761
+ "signature": [],
762
+ "source": "lib/inch_test/macros.ex:8",
763
+ "type": "defmacro"
764
+ },
765
+ {
766
+ "arity": 0,
767
+ "doc": false,
768
+ "id": "no_doc/0",
769
+ "module_id": "InchTest.Macros",
770
+ "name": "no_doc",
771
+ "object_type": "FunctionObject",
772
+ "signature": [],
773
+ "source": "lib/inch_test/macros.ex:6",
774
+ "type": "defmacro"
775
+ },
1204
776
  {
1205
777
  "arity": 1,
1206
778
  "doc": "Converts String to camel case\n\n## Examples\n\n iex> InchTest.Naming.camelize(\"my_app\")\n \"MyApp\"\n\nIn general, `camelize` can be thought of as the reverse of\n`underscore`, however, in some cases formatting may be lost:\n\n InchTest.Naming.underscore \"SAPExample\" #=> \"sap_example\"\n InchTest.Naming.camelize \"sap_example\" #=> \"SapExample\"\n\n",
@@ -1215,8 +787,7 @@
1215
787
  "Elixir"
1216
788
  ]
1217
789
  ],
1218
- "source": null,
1219
- "specs": [],
790
+ "source": "lib/inch_test/naming.ex:106",
1220
791
  "type": "def"
1221
792
  },
1222
793
  {
@@ -1233,8 +804,7 @@
1233
804
  "Elixir"
1234
805
  ]
1235
806
  ],
1236
- "source": null,
1237
- "specs": [],
807
+ "source": "lib/inch_test/naming.ex:116",
1238
808
  "type": "def"
1239
809
  },
1240
810
  {
@@ -1256,8 +826,7 @@
1256
826
  null
1257
827
  ]
1258
828
  ],
1259
- "source": null,
1260
- "specs": [],
829
+ "source": "lib/inch_test/naming.ex:58",
1261
830
  "type": "def"
1262
831
  },
1263
832
  {
@@ -1279,8 +848,7 @@
1279
848
  null
1280
849
  ]
1281
850
  ],
1282
- "source": null,
1283
- "specs": [],
851
+ "source": "lib/inch_test/naming.ex:23",
1284
852
  "type": "def"
1285
853
  },
1286
854
  {
@@ -1309,8 +877,7 @@
1309
877
  ]
1310
878
  ]
1311
879
  ],
1312
- "source": null,
1313
- "specs": [],
880
+ "source": "lib/inch_test/naming.ex:15",
1314
881
  "type": "def"
1315
882
  },
1316
883
  {
@@ -1327,8 +894,7 @@
1327
894
  null
1328
895
  ]
1329
896
  ],
1330
- "source": null,
1331
- "specs": [],
897
+ "source": "lib/inch_test/naming.ex:88",
1332
898
  "type": "def"
1333
899
  },
1334
900
  {
@@ -1345,8 +911,7 @@
1345
911
  null
1346
912
  ]
1347
913
  ],
1348
- "source": null,
1349
- "specs": [],
914
+ "source": "lib/inch_test/naming.ex:140",
1350
915
  "type": "def"
1351
916
  },
1352
917
  {
@@ -1363,14 +928,10 @@
1363
928
  "Elixir"
1364
929
  ]
1365
930
  ],
1366
- "source": null,
1367
- "specs": [],
931
+ "source": "lib/inch_test/naming.ex:52",
1368
932
  "type": "def"
1369
933
  }
1370
934
  ],
1371
- "travis": true,
1372
- "travis_branch": "master",
1373
- "travis_commit": null,
1374
- "travis_job_id": null,
1375
- "travis_repo_slug": "rrrene/inch_ex"
935
+ "revision": "2f0554fbb54c81e4869a391c264735c95dd1c460",
936
+ "shell": true
1376
937
  }