Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
best-practical
rt-extension-jsgantt
Commits
edbc5a80
Commit
edbc5a80
authored
Oct 08, 2011
by
sunnavy
Browse files
bump to 0.14
parent
35dd33d9
Changes
12
Hide whitespace changes
Inline
Side-by-side
Changes
View file @
edbc5a80
Revision history for RT-Extension-JSGantt
0.14
0.13 Sat Oct 8 15:56:53 CST 2011
* fix the alignment bug in chrome/safari/ie8
...
...
META.yml
View file @
edbc5a80
...
...
@@ -7,7 +7,7 @@ build_requires:
configure_requires
:
ExtUtils::MakeMaker:
6.42
distribution_type
:
module
generated_by
:
'
Module::Install
version
1.0
0
'
generated_by
:
'
Module::Install
version
1.0
1
'
license
:
gplv2
meta-spec
:
url
:
http://module-build.sourceforge.net/META-spec-v1.4.html
...
...
@@ -22,4 +22,4 @@ requires:
JSON
:
0
resources
:
repository
:
git://github.com/bestpractical/rt-extension-jsgantt.git
version
:
0.1
3
version
:
0.1
4
inc/Module/Install.pm
View file @
edbc5a80
...
...
@@ -31,7 +31,7 @@ BEGIN {
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
$VERSION
=
'
1.0
0
';
$VERSION
=
'
1.0
1
';
# Storage for the pseudo-singleton
$MAIN
=
undef
;
...
...
@@ -467,4 +467,4 @@ sub _CLASS ($) {
1
;
# Copyright 2008 - 201
0
Adam Kennedy.
# Copyright 2008 - 201
1
Adam Kennedy.
inc/Module/Install/Base.pm
View file @
edbc5a80
...
...
@@ -4,7 +4,7 @@ package Module::Install::Base;
use
strict
'
vars
';
use
vars
qw{$VERSION}
;
BEGIN
{
$VERSION
=
'
1.0
0
';
$VERSION
=
'
1.0
1
';
}
# Suspend handler for "redefined" warnings
...
...
inc/Module/Install/Can.pm
View file @
edbc5a80
...
...
@@ -9,7 +9,7 @@ use Module::Install::Base ();
use
vars
qw{$VERSION @ISA $ISCORE}
;
BEGIN
{
$VERSION
=
'
1.0
0
';
$VERSION
=
'
1.0
1
';
@ISA
=
'
Module::Install::Base
';
$ISCORE
=
1
;
}
...
...
inc/Module/Install/Fetch.pm
View file @
edbc5a80
...
...
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use
vars
qw{$VERSION @ISA $ISCORE}
;
BEGIN
{
$VERSION
=
'
1.0
0
';
$VERSION
=
'
1.0
1
';
@ISA
=
'
Module::Install::Base
';
$ISCORE
=
1
;
}
...
...
inc/Module/Install/Makefile.pm
View file @
edbc5a80
...
...
@@ -8,7 +8,7 @@ use Fcntl qw/:flock :seek/;
use
vars
qw{$VERSION
@ISA
$ISCORE};
BEGIN
{
$VERSION
=
'1.0
0
'
;
$VERSION
=
'1.0
1
'
;
@ISA = 'Module
::
Install::Base';
$ISCORE
=
1
;
}
...
...
inc/Module/Install/Metadata.pm
View file @
edbc5a80
...
...
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use
vars
qw{$VERSION @ISA $ISCORE}
;
BEGIN
{
$VERSION
=
'
1.0
0
';
$VERSION
=
'
1.0
1
';
@ISA
=
'
Module::Install::Base
';
$ISCORE
=
1
;
}
...
...
@@ -515,6 +515,7 @@ sub __extract_license {
'
GNU Free Documentation license
'
=>
'
unrestricted
',
1
,
'
GNU Affero General Public License
'
=>
'
open_source
',
1
,
'
(?:Free)?BSD license
'
=>
'
bsd
',
1
,
'
Artistic license 2\.0
'
=>
'
artistic_2
',
1
,
'
Artistic license
'
=>
'
artistic
',
1
,
'
Apache (?:Software )?license
'
=>
'
apache
',
1
,
'
GPL
'
=>
'
gpl
',
1
,
...
...
@@ -550,9 +551,9 @@ sub license_from {
sub
_extract_bugtracker
{
my
@links
=
$_
[
0
]
=~
m#L<(
\Q
http://rt.cpan.org/\E[^>]+|
\Q
http://github.com/\E[\w_]+/[\w_]+/issues|
\Q
http://code.google.com/p/\E[\w_\-]+/issues/list
http
s?\Q
://rt.cpan.org/\E[^>]+|
http
s?\Q
://github.com/\E[\w_]+/[\w_]+/issues|
http
s?\Q
://code.google.com/p/\E[\w_\-]+/issues/list
)>#gx
;
my
%links
;
@links
{
@links
}
=
();
...
...
inc/Module/Install/RTx.pm
View file @
edbc5a80
...
...
@@ -8,7 +8,7 @@ no warnings 'once';
use
Module::Install::
Base
;
use
base
'
Module::Install::Base
';
our
$VERSION
=
'
0.2
8
';
our
$VERSION
=
'
0.2
9
';
use
FindBin
;
use
File::
Glob
();
...
...
@@ -44,7 +44,7 @@ sub RTx {
local
@INC
=
(
$ENV
{
RTHOME
}
?
(
$ENV
{
RTHOME
},
"
$ENV
{RTHOME}/lib
"
)
:
(),
@INC
,
map
{
(
"
$_
/rt4/lib
",
"
$_
/lib/rt4
",
"
$_
/rt3/lib
",
"
$_
/lib/rt3
",
"
$_
/lib
"
)
map
{
(
"
$_
/rt4/lib
",
"
$_
/lib/rt4
",
"
$_
/rt3/lib
",
"
$_
/lib/rt3
",
"
$_
/lib
"
)
}
grep
$_
,
@prefixes
);
until
(
eval
{
require
RT
;
$
RT::
LocalPath
}
)
{
...
...
@@ -186,8 +186,46 @@ sub RTxInit {
die
"
Cannot
load
RT
"
unless
$RT
::Handle and
$RT
::DatabaseType;
}
# stolen from RT::Handle so we work on 3.6 (cmp_versions came in with 3.8)
{ my %word = (
a => -4,
alpha => -4,
b => -3,
beta => -3,
pre => -2,
rc => -1,
head => 9999,
);
sub cmp_version($$) {
my (
$a
,
$b
) = (
@_
);
my
@a
= grep defined, map { /^[0-9]+$/?
$_
: /^[a-zA-Z]+$/?
$word
{
$_
}|| -10 : undef }
split /([^0-9]+)/,
$a
;
my
@b
= grep defined, map { /^[0-9]+$/?
$_
: /^[a-zA-Z]+$/?
$word
{
$_
}|| -10 : undef }
split /([^0-9]+)/,
$b
;
@a
>
@b
? push
@b
, (0) x (
@a
-
@b
)
: push
@a
, (0) x (
@b
-
@a
);
for ( my
$i
= 0;
$i
<
@a
;
$i
++ ) {
return
$a
[
$i
] <=>
$b
[
$i
] if
$a
[
$i
] <=>
$b
[
$i
];
}
return 0;
}}
sub requires_rt {
my (
$self
,
$version
) =
@_
;
# if we're exactly the same version as what we want, silently return
return if (
$version
eq
$RT
::VERSION);
my
@sorted
= sort cmp_version
$version
,
$RT
::VERSION;
if (
$sorted
[-1] eq
$version
) {
# should we die?
warn
"
\
nWarning:
prerequisite
RT
$version
not
found
.
Your
installed
version
of
RT
(
$
RT::
VERSION
)
is
too
old
.\
n
\
n
"
;
}
}
1;
__END__
#line 3
0
4
#line 34
8
inc/Module/Install/Win32.pm
View file @
edbc5a80
...
...
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use
vars
qw{$VERSION @ISA $ISCORE}
;
BEGIN
{
$VERSION
=
'
1.0
0
';
$VERSION
=
'
1.0
1
';
@ISA
=
'
Module::Install::Base
';
$ISCORE
=
1
;
}
...
...
inc/Module/Install/WriteAll.pm
View file @
edbc5a80
...
...
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use
vars
qw{$VERSION @ISA $ISCORE}
;
BEGIN
{
$VERSION
=
'
1.0
0
';
$VERSION
=
'
1.0
1
';
@ISA
=
qw{Module::Install::Base}
;
$ISCORE
=
1
;
}
...
...
lib/RT/Extension/JSGantt.pm
View file @
edbc5a80
...
...
@@ -58,7 +58,7 @@ RT::Extension::JSGantt - Gantt charts for your tickets
package
RT::Extension::
JSGantt
;
our
$VERSION
=
'
0.1
3
';
our
$VERSION
=
'
0.1
4
';
use
warnings
;
use
strict
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment