Skip to content

Commit

Permalink
Merge pull request vadymmarkov#111 from dunyakirkali/feature/programm…
Browse files Browse the repository at this point in the history
…ing_language

Add ProgrammingLanguage generator
  • Loading branch information
vadymmarkov authored May 9, 2019
2 parents 03f895a + 466e727 commit 4d5593b
Show file tree
Hide file tree
Showing 8 changed files with 11,150 additions and 10,318 deletions.
20 changes: 17 additions & 3 deletions Fakery.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
objects = {

/* Begin PBXBuildFile section */
05F367C922831FF100AB2165 /* ProgrammingLanguageSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05F367C722831FE900AB2165 /* ProgrammingLanguageSpec.swift */; };
05F367CA22831FF200AB2165 /* ProgrammingLanguageSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05F367C722831FE900AB2165 /* ProgrammingLanguageSpec.swift */; };
05F367CC2283222B00AB2165 /* ProgrammingLanguage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05F367CB2283222B00AB2165 /* ProgrammingLanguage.swift */; };
05F367CD2283228100AB2165 /* ProgrammingLanguage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05F367CB2283222B00AB2165 /* ProgrammingLanguage.swift */; };
05F367CE2283228100AB2165 /* ProgrammingLanguage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05F367CB2283222B00AB2165 /* ProgrammingLanguage.swift */; };
09F65D6F1CA30351006C87C5 /* Number.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09F65D6E1CA30351006C87C5 /* Number.swift */; };
09F65D701CA30351006C87C5 /* Number.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09F65D6E1CA30351006C87C5 /* Number.swift */; };
1057479A1F6FBAA500154ECB /* BankSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 105747991F6FBAA500154ECB /* BankSpec.swift */; };
Expand Down Expand Up @@ -203,6 +208,8 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
05F367C722831FE900AB2165 /* ProgrammingLanguageSpec.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProgrammingLanguageSpec.swift; sourceTree = "<group>"; };
05F367CB2283222B00AB2165 /* ProgrammingLanguage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProgrammingLanguage.swift; sourceTree = "<group>"; };
09F65D6E1CA30351006C87C5 /* Number.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Number.swift; sourceTree = "<group>"; };
105747991F6FBAA500154ECB /* BankSpec.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BankSpec.swift; sourceTree = "<group>"; };
1057479C1F6FBF6C00154ECB /* Bank.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Bank.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -430,7 +437,8 @@
BCFFA1741BF9F912005A3BC1 /* Team.swift */,
1057479C1F6FBF6C00154ECB /* Bank.swift */,
AC88DC0A21531E2E007198E6 /* Date.swift */,
F178E8892283212B00A166DC /* Vehicle.swift */,
05F367CB2283222B00AB2165 /* ProgrammingLanguage.swift */,
F178E8892283212B00A166DC /* Vehicle.swift */
);
path = Generators;
sourceTree = "<group>";
Expand Down Expand Up @@ -492,7 +500,8 @@
D59B6CFE1D99C5FD007CB072 /* TeamSpec.swift */,
105747991F6FBAA500154ECB /* BankSpec.swift */,
AC88DC0C215330A3007198E6 /* DateSpec.swift */,
F178E88522831FA600A166DC /* VehicleSpec.swift */,
05F367C722831FE900AB2165 /* ProgrammingLanguageSpec.swift */,
F178E88522831FA600A166DC /* VehicleSpec.swift */
);
path = Generators;
sourceTree = "<group>";
Expand Down Expand Up @@ -873,7 +882,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/usr/local/bin/carthage copy-frameworks";
shellScript = "/usr/local/bin/carthage copy-frameworks\n";
};
/* End PBXShellScriptBuildPhase section */

Expand All @@ -889,6 +898,7 @@
BC4477981BFA452400E8FB15 /* Internet.swift in Sources */,
BC4477951BFA451C00E8FB15 /* Commerce.swift in Sources */,
BC44779E1BFA453C00E8FB15 /* Parser.swift in Sources */,
05F367CD2283228100AB2165 /* ProgrammingLanguage.swift in Sources */,
BC44779A1BFA452900E8FB15 /* Name.swift in Sources */,
F178E88B2283227C00A166DC /* Vehicle.swift in Sources */,
09F65D701CA30351006C87C5 /* Number.swift in Sources */,
Expand Down Expand Up @@ -916,6 +926,7 @@
AC88DC0F215330A4007198E6 /* DateSpec.swift in Sources */,
D59B6D371D99C82E007CB072 /* LoremSpec.swift in Sources */,
D59B6D391D99C82E007CB072 /* NumberSpec.swift in Sources */,
05F367CA22831FF200AB2165 /* ProgrammingLanguageSpec.swift in Sources */,
D59B6D341D99C82E007CB072 /* CompanySpec.swift in Sources */,
1057479B1F6FBAAA00154ECB /* BankSpec.swift in Sources */,
F178E88822831FC400A166DC /* VehicleSpec.swift in Sources */,
Expand All @@ -942,6 +953,7 @@
BCFFA19A1BF9F912005A3BC1 /* Company.swift in Sources */,
BCFFA1931BF9F912005A3BC1 /* Provider.swift in Sources */,
BCFFA1911BF9F912005A3BC1 /* Config.swift in Sources */,
05F367CC2283222B00AB2165 /* ProgrammingLanguage.swift in Sources */,
BCFFA19C1BF9F912005A3BC1 /* Internet.swift in Sources */,
F178E88A2283212B00A166DC /* Vehicle.swift in Sources */,
09F65D6F1CA30351006C87C5 /* Number.swift in Sources */,
Expand Down Expand Up @@ -969,6 +981,7 @@
AC88DC0E215330A4007198E6 /* DateSpec.swift in Sources */,
D59B6D271D99C82D007CB072 /* LoremSpec.swift in Sources */,
D59B6D291D99C82D007CB072 /* NumberSpec.swift in Sources */,
05F367C922831FF100AB2165 /* ProgrammingLanguageSpec.swift in Sources */,
D59B6D241D99C82D007CB072 /* CompanySpec.swift in Sources */,
1057479A1F6FBAA500154ECB /* BankSpec.swift in Sources */,
F178E88722831FC400A166DC /* VehicleSpec.swift in Sources */,
Expand All @@ -995,6 +1008,7 @@
D59B6CA91D99C46C007CB072 /* Company.swift in Sources */,
D59B6CAE1D99C46C007CB072 /* Number.swift in Sources */,
D59B6CA21D99C460007CB072 /* Provider.swift in Sources */,
05F367CE2283228100AB2165 /* ProgrammingLanguage.swift in Sources */,
D59B6CA01D99C45A007CB072 /* Config.swift in Sources */,
F178E88C2283227D00A166DC /* Vehicle.swift in Sources */,
D59B6CB01D99C46C007CB072 /* Team.swift in Sources */,
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ It's useful in all the cases when you need to use some dummy data for testing, p
* [Phone number](#phone-number)
* [Team](#team)
* [Bank](#bank)
* [Programming language](#programming-language)
* [Vehicle](#vehicle)
* [Installation](#installation)
* [Contributing](#contributing)
Expand Down Expand Up @@ -213,6 +214,13 @@ faker.bank.iban() // => "NL45BUNQ2209931378"
faker.bank.bban() //=> ABNA0136468471
```

### Programming language

```swift
faker.programming_language.name() //=> "Elixir"
faker.programming_language.creator() //=> "José Valim"
```

### Vehicle

```swift
Expand Down
Loading

0 comments on commit 4d5593b

Please sign in to comment.