head	1.2;
access;
symbols
	RELENG_8_4:1.2.0.2
	RELENG_9_1_0_RELEASE:1.1.10.1
	RELENG_9_1:1.1.10.1.0.2
	RELENG_9_1_BP:1.1.10.1
	RELENG_8_3_0_RELEASE:1.1
	RELENG_8_3:1.1.0.14
	RELENG_8_3_BP:1.1
	RELENG_9_0_0_RELEASE:1.1
	RELENG_9_0:1.1.0.12
	RELENG_9_0_BP:1.1
	RELENG_9:1.1.0.10
	RELENG_9_BP:1.1
	RELENG_8_2_0_RELEASE:1.1
	RELENG_8_2:1.1.0.8
	RELENG_8_2_BP:1.1
	RELENG_8_1_0_RELEASE:1.1
	RELENG_8_1:1.1.0.6
	RELENG_8_1_BP:1.1
	RELENG_8_0_0_RELEASE:1.1
	RELENG_8_0:1.1.0.4
	RELENG_8_0_BP:1.1
	RELENG_8:1.1.0.2
	RELENG_8_BP:1.1;
locks; strict;
comment	@# @;


1.2
date	2012.04.19.03.20.13;	author obrien;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2009.01.02.03.10.55;	author obrien;	state Exp;
branches
	1.1.10.1;
next	;

1.2.2.1
date	2012.04.19.03.20.13;	author svnexp;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2013.03.28.13.00.45;	author svnexp;	state Exp;
branches;
next	;

1.1.10.1
date	2012.07.02.08.48.58;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.2
log
@SVN rev 234449 on 2012-04-19 03:20:13Z by obrien

Update file(1) to version 5.11.
@
text
@
#------------------------------------------------------------------------------
# $File: ruby,v 1.5 2010/07/21 16:47:17 christos Exp $
# ruby:  file(1) magic for Ruby scripting language
# URL:  http://www.ruby-lang.org/
# From: Reuben Thomas <rrt@@sc3d.org>

# Ruby scripts
0	search/1/w	#!\ /usr/bin/ruby	Ruby script text executable
!:mime text/x-ruby
0	search/1/w	#!\ /usr/local/bin/ruby	Ruby script text executable
!:mime text/x-ruby
0	search/1	#!/usr/bin/env\ ruby	Ruby script text executable
!:mime text/x-ruby
0	search/1	#!\ /usr/bin/env\ ruby	Ruby script text executable
!:mime text/x-ruby

# What looks like ruby, but does not have a shebang
# (modules and such)
# From: Lubomir Rintel <lkundrak@@v3.sk>
0	regex		\^[\ \t]*require[\ \t]'[A-Za-z_/]+'
>0	regex		include\ [A-Z]|def\ [a-z]|\ do$
>>0	regex		\^[\ \t]*end([\ \t]*[;#].*)?$		Ruby script text
!:mime	text/x-ruby
0	regex		\^[\ \t]*(class|module)[\ \t][A-Z]
>0	regex		(modul|includ)e\ [A-Z]|def\ [a-z]
>>0	regex		\^[\ \t]*end([\ \t]*[;#].*)?$		Ruby module source text
!:mime	text/x-ruby
@


1.2.2.1
log
@file ruby was added on branch RELENG_8_4 on 2013-03-28 13:00:45 +0000
@
text
@d1 28
@


1.2.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 10
#------------------------------------------------------------------------------
# ruby:  file(1) magic for Lua scripting language
# URL:  http://www.ruby-lang.org/
# From: Reuben Thomas <rrt@@sc3d.org>

# Ruby scripts
0	search/1/b	#!\ /usr/bin/ruby	Ruby script text executable
0	search/1/b	#!\ /usr/local/bin/ruby	Ruby script text executable
0	search/1	#!/usr/bin/env\ ruby	Ruby script text executable
0	search/1	#!\ /usr/bin/env\ ruby	Ruby script text executable
@


1.1
log
@SVN rev 186691 on 2009-01-02 03:10:55Z by obrien

Record that base/vendor/file/dist@@186675 was merged.
Merge base/vendor/file/dist@@186675@@186690, bringing FILE 4.26 to 8-CURRENT.
@
text
@d1 1
d3 2
a4 1
# ruby:  file(1) magic for Lua scripting language
d9 4
a12 2
0	search/1/b	#!\ /usr/bin/ruby	Ruby script text executable
0	search/1/b	#!\ /usr/local/bin/ruby	Ruby script text executable
d14 1
d16 13
@


1.1.10.1
log
@SVN rev 237983 on 2012-07-02 08:48:58Z by obrien

MFC: r234449: update file(1) to version 5.11.
@
text
@a0 1

d2 1
a2 2
# $File: ruby,v 1.5 2010/07/21 16:47:17 christos Exp $
# ruby:  file(1) magic for Ruby scripting language
d7 2
a8 4
0	search/1/w	#!\ /usr/bin/ruby	Ruby script text executable
!:mime text/x-ruby
0	search/1/w	#!\ /usr/local/bin/ruby	Ruby script text executable
!:mime text/x-ruby
a9 1
!:mime text/x-ruby
a10 13
!:mime text/x-ruby

# What looks like ruby, but does not have a shebang
# (modules and such)
# From: Lubomir Rintel <lkundrak@@v3.sk>
0	regex		\^[\ \t]*require[\ \t]'[A-Za-z_/]+'
>0	regex		include\ [A-Z]|def\ [a-z]|\ do$
>>0	regex		\^[\ \t]*end([\ \t]*[;#].*)?$		Ruby script text
!:mime	text/x-ruby
0	regex		\^[\ \t]*(class|module)[\ \t][A-Z]
>0	regex		(modul|includ)e\ [A-Z]|def\ [a-z]
>>0	regex		\^[\ \t]*end([\ \t]*[;#].*)?$		Ruby module source text
!:mime	text/x-ruby
@


