github-linguist 4.5.9 → 4.5.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -96,7 +96,7 @@ module Linguist
96
96
  end
97
97
 
98
98
  # Skip number literals
99
- elsif s.scan(/(0x)?\d(\d|\.)*/)
99
+ elsif s.scan(/(0x\h(\h|\.)*|\d(\d|\.)*)([uU][lL]{0,2}|([eE][-+]\d*)?[fFlL]*)/)
100
100
 
101
101
  # SGML style brackets
102
102
  elsif token = s.scan(/<[^\s<>][^<>]*>/)
@@ -1,3 +1,3 @@
1
1
  module Linguist
2
- VERSION = "4.5.9"
2
+ VERSION = "4.5.10"
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: 4.5.9
4
+ version: 4.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-14 00:00:00.000000000 Z
11
+ date: 2015-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: charlock_holmes
@@ -168,6 +168,7 @@ files:
168
168
  - lib/linguist/generated.rb
169
169
  - lib/linguist/heuristics.rb
170
170
  - lib/linguist/language.rb
171
+ - lib/linguist/languages.json
171
172
  - lib/linguist/languages.yml
172
173
  - lib/linguist/lazy_blob.rb
173
174
  - lib/linguist/md5.rb
@@ -206,4 +207,3 @@ signing_key:
206
207
  specification_version: 4
207
208
  summary: GitHub Language detection
208
209
  test_files: []
209
- has_rdoc: