Skip to content

Commit e26979d

Browse files
committed
Version 3.10.2
1 parent 3ae7009 commit e26979d

File tree

138 files changed

+2324
-2747
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+2324
-2747
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
## Master
1515

16+
## 3.10.2
17+
1618
- Expose Danger environment from utils [@f-meloni][] - [#456](https://github.com/danger/swift/pull/456)
1719
- Support DangerDeps definition in multiple lines [@f-meloni][] - [#447](https://github.com/danger/swift/pull/447)
1820

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# BitBucketCloud
22

33
``` swift
4-
public struct BitBucketCloud: Decodable
4+
public struct BitBucketCloud: Decodable
55
```
66

77
## Inheritance
@@ -15,37 +15,37 @@ public struct BitBucketCloud: Decodable
1515
The activities such as OPENING, CLOSING, MERGING or UPDATING a pull request
1616

1717
``` swift
18-
public let activities: [Activity]
18+
let activities: [Activity]
1919
```
2020

2121
### `comments`
2222

2323
The comments on the pull request
2424

2525
``` swift
26-
public let comments: [Comment]
26+
let comments: [Comment]
2727
```
2828

2929
### `commits`
3030

3131
The commits associated with the pull request
3232

3333
``` swift
34-
public let commits: [Commit]
34+
let commits: [Commit]
3535
```
3636

3737
### `metadata`
3838

3939
The pull request and repository metadata
4040

4141
``` swift
42-
public let metadata: BitBucketMetadata
42+
let metadata: BitBucketMetadata
4343
```
4444

4545
### `pr`
4646

4747
The PR metadata
4848

4949
``` swift
50-
public let pr: PullRequest
50+
let pr: PullRequest
5151
```

Documentation/reference/BitBucketCloud_Activity.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# BitBucketCloud.Activity
22

33
``` swift
4-
public struct Activity: Decodable, Equatable
4+
struct Activity: Decodable, Equatable
55
```
66

77
## Inheritance
@@ -13,5 +13,5 @@ public struct Activity: Decodable, Equatable
1313
### `comment`
1414

1515
``` swift
16-
public let comment: Comment?
16+
let comment: Comment?
1717
```
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# BitBucketCloud.Comment
22

33
``` swift
4-
public struct Comment: Decodable, Equatable
4+
struct Comment: Decodable, Equatable
55
```
66

77
## Inheritance
@@ -15,55 +15,55 @@ public struct Comment: Decodable, Equatable
1515
Content of the comment
1616

1717
``` swift
18-
public let content: Content
18+
let content: Content
1919
```
2020

2121
### `createdOn`
2222

2323
When the comment was created
2424

2525
``` swift
26-
public let createdOn: Date
26+
let createdOn: Date
2727
```
2828

2929
### `deleted`
3030

3131
Was the comment deleted?
3232

3333
``` swift
34-
public let deleted: Bool
34+
let deleted: Bool
3535
```
3636

3737
### `id`
3838

3939
``` swift
40-
public let id: Int
40+
let id: Int
4141
```
4242

4343
### `inline`
4444

4545
``` swift
46-
public let inline: Inline?
46+
let inline: Inline?
4747
```
4848

4949
### `type`
5050

5151
``` swift
52-
public let type: String
52+
let type: String
5353
```
5454

5555
### `updatedOn`
5656

5757
When the comment was updated
5858

5959
``` swift
60-
public let updatedOn: Date
60+
let updatedOn: Date
6161
```
6262

6363
### `user`
6464

6565
The user that created the comment
6666

6767
``` swift
68-
public let user: User
68+
let user: User
6969
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# BitBucketCloud.Comment.CodingKeys
2+
3+
``` swift
4+
private enum CodingKeys
5+
```
6+
7+
## Inheritance
8+
9+
`CodingKey`, `String`
10+
11+
## Enumeration Cases
12+
13+
### `deleted`
14+
15+
``` swift
16+
case deleted
17+
```
18+
19+
### `content`
20+
21+
``` swift
22+
case content
23+
```
24+
25+
### `createdOn`
26+
27+
``` swift
28+
case createdOn
29+
```
30+
31+
### `user`
32+
33+
``` swift
34+
case user
35+
```
36+
37+
### `updatedOn`
38+
39+
``` swift
40+
case updatedOn
41+
```
42+
43+
### `type`
44+
45+
``` swift
46+
case type
47+
```
48+
49+
### `id`
50+
51+
``` swift
52+
case id
53+
```
54+
55+
### `inline`
56+
57+
``` swift
58+
case inline
59+
```
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# BitBucketCloud.Comment.Inline
22

33
``` swift
4-
public struct Inline: Decodable, Equatable
4+
public struct Inline: Decodable, Equatable
55
```
66

77
## Inheritance
@@ -13,17 +13,17 @@ public struct Inline: Decodable, Equatable
1313
### `from`
1414

1515
``` swift
16-
public let from: Int?
16+
let from: Int?
1717
```
1818

1919
### `to`
2020

2121
``` swift
22-
public let to: Int?
22+
let to: Int?
2323
```
2424

2525
### `path`
2626

2727
``` swift
28-
public let path: String?
28+
let path: String?
2929
```

Documentation/reference/BitBucketCloud_Commit.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# BitBucketCloud.Commit
22

33
``` swift
4-
public struct Commit: Decodable, Equatable
4+
struct Commit: Decodable, Equatable
55
```
66

77
## Inheritance
@@ -15,29 +15,29 @@ public struct Commit: Decodable, Equatable
1515
The author of the commit, assumed to be the person who wrote the code.
1616

1717
``` swift
18-
public let author: Author
18+
let author: Author
1919
```
2020

2121
### `date`
2222

2323
When the commit was commited to the project
2424

2525
``` swift
26-
public let date: Date
26+
let date: Date
2727
```
2828

2929
### `hash`
3030

3131
The SHA for the commit
3232

3333
``` swift
34-
public let hash: String
34+
let hash: String
3535
```
3636

3737
### `message`
3838

3939
The commit's message
4040

4141
``` swift
42-
public let message: String
42+
let message: String
4343
```
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,27 @@
11
# BitBucketCloud.Commit.Author
22

33
``` swift
4-
public struct Author: Decodable, Equatable
4+
public struct Author: Decodable, Equatable
55
```
66

77
## Inheritance
88

99
`Decodable`, `Equatable`
10+
11+
## Properties
12+
13+
### `raw`
14+
15+
Format:​ `Foo Bar <foo@bar.com>`
16+
17+
``` swift
18+
let raw:​ String
19+
```
20+
21+
### `user`
22+
23+
The user that created the commit
24+
25+
``` swift
26+
let user:​ User?
27+
```
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# BitBucketCloud.Commit.Parent
22

33
``` swift
4-
public struct Parent
4+
public struct Parent
5+
```
6+
7+
## Properties
8+
9+
### `hash`
10+
11+
The full SHA
12+
13+
``` swift
14+
let hash:​ String
515
```
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# BitBucketCloud.Content
22

33
``` swift
4-
public struct Content: Decodable, Equatable
4+
struct Content: Decodable, Equatable
55
```
66

77
## Inheritance
@@ -13,17 +13,17 @@ public struct Content: Decodable, Equatable
1313
### `html`
1414

1515
``` swift
16-
public let html: String
16+
let html: String
1717
```
1818

1919
### `markup`
2020

2121
``` swift
22-
public let markup: String
22+
let markup: String
2323
```
2424

2525
### `raw`
2626

2727
``` swift
28-
public let raw: String
28+
let raw: String
2929
```

0 commit comments

Comments
 (0)