github-linguist 3.0.0b0 → 3.0.0b2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linguist/language.rb +3 -0
- data/lib/linguist/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbe4025454480bdad3b942c6201c14b41e3de683
|
4
|
+
data.tar.gz: 8fdafd734bd12b04536c2a8df23aca666a8ad451
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86f7ce92a03ac15f8d68f4cfd6cd8be14656c3312a208152d0d2b3c646f795ae5bb886e1ce8a9b57b4faa94177f6734136c499f4e96af373bfded52be4c534d0
|
7
|
+
data.tar.gz: 16bd39eed1dbe1f773ad01cbc709f9aaf4baf1b2700c46b1868061bf8b1b69bc94941384c73f4c535edc667bd29542b4f4fa6090cdd511a01cf9313f1de6d5be
|
data/lib/linguist/language.rb
CHANGED
@@ -92,6 +92,9 @@ module Linguist
|
|
92
92
|
|
93
93
|
# Public: Detects the Language of the blob.
|
94
94
|
#
|
95
|
+
# blob - an object that implements the Linguist `Blob` interface;
|
96
|
+
# see Linguist::LazyBlob and Linguist::FileBlob for examples
|
97
|
+
#
|
95
98
|
# Returns Language or nil.
|
96
99
|
def self.detect(blob)
|
97
100
|
name = blob.name.to_s
|
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.0b2
|
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-
|
11
|
+
date: 2014-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: charlock_holmes
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.6.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rugged
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.21.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.21.0
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: json
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|