Skip to content

Commit

Permalink
Merge pull request #3 from WhittlesJr/2019-update
Browse files Browse the repository at this point in the history
2019 update
  • Loading branch information
semperos committed Aug 27, 2019
2 parents 3a96aca + e1e568a commit 70dcf7f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ log.html
*py
*#
*\#
docs
docs
target/*
.nrepl-port
11 changes: 6 additions & 5 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
(defproject robot-remote-server "0.2.6"
(defproject robot-remote-server "0.2.7-SNAPSHOT"
:description "Implementation of a RobotFramework remote server in Clojure"
:dependencies [[org.clojure/clojure "1.2.0"]
:dependencies [[org.clojure/clojure "1.10.1"]
[ring/ring-jetty-adapter "0.3.6"]
[necessary-evil "1.1.0"]]
:dev-dependencies [[swank-clojure "1.3.0-SNAPSHOT"]
[marginalia "0.5.0"]]
[necessary-evil "2.0.2"]
[commons-lang/commons-lang "2.6"]]
:dev-dependencies [[swank-clojure "1.4.3"]
[marginalia "0.9.1"]]
:main robot-remote-server.keywords)
6 changes: 4 additions & 2 deletions src/robot_remote_server/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
;;
(ns robot-remote-server.core
(:require [necessary-evil.core :as xml-rpc]
[necessary-evil.value :as value]
[clojure.string :as str])
(:import org.mortbay.jetty.Server
org.apache.commons.lang.StringEscapeUtils)
Expand All @@ -42,8 +43,9 @@
"Ring middleware to limit server's response to the particular path that RobotFramework petitions"
[handler]
(fn [req]
(when (= "/RPC2" (:uri req))
(handler req))))
(binding [value/*allow-nils* true]
(when (= "/RPC2" (:uri req))
(handler req)))))

(defn get-keyword-arguments*
"Get arguments for a given RF keyword function identified by the string `kw-name` and located in the `a-ns` namespace"
Expand Down

0 comments on commit 70dcf7f

Please sign in to comment.