Skip to content

Commit 9757397

Browse files
committed
chore: switch to unicode chars
1 parent 360a87e commit 9757397

File tree

3 files changed

+34
-34
lines changed

3 files changed

+34
-34
lines changed

modules/core/src/main/scala/org/scalasteward/core/forge/data/NewPullRequestData.scala

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,18 @@ object NewPullRequestData {
6767
val updateInfoUrls = artifactIdToUpdateInfoUrls.getOrElse(u.mainArtifactId, Nil)
6868

6969
s"""|## Update _${artifacts}_
70-
|:package: updates $artifacts ${fromTo(u)}${showMajorUpgradeWarning(u)}
70+
|📦 updates $artifacts ${fromTo(u)}${showMajorUpgradeWarning(u)}
7171
|${renderUpdateInfoUrls(updateInfoUrls)
72-
.map(urls => s":scroll: $urls")
72+
.map(urls => s"📜 $urls")
7373
.getOrElse("")}""".stripMargin.trim
7474
},
7575
grouped = g => {
7676
val artifacts = g.updates
7777
.fproduct(u => artifactIdToUpdateInfoUrls.get(u.mainArtifactId).orEmpty)
7878
.map { case (u, updateInfoUrls) =>
79-
s"* :package: ${artifactsWithOptionalUrl(u, artifactIdToUrl)} ${fromTo(u)}${showMajorUpgradeWarning(u)}" +
79+
s"* 📦 ${artifactsWithOptionalUrl(u, artifactIdToUrl)} ${fromTo(u)}${showMajorUpgradeWarning(u)}" +
8080
renderUpdateInfoUrls(updateInfoUrls)
81-
.map(urls => s"\n + :scroll: $urls")
81+
.map(urls => s"\n + 📜 $urls")
8282
.getOrElse("")
8383
}
8484
.mkString_("\n", "\n", "\n")
@@ -134,7 +134,7 @@ object NewPullRequestData {
134134
SemVer.getChangeEarly(curr, next).map(c => c.render)
135135
}
136136
if (semVerLabel == Some("major"))
137-
s" :warning:"
137+
s" "
138138
else s""
139139
}
140140

@@ -168,7 +168,7 @@ object NewPullRequestData {
168168
)
169169

