| 1 | use 5.008; # utf8 | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use utf8; | ||
| 5 | |||
| 6 | package Git::Wrapper::Plus::Support::Commands; | ||
| 7 | $Git::Wrapper::Plus::Support::Commands::VERSION = '0.004010'; | ||
| 8 | # ABSTRACT: Database of command support data | ||
| 9 | |||
| 10 | our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY | ||
| 11 | |||
| 12 | use Moo qw( extends ); | ||
| 13 | |||
| 14 | extends 'Git::Wrapper::Plus::Support::RangeDictionary'; | ||
| 15 | |||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | |||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | |||
| 41 | |||
| 42 | |||
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | |||
| 47 | |||
| 48 | |||
| 49 | |||
| 50 | |||
| 51 | |||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | sub BUILD { | ||
| 72 | my ($self) = @_; | ||
| 73 | $self->add_range( | ||
| 74 | 'for-each-ref' => { | ||
| 75 | 'min' => '1.4.4', | ||
| 76 | 'min_tag' => '1.4.4-rc1', | ||
| 77 | 'min_sha1' => '9f613ddd21cbd05bfc139d9b1551b5780aa171f6', | ||
| 78 | }, | ||
| 79 | ); | ||
| 80 | $self->add_range( | ||
| 81 | 'init' => { | ||
| 82 | 'min' => '1.5.0', | ||
| 83 | 'min_tag' => '1.5.0-rc1', | ||
| 84 | 'min_sha1' => '515377ea9ec6192f82a2fa5c5b5b7651d9d6cf6c', | ||
| 85 | }, | ||
| 86 | ); | ||
| 87 | $self->add_range( | ||
| 88 | 'update-cache' => { | ||
| 89 | 'min' => '0.99', | ||
| 90 | 'min_tag' => '0.99', | ||
| 91 | 'min_sha1' => 'e83c5163316f89bfbde7d9ab23ca2e25604af290', | ||
| 92 | 'max' => '1.0.0', | ||
| 93 | 'max_tag' => '1.0.0', | ||
| 94 | 'max_sha1' => 'ba922ccee7565c949b4db318e5c27997cbdbfdba', | ||
| 95 | }, | ||
| 96 | ); | ||
| 97 | $self->add_range( | ||
| 98 | 'update-index' => { | ||
| 99 | 'min' => '0.99.7', | ||
| 100 | 'min_tag' => '0.99.7', | ||
| 101 | 'min_sha1' => '215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7', | ||
| 102 | }, | ||
| 103 | ); | ||
| 104 | $self->add_range( | ||
| 105 | 'ls-remote' => { | ||
| 106 | 'min' => '0.99.2', | ||
| 107 | 'min_tag' => '0.99.2', | ||
| 108 | 'min_sha1' => '0fec0822721cc18d6a62ab78da1ebf87914d4921', | ||
| 109 | }, | ||
| 110 | ); | ||
| 111 | $self->add_range( | ||
| 112 | 'peek-remote' => { | ||
| 113 | 'min' => '0.99.2', | ||
| 114 | 'min_tag' => '0.99.2', | ||
| 115 | 'min_sha1' => '18705953af75aed190badfccdc107ad0c2f36c93', | ||
| 116 | }, | ||
| 117 | ); | ||
| 118 | |||
| 119 | my (@GIT_ZERO_LIST) = qw( init-db cat-file show-diff write-tree read-tree commit-tree ); | ||
| 120 | |||
| 121 | for my $cmd (@GIT_ZERO_LIST) { | ||
| 122 | $self->add_range( | ||
| 123 | $cmd => { | ||
| 124 | 'min' => '0.99', | ||
| 125 | 'min_tag' => '0.99', | ||
| 126 | 'min_sha1' => 'e83c5163316f89bfbde7d9ab23ca2e25604af290', | ||
| 127 | }, | ||
| 128 | ); | ||
| 129 | } | ||
| 130 | return $self; | ||
| 131 | } | ||
| 132 | |||
| 133 | no Moo; | ||
| 134 | |||
| 135 | 1; | ||
| 136 | |||
| 137 | __END__ |