git-trend 1.1.8 → 1.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,11 +28,11 @@ RSpec.describe GitTrend::CLI do
28
28
  let(:number) { 3 }
29
29
  it "display top 3 daily ranking" do
30
30
  res = <<-'EOS'.unindent
31
- |No. Name Lang Star
32
- |--- ---------------------------------------- ---------- ------
33
- | 1 alexanderepstein/Bash-Snippets Shell 1111
34
- | 2 jaredreich/pell JavaScript 665
35
- | 3 azat-co/practicalnode JavaScript 440
31
+ |No. Name Lang Star
32
+ |--- ---------------------------------------- ---------------- ------
33
+ | 1 ShiqiYu/libfacedetection C++ 1237
34
+ | 2 selfteaching/the-craft-of-selfteaching Jupyter Notebook 614
35
+ | 3 codercom/code-server TypeScript 628
36
36
 
37
37
  EOS
38
38
  expect { cli.invoke(:list, [], number: number, description: false) }.to output(res).to_stdout
@@ -286,66 +286,66 @@ RSpec.describe GitTrend::CLI do
286
286
 
287
287
  def dummy_result_without_description
288
288
  <<-'EOS'.unindent
289
- |No. Name Lang Star
290
- |--- ---------------------------------------- ---------------- ------
291
- | 1 alexanderepstein/Bash-Snippets Shell 1111
292
- | 2 jaredreich/pell JavaScript 665
293
- | 3 azat-co/practicalnode JavaScript 440
294
- | 4 shieldfy/API-Security-Checklist 427
295
- | 5 d4l3k/go-pry Go 419
296
- | 6 Kristories/awesome-guidelines 382
297
- | 7 iogf/sukhoi Python 302
298
- | 8 wearehive/project-guidelines JavaScript 254
299
- | 9 gpujs/gpu.js JavaScript 260
300
- | 10 geekplux/markvis JavaScript 230
301
- | 11 tensorflow/nmt Python 212
302
- | 12 gitpoint/git-point JavaScript 212
303
- | 13 coells/100days Jupyter Notebook 199
304
- | 14 scwang90/SmartRefreshLayout Java 198
305
- | 15 zeit/now JavaScript 197
306
- | 16 walmik/scribbletune JavaScript 174
307
- | 17 cdflynn/turn-layout-manager Java 165
308
- | 18 vuejs/vue JavaScript 157
309
- | 19 sdras/intro-to-vue Vue 153
310
- | 20 moinism/botui JavaScript 150
311
- | 21 Tanibox/tania CSS 153
312
- | 22 tensorflow/tensorflow C++ 116
313
- | 23 tarek360/RichPath Java 150
314
- | 24 woxingxiao/SlidingUpPanelLayout Java 143
315
- | 25 kristian-lange/net-glimpse JavaScript 141
289
+ |No. Name Lang Star
290
+ |--- ---------------------------------------------- ---------------- ------
291
+ | 1 ShiqiYu/libfacedetection C++ 1237
292
+ | 2 selfteaching/the-craft-of-selfteaching Jupyter Notebook 614
293
+ | 3 codercom/code-server TypeScript 628
294
+ | 4 alexfoxy/laxxx JavaScript 518
295
+ | 5 phoenixframework/phoenix_live_view Elixir 374
296
+ | 6 mozilla/send JavaScript 309
297
+ | 7 clone95/Machine-Learning-Study-Path-March-2019 241
298
+ | 8 Microsoft/calculator C++ 241
299
+ | 9 jkup/awesome-personal-blogs 191
300
+ | 10 timvisee/ffsend Rust 178
301
+ | 11 NationalSecurityAgency/ghidra 164
302
+ | 12 Snailclimb/JavaGuide Java 152
303
+ | 13 sindresorhus/type-fest TypeScript 169
304
+ | 14 PaddlePaddle/LARK Python 151
305
+ | 15 slackhq/PanModal Swift 160
306
+ | 16 fitzgen/dodrio Rust 158
307
+ | 17 dcloudio/uni-app Vue 141
308
+ | 18 CyC2018/CS-Notes 126
309
+ | 19 zhaoolee/ChromeAppHeroes Python 135
310
+ | 20 dgryski/go-perfbook 140
311
+ | 21 openacid/slim Go 136
312
+ | 22 Microsoft/vscode TypeScript 127
313
+ | 23 flutter/flutter Dart 118
314
+ | 24 infinitered/nsfwjs JavaScript 121
315
+ | 25 lyricat/wechat-format JavaScript 120
316
316
 
317
317
  EOS
318
318
  end
319
319
 
320
320
  def dummy_result_no_options
321
321
  <<-'EOS'.unindent
322
- |No. Name Lang Star Description
323
- |--- ---------------------------------------- ---------------- ------ -----------------------------------------------------------------------
324
- | 1 alexanderepstein/Bash-Snippets Shell 1111 A collection of small bash scripts for heavy terminal users
325
- | 2 jaredreich/pell JavaScript 665 📝 the simplest and smallest (1kB) WYSIWYG text editor for web, with...
326
- | 3 azat-co/practicalnode JavaScript 440 Practical Node.js, 1st and 2nd Editions [Apress]
327
- | 4 shieldfy/API-Security-Checklist 427 Checklist of the most important security countermeasures when design...
328
- | 5 d4l3k/go-pry Go 419 An interactive REPL for Go that allows you to drop into your code at...
329
- | 6 Kristories/awesome-guidelines 382 A curated list of high quality coding style conventions and standards.
330
- | 7 iogf/sukhoi Python 302 Minimalist and powerful Web Crawler.
331
- | 8 wearehive/project-guidelines JavaScript 254 A set of best practices for JavaScript projects
332
- | 9 gpujs/gpu.js JavaScript 260 GPU Accelerated JavaScript
333
- | 10 geekplux/markvis JavaScript 230 make visualization in markdown. 📊📈
334
- | 11 tensorflow/nmt Python 212 TensorFlow Neural Machine Translation Tutorial
335
- | 12 gitpoint/git-point JavaScript 212 ⚡️ GitHub for iOS. Built with React Native.
336
- | 13 coells/100days Jupyter Notebook 199 100 days of algorithms
337
- | 14 scwang90/SmartRefreshLayout Java 198 Android智能下拉刷新框架,支持越界回弹,集成了几十种炫酷的Header和 Fo...
338
- | 15 zeit/now JavaScript 197 Universal, serverless, single-command deployment
339
- | 16 walmik/scribbletune JavaScript 174 Generate musical patterns with JavaScript and export as MIDI files u...
340
- | 17 cdflynn/turn-layout-manager Java 165 A carousel layout manager for RecyclerView
341
- | 18 vuejs/vue JavaScript 157 A progressive, incrementally-adoptable JavaScript framework for buil...
342
- | 19 sdras/intro-to-vue Vue 153 Workshop Materials for my Introduction to Vue.js Workshop
343
- | 20 moinism/botui JavaScript 150 🤖 A JavaScript framework to create conversational UIs
344
- | 21 Tanibox/tania CSS 153 A PHP based, free, and open source farming management system.
345
- | 22 tensorflow/tensorflow C++ 116 Computation using data flow graphs for scalable machine learning
346
- | 23 tarek360/RichPath Java 150 💪 Rich Android Path. 🤡 Draw as you want. 🎉 Animate much as you can.
347
- | 24 woxingxiao/SlidingUpPanelLayout Java 143 A vertical-handled and multi-panel support SlidingPanelLayout. 一个...
348
- | 25 kristian-lange/net-glimpse JavaScript 141 1) Real-time visualization of network traffic (Ethernet and Internet...
322
+ |No. Name Lang Star Description
323
+ |--- ---------------------------------------------- ---------------- ------ -----------------------------------------------------------------
324
+ | 1 ShiqiYu/libfacedetection C++ 1237 An open source library for face detection in images. The face ...
325
+ | 2 selfteaching/the-craft-of-selfteaching Jupyter Notebook 614 One has no future if he couldn't teach himself.
326
+ | 3 codercom/code-server TypeScript 628 Run VS Code on a remote server.
327
+ | 4 alexfoxy/laxxx JavaScript 518 Simple & light weight (2kb minified & zipped) vanilla javascri...
328
+ | 5 phoenixframework/phoenix_live_view Elixir 374 Rich, real-time user experiences with server-rendered HTML
329
+ | 6 mozilla/send JavaScript 309 Simple, private file sharing from the makers of Firefox
330
+ | 7 clone95/Machine-Learning-Study-Path-March-2019 241 A complete ML study path, focused on TensorFlow and Scikit-Learn
331
+ | 8 Microsoft/calculator C++ 241 Windows Calculator: A simple yet powerful calculator that ship...
332
+ | 9 jkup/awesome-personal-blogs 191 A delightful list of personal tech blogs
333
+ | 10 timvisee/ffsend Rust 178 📬 Easily and securely share files from the command line. A fu...
334
+ | 11 NationalSecurityAgency/ghidra 164 Ghidra is a software reverse engineering (SRE) framework
335
+ | 12 Snailclimb/JavaGuide Java 152 【Java学习+面试指南】 一份涵盖大部分Java程序员所需要掌握的核心...
336
+ | 13 sindresorhus/type-fest TypeScript 169 A collection of essential TypeScript types
337
+ | 14 PaddlePaddle/LARK Python 151 LAnguage Representations Kit
338
+ | 15 slackhq/PanModal Swift 160 PanModal is an elegant and highly customizable presentation AP...
339
+ | 16 fitzgen/dodrio Rust 158 A fast, bump-allocated virtual DOM library for Rust and WebAss...
340
+ | 17 dcloudio/uni-app Vue 141 使用 Vue.js 开发跨平台应用的前端框架
341
+ | 18 CyC2018/CS-Notes 126 😋 技术面试必备基础知识
342
+ | 19 zhaoolee/ChromeAppHeroes Python 135 🌈Chrome插件英雄榜, 为优秀的Chrome插件写一本中文说明书, 让Chro...
343
+ | 20 dgryski/go-perfbook 140 Thoughts on Go performance optimization
344
+ | 21 openacid/slim Go 136 Unbelievably space efficient data structures in Golang.
345
+ | 22 Microsoft/vscode TypeScript 127 Visual Studio Code
346
+ | 23 flutter/flutter Dart 118 Flutter makes it easy and fast to build beautiful mobile apps.
347
+ | 24 infinitered/nsfwjs JavaScript 121 NSFW detection on the client-side via Tensorflow JS
348
+ | 25 lyricat/wechat-format JavaScript 120 微信公众号排版编辑器,转化 Markdown 微信特制的 HTML
349
349
 
350
350
  EOS
351
351
  end
@@ -423,11 +423,13 @@ RSpec.describe GitTrend::CLI do
423
423
  |ABNF
424
424
  |ActionScript
425
425
  |Ada
426
+ |Adobe Font Metrics
426
427
  |Agda
427
428
  |AGS Script
428
429
  |Alloy
429
430
  |Alpine Abuild
430
431
  |AMPL
432
+ |AngelScript
431
433
  |Ant Build System
432
434
  |ANTLR
433
435
  |ApacheConf
@@ -437,17 +439,18 @@ RSpec.describe GitTrend::CLI do
437
439
  |Apollo Guidance Computer
438
440
  |AppleScript
439
441
  |Arc
440
- |Arduino
441
442
  |AsciiDoc
442
443
  |ASN.1
443
444
  |ASP
444
445
  |AspectJ
445
446
  |Assembly
447
+ |Asymptote
446
448
  |ATS
447
449
  |Augeas
448
450
  |AutoHotkey
449
451
  |AutoIt
450
452
  |Awk
453
+ |Ballerina
451
454
  |Batchfile
452
455
  |Befunge
453
456
  |Bison
@@ -478,6 +481,7 @@ RSpec.describe GitTrend::CLI do
478
481
  |CLIPS
479
482
  |Clojure
480
483
  |Closure Templates
484
+ |Cloud Firestore Security Rules
481
485
  |CMake
482
486
  |COBOL
483
487
  |CoffeeScript
@@ -485,7 +489,9 @@ RSpec.describe GitTrend::CLI do
485
489
  |ColdFusion CFC
486
490
  |COLLADA
487
491
  |Common Lisp
492
+ |Common Workflow Language
488
493
  |Component Pascal
494
+ |CoNLL-U
489
495
  |Cool
490
496
  |Coq
491
497
  |Cpp-ObjDump
@@ -497,7 +503,6 @@ RSpec.describe GitTrend::CLI do
497
503
  |Csound Score
498
504
  |CSS
499
505
  |CSV
500
- |Gherkin
501
506
  |Cuda
502
507
  |CWeb
503
508
  |Cycript
@@ -506,6 +511,7 @@ RSpec.describe GitTrend::CLI do
506
511
  |D-ObjDump
507
512
  |Darcs Patch
508
513
  |Dart
514
+ |DataWeave
509
515
  |desktop
510
516
  |Diff
511
517
  |DIGITAL Command Language
@@ -517,11 +523,13 @@ RSpec.describe GitTrend::CLI do
517
523
  |Dylan
518
524
  |E
519
525
  |Eagle
526
+ |Easybuild
520
527
  |EBNF
521
528
  |eC
522
529
  |Ecere Projects
523
530
  |ECL
524
531
  |ECLiPSe
532
+ |Edje Data Collection
525
533
  |edn
526
534
  |Eiffel
527
535
  |EJS
@@ -529,12 +537,15 @@ RSpec.describe GitTrend::CLI do
529
537
  |Elm
530
538
  |Emacs Lisp
531
539
  |EmberScript
540
+ |EML
532
541
  |EQ
533
542
  |Erlang
534
543
  |F#
544
+ |F*
535
545
  |Factor
536
546
  |Fancy
537
547
  |Fantom
548
+ |FIGlet Font
538
549
  |Filebench WML
539
550
  |Filterscript
540
551
  |fish
@@ -555,10 +566,12 @@ RSpec.describe GitTrend::CLI do
555
566
  |Genshi
556
567
  |Gentoo Ebuild
557
568
  |Gentoo Eclass
569
+ |Gerber Image
558
570
  |Gettext Catalog
559
571
  |Gherkin
560
572
  |GLSL
561
573
  |Glyph
574
+ |Glyph Bitmap Distribution Format
562
575
  |GN
563
576
  |Gnuplot
564
577
  |Go
@@ -575,10 +588,12 @@ RSpec.describe GitTrend::CLI do
575
588
  |Hack
576
589
  |Haml
577
590
  |Handlebars
591
+ |HAProxy
578
592
  |Harbour
579
593
  |Haskell
580
594
  |Haxe
581
595
  |HCL
596
+ |HiveQL
582
597
  |HLSL
583
598
  |HTML
584
599
  |HTML+Django
@@ -586,7 +601,9 @@ RSpec.describe GitTrend::CLI do
586
601
  |HTML+EEX
587
602
  |HTML+ERB
588
603
  |HTML+PHP
604
+ |HTML+Razor
589
605
  |HTTP
606
+ |HXML
590
607
  |Hy
591
608
  |HyPhy
592
609
  |IDL
@@ -603,6 +620,7 @@ RSpec.describe GitTrend::CLI do
603
620
  |J
604
621
  |Jasmin
605
622
  |Java
623
+ |Java Properties
606
624
  |Java Server Pages
607
625
  |JavaScript
608
626
  |JFlex
@@ -610,13 +628,17 @@ RSpec.describe GitTrend::CLI do
610
628
  |Jison Lex
611
629
  |Jolie
612
630
  |JSON
631
+ |JSON with Comments
613
632
  |JSON5
614
633
  |JSONiq
615
634
  |JSONLD
635
+ |Jsonnet
616
636
  |JSX
617
637
  |Julia
618
638
  |Jupyter Notebook
619
- |KiCad
639
+ |KiCad Layout
640
+ |KiCad Legacy Layout
641
+ |KiCad Schematic
620
642
  |Kit
621
643
  |Kotlin
622
644
  |KRL
@@ -653,10 +675,11 @@ RSpec.describe GitTrend::CLI do
653
675
  |Marko
654
676
  |Mask
655
677
  |Mathematica
656
- |Matlab
678
+ |MATLAB
657
679
  |Maven POM
658
680
  |Max
659
681
  |MAXScript
682
+ |mcfunction
660
683
  |MediaWiki
661
684
  |Mercury
662
685
  |Meson
@@ -665,6 +688,7 @@ RSpec.describe GitTrend::CLI do
665
688
  |Mirah
666
689
  |Modelica
667
690
  |Modula-2
691
+ |Modula-3
668
692
  |Module Management System
669
693
  |Monkey
670
694
  |Moocode
@@ -676,12 +700,14 @@ RSpec.describe GitTrend::CLI do
676
700
  |mupad
677
701
  |Myghty
678
702
  |NCL
703
+ |Nearley
679
704
  |Nemerle
680
705
  |nesC
681
706
  |NetLinx
682
707
  |NetLinx+ERB
683
708
  |NetLogo
684
709
  |NewLisp
710
+ |Nextflow
685
711
  |Nginx
686
712
  |Nim
687
713
  |Ninja
@@ -716,10 +742,10 @@ RSpec.describe GitTrend::CLI do
716
742
  |Parrot Assembly
717
743
  |Parrot Internal Representation
718
744
  |Pascal
719
- |PAWN
745
+ |Pawn
720
746
  |Pep8
721
747
  |Perl
722
- |Perl6
748
+ |Perl 6
723
749
  |PHP
724
750
  |Pic
725
751
  |Pickle
@@ -729,8 +755,10 @@ RSpec.describe GitTrend::CLI do
729
755
  |PLpgSQL
730
756
  |PLSQL
731
757
  |Pod
758
+ |Pod 6
732
759
  |PogoScript
733
760
  |Pony
761
+ |PostCSS
734
762
  |PostScript
735
763
  |POV-Ray SDL
736
764
  |PowerBuilder
@@ -748,8 +776,10 @@ RSpec.describe GitTrend::CLI do
748
776
  |Python
749
777
  |Python console
750
778
  |Python traceback
779
+ |q
751
780
  |QMake
752
781
  |QML
782
+ |Quake
753
783
  |R
754
784
  |Racket
755
785
  |Ragel
@@ -768,10 +798,13 @@ RSpec.describe GitTrend::CLI do
768
798
  |reStructuredText
769
799
  |REXX
770
800
  |RHTML
801
+ |Rich Text Format
802
+ |Ring
771
803
  |RMarkdown
772
804
  |RobotFramework
773
805
  |Roff
774
806
  |Rouge
807
+ |RPC
775
808
  |RPM Spec
776
809
  |Ruby
777
810
  |RUNOFF
@@ -785,17 +818,20 @@ RSpec.describe GitTrend::CLI do
785
818
  |Scheme
786
819
  |Scilab
787
820
  |SCSS
821
+ |sed
788
822
  |Self
789
823
  |ShaderLab
790
824
  |Shell
791
825
  |ShellSession
792
826
  |Shen
793
827
  |Slash
828
+ |Slice
794
829
  |Slim
795
830
  |Smali
796
831
  |Smalltalk
797
832
  |Smarty
798
833
  |SMT
834
+ |Solidity
799
835
  |SourcePawn
800
836
  |SPARQL
801
837
  |Spline Font Database
@@ -809,8 +845,8 @@ RSpec.describe GitTrend::CLI do
809
845
  |Stata
810
846
  |STON
811
847
  |Stylus
812
- |Sublime Text Config
813
848
  |SubRip Text
849
+ |SugarSS
814
850
  |SuperCollider
815
851
  |SVG
816
852
  |Swift
@@ -830,6 +866,7 @@ RSpec.describe GitTrend::CLI do
830
866
  |Turtle
831
867
  |Twig
832
868
  |TXL
869
+ |Type Language
833
870
  |TypeScript
834
871
  |Unified Parallel C
835
872
  |Unity3D Asset
@@ -842,16 +879,21 @@ RSpec.describe GitTrend::CLI do
842
879
  |Verilog
843
880
  |VHDL
844
881
  |Vim script
845
- |Vim script
846
882
  |Visual Basic
847
883
  |Volt
848
884
  |Vue
849
885
  |Wavefront Material
850
886
  |Wavefront Object
887
+ |wdl
851
888
  |Web Ontology Language
889
+ |WebAssembly
852
890
  |WebIDL
891
+ |Windows Registry Entries
853
892
  |wisp
854
893
  |World of Warcraft Addon Data
894
+ |X BitMap
895
+ |X Font Directory Index
896
+ |X PixMap
855
897
  |X10
856
898
  |xBase
857
899
  |XC
@@ -867,10 +909,13 @@ RSpec.describe GitTrend::CLI do
867
909
  |Yacc
868
910
  |YAML
869
911
  |YANG
912
+ |YARA
913
+ |YASnippet
870
914
  |Zephir
915
+ |Zig
871
916
  |Zimpl
872
917
  |
873
- |451 languages
918
+ |496 languages
874
919
  |you can get only selected language list with '-l' option.
875
920
  |if languages is unknown, you can specify 'unkown'.
876
921
  |
@@ -14,8 +14,8 @@
14
14
  # users commonly want.
15
15
  #
16
16
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
- require "coveralls"
18
- Coveralls.wear!
17
+ # require "coveralls"
18
+ # Coveralls.wear!
19
19
 
20
20
  require "simplecov"
21
21
  # require "codeclimate-test-reporter"
@@ -26,7 +26,7 @@ SimpleCov.start do
26
26
 
27
27
  formatter SimpleCov::Formatter::MultiFormatter.new([
28
28
  SimpleCov::Formatter::HTMLFormatter,
29
- Coveralls::SimpleCov::Formatter
29
+ # Coveralls::SimpleCov::Formatter
30
30
  ])
31
31
  end
32
32
 
@@ -115,7 +115,7 @@ RSpec.configure do |config|
115
115
  end
116
116
 
117
117
  def load_http_stub(file_name)
118
- file_path = File.join(File.dirname(__FILE__), "fixtures", file_name)
118
+ file_path = File.join(__dir__, "fixtures", file_name)
119
119
  file_path = File.join(file_path, "index") if File.directory? file_path
120
120
  File.read(file_path)
121
121
  end