faker 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 388ce6e6400da23238b626370b32f0294421df15
4
- data.tar.gz: 87d1240d2e49881fd848834b6541334dbc750bb1
3
+ metadata.gz: 21f18c21bf5f25337091e950534111e7c9c02d55
4
+ data.tar.gz: 5d00fceede0cb6fc670f6864791f1c27d333e773
5
5
  SHA512:
6
- metadata.gz: fbad50f565fa058744b4bdad1ff92cf0cb741535b86dd3d0d56cc7ddd15b4acdf337ea67390dc89359d2f94225b586e6fce5c5411880020c917ffa33ad91096c
7
- data.tar.gz: 1d7601d9c39cc6b981f1763f63069d8215f9e8666e16d7ee242bcc8ce5072bda0e1ae5ecea8d7ec74b37372a6d85b97a4031d7b92c116553331dc0a7a37c07bd
6
+ metadata.gz: e13c2231dfc562013daef8ffa82d10988ab2a9f88ba22dad44bf39a83c6381466ebb82bc9af5a03f361c0d6881ecd0c900b21ce929ffe250d39df033ebaad8b6
7
+ data.tar.gz: f9d554b682f4b9d61470c8aeb86549552468ffc61d56bb6aa9cb9b708e19f850e8cdda7373f864411b2c46ae05bce61555e1746ad15b4dce72101f220b832523
@@ -1,3 +1,7 @@
1
+ == 1.4.2 2014-07-15
2
+ * Added Swedish locale
3
+ * README update
4
+
1
5
  == 1.4.1 2014-07-04
2
6
  * Bugfix and cleanup
3
7
 
data/README.md CHANGED
@@ -107,6 +107,8 @@ Faker::Commerce.department #=> "Grocery, Health & Beauty"
107
107
 
108
108
  Faker::Commerce.product_name #=> "Practical Granite Shirt"
109
109
 
