github-linguist 4.7.0 → 4.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -86,13 +86,13 @@ module Linguist
86
86
  if s.peek(1) == "\""
87
87
  s.getch
88
88
  else
89
- s.skip_until(/[^\\]"/)
89
+ s.skip_until(/(?<!\\)"/)
90
90
  end
91
91
  elsif s.scan(/'/)
92
92
  if s.peek(1) == "'"
93
93
  s.getch
94
94
  else
95
- s.skip_until(/[^\\]'/)
95
+ s.skip_until(/(?<!\\)'/)
96
96
  end
97
97
 
98
98
  # Skip number literals
@@ -1,3 +1,3 @@
1
1
  module Linguist
2
- VERSION = "4.7.0"
2
+ VERSION = "4.7.1"
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.7.0
4
+ version: 4.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-21 00:00:00.000000000 Z
11
+ date: 2015-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: charlock_holmes
@@ -154,16 +154,16 @@ dependencies:
154
154
  name: licensee
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - "~>"
157
+ - - '='
158
158
  - !ruby/object:Gem::Version
159
- version: 4.7.4
159
+ version: 6.0.0b1
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - "~>"
164
+ - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: 4.7.4
166
+ version: 6.0.0b1
167
167
  description: We use this library at GitHub to detect blob languages, highlight code,
168
168
  ignore binary files, suppress generated files in diffs, and generate language breakdown
169
169
  graphs.