aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Conway <john.a.conway@gmail.com>2020-02-21 16:58:09 +0000
committerGitHub <noreply@github.com>2020-02-21 16:58:09 +0000
commit47535cdac92c6d0cdb4fa94f5e232b2d2c6b0005 (patch)
tree6a59a028ffd5d3fe8dd1ba29e22b4c08edb93408
parent30ed0739aa64abdb1dc4372c6618c4c5f35cd992 (diff)
parent04ac178d6839a0fd1f12d63a739e3299fe6cf3b9 (diff)
downloadfeed-nim-master.tar.gz
feed-nim-master.zip
Merge pull request #10 from disruptek/caseHEADmaster
fix names on case-sensitive filesystems
-rw-r--r--src/FeedNim.nim8
-rwxr-xr-xtests/test_atombin707128 -> 806600 bytes
-rw-r--r--tests/test_atom.nim4
-rwxr-xr-xtests/test_jsonfeedbin612136 -> 696872 bytes
-rw-r--r--tests/test_jsonfeed.nim4
-rwxr-xr-xtests/test_rssbin480488 -> 555776 bytes
-rw-r--r--tests/test_rss.nim4
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
index e1e300a..8bcc13e 100755
--- a/tests/test_atom
+++ b/tests/test_atom
Binary files differ
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
index 6e809a1..4d880b1 100755
--- a/tests/test_jsonfeed
+++ b/tests/test_jsonfeed
Binary files differ
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
index 9d81d79..45a6723 100755
--- a/tests/test_rss
+++ b/tests/test_rss
Binary files differ
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()