110
+ Faker::Commerce.price #=> "44.6"
111
+
110
112
  ```
111
113
 
112
114
  ###Faker::Company
@@ -1,3 +1,3 @@
1
1
  module Faker #:nodoc:
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
@@ -0,0 +1,76 @@
1
+
2
+ sv:
3
+ faker:
4
+ address:
5
+ city_prefix: [Söder, Norr, Väst, Öster, Aling, Ar, Av, Bo, Br, Bå, Ek, En, Esk, Fal, Gäv, Göte, Ha, Helsing, Karl, Krist, Kram, Kung, Kö, Lyck, Ny]
6
+ city_suffix: [stad, land, sås, ås, holm, tuna, sta, berg, löv, borg, mora, hamn, fors, köping, by, hult, torp, fred, vik]
7
+ country: [Ryssland, Kanada, Kina, USA, Brasilien, Australien, Indien, Argentina, Kazakstan, Algeriet, DR Kongo, Danmark, Färöarna, Grönland, Saudiarabien, Mexiko, Indonesien, Sudan, Libyen, Iran, Mongoliet, Peru, Tchad, Niger, Angola, Mali, Sydafrika, Colombia, Etiopien, Bolivia, Mauretanien, Egypten, Tanzania, Nigeria, Venezuela, Namibia, Pakistan, Moçambique, Turkiet, Chile, Zambia, Marocko, Västsahara, Burma, Afghanistan, Somalia, Centralafrikanska republiken, Sydsudan, Ukraina, Botswana, Madagaskar, Kenya, Frankrike, Franska Guyana, Jemen, Thailand, Spanien, Turkmenistan, Kamerun, Papua Nya Guinea, Sverige, Uzbekistan, Irak, Paraguay, Zimbabwe, Japan, Tyskland, Kongo, Finland, Malaysia, Vietnam, Norge, Svalbard, Jan Mayen, Elfenbenskusten, Polen, Italien, Filippinerna, Ecuador, Burkina Faso, Nya Zeeland, Gabon, Guinea, Storbritannien, Ghana, Rumänien, Laos, Uganda, Guyana, Oman, Vitryssland, Kirgizistan, Senegal, Syrien, Kambodja, Uruguay, Tunisien, Surinam, Nepal, Bangladesh, Tadzjikistan, Grekland, Nicaragua, Eritrea, Nordkorea, Malawi, Benin, Honduras, Liberia, Bulgarien, Kuba, Guatemala, Island, Sydkorea, Ungern, Portugal, Jordanien, Serbien, Azerbajdzjan, Österrike, Förenade Arabemiraten, Tjeckien, Panama, Sierra Leone, Irland, Georgien, Sri Lanka, Litauen, Lettland, Togo, Kroatien, Bosnien och Hercegovina, Costa Rica, Slovakien, Dominikanska republiken, Bhutan, Estland, Danmark, Färöarna, Grönland, Nederländerna, Schweiz, Guinea-Bissau, Taiwan, Moldavien, Belgien, Lesotho, Armenien, Albanien, Salomonöarna, Ekvatorialguinea, Burundi, Haiti, Rwanda, Makedonien, Djibouti, Belize, Israel, El Salvador, Slovenien, Fiji, Kuwait, Swaziland, Timor-Leste, Montenegro, Bahamas, Vanuatu, Qatar, Gambia, Jamaica, Kosovo, Libanon, Cypern, Brunei, Trinidad och Tobago, Kap Verde, Samoa, Luxemburg, Komorerna, Mauritius, São Tomé och Príncipe, Kiribati, Dominica, Tonga, Mikronesiens federerade stater, Singapore, Bahrain, Saint Lucia, Andorra, Palau, Seychellerna, Antigua och Barbuda, Barbados, Saint Vincent och Grenadinerna, Grenada, Malta, Maldiverna, Saint Kitts och Nevis, Marshallöarna, Liechtenstein, San Marino, Tuvalu, Nauru, Monaco, Vatikanstaten]
8
+
9
+ common_street_suffix: ["s Väg", "s Gata"]
10
+ street_prefix: [Västra, Östra, Norra, Södra, Övre, Undre]
11
+ street_root: [Björk, Järnvägs, Ring, Skol, Skogs, Ny, Gran, Idrotts, Stor, Kyrk, Industri, Park, Strand, Skol, Trädgård, Ängs, Kyrko, Villa, Ek, Kvarn, Stations, Back, Furu, Gen, Fabriks, Åker, Bäck, Asp]
12
+ street_suffix: [vägen, gatan, gränden, gärdet, allén]
13
+ state: [Blekinge, Dalarna, Gotland, Gävleborg, Göteborg, Halland, Jämtland, Jönköping, Kalmar, Kronoberg, Norrbotten, Skaraborg, Skåne, Stockholm, Södermanland, Uppsala, Värmland, Västerbotten, Västernorrland, Västmanland, Älvsborg, Örebro, Östergötland]
14
+
15
+ city:
16
+ - "#{city_prefix}#{city_suffix}"
17
+ street_name:
18
+ - "#{street_root}#{street_suffix}"
19
+ - "#{street_prefix} #{street_root}#{street_suffix}"
20
+ - "#{Name.first_name}#{common_street_suffix}"
21
+ - "#{Name.last_name}#{common_street_suffix}"
22
+ postcode: ['#####']
23
+ building_number: ['###', '##', '#']
24
+ secondary_address: ['Lgh. ###', 'Hus ###']
25
+ street_address:
26
+ - "#{street_name} #{building_number}"
27
+ default_country: [Sverige]
28
+
29
+ company:
30
+ suffix: ["Gruppen", "AB", "HB", "Group", "Investment", "Kommanditbolag", "Aktiebolag"]
31
+ name:
32
+ - "#{Name.last_name} #{suffix}"
33
+ - "#{Name.last_name}-#{Name.last_name}"
34
+ - "#{Name.last_name}, #{Name.last_name} #{suffix}"
35
+
36
+ internet:
37
+ domain_suffix: [se, nu, info, com, org]
38
+
39
+ name:
40
+ first_name_women: [Maria, Anna, Margareta, Elisabeth, Eva, Birgitta, Kristina, Karin, Elisabet, Marie]
41
+ fiest_name_men: [Erik, Lars, Karl, Anders, Per, Johan, Nils, Lennart, Emil, Hans ]
42
+ last_name: [Johansson, Andersson, Karlsson, Nilsson, Eriksson, Larsson, Olsson, Persson, Svensson, Gustafsson]
43
+ prefix: [Dr., Prof., PhD.]
44
+
45
+ title:
46
+ descriptor: [Lead, Senior, Direct, Corporate, Dynamic, Future, Product, National, Regional, District, Central, Global, Customer, Investor, Dynamic, International, Legacy, Forward, Internal, Human, Chief, Principal]
47
+ level: [Solutions, Program, Brand, Security, Research, Marketing, Directives, Implementation, Integration, Functionality, Response, Paradigm, Tactics, Identity, Markets, Group, Division, Applications, Optimization, Operations, Infrastructure, Intranet, Communications, Web, Branding, Quality, Assurance, Mobility, Accounts, Data, Creative, Configuration, Accountability, Interactions, Factors, Usability, Metrics]
48
+ job: [Supervisor, Associate, Executive, Liason, Officer, Manager, Engineer, Specialist, Director, Coordinator, Administrator, Architect, Analyst, Designer, Planner, Orchestrator, Technician, Developer, Producer, Consultant, Assistant, Facilitator, Agent, Representative, Strategist]
49
+ name:
50
+ - "#{first_name_women} #{last_name}"
51
+ - "#{first_name_men} #{last_name}"
52
+ - "#{first_name_women} #{last_name}"
53
+ - "#{first_name_men} #{last_name}"
54
+ - "#{first_name_women} #{last_name}"
55
+ - "#{first_name_men} #{last_name}"
56
+ - "#{prefix} #{first_name_men} #{last_name}"
57
+ - "#{prefix} #{first_name_women} #{last_name}"
58
+
59
+ phone_number:
60
+ formats: ['####-#####', '####-######']
61
+ cell_phone:
62
+ common_cell_prefix: [070, 076, 073]
63
+ formats: ['#{common_cell_prefix}-###-####']
64
+
65
+ commerce:
66
+ color: [vit, silver, grå, svart, röd, grön, blå, gul, lila, indigo, guld, brun, rosa, purpur, korall]
67
+ department: ["Böcker", "Filmer, Musik & Spel", "Elektronik & Datorer", "Hem, Trädgård & Verktyg", "Livsmedel", "Hälsa & Skönhet", "Leksaker", "Klädsel, Skor & Smycken", "Sport"]
68
+ product_name:
69
+ adjective: [Liten, Ergonomisk, Robust, Intelligent, Söt, Otrolig, Fatastisk, Praktisk, Slimmad, Grym]
70
+ material: [Stål, Metall, Trä, Betong, Plast, Bomul, Grnit, Gummi, Latex]
71
+ product: [Stol, Bil, Dator, Handskar, Pants, Shirt, Table, Shoes, Hat]
72
+
73
+ team:
74
+ suffix: [IF, FF, BK, HK, AIF, SK, FC, SK, BoIS, FK, BIS, FIF, IK]
75
+ name:
76
+ - "#{Address.city} #{suffix}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Curtis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-04 00:00:00.000000000 Z
11
+ date: 2014-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -79,6 +79,7 @@ files:
79
79
  - lib/locales/pt-BR.yml
80
80
  - lib/locales/ru.yml
81
81
  - lib/locales/sk.yml
82
+ - lib/locales/sv.yml
82
83
  - lib/locales/vi.yml
83
84
  - lib/locales/zh-CN.yml
84
85
  - test/test_array_sample_method_compat.rb
@@ -106,7 +107,7 @@ files:
106
107
  - test/test_helper.rb
107
108
  - test/test_locale.rb
108
109
  - test/test_pl_locale.rb
109
- homepage: http://faker.rubyforge.org
110
+ homepage: https://github.com/stympy/faker
110
111
  licenses:
111
112
  - MIT
112
113
  metadata: {}