170170
Details(
171-
s":mag: Files still referring to the old version $number",
171+
s"🔍 Files still referring to the old version $number",
172172
s"""The following files still refer to the old version $numberWithVersion.
173173
|You might want to review and update them manually.
174174
|```
@@ -179,7 +179,7 @@ object NewPullRequestData {
179179
}
180180

181181
def adjustFutureUpdates(update: Update): Details = Details(
182-
":wrench: Adjust future updates",
182+
" Adjust future updates",
183183
update.on(
184184
update = u =>
185185
s"""|Add this to your `${RepoConfigAlg.repoConfigBasename}` file to ignore future updates of this dependency:
@@ -206,7 +206,7 @@ object NewPullRequestData {
206206

207207
def configParsingErrorDetails(error: String): Details =
208208
Details(
209-
s":warning: Note that the Scala Steward config file `${RepoConfigAlg.repoConfigBasename}` wasn't parsed correctly",
209+
s" Note that the Scala Steward config file `${RepoConfigAlg.repoConfigBasename}` wasn't parsed correctly",
210210
s"""|```
211211
|$error
212212
|```
@@ -231,7 +231,7 @@ object NewPullRequestData {
231231
s"* $name$createdChange\n$listElements"
232232
}
233233
.mkString("\n")
234-
Details(":bulb: Applied Scalafix Migrations", body)
234+
Details("💡 Applied Scalafix Migrations", body)
235235
}
236236

237237
def from(

modules/core/src/test/scala/org/scalasteward/core/forge/data/NewPullRequestDataTest.scala

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class NewPullRequestDataTest extends FunSuite {
2929
)
3030
val expected =
3131
s"""|## Update _ch.qos.logback:logback-classic_
32-
|:package: updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
32+
|📦 updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
3333
|
3434
|
3535
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -41,7 +41,7 @@ class NewPullRequestDataTest extends FunSuite {
4141
|_Have a fantastic day writing Scala!_
4242
|
4343
|<details>
44-
|<summary>:wrench: Adjust future updates</summary>
44+
|<summary> Adjust future updates</summary>
4545
|
4646
|Add this to your `.scala-steward.conf` file to ignore future updates of this dependency:
4747
|```
@@ -87,7 +87,7 @@ class NewPullRequestDataTest extends FunSuite {
8787
)
8888
val expected =
8989
s"""|## Update _ch.qos.logback:logback-classic_
90-
|:package: updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
90+
|📦 updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
9191
|
9292
|
9393
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -99,13 +99,13 @@ class NewPullRequestDataTest extends FunSuite {
9999
|_Have a fantastic day writing Scala!_
100100
|
101101
|<details>
102-
|<summary>:bulb: Applied Scalafix Migrations</summary>
102+
|<summary>💡 Applied Scalafix Migrations</summary>
103103
|
104104
|* com.spotify:scio-core:0.7.0
105105
| * I am a rewrite rule
106106
|</details>
107107
|<details>
108-
|<summary>:wrench: Adjust future updates</summary>
108+
|<summary> Adjust future updates</summary>
109109
|
110110
|Add this to your `.scala-steward.conf` file to ignore future updates of this dependency:
111111
|```
@@ -144,8 +144,8 @@ class NewPullRequestDataTest extends FunSuite {
144144
val expected =
145145
s"""|## Updates:
146146
|
147-
|* :package: ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
148-
|* :package: com.example:foo from 1.0.0 to 2.0.0 :warning:
147+
|* 📦 ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
148+
|* 📦 com.example:foo from 1.0.0 to 2.0.0
149149
|
150150
|
151151
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -157,7 +157,7 @@ class NewPullRequestDataTest extends FunSuite {
157157
|_Have a fantastic day writing Scala!_
158158
|
159159
|<details>
160-
|<summary>:wrench: Adjust future updates</summary>
160+
|<summary> Adjust future updates</summary>
161161
|
162162
|Add these to your `.scala-steward.conf` file to ignore future updates of these dependencies:
163163
|```
@@ -202,7 +202,7 @@ class NewPullRequestDataTest extends FunSuite {
202202
)
203203
val expected =
204204
s"""|## Update _ch.qos.logback:logback-classic_
205-
|:package: updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
205+
|📦 updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
206206
|
207207
|
208208
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -214,7 +214,7 @@ class NewPullRequestDataTest extends FunSuite {
214214
|_Have a fantastic day writing Scala!_
215215
|
216216
|<details>
217-
|<summary>:wrench: Adjust future updates</summary>
217+
|<summary> Adjust future updates</summary>
218218
|
219219
|Add this to your `.scala-steward.conf` file to ignore future updates of this dependency:
220220
|```
@@ -229,7 +229,7 @@ class NewPullRequestDataTest extends FunSuite {
229229
|```
230230
|</details>
231231
|<details>
232-
|<summary>:warning: Note that the Scala Steward config file `.scala-steward.conf` wasn't parsed correctly</summary>
232+
|<summary> Note that the Scala Steward config file `.scala-steward.conf` wasn't parsed correctly</summary>
233233
|
234234
|```
235235
|parsing error
@@ -322,7 +322,7 @@ class NewPullRequestDataTest extends FunSuite {
322322
assertEquals(
323323
appliedMigrations.fold("")(_.toHtml),
324324
"""<details>
325-
|<summary>:bulb: Applied Scalafix Migrations</summary>
325+
|<summary>💡 Applied Scalafix Migrations</summary>
326326
|
327327
|* com.spotify:scio-core:0.7.0
328328
| * I am a rewrite rule
@@ -352,7 +352,7 @@ class NewPullRequestDataTest extends FunSuite {
352352
assertEquals(
353353
detail.fold("")(_.toHtml),
354354
"""<details>
355-
|<summary>:bulb: Applied Scalafix Migrations</summary>
355+
|<summary>💡 Applied Scalafix Migrations</summary>
356356
|
357357
|* com.spotify:scio-core:0.7.0
358358
| * I am a rewrite rule
@@ -394,7 +394,7 @@ class NewPullRequestDataTest extends FunSuite {
394394
assertEquals(
395395
detail.fold("")(_.toHtml),
396396
"""<details>
397-
|<summary>:bulb: Applied Scalafix Migrations</summary>
397+
|<summary>💡 Applied Scalafix Migrations</summary>
398398
|
399399
|* com.spotify:scio-core:0.7.0
400400
| * I am a rewrite rule
@@ -441,7 +441,7 @@ class NewPullRequestDataTest extends FunSuite {
441441
assertEquals(
442442
note.fold("")(_.toHtml),
443443
"""<details>
444-
|<summary>:mag: Files still referring to the old version number</summary>
444+
|<summary>🔍 Files still referring to the old version number</summary>
445445
|
446446
|The following files still refer to the old version number (0.1).
447447
|You might want to review and update them manually.
@@ -517,7 +517,7 @@ class NewPullRequestDataTest extends FunSuite {
517517
assertEquals(
518518
note.fold("")(_.toHtml),
519519
"""<details>
520-
|<summary>:mag: Files still referring to the old version numbers</summary>
520+
|<summary>🔍 Files still referring to the old version numbers</summary>
521521
|
522522
|The following files still refer to the old version numbers.
523523
|You might want to review and update them manually.
@@ -540,7 +540,7 @@ class NewPullRequestDataTest extends FunSuite {
540540
assertEquals(
541541
note.toHtml,
542542
"""<details>
543-
|<summary>:wrench: Adjust future updates</summary>
543+
|<summary> Adjust future updates</summary>
544544
|
545545
|Add these to your `.scala-steward.conf` file to ignore future updates of these dependencies:
546546
|```
@@ -588,7 +588,7 @@ class NewPullRequestDataTest extends FunSuite {
588588

589589
val expectedBody =
590590
s"""|## Update _ch.qos.logback:logback-classic_
591-
|:package: updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
591+
|📦 updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
592592
|
593593
|
594594
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -600,7 +600,7 @@ class NewPullRequestDataTest extends FunSuite {
600600
|_Have a fantastic day writing Scala!_
601601
|
602602
|<details>
603-
|<summary>:wrench: Adjust future updates</summary>
603+
|<summary> Adjust future updates</summary>
604604
|
605605
|Add this to your `.scala-steward.conf` file to ignore future updates of this dependency:
606606
|```
@@ -663,8 +663,8 @@ class NewPullRequestDataTest extends FunSuite {
663663
val expectedBody =
664664
s"""|## Updates:
665665
|
666-
|* :package: ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
667-
|* :package: com.example:foo from 1.0.0 to 2.0.0 :warning:
666+
|* 📦 ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
667+
|* 📦 com.example:foo from 1.0.0 to 2.0.0
668668
|
669669
|
670670
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -676,7 +676,7 @@ class NewPullRequestDataTest extends FunSuite {
676676
|_Have a fantastic day writing Scala!_
677677
|
678678
|<details>
679-
|<summary>:wrench: Adjust future updates</summary>
679+
|<summary> Adjust future updates</summary>
680680
|
681681
|Add these to your `.scala-steward.conf` file to ignore future updates of these dependencies:
682682
|```

modules/core/src/test/scala/org/scalasteward/core/nurture/NurtureAlgTest.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ class NurtureAlgTest extends CatsEffectSuite with Http4sDsl[MockEff] {
3939
title = "Update cats-effect to 3.4.0",
4040
body =
4141
raw"""## Update _[org.typelevel:cats-effect](https://github.com/typelevel/cats-effect)_
42-
|:package: updates [org.typelevel:cats-effect](https://github.com/typelevel/cats-effect) from 3.3.0 to 3.4.0
43-
|:scroll: [GitHub Release Notes](https://github.com/typelevel/cats-effect/releases/tag/v3.4.0) - [Version Diff](https://github.com/typelevel/cats-effect/compare/v3.3.0...v3.4.0)
42+
|📦 updates [org.typelevel:cats-effect](https://github.com/typelevel/cats-effect) from 3.3.0 to 3.4.0
43+
|📜 [GitHub Release Notes](https://github.com/typelevel/cats-effect/releases/tag/v3.4.0) - [Version Diff](https://github.com/typelevel/cats-effect/compare/v3.3.0...v3.4.0)
4444
|
4545
|
4646
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -52,7 +52,7 @@ class NurtureAlgTest extends CatsEffectSuite with Http4sDsl[MockEff] {
5252
|_Have a fantastic day writing Scala!_
5353
|
5454
|<details>
55-
|<summary>:wrench: Adjust future updates</summary>
55+
|<summary> Adjust future updates</summary>
5656
|
5757
|Add this to your `.scala-steward.conf` file to ignore future updates of this dependency:
5858
|```

0 commit comments

Comments
 (0)