File tree Expand file tree Collapse file tree
test/scala/github4s/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ object Decoders {
119119 priv <- c.downField(" private" ).as[Boolean ]
120120 description <- c.downField(" description" ).as[Option [String ]]
121121 fork <- c.downField(" fork" ).as[Boolean ]
122+ archived <- c.downField(" archived" ).as[Boolean ]
122123 created_at <- c.downField(" created_at" ).as[String ]
123124 updated_at <- c.downField(" updated_at" ).as[String ]
124125 pushed_at <- c.downField(" pushed_at" ).as[String ]
@@ -153,6 +154,7 @@ object Decoders {
153154 `private` = priv,
154155 description = description,
155156 fork = fork,
157+ archived = archived,
156158 created_at = created_at,
157159 updated_at = updated_at,
158160 pushed_at = pushed_at,
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ final case class Repository(
2323 owner : User ,
2424 `private` : Boolean ,
2525 fork : Boolean ,
26+ archived : Boolean ,
2627 urls : RepoUrls ,
2728 created_at : String ,
2829 updated_at : String ,
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ trait FakeResponses {
8383 | "html_url": "https://github.com/47degrees/github4s",
8484 | "description": "A GitHub API wrapper written in Scala",
8585 | "fork": false,
86+ | "archived": false,
8687 | "url": "https://api.github.com/repos/47degrees/github4s",
8788 | "forks_url": "https://api.github.com/repos/47degrees/github4s/forks",
8889 | "keys_url": "https://api.github.com/repos/47degrees/github4s/keys{/key_id}",
Original file line number Diff line number Diff line change @@ -374,6 +374,7 @@ trait TestData {
374374 user,
375375 false ,
376376 false ,
377+ false ,
377378 RepoUrls (
378379 s " https://api.github.com/repos/ $validRepoOwner/ $validRepoName" ,
379380 s " https://github.com/ $validRepoOwner/ $validRepoName" ,
You can’t perform that action at this time.
0 commit comments