github-linguist 3.1.5 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,9 +17,11 @@ module Linguist
17
17
  PATH = File.expand_path('../samples.json', __FILE__)
18
18
 
19
19
  # Hash of serialized samples object
20
- if File.exist?(PATH)
21
- serializer = defined?(JSON) ? JSON : YAML
22
- DATA = serializer.load(File.read(PATH))
20
+ def self.cache
21
+ @cache ||= begin
22
+ serializer = defined?(JSON) ? JSON : YAML
23
+ serializer.load(File.read(PATH))
24
+ end
23
25
  end
24
26
 
25
27
  # Public: Iterate over each sample.
@@ -33,6 +33,9 @@
33
33
  # Erlang bundles
34
34
  - ^rebar$
35
35
 
36
+ # Go dependencies
37
+ - Godeps/_workspace/
38
+
36
39
  # Bootstrap minified css and js
37
40
  - (^|/)bootstrap([^.]*)(\.min)?\.(js|css)$
38
41
 
@@ -235,3 +238,7 @@
235
238
  - octicons.css
236
239
  - octicons.min.css
237
240
  - sprockets-octicons.scss
241
+
242
+ # Typesafe Activator
243
+ - (^|/)activator$
244
+ - (^|/)activator\.bat$
@@ -1,3 +1,3 @@
1
1
  module Linguist
2
- VERSION = "3.1.5"
2
+ VERSION = "3.2.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: 3.1.5
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-05 00:00:00.000000000 Z
11
+ date: 2014-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: charlock_holmes
@@ -67,21 +67,21 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.6.0
69
69
  - !ruby/object:Gem::Dependency
70
- name: rugged
70
+ name: json
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 0.21.0
76
- type: :runtime
75
+ version: '0'
76
+ type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 0.21.0
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: json
84
+ name: mocha
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: mocha
98
+ name: pry
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="