| 1 | package Faker::Plugin::Software; | ||
| 2 | |||
| 3 | use 5.014; | ||
| 4 | |||
| 5 | use strict; | ||
| 6 | use warnings; | ||
| 7 | |||
| 8 | use registry; | ||
| 9 | use routines; | ||
| 10 | |||
| 11 | use Data::Object::Class; | ||
| 12 | use Data::Object::ClassHas; | ||
| 13 | |||
| 14 | extends 'Data::Object::Plugin'; | ||
| 15 | |||
| 16 | our $VERSION = '1.03'; # VERSION | ||
| 17 | |||
| 18 | # ATTRIBUTES | ||
| 19 | |||
| 20 | has 'faker' => ( | ||
| 21 | is => 'ro', | ||
| 22 | isa => 'ConsumerOf["Faker::Maker"]', | ||
| 23 | req => 1, | ||
| 24 | ); | ||
| 25 | |||
| 26 | # METHODS | ||
| 27 | |||
| 28 | method data_for_name() { | ||
| 29 | [ | ||
| 30 | 'Redhold', | ||
| 31 | 'Treeflex', | ||
| 32 | 'Trippledex', | ||
| 33 | 'Kanlam', | ||
| 34 | 'Bigtax', | ||
| 35 | 'Daltfresh', | ||
| 36 | 'Toughjoyfax', | ||
| 37 | 'Mat lam tam', | ||
| 38 | 'Otcom', | ||
| 39 | 'Tres-zap', | ||
| 40 | 'Y-solowarm', | ||
| 41 | 'Tresom', | ||
| 42 | 'Voltsillam', | ||
| 43 | 'Biodex', | ||
| 44 | 'Greenlam', | ||
| 45 | 'Viva', | ||
| 46 | 'Matsoft', | ||
| 47 | 'Temp', | ||
| 48 | 'Zoolab', | ||
| 49 | 'Subin', | ||
| 50 | 'Rank', | ||
| 51 | 'Job', | ||
| 52 | 'Stringtough', | ||
| 53 | 'Tin', | ||
| 54 | 'It', | ||
| 55 | 'Home ing', | ||
| 56 | 'Zamit', | ||
| 57 | 'Sonsing', | ||
| 58 | 'Konklab', | ||
| 59 | 'Alpha', | ||
| 60 | 'Latlux', | ||
| 61 | 'Voyatouch', | ||
| 62 | 'Alphazap', | ||
| 63 | 'Holdlamis', | ||
| 64 | 'Zaam-dox', | ||
| 65 | 'Sub-ex', | ||
| 66 | 'Quo lux', | ||
| 67 | 'Bamity', | ||
| 68 | 'Ventosanzap', | ||
| 69 | 'Lotstring', | ||
| 70 | 'Hatity', | ||
| 71 | 'Tempsoft', | ||
| 72 | 'Overhold', | ||
| 73 | 'Fixflex', | ||
| 74 | 'Konklux', | ||
| 75 | 'Zontrax', | ||
| 76 | 'Tampflex', | ||
| 77 | 'Span', | ||
| 78 | 'Namfix', | ||
| 79 | 'Transcof', | ||
| 80 | 'Stim', | ||
| 81 | 'Fix san', | ||
| 82 | 'Sonair', | ||
| 83 | 'Stronghold', | ||
| 84 | 'Fintone', | ||
| 85 | 'Y-find', | ||
| 86 | 'Opela', | ||
| 87 | 'Lotlux', | ||
| 88 | 'Ronstring', | ||
| 89 | 'Zathin', | ||
| 90 | 'Duobam', | ||
| 91 | 'Keylex' | ||
| 92 | ] | ||
| 93 | } | ||
| 94 | |||
| 95 | method data_for_semver() { | ||
| 96 | [ | ||
| 97 | '0.#.#', | ||
| 98 | '#.#.#', | ||
| 99 | '#.##.##' | ||
| 100 | ] | ||
| 101 | } | ||
| 102 | |||
| 103 | method data_for_version() { | ||
| 104 | [ | ||
| 105 | '#.##', | ||
| 106 | '#.#', | ||
| 107 | '#.#.#', | ||
| 108 | '0.##', | ||
| 109 | '0.#.#' | ||
| 110 | ] | ||
| 111 | } | ||
| 112 | |||
| 113 | method format_for_author() { | ||
| 114 | [ | ||
| 115 | '{{person.name}}', | ||
| 116 | '{{company.name}}' | ||
| 117 | ] | ||
| 118 | } | ||
| 119 | |||
| 120 | 1; |