mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	This gives us a consistent test framework across all Ruby versions which should help avoid errors that are only found when CI runs the tests on different Rubies. (And this fixes an immediate bug where there's no `skip` method in the version of test-unit we're currently using only on Ruby 2.2.)
		
			
				
	
	
		
			27 lines
		
	
	
		
			988 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			988 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| require File.expand_path('../lib/linguist/version', __FILE__)
 | |
| 
 | |
| Gem::Specification.new do |s|
 | |
|   s.name    = 'github-linguist'
 | |
|   s.version = Linguist::VERSION
 | |
|   s.summary = "GitHub Language detection"
 | |
|   s.description = 'We use this library at GitHub to detect blob languages, highlight code, ignore binary files, suppress generated files in diffs, and generate language breakdown graphs.'
 | |
| 
 | |
|   s.authors  = "GitHub"
 | |
|   s.homepage = "https://github.com/github/linguist"
 | |
|   s.license  = "MIT"
 | |
| 
 | |
|   s.files = Dir['lib/**/*'] - ['lib/linguist/grammars.rb']
 | |
|   s.executables << 'linguist'
 | |
| 
 | |
|   s.add_dependency 'charlock_holmes', '~> 0.7.3'
 | |
|   s.add_dependency 'escape_utils',    '~> 1.0.1'
 | |
|   s.add_dependency 'mime-types',      '>= 1.19'
 | |
|   s.add_dependency 'rugged',          '~> 0.22.0b4'
 | |
| 
 | |
|   s.add_development_dependency 'minitest', '>= 5.0'
 | |
|   s.add_development_dependency 'mocha'
 | |
|   s.add_development_dependency 'pry'
 | |
|   s.add_development_dependency 'rake'
 | |
|   s.add_development_dependency 'yajl-ruby'
 | |
| end
 |