mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Merge branch 'master' into FS-samples
This commit is contained in:
		| @@ -1864,7 +1864,7 @@ Oxygene: | |||||||
|   extensions: |   extensions: | ||||||
|   - .oxygene |   - .oxygene | ||||||
|   tm_scope: none |   tm_scope: none | ||||||
|    |  | ||||||
| Oz: | Oz: | ||||||
|   type: programming |   type: programming | ||||||
|   color: "#fcaf3e" |   color: "#fcaf3e" | ||||||
| @@ -2383,7 +2383,6 @@ Sass: | |||||||
|   group: CSS |   group: CSS | ||||||
|   extensions: |   extensions: | ||||||
|   - .sass |   - .sass | ||||||
|   - .scss |  | ||||||
|  |  | ||||||
| Scala: | Scala: | ||||||
|   type: programming |   type: programming | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ module Linguist | |||||||
|     # Returns a String or nil |     # Returns a String or nil | ||||||
|     def self.interpreter(data) |     def self.interpreter(data) | ||||||
|       lines = data.lines |       lines = data.lines | ||||||
|       return unless match = /^#! ?(.*)$/.match(lines.first) |       return unless match = /^#! ?(.+)$/.match(lines.first) | ||||||
|  |  | ||||||
|       tokens = match[1].split(' ') |       tokens = match[1].split(' ') | ||||||
|       script = tokens.first.split('/').last |       script = tokens.first.split('/').last | ||||||
|   | |||||||
| @@ -1,3 +1,3 @@ | |||||||
| module Linguist | module Linguist | ||||||
|   VERSION = "4.2.1" |   VERSION = "4.2.2" | ||||||
| end | end | ||||||
|   | |||||||
| @@ -1,12 +0,0 @@ | |||||||
| $blue: #3bbfce; |  | ||||||
| $margin: 16px; |  | ||||||
|  |  | ||||||
| .content_navigation { |  | ||||||
|   color: $blue; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .border { |  | ||||||
|   padding: $margin / 2; |  | ||||||
|   margin: $margin / 2; |  | ||||||
|   border: 2px $blue solid; |  | ||||||
| } |  | ||||||
| @@ -13,6 +13,9 @@ set +x | |||||||
|  |  | ||||||
| mkdir -p ./vendor/gems | mkdir -p ./vendor/gems | ||||||
|  |  | ||||||
|  | # Clean out any unversioned files | ||||||
|  | git clean -fd | ||||||
|  |  | ||||||
| bundle install --local --path ./vendor/gems | bundle install --local --path ./vendor/gems | ||||||
| bundle exec rake samples | bundle exec rake samples | ||||||
| bundle exec rake | bundle exec rake | ||||||
|   | |||||||
| @@ -16,6 +16,7 @@ class TestShebang < Test::Unit::TestCase | |||||||
|     assert_interpreter nil, "\n\n\n\n\n" |     assert_interpreter nil, "\n\n\n\n\n" | ||||||
|     assert_interpreter nil, " #!/usr/sbin/ruby" |     assert_interpreter nil, " #!/usr/sbin/ruby" | ||||||
|     assert_interpreter nil, "\n#!/usr/sbin/ruby" |     assert_interpreter nil, "\n#!/usr/sbin/ruby" | ||||||
|  |     assert_interpreter nil, "#!" | ||||||
|  |  | ||||||
|     assert_interpreter "ruby", "#!/usr/sbin/ruby\n# bar" |     assert_interpreter "ruby", "#!/usr/sbin/ruby\n# bar" | ||||||
|     assert_interpreter "ruby", "#!/usr/bin/ruby\n# foo" |     assert_interpreter "ruby", "#!/usr/bin/ruby\n# foo" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user