Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f2302099

Von Sven Schöling vor fast 14 Jahren hinzugefügt

  • ID f230209963a59ee6bc338be9763c7f501d917193
  • Vorgänger 89c9ff02
  • Nachfolger 689b2fe7

DateTime Abhängigkeiten, version 5.xx_xx support

Unterschiede anzeigen:

scripts/find-use.pl
12 12
# easily obtained, I'll just hard code the bigger ones we use here. the same
13 13
# hash will be filled later with information gathered from the source files.
14 14
%requires = (
15
  'DateTime' => {
16
    'DateTime::Duration'                 => 1,
17
    'DateTime::Infinite'                 => 1,
18
  },
15 19
  'Rose::DB::Object' => {
16 20
   'Rose::DB::Object::ConventionManager' => 1,
17 21
   'Rose::DB::Object::Manager'           => 1,
......
46 50

  
47 51
    my ($useline) = m/^use\s+(.*?)$/;
48 52

  
49
    next if  $useline =~ /^[\d.]+;/; # skip version requirements
53
    next if  $useline =~ /^[\d._]+;/; # skip version requirements
50 54
    next if !$useline;
51 55

  
52 56
    $uselines{$useline} ||= [];

Auch abrufbar als: Unified diff