diff options
| author | John Conway <john.a.conway@gmail.com> | 2020-02-21 16:58:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-21 16:58:09 +0000 |
| commit | 47535cdac92c6d0cdb4fa94f5e232b2d2c6b0005 (patch) | |
| tree | 6a59a028ffd5d3fe8dd1ba29e22b4c08edb93408 | |
| parent | 30ed0739aa64abdb1dc4372c6618c4c5f35cd992 (diff) | |
| parent | 04ac178d6839a0fd1f12d63a739e3299fe6cf3b9 (diff) | |
| download | feed-nim-47535cdac92c6d0cdb4fa94f5e232b2d2c6b0005.tar.gz feed-nim-47535cdac92c6d0cdb4fa94f5e232b2d2c6b0005.zip | |
fix names on case-sensitive filesystems
| -rw-r--r-- | src/FeedNim.nim | 8 | ||||
| -rwxr-xr-x | tests/test_atom | bin | 707128 -> 806600 bytes | |||
| -rw-r--r-- | tests/test_atom.nim | 4 | ||||
| -rwxr-xr-x | tests/test_jsonfeed | bin | 612136 -> 696872 bytes | |||
| -rw-r--r-- | tests/test_jsonfeed.nim | 4 | ||||
| -rwxr-xr-x | tests/test_rss | bin | 480488 -> 555776 bytes | |||
| -rw-r--r-- | tests/test_rss.nim | 4 |
7 files changed, 10 insertions, 10 deletions
diff --git a/src/FeedNim.nim b/src/FeedNim.nim index be9832d..f6fc9cd 100644 --- a/src/FeedNim.nim +++ b/src/FeedNim.nim @@ -1,8 +1,8 @@ import httpclient -import feednim/atom -import feednim/rss -import feednim/jsonfeed +import FeedNim/atom +import FeedNim/rss +import FeedNim/jsonfeed proc loadAtom*(filename: string): Atom = ## Loads the Atom from the given ``filename``. var Atom: string = readFile(filename) # Load the data from the file. @@ -30,4 +30,4 @@ proc loadJsonFeed*(filename: string): JsonFeed = ## Loads the JSONFeed from the proc getJsonFeed*(url: string): JsonFeed = ## Gets the JSONFeed over from the specified ``url``. var jsonFeed: string = newHttpClient().getContent(url) # Get the data. - return parseJSONFeed(jsonFeed)
\ No newline at end of file + return parseJSONFeed(jsonFeed) diff --git a/tests/test_atom b/tests/test_atom Binary files differindex e1e300a..8bcc13e 100755 --- a/tests/test_atom +++ b/tests/test_atom diff --git a/tests/test_atom.nim b/tests/test_atom.nim index 3b8a4c7..4690af1 100644 --- a/tests/test_atom.nim +++ b/tests/test_atom.nim @@ -9,8 +9,8 @@ import unittest import marshal -import feednim -import ../src/feednim/atom +import FeedNim +import ../src/FeedNim/atom test "Read Valid Atom Feed": let feed = "./tests/test_atom.xml".loadAtom() diff --git a/tests/test_jsonfeed b/tests/test_jsonfeed Binary files differindex 6e809a1..4d880b1 100755 --- a/tests/test_jsonfeed +++ b/tests/test_jsonfeed diff --git a/tests/test_jsonfeed.nim b/tests/test_jsonfeed.nim index 55757a0..3bbf95f 100644 --- a/tests/test_jsonfeed.nim +++ b/tests/test_jsonfeed.nim @@ -9,8 +9,8 @@ import unittest import marshal -import feednim -import ../src/feednim/jsonfeed +import FeedNim +import ../src/FeedNim/jsonfeed test "Read Valid JsonFeed": let feed = "./tests/test_jsonfeed.json".loadJsonFeed() diff --git a/tests/test_rss b/tests/test_rss Binary files differindex 9d81d79..45a6723 100755 --- a/tests/test_rss +++ b/tests/test_rss diff --git a/tests/test_rss.nim b/tests/test_rss.nim index b5dc044..3e134b1 100644 --- a/tests/test_rss.nim +++ b/tests/test_rss.nim @@ -9,8 +9,8 @@ import unittest import marshal -import feednim -import ../src/feednim/Rss +import FeedNim +import ../src/FeedNim/rss test "Read Valid Rss Feed": let feed = "./tests/test_rss.xml".loadRss() |
