github-linguist 4.5.11 → 4.5.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module Linguist
2
2
  module Strategy
3
3
  class Modeline
4
4
  EmacsModeline = /-\*-\s*(?:(?!mode)[\w-]+\s*:\s*(?:[\w+-]+)\s*;?\s*)*(?:mode\s*:)?\s*([\w+-]+)\s*(?:;\s*(?!mode)[\w-]+\s*:\s*[\w+-]+\s*)*;?\s*-\*-/i
5
- VimModeline = /vim:\s*set\s*(?:ft|filetype)=(\w+):/i
5
+ VimModeline = /vim:\s*set.*\s(?:ft|filetype)=(\w+)\s?.*:/i
6
6
 
7
7
  # Public: Detects language based on Vim and Emacs modelines
8
8
  #
@@ -122,7 +122,7 @@
122
122
  - (^|/)Chart\.js$
123
123
 
124
124
  # Codemirror
125
- - (^|/)[Cc]ode[Mm]irror/(lib|mode|theme|addon|keymap)
125
+ - (^|/)[Cc]ode[Mm]irror/(lib|mode|theme|addon|keymap|demo)
126
126
 
127
127
  # SyntaxHighlighter - http://alexgorbatchev.com/
128
128
  - (^|/)shBrush([^.]*)\.js$
@@ -1,3 +1,3 @@
1
1
  module Linguist
2
- VERSION = "4.5.11"
2
+ VERSION = "4.5.13"
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.11
4
+ version: 4.5.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-04 00:00:00.000000000 Z
11
+ date: 2015-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: charlock_holmes