github-linguist 5.0.3 → 5.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linguist/generated.rb +1 -0
- data/lib/linguist/heuristics.rb +1 -1
- 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: ed0e005b8d1e526a91b395a5fb22a99e8514cb27
|
4
|
+
data.tar.gz: ca281e9fe0c871c357b8ed5680ec24b9d498384a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c70a395d1e8b59dd2d1002f5853455d99553d604f91aaa70c89e5dfd4ca8e2329046258c47de9da5548ce1fe005453cb708a970aaadf3e046b70b9f2bfcc3db1
|
7
|
+
data.tar.gz: 580f358b0e43de47613f208c5d5fa409066c35673f239c6c5d6797895c94193e8dfb4fcdcd3cedf1cf66df84a5f9211cbd1950a58663403e47d7e198edf68482
|
data/lib/linguist/generated.rb
CHANGED
data/lib/linguist/heuristics.rb
CHANGED
@@ -278,7 +278,7 @@ module Linguist
|
|
278
278
|
disambiguate ".mod" do |data|
|
279
279
|
if data.include?('<!ENTITY ')
|
280
280
|
Language["XML"]
|
281
|
-
elsif
|
281
|
+
elsif /^\s*MODULE [\w\.]+;/i.match(data) || /^\s*END [\w\.]+;/i.match(data)
|
282
282
|
Language["Modula-2"]
|
283
283
|
else
|
284
284
|
[Language["Linux Kernel Module"], Language["AMPL"]]
|
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: 5.0.
|
4
|
+
version: 5.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: charlock_holmes
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.25.
|
61
|
+
version: 0.25.1.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.25.
|
68
|
+
version: 0.25.1.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: minitest
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|