github-linguist 3.0.0b2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linguist/languages.yml +2 -0
- data/lib/linguist/repository.rb +5 -2
- data/lib/linguist/samples.json +28 -19
- data/lib/linguist/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac52d6c6ea94fe5bd2e524ab0ef7e2ca9514db9a
|
4
|
+
data.tar.gz: bceefdfc56bc096a82f7c51d63d57b89f3d69573
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22b0bdbd4ad70bacca38c0773f49ea560e0ba18eb0f047abbc7db78b2979066878ee5ca310bfad8571831a401077d76d5ad91607560d3f4418eb0f46fecb6a9c
|
7
|
+
data.tar.gz: f63bd7ba70658cea43c668cad35fceef3ddbea9a1bf8ad19040f72907086cf542d3f11529104f3327975e4698226f2ac7584eebe1cab363ed656d8ec445fd63e
|
data/lib/linguist/languages.yml
CHANGED
data/lib/linguist/repository.rb
CHANGED
@@ -131,8 +131,11 @@ module Linguist
|
|
131
131
|
next if delta.binary
|
132
132
|
|
133
133
|
if [:added, :modified].include? delta.status
|
134
|
-
|
135
|
-
|
134
|
+
# Skip submodules
|
135
|
+
mode = delta.new_file[:mode]
|
136
|
+
next if (mode & 040000) != 0
|
137
|
+
|
138
|
+
blob = Linguist::LazyBlob.new(repository, delta.new_file[:oid], new, mode.to_s(8))
|
136
139
|
|
137
140
|
# Skip vendored or generated blobs
|
138
141
|
next if blob.vendored? || blob.generated? || blob.language.nil?
|
data/lib/linguist/samples.json
CHANGED
@@ -170,7 +170,9 @@
|
|
170
170
|
"GLSL": [
|
171
171
|
".fp",
|
172
172
|
".frag",
|
173
|
-
".
|
173
|
+
".frg",
|
174
|
+
".glsl",
|
175
|
+
".vrx"
|
174
176
|
],
|
175
177
|
"Game Maker Language": [
|
176
178
|
".gml"
|
@@ -781,8 +783,8 @@
|
|
781
783
|
"exception.zep.php"
|
782
784
|
]
|
783
785
|
},
|
784
|
-
"tokens_total":
|
785
|
-
"languages_total":
|
786
|
+
"tokens_total": 643530,
|
787
|
+
"languages_total": 845,
|
786
788
|
"tokens": {
|
787
789
|
"ABAP": {
|
788
790
|
"*/**": 1,
|
@@ -23553,14 +23555,14 @@
|
|
23553
23555
|
"////": 4,
|
23554
23556
|
"High": 1,
|
23555
23557
|
"quality": 2,
|
23556
|
-
"(":
|
23558
|
+
"(": 437,
|
23557
23559
|
"Some": 1,
|
23558
23560
|
"browsers": 1,
|
23559
23561
|
"may": 1,
|
23560
23562
|
"freeze": 1,
|
23561
23563
|
"or": 1,
|
23562
23564
|
"crash": 1,
|
23563
|
-
")":
|
23565
|
+
")": 437,
|
23564
23566
|
"//#define": 10,
|
23565
23567
|
"HIGHQUALITY": 2,
|
23566
23568
|
"Medium": 1,
|
@@ -23602,7 +23604,7 @@
|
|
23602
23604
|
"eps": 5,
|
23603
23605
|
"e": 4,
|
23604
23606
|
"-": 108,
|
23605
|
-
";":
|
23607
|
+
";": 391,
|
23606
23608
|
"PI": 3,
|
23607
23609
|
"vec3": 165,
|
23608
23610
|
"sunDir": 5,
|
@@ -23621,13 +23623,13 @@
|
|
23621
23623
|
"tonemapping": 1,
|
23622
23624
|
"mod289": 4,
|
23623
23625
|
"x": 11,
|
23624
|
-
"{":
|
23626
|
+
"{": 84,
|
23625
23627
|
"return": 47,
|
23626
23628
|
"floor": 8,
|
23627
|
-
"*":
|
23629
|
+
"*": 116,
|
23628
23630
|
"/": 24,
|
23629
|
-
"}":
|
23630
|
-
"vec4":
|
23631
|
+
"}": 84,
|
23632
|
+
"vec4": 77,
|
23631
23633
|
"permute": 4,
|
23632
23634
|
"x*34.0": 1,
|
23633
23635
|
"+": 108,
|
@@ -23743,7 +23745,7 @@
|
|
23743
23745
|
"p*0.5": 1,
|
23744
23746
|
"Other": 1,
|
23745
23747
|
"bump": 2,
|
23746
|
-
"pos":
|
23748
|
+
"pos": 43,
|
23747
23749
|
"rayDir": 43,
|
23748
23750
|
"s": 23,
|
23749
23751
|
"Fade": 1,
|
@@ -23931,8 +23933,8 @@
|
|
23931
23933
|
"iResolution.x/iResolution.y*0.5": 1,
|
23932
23934
|
"rd.x": 1,
|
23933
23935
|
"rd.y": 1,
|
23934
|
-
"void":
|
23935
|
-
"main":
|
23936
|
+
"void": 33,
|
23937
|
+
"main": 7,
|
23936
23938
|
"gl_FragCoord.xy": 7,
|
23937
23939
|
"*0.25": 4,
|
23938
23940
|
"*0.5": 1,
|
@@ -23944,7 +23946,16 @@
|
|
23944
23946
|
"col*exposure": 1,
|
23945
23947
|
"x*": 2,
|
23946
23948
|
".5": 1,
|
23947
|
-
"gl_FragColor":
|
23949
|
+
"gl_FragColor": 4,
|
23950
|
+
"varying": 6,
|
23951
|
+
"v_color": 4,
|
23952
|
+
"uniform": 8,
|
23953
|
+
"mat4": 1,
|
23954
|
+
"u_MVPMatrix": 2,
|
23955
|
+
"attribute": 2,
|
23956
|
+
"a_position": 1,
|
23957
|
+
"a_color": 2,
|
23958
|
+
"gl_Position": 1,
|
23948
23959
|
"#version": 2,
|
23949
23960
|
"core": 1,
|
23950
23961
|
"cbar": 2,
|
@@ -23980,11 +23991,9 @@
|
|
23980
23991
|
"AMBIENT": 2,
|
23981
23992
|
"MAX_DIST": 3,
|
23982
23993
|
"MAX_DIST_SQUARED": 3,
|
23983
|
-
"uniform": 7,
|
23984
23994
|
"lightColor": 3,
|
23985
23995
|
"[": 29,
|
23986
23996
|
"]": 29,
|
23987
|
-
"varying": 4,
|
23988
23997
|
"fragmentNormal": 2,
|
23989
23998
|
"cameraVector": 2,
|
23990
23999
|
"lightVector": 4,
|
@@ -69657,7 +69666,7 @@
|
|
69657
69666
|
"GAMS": 363,
|
69658
69667
|
"GAP": 9944,
|
69659
69668
|
"GAS": 133,
|
69660
|
-
"GLSL":
|
69669
|
+
"GLSL": 4076,
|
69661
69670
|
"Game Maker Language": 13310,
|
69662
69671
|
"Gnuplot": 1023,
|
69663
69672
|
"Gosu": 410,
|
@@ -69854,7 +69863,7 @@
|
|
69854
69863
|
"GAMS": 1,
|
69855
69864
|
"GAP": 7,
|
69856
69865
|
"GAS": 1,
|
69857
|
-
"GLSL":
|
69866
|
+
"GLSL": 7,
|
69858
69867
|
"Game Maker Language": 13,
|
69859
69868
|
"Gnuplot": 6,
|
69860
69869
|
"Gosu": 4,
|
@@ -70004,5 +70013,5 @@
|
|
70004
70013
|
"fish": 3,
|
70005
70014
|
"wisp": 1
|
70006
70015
|
},
|
70007
|
-
"md5": "
|
70016
|
+
"md5": "bb637c5d1f457edff3f8c2676d10807a"
|
70008
70017
|
}
|
data/lib/linguist/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-linguist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: charlock_holmes
|
@@ -178,9 +178,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
178
178
|
version: '0'
|
179
179
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
180
|
requirements:
|
181
|
-
- - '
|
181
|
+
- - '>='
|
182
182
|
- !ruby/object:Gem::Version
|
183
|
-
version:
|
183
|
+
version: '0'
|
184
184
|
requirements: []
|
185
185
|
rubyforge_project:
|
186
186
|
rubygems_version: 2.0.3
|