github-linguist 2.6.5 → 2.6.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/linguist/generated.rb +1 -14
  2. metadata +1 -1
@@ -56,8 +56,7 @@ module Linguist
56
56
  compiled_coffeescript? ||
57
57
  xcode_project_file? ||
58
58
  generated_net_docfile? ||
59
- generated_parser? ||
60
- compiled_cython_file?
59
+ generated_parser?
61
60
  end
62
61
 
63
62
  # Internal: Is the blob an XCode project file?
@@ -159,17 +158,5 @@ module Linguist
159
158
 
160
159
  false
161
160
  end
162
-
163
- # Internal: Is this a compiled C/C++ file from Cython?
164
- #
165
- # Cython-compiled C/C++ files typically contain:
166
- # /* Generated by Cython x.x.x on ... */
167
- # on the first line.
168
- #
169
- # Return true or false
170
- def compiled_cython_file?
171
- return false unless ['.c', '.cpp'].include? extname
172
- return lines[0].include?("Generated by Cython")
173
- end
174
161
  end
175
162
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-linguist
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.5
4
+ version: 2.6.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: