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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cbe4025454480bdad3b942c6201c14b41e3de683
4
- data.tar.gz: 8fdafd734bd12b04536c2a8df23aca666a8ad451
3
+ metadata.gz: ac52d6c6ea94fe5bd2e524ab0ef7e2ca9514db9a
4
+ data.tar.gz: bceefdfc56bc096a82f7c51d63d57b89f3d69573
5
5
  SHA512:
6
- metadata.gz: 86f7ce92a03ac15f8d68f4cfd6cd8be14656c3312a208152d0d2b3c646f795ae5bb886e1ce8a9b57b4faa94177f6734136c499f4e96af373bfded52be4c534d0
7
- data.tar.gz: 16bd39eed1dbe1f773ad01cbc709f9aaf4baf1b2700c46b1868061bf8b1b69bc94941384c73f4c535edc667bd29542b4f4fa6090cdd511a01cf9313f1de6d5be
6
+ metadata.gz: 22b0bdbd4ad70bacca38c0773f49ea560e0ba18eb0f047abbc7db78b2979066878ee5ca310bfad8571831a401077d76d5ad91607560d3f4418eb0f46fecb6a9c
7
+ data.tar.gz: f63bd7ba70658cea43c668cad35fceef3ddbea9a1bf8ad19040f72907086cf542d3f11529104f3327975e4698226f2ac7584eebe1cab363ed656d8ec445fd63e
@@ -735,12 +735,14 @@ GLSL:
735
735
  - .glsl
736
736
  - .fp
737
737
  - .frag
738
+ - .frg
738
739
  - .fshader
739
740
  - .geom
740
741
  - .glslv
741
742
  - .gshader
742
743
  - .shader
743
744
  - .vert
745
+ - .vrx
744
746
  - .vshader
745
747
 
746
748
  Genshi:
@@ -131,8 +131,11 @@ module Linguist
131
131
  next if delta.binary
132
132
 
133
133
  if [:added, :modified].include? delta.status
134
- mode = delta.new_file[:mode].to_s(8)
135
- blob = Linguist::LazyBlob.new(repository, delta.new_file[:oid], new, mode)
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?
@@ -170,7 +170,9 @@
170
170
  "GLSL": [
171
171
  ".fp",
172
172
  ".frag",
173
- ".glsl"
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": 643487,
785
- "languages_total": 843,
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
- "(": 435,
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
- ")": 435,
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
- ";": 383,
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
- "{": 82,
23626
+ "{": 84,
23625
23627
  "return": 47,
23626
23628
  "floor": 8,
23627
- "*": 115,
23629
+ "*": 116,
23628
23630
  "/": 24,
23629
- "}": 82,
23630
- "vec4": 73,
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": 42,
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": 31,
23935
- "main": 5,
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": 3,
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": 4033,
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": 5,
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": "59afe9ab875947c5df3590aef023152d"
70016
+ "md5": "bb637c5d1f457edff3f8c2676d10807a"
70008
70017
  }
@@ -1,3 +1,3 @@
1
1
  module Linguist
2
- VERSION = "3.0.0b2"
2
+ VERSION = "3.0.0"
3
3
  end
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.0b2
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-06-27 00:00:00.000000000 Z
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: 1.3.1
183
+ version: '0'
184
184
  requirements: []
185
185
  rubyforge_project:
186
186
  rubygems_version: 2.0.3