github-linguist 4.3.1 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  module Linguist
2
2
  module Strategy
3
3
  class Modeline
4
- EmacsModeline = /-\*-\s*mode:\s*(\w+);?\s*-\*-/
5
- VimModeline = /\/\*\s*vim:\s*set\s*(?:ft|filetype)=(\w+):\s*\*\//
4
+ EmacsModeline = /-\*-\s*mode:\s*(\w+);?\s*-\*-/i
5
+ VimModeline = /\/\*\s*vim:\s*set\s*(?:ft|filetype)=(\w+):\s*\*\//i
6
6
 
7
7
  # Public: Detects language based on Vim and Emacs modelines
8
8
  #
@@ -40,7 +40,7 @@
40
40
  # Minified JavaScript and CSS
41
41
  - (\.|-)min\.(js|css)$
42
42
 
43
- #Stylesheets imported from packages
43
+ # Stylesheets imported from packages
44
44
  - ([^\s]*)import\.(css|less|scss|styl)$
45
45
 
46
46
  # Bootstrap css and js
@@ -1,3 +1,3 @@
1
1
  module Linguist
2
- VERSION = "4.3.1"
2
+ VERSION = "4.4.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: 4.3.1
4
+ version: 4.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-04 00:00:00.000000000 Z
11
+ date: 2015-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: charlock_holmes
@@ -149,6 +149,7 @@ files:
149
149
  - lib/linguist.rb
150
150
  - lib/linguist/blob_helper.rb
151
151
  - lib/linguist/classifier.rb
152
+ - lib/linguist/documentation.yml
152
153
  - lib/linguist/file_blob.rb
153
154
  - lib/linguist/generated.rb
154
155
  - lib/linguist/heuristics.rb