Skip to content

Commit 78f0b5d

Browse files
Update scala-library to 2.13.17 (#604)
* Update scala-library to 2.13.17 * Fix compilation issues --------- Co-authored-by: Rui Gonçalves <ruippeixotog@gmail.com>
1 parent ea398bb commit 78f0b5d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
scala: ['2.13', '3']
1313
include:
1414
- scala: '2.13'
15-
scala-version: 2.13.16
15+
scala-version: 2.13.17
1616
- scala: '3'
1717
scala-version: 3.3.7
1818

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ ThisBuild / organization := "net.ruippeixotog"
66
ThisBuild / semanticdbEnabled := true
77
ThisBuild / semanticdbVersion := scalafixSemanticdb.revision
88

9-
ThisBuild / scalaVersion := "2.13.16"
10-
ThisBuild / crossScalaVersions := Seq("2.13.16", "3.3.7")
9+
ThisBuild / scalaVersion := "2.13.17"
10+
ThisBuild / crossScalaVersions := Seq("2.13.17", "3.3.7")
1111

1212
// taken from https://github.com/scala/bug/issues/12632
1313
ThisBuild / libraryDependencySchemes ++= Seq(

core/src/main/scala/net/ruippeixotog/scalascraper/browser/JsoupBrowser.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ class JsoupBrowser(
9898
}
9999

100100
private val executePipeline: Connection => JsoupDocument =
101-
defaultRequestSettings
102-
.andThen(requestSettings)
103-
.andThen(executeRequest)
104-
.andThen(processResponse)
101+
(defaultRequestSettings(_))
102+
.andThen(requestSettings(_))
103+
.andThen(executeRequest(_))
104+
.andThen(processResponse(_))
105105
}
106106

107107
object JsoupBrowser {

core/src/main/scala/net/ruippeixotog/scalascraper/scraper/ContentParsers.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ object ContentParsers {
1212

1313
/** Leaves the extracted content as is.
1414
*/
15-
def asIs[C] = identity[C]
15+
def asIs[C] = identity[C](_)
1616

1717
/** Parses text content as an `Int` value.
1818
*/

0 commit comments

Comments
 (0)