(ns yetibot.core.logging
  (:require
    [schema.core :as s]
    [yetibot.core.config :refer [get-config]]
    [yetibot.core.util :refer [with-fresh-db]]
    [yetibot.core.db.log :as log]
    [taoensso.timbre.appenders.3rd-party.rolling :refer [rolling-appender]]
    [taoensso.timbre.appenders.core :refer [println-appender]]
    [taoensso.timbre
     :as timbre
     :refer [trace debug info warn error fatal spy with-log-level]]))

(def config-schema String)

(defn log-level []
  (let [v (get-config config-schema [:yetibot :log :level])]
    (if (:error v)
      ;; default config level
      :warn
      (keyword (:value v)))))

(defn start []

  (timbre/set-config!
    {:level (log-level)
     :appenders
     ;; stdout
     {:println (println-appender {:stream :auto})
      ;; rolling log files
      :rolling-appender (rolling-appender {:path "/var/log/yetibot/yetibot.log"
                                           :pattern :daily})}})

  )

(ns yetibot.core.logging
  (:require
    [schema.core :as s]
    [yetibot.core.config :refer [get-config]]
    [yetibot.core.util :refer [with-fresh-db]]
    [yetibot.core.db.log :as log]
    [taoensso.timbre.appenders.3rd-party.rolling :refer [rolling-appender]]
    [taoensso.timbre.appenders.core :refer [println-appender]]
    [taoensso.timbre
     :as timbre
     :refer [trace debug info warn error fatal spy with-log-level]]))

(def config-schema String)

(defn log-level []
  (let [v (get-config config-schema [:yetibot :log :level])]
    (if (:error v)
      ;; default config level
      :warn
      (keyword (:value v)))))

(defn rolling-appender-enabled?
  "Rolling appender is enabled by default. Disable it by setting enabled=false"
  []
  (let [v (get-config String [:yetibot :log :rolling :enabled])]
    (if-let [enabled (:value v)]
      (not= enabled "false")
      true)))

(defn start []
  (if (rolling-appender-enabled?)
    (timbre/set-config!
      {:level (log-level)
       :appenders
       ;; stdout
       {:println (println-appender {:stream :auto})
        ;; rolling log files
        :rolling-appender (rolling-appender
                            {:path "/var/log/yetibot/yetibot.log"
                             :pattern :daily})}})))

Allow rolling logs to be disabled

Allow rolling logs to be disabled


(ns clstreams.rocksdb-test
  (:require [clstreams.rocksdb :as sut]
            [clojure.test :refer :all]))

(defn delete-recursively [fname]
  (let [file (clojure.java.io/file fname)]
    (if (.exists (clojure.java.io/as-file file))
      (doseq [f (reverse (file-seq file))]
        (clojure.java.io/delete-file f)))))

(deftest rocksdb-open-test
  (testing "can open a rocksdb DB"
    (delete-recursively "/tmp/ddeDB")
    (with-open [db (sut/create-db "/tmp/ddeDB/somedb")]
      (is (instance? Object db)))
    (delete-recursively "/tmp/ddeDB")))

(ns clstreams.rocksdb-test
  (:require [clstreams.rocksdb :as sut]
            [clojure.test :refer :all]
            [clojure.java.io :as io]))

(def db-dir "/tmp/ddeDB/somedb")
(def db-dir-file (io/file db-dir))

(defn delete-recursively [file]
  (if (.exists file)
    (doseq [f (reverse (file-seq file))]
      (io/delete-file f))))

(defn clean-db-fixture [run-test]
  (let [base-dir-file (.getParentFile db-dir-file)]
    (delete-recursively base-dir-file)
    (run-test)
    (delete-recursively base-dir-file)))

(use-fixtures :each clean-db-fixture)

(deftest rocksdb-open-test
  (testing "can open a rocksdb DB"
    (with-open [db (sut/create-db db-dir)]
      (is (instance? Object db)))))

Refactor RocksDB test to improve DB directory handling


(ns clj.medusa.alert
  (:require [amazonica.aws.simpleemail :as ses]
            [amazonica.core :as aws]
            [clojure.string :as string]
            [clj.medusa.config :as config]
            [clj.medusa.db :as db]
            [clj.medusa.config :as config]))

(defn send-email [subject body destinations]
  (let [destinations ["rvitillo@mozilla.com"]] ;; TODO: remove once everything works
    (when-not (:dry-run @config/state)
      (ses/send-email :destination {:to-addresses destinations}
                      :source "telemetry-alerts@mozilla.com"
                      :message {:subject subject
                                :body {:html (str "" body "")}}))))

(defn notify-subscribers [{:keys [metric_id date emails]}]
  (let [{:keys [hostname]} @config/state
        foreign_subscribers (string/split emails #",")
        {metric_name :name,
         detector_id :detector_id
         metric_id :id} (db/get-metric metric_id)
        {detector_name :name} (db/get-detector detector_id)
        subscribers (db/get-subscribers-for-metric metric_id)]
    (send-email (str "Alert for " metric_name " (" detector_name ") on the " date)
                (str "http://" hostname "/index.html#/detectors/" detector_id "/"
                     "metrics/" metric_id "/alerts/?from=" date "&to=" date)
                (concat subscribers foreign_subscribers ["dev-telemetry-alerts@lists.mozilla.org"]))))

(ns clj.medusa.alert
  (:require [amazonica.aws.simpleemail :as ses]
            [amazonica.core :as aws]
            [clojure.string :as string]
            [clj.medusa.config :as config]
            [clj.medusa.db :as db]
            [clj.medusa.config :as config]))

(defn send-email [subject body destinations]
  (when-not (:dry-run @config/state)
    (ses/send-email :destination {:to-addresses destinations}
                    :source "telemetry-alerts@mozilla.com"
                    :message {:subject subject
                              :body {:html (str "" body "")}})))

(defn notify-subscribers [{:keys [metric_id date emails]}]
  (let [{:keys [hostname]} @config/state
        foreign_subscribers (string/split emails #",")
        {metric_name :name,
         detector_id :detector_id
         metric_id :id} (db/get-metric metric_id)
        {detector_name :name} (db/get-detector detector_id)
        subscribers (db/get-subscribers-for-metric metric_id)]
    (send-email (str "Alert for " metric_name " (" detector_name ") on the " date)
                (str "http://" hostname "/index.html#/detectors/" detector_id "/"
                     "metrics/" metric_id "/alerts/?from=" date "&to=" date)
                (concat subscribers foreign_subscribers ["dev-telemetry-alerts@lists.mozilla.org"]))))

Send e-mail to rightful subscribers.

Send e-mail to rightful subscribers.


;-
; Copyright 2011 (c) Meikel Brandmeyer.
; All rights reserved.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.

(ns vimclojure.core)

(defn init-server
  []
  (binding [*ns* *ns*]
    (in-ns 'user)
    (refer-clojure)
    ; Check for doc macro. 1.2 in c.core, 1.3 in c.repl
    (when-not (ns-resolve 'clojure.core 'doc)
      (use 'clojure.repl))
    (when (io/resource "user.clj")
      (load "user"))))

;-
; Copyright 2011 (c) Meikel Brandmeyer.
; All rights reserved.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.

(ns vimclojure.core
  (:require
    [clojure.java.io :as io]))

(defn init-server
  []
  (binding [*ns* *ns*]
    (in-ns 'user)
    (refer-clojure)
    ; Check for doc macro. 1.2 in c.core, 1.3 in c.repl
    (when-not (ns-resolve 'clojure.core 'doc)
      (use 'clojure.repl))
    (when (io/resource "user.clj")
      (load "user"))))

Fix missing require for clojure.java.io

Fix missing require for clojure.java.io


(in-ns 'herder.solver.types)

(gen-class
 :name ^{PlanningEntity {}} herder.solver.types.Person
 :prefix "person-"
 :init init
 :state state
 :constructors {[] []
                [java.util.UUID] []}
 :methods [[getId [] java.util.UUID]
           [getName [] String]
           [setName [String] void]])

(defn- person-init
  ([] (person-init (java.util.UUID/randomUUID)))
  ([uuid] [[] (ref {:id uuid :name ""})]))

(defn- person-getId [this]
  (getValue this :id))

(defn- person-getName [this]
  (getValue this :name))

(defn- person-setName [this item]
  (setValue this :name item))

(defn- person-equals [this b]
  (= (person-getId this) (person-getId b)))
(defn- person-hashCode [this]
  (.hashCode (person-getId this)))

Add equality fixes on Person class, so we can find clashes


;  Copyright (c) 2015 Designed.ly, Marcin Bilski
;  The use and distribution terms for this software are covered by the
;  Eclipse Public License which can be found in the file LICENSE at the root of this distribution.
;  By using this software in any fashion, you are agreeing to be bound by the terms of this license.
;  You must not remove this notice, or any other, from this software.

(ns reforms.binding.core
  (:refer-clojure :exclude [reset! swap! deref get-in -deref -reset!])
  (:require
    [reforms.binding.protocol :refer [-valid? -deref -reset! -get-in -path]]))

(defn valid? [x]
  (-valid? x))

(defn deref [x]
  (-deref x))

(defn reset!
  ([x v]
   (-reset! x v))
  ([x ks v]
   (if (not-empty ks)
     (-reset! x ks v)
     (-reset! x v))))

(defn get-in [x ks]
  (if (not-empty ks)
    (-get-in x ks)
    x))

(defn path [x]
  (-path x))

;  Copyright (c) 2015 Designed.ly, Marcin Bilski
;  The use and distribution terms for this software are covered by the
;  Eclipse Public License which can be found in the file LICENSE at the root of this distribution.
;  By using this software in any fashion, you are agreeing to be bound by the terms of this license.
;  You must not remove this notice, or any other, from this software.

(ns reforms.binding.core
  (:refer-clojure :exclude [reset! swap! deref get-in -deref -reset!])
  (:require
    [reforms.binding.protocol :refer [-valid? -deref -reset! -get-in -path]]))

(defn valid? [x]
  (-valid? x))

(defn deref [x]
  (-deref x))

(defn reset!
  ([x v]
   (-reset! x v))
  ([x ks v]
   (js/console.log "reset!" (prn-str x) (prn-str ks) (prn-str v))
   (if (not-empty ks)
     (-reset! x ks v)
     (-reset! x v))))

(defn get-in [x ks]

  (let [result (if (not-empty ks)
                 (-get-in x ks)
                 (-deref x))]
    (js/console.log "get-in" (prn-str x) (prn-str ks) (prn-str result))
    result))

(defn path [x]
  (-path x))

Fix Reagent-related bug in bindings.

Fix Reagent-related bug in bindings.


(ns incise.parsers.helpers
  (:require (clj-time [core :as tm]
                      [coerce :as tc])
            [clojure.string :as s])
  (:import [java.io File]))

(defn dashify
  "Dashify a title, replacing all non word characters with a dash."
  [^String title]
  (-> title
      (s/lower-case)
      (s/replace #"[^\w]" "-")))

(defn date-time->path
  "Convert a DateTime to a path like string."
  [date-time]
  (str (when date-time
         (str (tm/year date-time) \/
              (tm/month date-time) \/
              (tm/day date-time) \/))))

(def date-str->path (comp date-time->path tc/from-string))

(defn Parse->path
  [^Parse {:keys [path date title extension]}]
  (or path
      (str (date-str->path date)
           (dashify title)
           extension)))

(defn extension [^File file]
  "Get the extension, enforcing lower case, on the given file."
  (-> file
      (.getName)
      (s/split #"\.")
      (last)
      (s/lower-case)))

(ns incise.parsers.helpers
  (:require (clj-time [core :as tm]
                      [coerce :as tc])
            [clojure.string :as s])
  (:import [java.io File]))

(defn dashify
  "Dashify a title, replacing all non word characters with a dash."
  [^String title]
  (-> title
      (s/lower-case)
      (s/replace #"[^\w]" "-")))

(defn date-time->path
  "Convert a DateTime to a path like string."
  [date-time]
  (str (when date-time
         (str (tm/year date-time) \/
              (tm/month date-time) \/
              (tm/day date-time) \/))))

(def date-str->path (comp date-time->path tc/from-string))

(defn meta->write-path
  [{:keys [path date title extension]}]
  (or path
      (str (date-str->path date)
           (dashify title)
           extension)))

(defn remove-trailing-index-html [path]
  (s/replace path #"/index\.html$" "/"))

(defn Parse->path [parse]
  (->> parse
       (:path)
       (remove-trailing-index-html)
       (str \/)))

(defn extension [^File file]
  "Get the extension, enforcing lower case, on the given file."
  (-> file
      (.getName)
      (s/split #"\.")
      (last)
      (s/lower-case)))

Define meta->write-path and modify behaviour of Parse->path.


(ns active.clojure.test-runner
  (:require [doo.runner :refer-macros [doo-tests]]
            [active.clojure.condition-test]
            [active.clojure.debug-test]
            [active.clojure.lens-test]
            [active.clojure.monad-test]
            [active.clojure.record-test]
            [active.clojure.record-spec-test]
            [active.clojure.match-test]
            [active.clojure.config-test]))

(doo-tests 'active.clojure.condition-test
           'active.clojure.debug-test
           'active.clojure.lens-test
           'active.clojure.monad-test
           'active.clojure.record-test
           'active.clojure.record-spec-test
           'active.clojure.match-test
           'active.clojure.config-test)

(ns active.clojure.test-runner
  (:require [doo.runner :refer-macros [doo-tests]]
            [active.clojure.condition-test]
            [active.clojure.debug-test]
            [active.clojure.lens-test]
            [active.clojure.monad-test]
            [active.clojure.mock-monad-test]
            [active.clojure.record-test]
            [active.clojure.record-spec-test]
            [active.clojure.match-test]
            [active.clojure.config-test]))

(doo-tests 'active.clojure.condition-test
           'active.clojure.debug-test
           'active.clojure.lens-test
           'active.clojure.monad-test
           'active.clojure.mock-monad-test
           'active.clojure.record-test
           'active.clojure.record-spec-test
           'active.clojure.match-test
           'active.clojure.config-test)

Include mock-monad tests in CLJS test runner.


(defproject clstreams "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}

  :dependencies [[org.clojure/clojure "1.8.0"]
                 [org.clojure/tools.namespace "0.3.0-alpha3"]

                 [org.apache.kafka/kafka-clients "0.10.2.1-rc2"]
                 [org.apache.kafka/kafka-clients "0.10.2.1-rc2" :classifier "test"]
                 [org.apache.kafka/kafka-streams "0.10.2.1-rc2"]
                 [org.apache.kafka/kafka-streams "0.10.2.1-rc2" :classifier "test"]]

  :main ^:skip-aot clstreams.core
  :target-path "target/%s"

  :profiles {:uberjar {:aot :all}})

(defproject clstreams "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}

  :dependencies [[org.clojure/clojure "1.8.0"]
                 [org.clojure/tools.namespace "0.3.0-alpha3"]

                 [org.apache.kafka/kafka-clients "0.10.2.0"]
                 [org.apache.kafka/kafka-clients "0.10.2.0" :classifier "test"]
                 [org.apache.kafka/kafka-streams "0.10.2.0"]
                 [org.apache.kafka/kafka-streams "0.10.2.0" :classifier "test"]]

  :main ^:skip-aot clstreams.core
  :target-path "target/%s"

  :profiles {:uberjar {:aot :all}})

Revert to released version of the Kafka libraries.

Project file with unreleased version commited by mistake.


(ns cruncher.moves.main
  (:require [cruncher.moves.data :as data]))

(defn get
  "Return move object from moves-database by the move id."
  [id]
  (id data/all))

(ns cruncher.moves.main
  (:require [cruncher.moves.data :as data]))

(defn get-name
  "Return move object from moves-database by the move id."
  [id]
  (:name (get data/all id)))

Return only the name of an attack move

Return only the name of an attack move


(ns day8.re-frame.trace.preload
  (:require [day8.re-frame.trace :as trace]
            [mranderson047.re-frame.v0v10v2.re-frame.core :as rf]))

;; Use this namespace with the :preloads compiler option to perform the necessary setup for enabling tracing:
;; {:compiler {:preloads [day8.re-frame.trace.preload] ...}}
(js/console.warn "re-frame-trace has been renamed to re-frame-10x: (https://clojars.org/day8.re-frame/re-frame-10x). Update to newer versions of this library by using the `day8.re-frame/re-frame-10x` artifact ID. Thanks!")
(rf/clear-subscription-cache!)
(trace/init-db!)
(defonce _ (trace/init-tracing!))
(trace/inject-devtools!)

(ns day8.re-frame.trace.preload
  (:require [day8.re-frame.trace :as trace]
            [mranderson047.re-frame.v0v10v2.re-frame.core :as rf]))

;; Use this namespace with the :preloads compiler option to perform the necessary setup for enabling tracing:
;; {:compiler {:preloads [day8.re-frame.trace.preload] ...}}
(rf/clear-subscription-cache!)
(trace/init-db!)
(defonce _ (trace/init-tracing!))
(trace/inject-devtools!)

Revert "Add warning for people that upgrade to newer versions"

This isn't needed on releases that use the day8.re-frame/re-frame-10x
coordinates.

This reverts commit 92227465e81f71241c86e3b0121829cf9b323c3a.


(ns trak.globals
  (:require-macros [trak.config :refer [cljs-env]])
  (:require [trak.utils :as utils]
            [clojure.string :as str])
  (:import goog.Uri
           goog.Uri.QueryData
           goog.string))

(defn build-query-params [kws]
  (utils/info kws)
  (utils/info (.createFromKeysValues QueryData (map name (keys kws)) (vals kws)))
  (reduce #(.add %1
                 (name (first %2))
                 (second %2))
          (QueryData.)
          kws)
  )

(defn spotify-authorization-link [scope]
  (doto (Uri. "https://accounts.spotify.com/authorize")
    (.setQuery (build-query-params {:response_type "token"
                                    :client_id     (cljs-env :spotify-client-id)
                                    :scope         scope
                                    :redirect_uri  (cljs-env :spotify-redirect-url)
                                    :state         (.getRandomString string)}))))

(defn get-spotify-auth-token []
  (let [fragment (.getFragment (Uri. (.-href (.-location js/document))))
        fragment (str/split fragment "&")]
    (reduce (fn [acc part]
              (let [kw (str/split part "=")]
                (merge acc {(keyword (first kw)) (second kw)})))
            {}
            fragment)))

(ns trak.globals
  (:require-macros [trak.config :refer [cljs-env]])
  (:require [trak.utils :as utils]
            [clojure.string :as str])
  (:import goog.Uri
           goog.Uri.QueryData
           goog.string))

(defn build-query-params [kws]
  (utils/info kws)
  (utils/info (.createFromKeysValues QueryData (map name (keys kws)) (vals kws)))
  (reduce #(.add %1
                 (name (first %2))
                 (second %2))
          (QueryData.)
          kws)
  )

(defn spotify-authorization-link [scope]
  (doto (Uri. "https://accounts.spotify.com/authorize")
    (.setQuery (build-query-params {:response_type "token"
                                    :client_id     (cljs-env :spotify-client-id)
                                    :scope         scope
                                    :redirect_uri  (cljs-env :spotify-redirect-url)
                                    :state         (.getRandomString string)}))))

(defn get-spotify-auth-token []
  (let [fragment (.getFragment (Uri. (.-href (.-location js/document))))]
    (cond (= "" fragment) nil
          :else (let [fragment (str/split fragment "&")]
                  (reduce (fn [acc part]
                            (let [kw (str/split part "=")]
                              (merge acc {(keyword (first kw)) (second kw)})))
                          {}
                          fragment)))))

Return nil if URI fragment is not found

Return nil if URI fragment is not found


(defproject com.draines/postal "1.8-SNAPSHOT"
  :repositories {"java.net" "http://download.java.net/maven/2"}
  :dependencies [[org.clojure/clojure "1.3.0"]
                 [javax.mail/mail "1.4.4"
                  :exclusions [javax.activation/activation]]])

(defproject com.draines/postal "1.8-SNAPSHOT"
  :repositories {"java.net" "http://download.java.net/maven/2"}
  :dependencies [[org.clojure/clojure "1.3.0"]
                 [javax.mail/mail "1.4.4"
                  :exclusions [javax.activation/activation]]
                 [org.clojure.contrib/repl-utils "1.3.0-alpha4"]])

Add repl-utils dep to have a dormant show laying around.


(defproject marcgrep "1.0.4-LUCENE5.5.0"
  :description "A slow-moving search for MARC data"
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [org.clojure/data.json "0.2.4"]
                 [org.mortbay.jetty/jetty "6.1.25"]
                 [compojure "0.6.4"]
                 [ring/ring-servlet "0.3.10"]
                 [org.tigris/marc4j "2.4"]
                 [org.apache.lucene/lucene-core "5.5.0"]]
  :plugins [[lein-ring "0.8.5"]]
  :warn-on-reflection false
  :dev-dependencies [[swank-clojure/swank-clojure "1.3.2"]]

  ;; For producing a war file
  :ring {:handler marcgrep.core/handler
         :init marcgrep.core/init}

  :aot :all

  :main marcgrep.core)

(defproject marcgrep "1.0.5"
  :description "A slow-moving search for MARC data"
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [org.clojure/data.json "0.2.4"]
                 [org.mortbay.jetty/jetty "6.1.25"]
                 [compojure "0.6.4"]
                 [ring/ring-servlet "0.3.10"]
                 [org.tigris/marc4j "2.4"]
                 [org.apache.lucene/lucene-core "5.5.0"]]
  :plugins [[lein-ring "0.8.5"]]
  :warn-on-reflection false
  :dev-dependencies [[swank-clojure/swank-clojure "1.3.2"]]

  ;; For producing a war file
  :ring {:handler marcgrep.core/handler
         :init marcgrep.core/init}

  :aot :all

  :main marcgrep.core)

Bump version number to 1.0.5

Bump version number to 1.0.5

New Lucene version!


(defproject exegesis "0.2.0-SNAPSHOT"
  :description "Simplify reflection of annotations on Java types."
  :url "http://github.com/tobyclemson/exegesis"
  :license {:name "The MIT License"
            :url  "https://opensource.org/licenses/MIT"}
  :dependencies [[org.clojure/clojure "1.8.0"]]
  :source-paths ["src/clojure"]
  :test-paths ["test/clojure"]
  :java-source-paths ["src/java" "test/java"]
  :deploy-repositories [["releases" {:url     "https://clojars.org/repo/"
                                     :creds   :gpg}]])

(defproject exegesis "0.3.0-SNAPSHOT"
  :description "Simplify reflection of annotations on Java types."
  :url "http://github.com/tobyclemson/exegesis"
  :license {:name "The MIT License"
            :url  "https://opensource.org/licenses/MIT"}
  :dependencies [[org.clojure/clojure "1.8.0"]]
  :source-paths ["src/clojure"]
  :test-paths ["test/clojure"]
  :java-source-paths ["src/java" "test/java"]
  :deploy-repositories [["releases" {:url     "https://clojars.org/repo/"
                                     :creds   :gpg}]])

Bump version for next release.

Bump version for next release.


(defproject org.onyxplatform/onyx-metrics "0.8.0.7"
  :description "Instrument Onyx workflows"
  :url "https://github.com/MichaelDrogalis/onyx"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :repositories {"snapshots" {:url "https://clojars.org/repo"
                              :username :env
                              :password :env
                              :sign-releases false}
                 "releases" {:url "https://clojars.org/repo"
                             :username :env
                             :password :env
                             :sign-releases false}}
  :dependencies [[org.clojure/clojure "1.7.0"]
                 [interval-metrics "1.0.0"]
                 [stylefruits/gniazdo "0.4.0"]]
  :java-opts ^:replace ["-server" "-Xmx3g"]
  :global-vars  {*warn-on-reflection* true
                 *assert* false
                 *unchecked-math* :warn-on-boxed}
  :profiles {:dev {:dependencies [^{:voom {:repo "git@github.com:onyx-platform/onyx.git" :branch "master"}}
                                  [org.onyxplatform/onyx "0.8.0"]
                                  [riemann-clojure-client "0.4.1"]]
                   :plugins [[lein-set-version "0.4.1"]
                             [lein-update-dependency "0.1.2"]
                             [lein-pprint "1.1.1"]]}})

(defproject org.onyxplatform/onyx-metrics "0.8.0.8-SNAPSHOT"
  :description "Instrument Onyx workflows"
  :url "https://github.com/MichaelDrogalis/onyx"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :repositories {"snapshots" {:url "https://clojars.org/repo"
                              :username :env
                              :password :env
                              :sign-releases false}
                 "releases" {:url "https://clojars.org/repo"
                             :username :env
                             :password :env
                             :sign-releases false}}
  :dependencies [[org.clojure/clojure "1.7.0"]
                 [interval-metrics "1.0.0"]
                 [stylefruits/gniazdo "0.4.0"]]
  :java-opts ^:replace ["-server" "-Xmx3g"]
  :global-vars  {*warn-on-reflection* true
                 *assert* false
                 *unchecked-math* :warn-on-boxed}
  :profiles {:dev {:dependencies [^{:voom {:repo "git@github.com:onyx-platform/onyx.git" :branch "master"}}
                                  [org.onyxplatform/onyx "0.8.0"]
                                  [riemann-clojure-client "0.4.1"]]
                   :plugins [[lein-set-version "0.4.1"]
                             [lein-update-dependency "0.1.2"]
                             [lein-pprint "1.1.1"]]}})

Prepare for next release cycle.

Prepare for next release cycle.


(ns icecap.store.riak-integration-test
  (:require [icecap.store.riak :refer :all]
            [icecap.store.test-props :refer :all]
            [clojure.test.check.clojure-test :refer [defspec]]
            [clojure.test :refer :all]
            [clojurewerkz.welle.buckets :as wb]
            [clojurewerkz.welle.core :as wc]))

(def ^:private riak-test-url "http://localhost:8098/riak")
(def ^:private riak-test-store)

(defn connect
  [f]
  (let [conn (wc/connect riak-test-url)
        store (riak-store conn "test-bucket")]
    (try
      (wb/update conn "test-bucket" (bucket-props))
      (with-redefs-fn {#'riak-test-store store} f)
      (finally
        (wc/shutdown conn)))))

(use-fixtures :once connect)

(defspec ^:riak riak-store-roundtrip
  (roundtrip-prop riak-test-store))

(defspec ^:riak riak-store-delete
  (delete-prop riak-test-store))

(ns ^:riak icecap.store.riak-integration-test
  (:require [icecap.store.riak :refer :all]
            [icecap.store.test-props :refer :all]
            [clojure.test.check.clojure-test :refer [defspec]]
            [clojure.test :refer :all]
            [clojurewerkz.welle.buckets :as wb]
            [clojurewerkz.welle.core :as wc]))

(def ^:private riak-test-url "http://localhost:8098/riak")
(def ^:private riak-test-store)

(defn connect
  [f]
  (let [conn (wc/connect riak-test-url)
        store (riak-store conn "test-bucket")]
    (try
      (wb/update conn "test-bucket" (bucket-props))
      (with-redefs-fn {#'riak-test-store store} f)
      (finally
        (wc/shutdown conn)))))

(use-fixtures :once connect)

(defspec riak-store-roundtrip
  (roundtrip-prop riak-test-store))

(defspec riak-store-delete
  (delete-prop riak-test-store))

Attach ^:riak metadata to ns

Attach ^:riak metadata to ns

Previously, the fixture was still run when running lein test. This meant
that the test attempted to connect to Riak, which didn't work.


(ns circle.db.migrations
  (:require [clojure.set :as set])
  (:use circle.db.migration-lib)
  (:require [somnium.congomongo :as mongo])
  (:use [circle.util.core :only (apply-if)]))

(clear-migrations)

(def-migration "failed? -> failed"
  :num 0
  :coll :builds
  :transform #(set/rename-keys % {:failed? :failed}))

(def-migration "infer empty specs"
  :num 1
  :coll :projects
  :transform (fn [project]
               (let [spec (mongo/fetch-one :specs :where {:project_id (-> project :_id)})
                     inferred? (or
                                (nil? spec)
                                (every? empty? ((juxt :dependencies :test :compile :setup) spec)))]
                 (assoc project :inferred inferred?))))

(def-migration "move specs into project"
  :num 2
  :coll :projects
  :transform (fn [p]
               (assert (= 1 (mongo/fetch :specs :where {:project_id (:_id p)} :count? true)))
               (let [spec (mongo/fetch-one :specs :where {:project_id (:_id p)})]
                 (apply-if spec merge p (select-keys spec [:dependencies :setup :compile :test])))))

;; (def-migration "old builds w/ git commit info")

"action tags; inferred, infrastructure, spec, test, setup"

"add end time to old builds"

(ns circle.db.migrations
  (:require [clojure.set :as set])
  (:use circle.db.migration-lib)
  (:require [somnium.congomongo :as mongo])
  (:use [circle.util.core :only (apply-if)]))

(clear-migrations)

(def-migration "failed? -> failed"
  :num 0
  :coll :builds
  :transform #(set/rename-keys % {:failed? :failed}))

(def-migration "infer empty specs"
  :num 1
  :coll :projects
  :transform (fn [project]
               (let [spec (mongo/fetch-one :specs :where {:project_id (-> project :_id)})
                     inferred? (or
                                (nil? spec)
                                (every? empty? ((juxt :dependencies :test :compile :setup) spec)))]
                 (assoc project :inferred inferred?))))

(def-migration "move specs into project"
  :num 2
  :coll :projects
  :transform (fn [p]
               (assert (> 2 (mongo/fetch-count :specs :where {:project_id (:_id p)})))
               (let [spec (mongo/fetch-one :specs :where {:project_id (:_id p)})]
                 (apply-if spec merge p (select-keys spec [:dependencies :setup :compile :test :inferred])))))

;; (def-migration "old builds w/ git commit info")

"action tags; inferred, infrastructure, spec, test, setup"

"add end time to old builds"

Fix migration 2 (spec->project) which didn't migrate :inferred, and had a bad assertion.


(ns c2.util
  (:require [singult.core :as singult]))

(def clj->js singult/clj->js)

(defn ->coll
  "Convert something into a collection, if it's not already."
  [x]
  (if (coll? x) x [x]))

(ns c2.util
  (:require [singult.core :as singult]))

(defn ->coll
  "Convert something into a collection, if it's not already."
  [x]
  (if (coll? x) x [x]))

Remove clj->js function, now that it's in cljs.core.


(hash-map

  :layout
  (layout/geodesic-grid
    :radius 3.688
    :pixel-spacing 0.02
    :strut-pixels
    [48 64 64 64]
    :strip-struts
    [[0 6 15 8]
     [2 14 22 16]
     [4 18 20 23]
     [3 10 12 19]
     [1 5 7 11]])

  #_
  (layout/star
    :radius 3.688         ; 12.1'
    :pixel-spacing 0.02   ; 2 cm
    :strip-pixels 240
    :strips 6)

  :event-handler
  (-> state/update-mode
      handler/mode-selector
      (handler/autocycle-modes
        (comp #{:button/press :button/repeat} :type)))

  :web-options
  {:port 8080
   :min-threads 2
   :max-threads 5
   :max-queued 25}

  :modes
  {:rainbow
   (mode/rainbow)

   :strobe
   (mode/strobe
     [(color/rgb 1 0 0)
      (color/rgb 0 1 0)
      (color/rgb 0 0 1)])

   :lantern
   (mode/lantern 0.5)}

  :playlist
  [:rainbow
   :strobe
   :lantern])

(hash-map

  :layout
  (layout/geodesic-grid
    :radius 3.688
    :pixel-spacing 0.02
    :strut-pixels
    [50 62 64 64]
    :strip-struts
    [[0 6 15 8]
     [2 14 22 16]
     [4 18 20 23]
     [3 10 12 19]
     [1 5 7 11]])

  #_
  (layout/star
    :radius 3.688         ; 12.1'
    :pixel-spacing 0.02   ; 2 cm
    :strip-pixels 240
    :strips 6)

  :event-handler
  (-> state/update-mode
      handler/mode-selector
      (handler/autocycle-modes
        (comp #{:button/press :button/repeat} :type)))

  :web-options
  {:port 8080
   :min-threads 2
   :max-threads 5
   :max-queued 25}

  :modes
  {:rainbow
   (mode/rainbow)

   :strobe
   (mode/strobe
     [(color/rgb 1 0 0)
      (color/rgb 0 1 0)
      (color/rgb 0 0 1)])

   :lantern
   (mode/lantern 0.5)}

  :playlist
  [:rainbow
   :strobe
   :lantern])

Move a pixel pair from second segment to first segment in geodesic layout.


(defproject kwho "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "https://github.com/jacobmorzinski/kwho"
  :license {:name "The MIT License"
            :url "http://opensource.org/licenses/MIT"}
  :dependencies [[org.clojure/clojure "1.6.0"]]
  :main ^:skip-aot kwho.core
  :target-path "target/%s"
  :profiles {:uberjar {:aot :all}})

(defproject kwho "0.1.0"
  :description "FIXME: write description"
  :url "https://github.com/jacobmorzinski/kwho"
  :license {:name "The MIT License"
            :url "http://opensource.org/licenses/MIT"}
  :dependencies [[org.clojure/clojure "1.6.0"]]
  :plugins [[lein-bin "0.3.6-SNAPSHOT"]] #_ "https://github.com/jacobmorzinski/lein-bin"
  :bin {:name "kwho.bat"} #_ "I wish I could use a conditional..."
  :main ^:skip-aot kwho.core
  :target-path "target/%s"
  :jar-exclusions [#"(^|\\|/)[._](.*\.|)s[a-w][a-z]$"] #_ "vim .swp files"
  :profiles {:uberjar {:aot :all}})

Use lein-bin to generate a jar-packed .bat file.

Currently uses a personal fork of lein-bin installed
with "lein install".


(ns doctopus.storage-impls)

;; ## Backend Implementations
;; A backend implementation needs to expose two functions: one for load, and one
;; for save.
;;
;; ### Save
;; A save function needs to receive a "key" and a vector of path-html pairs, and
;; store each piece correctly in the given backend _such that it can easily be
;; looked up by the same key_. How should it store? However it likes. Whatever
;; makes it easiest to implement the load function.
;;
;; ### Load
;; The load function should be able to take a "key", and return a list of all
;; the paths for that key, plus a function that will load the data at the end of
;; each path. e.g.:
;; [["/"    root-fn]
;;  ["/foo" foo-fn]]

(defrecord BackendImplementation [name load-fn save-fn])

(ns doctopus.storage-impls
  (:require [doctopus.storage-impls.temp-fs :as temp-fs-impl]))

;; ## Backend Implementations
;; A backend implementation needs to expose two functions: one for load, and one
;; for save.
;;
;; ### Save
;; A save function needs to receive a "key" and a vector of path-html pairs, and
;; store each piece correctly in the given backend _such that it can easily be
;; looked up by the same key_. How should it store? However it likes. Whatever
;; makes it easiest to implement the load function.
;;
;; ### Load
;; The load function should be able to take a "key", and return a list of all
;; the paths for that key, plus a function that will load the data at the end of
;; each path. e.g.:
;; [["/"    root-fn]
;;  ["/foo" foo-fn]]

(defrecord BackendImplementation [name load-fn save-fn])

(def temp-fs-backend (BackendImplementation. "temp-fs"
                                             temp-fs-impl/load-fn
                                             temp-fs-impl/save-fn))

Declare an actual implementation instance that can be imported


;; Copyright © 2015, JUXT LTD.

(ns yada.boolean
  (:require
   [schema.core :as s]))

(defn boolean? [x]
  (contains? #{true false} x))

(declare BooleanExpression)

(s/defschema NotExpression
  [(s/one (s/eq :not) "not") (s/one (s/recursive #'BooleanExpression) "not expr")])

(s/defschema AndExpression
  [(s/one (s/eq :and) "and") (s/recursive #'BooleanExpression)])

(s/defschema OrExpression
  [(s/one (s/eq :or) "or") (s/recursive #'BooleanExpression)])

(s/defschema CompositeExpression
  (s/conditional
   (comp (partial = :not) first) NotExpression
   (comp (partial = :and) first) AndExpression
   (comp (partial = :or) first) OrExpression))

(s/defschema BooleanExpression
  (s/conditional
   boolean? s/Bool
   vector? CompositeExpression
   :else s/Any))

;; Copyright © 2015, JUXT LTD.

(ns yada.boolean
  (:refer-clojure :exclude [boolean?])
  (:require
   [schema.core :as s]))

(defn boolean? [x]
  (contains? #{true false} x))

(declare BooleanExpression)

(s/defschema NotExpression
  [(s/one (s/eq :not) "not") (s/one (s/recursive #'BooleanExpression) "not expr")])

(s/defschema AndExpression
  [(s/one (s/eq :and) "and") (s/recursive #'BooleanExpression)])

(s/defschema OrExpression
  [(s/one (s/eq :or) "or") (s/recursive #'BooleanExpression)])

(s/defschema CompositeExpression
  (s/conditional
   (comp (partial = :not) first) NotExpression
   (comp (partial = :and) first) AndExpression
   (comp (partial = :or) first) OrExpression))

(s/defschema BooleanExpression
  (s/conditional
   boolean? s/Bool
   vector? CompositeExpression
   :else s/Any))

Add refer-clojure to avoid 1.9 compilation warning


(ns uk.org.potentialdifference.darknet.websocket
  (:import [org.java_websocket.client WebSocketClient]
           [org.java_websocket.drafts Draft_10]
           [java.net URI]))

(defn connect! [url options]
  (.connect (proxy [WebSocketClient]
                [(new URI url) (new Draft_10)]
                (onOpen [handshake]
                  ((:on-open options) handshake))
                (onClose [code reason remote]
                  ((:on-close options) code reason remote))
                (onMessage [message]
                  ((:on-message options) message))
                (onError [^java.lang.Exception e]
                  ((:on-error options) e)))))

(ns uk.org.potentialdifference.darknet.websocket
  (:import [org.java_websocket.client WebSocketClient]
           [org.java_websocket.drafts Draft_10]
           [java.net URI]))

(defn connect! [url options]
  (.connectBlocking
   (proxy [WebSocketClient]
       [(new URI url) (new Draft_10)]
       (onOpen [handshake]
         ((:on-open options) handshake))
       (onClose [code reason remote]
         ((:on-close options) code reason remote))
       (onMessage [message]
         ((:on-message options) message))
       (onError [^java.lang.Exception e]
         ((:on-error options) e)))))

Connect blocking to avoid duplicate connections


(ns ^{:doc "Simple Chapters extension: http://podlove.org/simple-chapters.
            Specification: http://podlove.org/simple-chapters"}
  qcast.feed.ext.simple-chapters
  (:require [hiccup.util :refer [escape-html]]))

;;; Interface

;; Channel

;; Channel or Item

;; Item

(defn chapter
  ([start title]
     [:psc:chapter {:start start, :title (escape-html title)}])
  ([start title link-url]
     (assoc-in (chapter start title) [1 :href] link-url))
  ([start title link-url image-url]
     (assoc-in (chapter start title link-url) [1 :image] image-url)))

(defn chapters [& chapters]
  [:psc:chapters {:version "1.2"} (map #(apply chapter %) chapters)])

(ns ^{:doc "Simple Chapters extension: http://podlove.org/simple-chapters.
            Specification: http://podlove.org/simple-chapters"}
  qcast.feed.ext.simple-chapters
  (:require [hiccup.util :refer [escape-html]]))

;;; Globals

(def ^:private version "1.2")

;;; Interface

;; Channel

;; Channel or Item

;; Item

(defn chapter
  ([start title]
     [:psc:chapter {:start start, :title (escape-html title)}])
  ([start title link-url]
     (assoc-in (chapter start title) [1 :href] link-url))
  ([start title link-url image-url]
     (assoc-in (chapter start title link-url) [1 :image] image-url)))

(defn chapters [& chapters]
  [:psc:chapters {:version version} (map #(apply chapter %) chapters)])

Use global for simple-chapter version

Use global for simple-chapter version


(set-env!
 :source-paths #{"src"})

(def +version+ "0.1.0")

(task-options!
 pom {:project 'http-server
      :version +version+
      :description "A Java HTTP server."
      :url "https://github.com/RadicalZephyr/http-server"
      :scm {:url "https://github.com/RadicalZephyr/http-server.git"}
      :licens {"MIT" "http://opensource.org/licenses/MIT"}})

(deftask build
  "Build my http server."
  []
  (comp (javac)
        (pom)
        (jar)))

(set-env!
 :source-paths #{"src"}
 :dependencies '[[junit "4.12" :scope "test"]])

(def +version+ "0.1.0")

(task-options!
 pom {:project 'http-server
      :version +version+
      :description "A Java HTTP server."
      :url "https://github.com/RadicalZephyr/http-server"
      :scm {:url "https://github.com/RadicalZephyr/http-server.git"}
      :licens {"MIT" "http://opensource.org/licenses/MIT"}})

(deftask build
  "Build my http server."
  []
  (comp (javac)
        (pom)
        (jar)))

Add junit as a test dependency

Add junit as a test dependency


(ns lazytest.attach
  (:use [lazytest.groups :only (group?)]))

(defn groups-var
  "Creates or returns the Var storing Groups in namespace n."
  [n]
  (or (ns-resolve n '*lazytest-groups*)
      (intern n (with-meta '*lazytest-groups* {:private true}) #{})))

(defn groups
  "Returns the Groups for namespace n"
  [n]
  (var-get (groups-var n)))

(defn all-groups
  "Returns a sequence of all Groups in all namespaces."
  []
  (mapcat (comp seq groups) (all-ns)))

(defn add-group
  "Adds Group g to namespace n."
  [n g]
  {:pre [(group? g)
	 (the-ns n)]}
  {:post [(some #{g} (seq (groups n)))]}
  (alter-var-root (groups-var (the-ns n)) conj g))

(ns lazytest.attach)

(defn groups
  "Returns the Groups for namespace n"
  [n]
  (map var-get (filter #(::group (meta %)) (vals (ns-interns n)))))

(defn all-groups
  "Returns a sequence of all Groups in all namespaces."
  []
  (mapcat groups (all-ns)))

(defn add-group
  "Adds Group g to namespace n."
  [n g]
  (intern n (with-meta (gensym "lazytest-group-") {::group true}) g))

(defn clear-groups
  "Removes all test groups from namespace n."
  [n]
  (doseq [[sym v] (ns-interns n)]
    (when (::group (meta v))
      (ns-unmap n sym))))

Attach interns new vars instead of using a single var


(defproject {{name}} "0.1.0-SNAPSHOT"
  :description "FIXME: write this!"
  :url "http://example.com/FIXME"

  :dependencies [[org.clojure/clojure "1.6.0"]
                 [org.clojure/clojurescript "0.0-2755"]]

  :node-dependencies [[source-map-support "0.2.8"]]

  :plugins [[lein-cljsbuild "1.0.4"]
            [lein-npm "0.4.0"]]

  :source-paths ["src"]

  :cljsbuild {
    :builds [{:id "{{name}}"
              :source-paths ["src"]
              :compiler {
                :output-to "out/{{sanitized}}.js"
                :output-dir "out"
                :target :nodejs
                :optimizations :none
                :source-map true}}]})

(defproject {{name}} "0.1.0-SNAPSHOT"
  :description "FIXME: write this!"
  :url "http://example.com/FIXME"

  :dependencies [[org.clojure/clojure "1.6.0"]
                 [org.clojure/clojurescript "0.0-3126"]]

  :node-dependencies [[source-map-support "0.2.8"]]

  :plugins [[lein-cljsbuild "1.0.4"]
            [lein-npm "0.4.0"]]

  :source-paths ["src"]

  :cljsbuild {
    :builds [{:id "{{name}}"
              :source-paths ["src"]
              :compiler {
                :output-to "out/{{sanitized}}.js"
                :output-dir "out"
                :target :nodejs
                :optimizations :none
                :source-map true}}]})

Bump clojurescript dep for node 0.12 support.


(ns circle.util.fs
  "utilities for working with files and directories"
  (:require fs)
  (:require [clojure.java.io :as io])
  (:import org.apache.commons.io.FileUtils)
  (:require [circle.sh :as sh]))

(defn all-files
  "Returns a list of all files in the repos"
  [dir]
  (FileUtils/listFiles (io/as-file dir) nil true))

(defn files-matching
  "Returns a list of files that match re."
  [dir re]
  (->> dir
       (all-files)
       (filter #(re-find re %))))

(defn re-file?
  "True if the contents of the file match the regex"
  [file re]
  (when (fs/exists? file)
    (boolean (seq (re-find re (slurp file))))))

(defn line-count
  "returns the number of lines in the file"
  [file]
  (->> file (slurp) (re-seq #"\n") (count)))

(ns circle.util.fs
  "utilities for working with files and directories"
  (:require fs)
  (:require [clojure.java.io :as io])
  (:import org.apache.commons.io.FileUtils)
  (:require [circle.sh :as sh]))

(defn all-files
  "Returns a list of all files in the repos"
  [dir]
  (when (fs/exists? dir)
      (FileUtils/listFiles (io/as-file dir) nil true)))

(defn files-matching
  "Returns a list of files that match re."
  [dir re]
  (->> dir
       (all-files)
       (filter #(re-find re %))))

(defn re-file?
  "True if the contents of the file match the regex"
  [file re]
  (when (fs/exists? file)
    (boolean (seq (re-find re (slurp file))))))

(defn line-count
  "returns the number of lines in the file"
  [file]
  (->> file (slurp) (re-seq #"\n") (count)))

Fix a bug where FileUtils throws when the root dir isn't present


(ns vip.data-processor.pipeline
  (:require [clojure.tools.logging :as log]
            [clojure.stacktrace :as stacktrace]))

(defn try-validation [validation ctx]
  (try
    (validation ctx)
    (catch Throwable e
      (log/error e)
      (assoc ctx :stop "Exception caught"
                 :exception e))))

(defn run-pipeline [c]
  (loop [ctx c]
    (if-let [next-step (-> ctx :pipeline first)]
      (let [next-ctx (try-validation next-step ctx)]
        (if (:stop next-ctx)
          next-ctx
          (recur (assoc next-ctx :pipeline (rest (:pipeline ctx))))))
      ctx)))

(defn process [pipeline initial-input]
  (let [ctx {:input initial-input
             :pipeline pipeline}
        result (run-pipeline ctx)]
    (log/info result)
    (when-let [ex (:exception result)]
      (log/error (with-out-str (stacktrace/print-stack-trace ex)))
      (throw (ex-info "Exception during processing" {:exception ex
                                                     :initial-ctx ctx
                                                     :final-ctx result})))
    result))

(ns vip.data-processor.pipeline
  (:require [clojure.tools.logging :as log]
            [clojure.stacktrace :as stacktrace]))

(defn try-validation [validation ctx]
  (try
    (validation ctx)
    (catch Throwable e
      (log/error e)
      (assoc ctx :stop "Exception caught"
                 :exception e))))

(defn run-pipeline [c]
  (loop [ctx c]
    (if-let [next-step (-> ctx :pipeline first)]
      (let [next-ctx (try-validation next-step ctx)]
        (if (:stop next-ctx)
          next-ctx
          (recur (assoc next-ctx :pipeline (rest (:pipeline ctx))))))
      ctx)))

(defn process [pipeline initial-input]
  (let [ctx {:input initial-input
             :warnings []
             :errors []
             :pipeline pipeline}
        result (run-pipeline ctx)]
    (log/info result)
    (when-let [ex (:exception result)]
      (log/error (with-out-str (stacktrace/print-stack-trace ex)))
      (throw (ex-info "Exception during processing" {:exception ex
                                                     :initial-ctx ctx
                                                     :final-ctx result})))
    result))

Add warnings and errors keys to context

[CS] Add warnings and errors keys to context


(ns incise.utils
  (:import [java.io File]))

(defn- gitignore-file? [^File file]
  (= (.getName file) ".gitignore"))

(defn delete-recursively
  "Delete a directory tree."
  [^File root]
  (when (.isDirectory root)
    (doseq [file (remove gitignore-file? (.listFiles root))]
      (delete-recursively file)))
  (.delete root))

(ns incise.utils
  (:import [java.io File]))

(defn- gitignore-file? [^File file]
  (= (.getName file) ".gitignore"))

(defn delete-recursively
  "Delete a directory tree."
  [^File root]
  (when root
    (when (.isDirectory root)
      (doseq [file (remove gitignore-file? (.listFiles root))]
        (delete-recursively file)))
    (.delete root)))

Modify delete-recursively to fail gracefully for nil root.


(ns made-merits.service.leaderboard-users
    (:require [made-merits.service.winner-calculator :as winner-calculator]
              [made-merits.service.score-calculator :as score-calculator]))

(defn with-winner-first
  [scored-users-with-merits]
  (reverse (sort-by #(= "winner" (:status %)) scored-users-with-merits)))

(defn presentable
  [db-users]
  (with-winner-first
    (winner-calculator/with-winner
      (score-calculator/with-score db-users))))

(ns made-merits.service.leaderboard-users
    (:require [made-merits.service.winner-calculator :as winner-calculator]
              [made-merits.service.score-calculator :as score-calculator]))

(defn with-winner-first
  [scored-users-with-merits]
  (reverse (sort-by :score scored-users-with-merits)))

(defn presentable
  [db-users]
  (with-winner-first
    (winner-calculator/with-winner
      (score-calculator/with-score db-users))))

Sort by score not status

Sort by score not status


(defproject onyx-app/lein-template "0.9.7.0-alpha21"
  :description "Onyx Leiningen application template"
  :url "https://github.com/onyx-platform/onyx-template"
  :license {:name "MIT License"
            :url "http://choosealicense.com/licenses/mit/#"}
  :repositories {"snapshots" {:url "https://clojars.org/repo"
                              :username :env
                              :password :env
                              :sign-releases false}
                 "releases" {:url "https://clojars.org/repo"
                             :username :env
                             :password :env
                             :sign-releases false}}
  :plugins [[lein-set-version "0.4.1"]]
  :profiles {:dev {:plugins [[lein-set-version "0.4.1"]
                             [lein-update-dependency "0.1.2"]
                             [lein-pprint "1.1.1"]]}}
  :eval-in-leiningen true)

(defproject onyx-app/lein-template "0.9.7.0-SNAPSHOT"
  :description "Onyx Leiningen application template"
  :url "https://github.com/onyx-platform/onyx-template"
  :license {:name "MIT License"
            :url "http://choosealicense.com/licenses/mit/#"}
  :repositories {"snapshots" {:url "https://clojars.org/repo"
                              :username :env
                              :password :env
                              :sign-releases false}
                 "releases" {:url "https://clojars.org/repo"
                             :username :env
                             :password :env
                             :sign-releases false}}
  :plugins [[lein-set-version "0.4.1"]]
  :profiles {:dev {:plugins [[lein-set-version "0.4.1"]
                             [lein-update-dependency "0.1.2"]
                             [lein-pprint "1.1.1"]]}}
  :eval-in-leiningen true)

Prepare for next release cycle.

Prepare for next release cycle.


(defproject todo-repl-webapp "0.1.0-SNAPSHOT"
  :description "Todo-repl"
  :url "http://example.com/FIXME"
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [compojure "1.1.5"]
                 [hiccup "1.0.4"]
                 [ring/ring-jetty-adapter "1.1.6"]
                 [org.ocpsoft.prettytime/prettytime-nlp "3.0.2.Final"]]
  :uberjar-name "todo-repl-webapp-standalone.jar"
  :main todo-repl-webapp.handler
  :source-paths ["src"
                 "src/todo_repl/"
                 "src/todo_repl_webapp/"]
  :plugins [[lein-ring "0.8.5"]]
  :ring {:handler todo-repl-webapp.handler/app}
  :profiles
  {:dev {:dependencies [[ring-mock "0.1.5"]
                        [com.cemerick/friend "0.2.0"]]}})

(defproject todo-repl-webapp "0.1.0-SNAPSHOT"
  :description "Todo-repl"
  :url "http://example.com/FIXME"
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [compojure "1.1.5"]
                 [hiccup "1.0.4"]
                 [ring/ring-jetty-adapter "1.1.6"]
                 [org.ocpsoft.prettytime/prettytime-nlp "3.0.2.Final"]]
  :uberjar-name "todo-repl-webapp-standalone.jar"
  :main todo-repl-webapp.handler
  :source-paths ["src"
                 "src/todo_repl/"
                 "src/todo_repl_webapp/"]
  :plugins [[lein-ring "0.8.5"]]
  :ring {:handler todo-repl-webapp.handler/secured-app}
  :profiles
  {:dev {:dependencies [[ring-mock "0.1.5"]
                        [com.cemerick/friend "0.2.0"]]}})

Change ring to use the secured-app

Change ring to use the secured-app


(defproject lein-droid/lein-droid "0.2.0-SNAPSHOT"
  :description "Plugin for easy Clojure/Android development and deployment"
  :url "https://github.com/alexander-yakushev/lein-droid"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.5.0"]
                 [leiningen "2.1.3"]
                 [leiningen-core "2.1.3"]
                 [robert/hooke "1.1.2"]
                 [org.clojure/data.zip "0.1.0"]
                 [com.cemerick/pomegranate "0.2.0"]]
  :min-lein-version "2.0.0"
  :resource-paths ["res"]
  :eval-in-leiningen false

  :java-source-paths ["src"]
  :javac-options     ["-target" "1.6" "-source" "1.6"]
  :warn-on-reflection true
  :aot [#"leiningen\.droid"])

(defproject lein-droid/lein-droid "0.2.0-SNAPSHOT"
  :description "Plugin for easy Clojure/Android development and deployment"
  :url "https://github.com/alexander-yakushev/lein-droid"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[robert/hooke "1.3.0"]
                 [org.clojure/data.zip "0.1.1"]]
  :min-lein-version "2.0.0"
  :resource-paths ["res"]
  :eval-in-leiningen true)

Remove AOT options and bump dependencies versions

Benchmarks showed that AOT-compiling lein-droid yields no performance
boost whatsoever, so I decided to drop it in favor of portability.


(defproject simple-re-frame "0.5.0"
  :dependencies [[org.clojure/clojure       "1.7.0"]
                 [org.clojure/clojurescript "1.7.145"]
                 [reagent "0.5.1"]
                 [re-frame "0.5.0-alpha3"]
                 [figwheel "0.2.6"]]

  :plugins [[lein-cljsbuild "1.1.0"]
            [lein-figwheel "0.3.8"]]

  :hooks [leiningen.cljsbuild]

  :profiles {:dev {:cljsbuild
                   {:builds {:client {:source-paths ["devsrc"]
                                      :compiler     {:main simpleexample.dev
                                                     :asset-path "js"
                                                     :optimizations :none
                                                     :source-map true
                                                     :source-map-timestamp true}}}}}

             :prod {:cljsbuild
                    {:builds {:client {:compiler    {:optimizations :advanced
                                                     :elide-asserts true
                                                     :pretty-print false}}}}}}

  :figwheel {:repl false}

  :clean-targets ^{:protect false} ["resources/public/js"]

  :cljsbuild {:builds {:client {:source-paths ["src"]
                                :compiler     {:output-dir "resources/public/js"
                                               :output-to  "resources/public/js/client.js"}}}})

(defproject simple-re-frame "0.5.0"
  :dependencies [[org.clojure/clojure       "1.7.0"]
                 [org.clojure/clojurescript "1.7.145"]
                 [reagent "0.5.1"]
                 [re-frame "0.5.0"]]

  :plugins [[lein-cljsbuild "1.1.0"]
            [lein-figwheel "0.4.1"]]

  :hooks [leiningen.cljsbuild]

  :profiles {:dev {:cljsbuild
                   {:builds {:client {:source-paths ["devsrc"]
                                      :compiler     {:main simpleexample.dev
                                                     :asset-path "js"
                                                     :optimizations :none
                                                     :source-map true
                                                     :source-map-timestamp true}}}}}

             :prod {:cljsbuild
                    {:builds {:client {:compiler    {:optimizations :advanced
                                                     :elide-asserts true
                                                     :pretty-print false}}}}}}

  :figwheel {:repl false}

  :clean-targets ^{:protect false} ["resources/public/js"]

  :cljsbuild {:builds {:client {:source-paths ["src"]
                                :compiler     {:output-dir "resources/public/js"
                                               :output-to  "resources/public/js/client.js"}}}})

Move example to latest versions

Move example to latest versions


;; Copyright © 2014-2017, JUXT LTD.

(def VERSION "1.3.0-alpha3")

(defproject yada/transit VERSION
  :description "Support for transit media-types"
  :license {:name "The MIT License"
            :url "https://opensource.org/licenses/MIT"}
  :pedantic? :abort
  :dependencies [[yada/core ~VERSION]
                 [com.cognitect/transit-clj "0.8.297"]])

;; Copyright © 2014-2017, JUXT LTD.

(def VERSION "1.3.0-alpha3")

(defproject yada/transit VERSION
  :description "Support for transit media-types"
  :license {:name "The MIT License"
            :url "https://opensource.org/licenses/MIT"}
  :pedantic? :abort
  :dependencies [[yada/core ~VERSION]
                 [com.cognitect/transit-clj "0.8.313"]
                 [com.cognitect/transit-java "0.8.337" :exclusions [commons-codec]]])

Fix transit dep on common-codec

Fix transit dep on common-codec


(ns clj-tutorials.main
  (:require [compojure.core :refer :all]
            [compojure.handler :as handler]
            [org.httpkit.server :refer [run-server]]))

(defroutes app-routes
  (GET "/ping" [] "pong"))

(defn run []
  (run-server (handler/api app-routes) {:port 8080 :join? false}))

(ns clj-tutorials.main
  (:require [compojure.core :refer :all]
            [compojure.handler :as handler]
            [org.httpkit.server :refer [run-server]]))

(def ongoing-requests (atom 0))

(defn- pong []
  (let [ongoing-reqs (swap! ongoing-requests inc)
        start (System/currentTimeMillis)]
    (when (= 0 (mod ongoing-reqs 10))
      (prn "Ongoing requests " ongoing-reqs))
    (Thread/sleep 50)
    (swap! ongoing-requests #(- % 1))
    "pong"))

(defroutes app-routes
  (GET "/ping" [] (pong)))

(defn run []
  (run-server (handler/api app-routes) {:port 8080 :join? false}))

Add ongoing requests counter to test server


(set-env!
  :source-paths #{"src"}
  :resource-paths #{"resources"}
  :dependencies '[[org.clojure/clojure "1.8.0"]
                  [alda "1.0.0-rc34"]])

(task-options!
  pom {:project '{{app-name}}
       :version "0.1.0-SNAPSHOT"
       :description "FIXME: write description"}
  aot {:namespace #{'{{namespace}}}}
  jar {:main '{{namespace}}})

(require '{{namespace}})

(deftask run []
  (comp
    (watch)
    (with-pre-wrap fileset
      ({{namespace}}/-main)
      fileset)))

(deftask build []
  (comp (aot) (pom) (uber) (jar) (target)))

(set-env!
  :source-paths #{"src"}
  :resource-paths #{"resources"}
  :dependencies '[[org.clojure/clojure "1.8.0"]
                  [alda "1.0.0-rc34"]])

(task-options!
  pom {:project '{{app-name}}
       :version "0.1.0-SNAPSHOT"
       :description "FIXME: write description"}
  aot {:namespace #{'{{namespace}}}}
  jar {:main '{{namespace}}})

(require '{{namespace}})

(deftask run []
  (comp
    (wait)
    (with-pre-wrap fileset
      ({{namespace}}/-main)
      fileset)))

(deftask build []
  (comp (aot) (pom) (uber) (jar) (target)))

Change watch -> wait in audio tempalte

Change watch -> wait in audio tempalte


(ns scratch
  (:require [clojure.test :as test]
            [clojure.repl :as repl]
            [eftest.runner :as eftest]
            [clojure.tools.namespace.find :as ns.find]
            [clojure.tools.namespace.repl :as ns.repl]
            [clojure.java.io :as io])
  (:import (java.io File)))

(defn init! []
  (ns.repl/disable-reload! *ns*))

(def refresh ns.repl/refresh)
(def refresh-all ns.repl/refresh-all)

(defn list-ns
  "Return list of symbols of namespaces found in src dir"
  []
  (ns.find/find-namespaces-in-dir (File. "./src/")))

(defn t
  "Reload and run tests. Without arguments run all tests.
  If argument is passed (String) is interpreted as a regex to
  find a namespace"
  ([]
   (refresh)
   (eftest/run-tests (eftest/find-tests "test")))
  ([pattern]
   (let [regex (re-pattern pattern)
         nss (filter (fn [v] (re-find regex (str v)))
                     (eftest/find-tests "test"))]
     (refresh)
     (eftest/run-tests nss))))

(println "yo")
(init!)

(ns scratch
  (:require [clojure.test :as test]
            [clojure.repl :as repl]
            [eftest.runner :as eftest]
            [clojure.tools.namespace.find :as ns.find]
            [clojure.tools.namespace.repl :as ns.repl]
            [clojure.java.io :as io])
  (:import (java.io File)))

(def multithread (atom false))
(defn init! []
  (ns.repl/disable-reload! *ns*))

(def refresh ns.repl/refresh)
(def refresh-all ns.repl/refresh-all)

(defn list-ns
  "Return list of symbols of namespaces found in src dir"
  []
  (ns.find/find-namespaces-in-dir (File. "./src/")))

(defn t
  "Reload and run tests. Without arguments run all tests.
  If argument is passed (String) is interpreted as a regex to
  find a namespace"
  ([]
   (refresh)
   (eftest/run-tests (eftest/find-tests "test")
                      {:multithread? @multithread}))
  ([pattern]
   (let [regex (re-pattern pattern)
         nss (filter (fn [v] (re-find regex (str v)))
                     (eftest/find-tests "test"))]
     (refresh)
     (eftest/run-tests nss
                       {:multithread? @multithread}))))

(println "yo")
(init!)

Disable eftest multi threading by default


(ns onyx.messaging.aeron-media-driver
  (:require [clojure.core.async :refer [chan <!!]])
  (:import [io.aeron Aeron$Context]
           [io.aeron.driver MediaDriver MediaDriver$Context ThreadingMode]))

(defn -main [& args]
  (let [ctx (MediaDriver$Context.)
        media-driver (MediaDriver/launch ctx)]
    (println "Launched the Media Driver. Blocking forever...")
    (<!! (chan))))

(ns onyx.messaging.aeron-media-driver
  (:gen-class)
  (:require [clojure.core.async :refer [chan <!!]])
  (:import [io.aeron Aeron$Context]
           [io.aeron.driver MediaDriver MediaDriver$Context ThreadingMode]))

(defn -main [& args]
  (let [ctx (MediaDriver$Context.)
        media-driver (MediaDriver/launch ctx)]
    (println "Launched the Media Driver. Blocking forever...")
    (<!! (chan))))

Add (:gen-class) directive to allow

Add (:gen-class) directive to allow

dependent projects to use the media driver
as a jar entrypoint.


(ns workflo.macros.jscomponents
  (:require-macros [workflo.macros.jscomponents
                    :refer [defjscomponents]])
  (:require [workflo.macros.util.string]))

(def camelize-keys workflo.macros.util.string/camelize-keys)

Fix camelize-keys alias in ClojureScript


(defproject funcool/beicon "3.3.0"
  :description "Reactive Streams for Clojure(Script)"
  :url "https://github.com/funcool/beicon"
  :license {:name "BSD (2-Clause)"
            :url "http://opensource.org/licenses/BSD-2-Clause"}

  :dependencies [[org.clojure/clojure "1.8.0" :scope "provided"]
                 [org.clojure/clojurescript "1.9.521" :scope "provided"]
                 [io.reactivex.rxjava2/rxjava "2.1.0"]]

  :deploy-repositories {"releases" :clojars
                        "snapshots" :clojars}
  :source-paths ["src" "assets"]
  :test-paths ["test"]
  :jar-exclusions [#"\.swp|\.swo|user.clj"]

  :codeina {:sources ["src"]
            :reader :clojurescript
            :target "doc/dist/latest/api"
            :src-uri "http://github.com/funcool/beicon/blob/master/"
            :src-uri-prefix "#L"}

  :profiles
  {:dev {:dependencies [[org.clojure/tools.namespace "0.2.11"]
                        [funcool/promesa "1.8.1"]]

         :global-vars {*warn-on-reflection* false}
         :plugins [[funcool/codeina "0.5.0"]
                   [lein-ancient "0.6.10"]]}})

(defproject funcool/beicon "3.3.0"
  :description "Reactive Streams for Clojure(Script)"
  :url "https://github.com/funcool/beicon"
  :license {:name "BSD (2-Clause)"
            :url "http://opensource.org/licenses/BSD-2-Clause"}

  :dependencies [[org.clojure/clojure "1.8.0" :scope "provided"]
                 [org.clojure/clojurescript "1.9.521" :scope "provided"]
                 [io.reactivex.rxjava2/rxjava "2.1.0"]]

  :deploy-repositories {"releases" :clojars
                        "snapshots" :clojars}
  :source-paths ["src" "assets"]
  :test-paths ["test"]
  :jar-exclusions [#"\.swp|\.swo|user.clj"]

  :codeina {:sources ["src"]
            :reader :clojurescript
            :target "doc/dist/latest/api"
            :src-uri "http://github.com/funcool/beicon/blob/master/"
            :src-uri-prefix "#L"}

  :profiles
  {:dev {:dependencies [[org.clojure/tools.namespace "0.2.11"]
                        [funcool/promesa "1.8.1"]]
         :aliases {"test-all" ["with-profile" "dev,1.9:dev,1.7:dev" "test"]}
         :global-vars {*warn-on-reflection* false}
         :plugins [[funcool/codeina "0.5.0"]
                   [lein-ancient "0.6.10"]]}
   :1.9 {:dependencies [[org.clojure/clojure "1.9.0-alpha16"]]}
   :1.7 {:dependencies [[org.clojure/clojure "1.7.0"]]}})

Add `test-all` alias for test with different clojure versions.


(defproject visibility-2d "0.1.0"
  :description "2D Visibility"
  :url "https://toblux.github.io/visibility-2d/"

  :dependencies [[org.clojure/clojure "1.7.0"]
                 [org.clojure/clojurescript "1.7.170"]]

  :plugins [[lein-cljsbuild "1.1.1"]]

  :clean-targets ^{:protect false} ["target" "resources/public/js"]

  :hooks [leiningen.cljsbuild]

  :cljsbuild {:builds [{:id "debug"
                        :source-paths ["src-cljs"]
                        :compiler {:output-to "resources/public/js/visibility-2d.js"
                                   :output-dir "resources/public/js/out"
                                   :optimizations :none
                                   :source-map true}}
                       {:id "release"
                        :source-paths ["src-cljs"]
                        :compiler {:elide-asserts true
                                   :pretty-print false
                                   :output-to "resources/public/js/visibility-2d.min.js"
                                   :optimizations :advanced}}]})

(defproject visibility-2d "0.1.0"
  :description "2D Visibility"
  :url "https://toblux.github.io/visibility-2d/"

  :dependencies [[org.clojure/clojure "1.8.0"]
                 [org.clojure/clojurescript "1.8.51"]]

  :plugins [[lein-cljsbuild "1.1.3"]]

  :clean-targets ^{:protect false} ["target" "resources/public/js"]

  :hooks [leiningen.cljsbuild]

  :cljsbuild {:builds [{:id "debug"
                        :source-paths ["src-cljs"]
                        :compiler {:output-to "resources/public/js/visibility-2d.js"
                                   :output-dir "resources/public/js/out"
                                   :optimizations :none
                                   :source-map true}}
                       {:id "release"
                        :source-paths ["src-cljs"]
                        :compiler {:elide-asserts true
                                   :pretty-print false
                                   :output-to "resources/public/js/visibility-2d.min.js"
                                   :optimizations :advanced}}]})

Upgrade Clojure and ClojureScript versions


(defproject quil "2.0.0-SNAPSHOT"
  :description "(mix Processing Clojure)"
  :url "http://github.com/quil/quil"
  :mailing-list {:name "Quil Mailing List"
                 :archive "https://groups.google.com/forum/?fromgroups#!forum/clj-processing"
                 :post "clj-processing@googlegroups.com"}
  :license {:name "Common Public License - v 1.0"
            :url "http://www.opensource.org/licenses/cpl1.0"}
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [quil/processing-core "2.1.2"]
                 [quil/processing-pdf "2.1.2"]
                 [quil/processing-dxf "2.1.2"]
                 [quil/jogl-fat "2.1.5"]
                 [quil/gluegen-rt-fat "2.1.5"]
                 [com.lowagie/itext "2.1.7"]]
  :aot [quil.helpers.applet-listener quil.applet])

(defproject quil "2.0.0-SNAPSHOT"
  :description "(mix Processing Clojure)"
  :url "http://github.com/quil/quil"
  :mailing-list {:name "Quil Mailing List"
                 :archive "https://groups.google.com/forum/?fromgroups#!forum/clj-processing"
                 :post "clj-processing@googlegroups.com"}
  :license {:name "Common Public License - v 1.0"
            :url "http://www.opensource.org/licenses/cpl1.0"}
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [quil/processing-core "2.1.2"]
                 [quil/processing-pdf "2.1.2"]
                 [quil/processing-dxf "2.1.2"]
                 [quil/jogl-all-fat "2.1.5"]
                 [quil/gluegen-rt-fat "2.1.5"]
                 [com.lowagie/itext "2.1.7"]]
  :aot [quil.helpers.applet-listener quil.applet])

Use correct name for jogl: jogl-all.

Use correct name for jogl: jogl-all.


(defproject buddy/buddy-auth "0.6.1"
  :description "Authentication and Authorization facilities for ring based web applications."
  :url "https://github.com/funcool/buddy-auth"
  :license {:name "Apache 2.0"
            :url "http://www.apache.org/licenses/LICENSE-2.0"}
  :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
                 [buddy/buddy-sign "0.6.1"]
                 [funcool/cuerdas "0.6.0"]
                 [clout "2.1.2"]]
  :source-paths ["src"]
  :test-paths ["test"]
  :jar-exclusions [#"\.cljx|\.swp|\.swo|user.clj"]
  :javac-options ["-target" "1.7" "-source" "1.7" "-Xlint:-options"]
  :profiles {:dev {:codeina {:sources ["src"]
                             :reader :clojure
                             :target "doc/dist/latest/api"
                             :src-uri "http://github.com/funcool/buddy-auth/blob/master/"
                             :src-uri-prefix "#L"}
                   :plugins [[funcool/codeina "0.2.0"
                              :exclusions [org.clojure/clojure]]
                             [lein-ancient "0.6.7"]]}})

(defproject buddy/buddy-auth "0.6.1"
  :description "Authentication and Authorization facilities for ring based web applications."
  :url "https://github.com/funcool/buddy-auth"
  :license {:name "Apache 2.0"
            :url "http://www.apache.org/licenses/LICENSE-2.0"}
  :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
                 [buddy/buddy-sign "0.6.1"]
                 [funcool/cuerdas "0.6.0"]
                 [clout "2.1.2"]]
  :source-paths ["src"]
  :test-paths ["test"]
  :jar-exclusions [#"\.cljx|\.swp|\.swo|user.clj"]
  :javac-options ["-target" "1.7" "-source" "1.7" "-Xlint:-options"]
  :profiles {:dev {:codeina {:sources ["src"]
                             :reader :clojure
                             :target "doc/dist/latest/api"
                             :src-uri "http://github.com/funcool/buddy-auth/blob/master/"
                             :src-uri-prefix "#L"}
                   :plugins [[funcool/codeina "0.3.0"]
                             [lein-ancient "0.6.7"]]}})

Update codeina version to 0.3.0.

Update codeina version to 0.3.0.


(defproject clj-gatling "0.5.3"
  :description ""
  :url "http://github.com/mhjort/clj-gatling"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [org.clojure/core.async "0.1.346.0-17112a-alpha"]
                 [clojure-csv/clojure-csv "2.0.1"]
                 [http-kit "2.1.18"]
                 [clj-time "0.8.0"]
                 [io.gatling/gatling-charts "2.0.3"]
                 [io.gatling.highcharts/gatling-charts-highcharts "2.0.3"]]
  :repositories { "excilys" "http://repository.excilys.com/content/groups/public" }
  :profiles {:dev {:dependencies [[clj-containment-matchers "0.9.3"]] }})

(defproject clj-gatling "0.5.3"
  :description ""
  :url "http://github.com/mhjort/clj-gatling"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [org.clojure/core.async "0.1.346.0-17112a-alpha"]
                 [clojure-csv/clojure-csv "2.0.1"]
                 [http-kit "2.1.18"]
                 [clj-time "0.8.0"]
                 [io.gatling/gatling-charts "2.0.3"
                   :exclusions [com.typesafe.akka/akka-actor_2.10
                                org.jodd/jodd-lagarto
                                com.fasterxml.jackson.core/jackson-databind
                                net.sf.saxon/Saxon-HE]]
                 [io.gatling.highcharts/gatling-charts-highcharts "2.0.3"
                   :exclusions [io.gatling/gatling-app io.gatling/gatling-recorder]]]
  :repositories { "excilys" "http://repository.excilys.com/content/groups/public" }
  :profiles {:dev {:dependencies [[clj-containment-matchers "0.9.3"]] }})

Exclude some transitive dependencies from Gatling. Those were not needed for generating charts.


(let [dev-deps '[[midje "1.4.0" :exclusions [org.clojure/clojure]]]]

  (defproject reply "0.1.0-SNAPSHOT"
    :description "REPL-y: A fitter, happier, more productive REPL for Clojure."
    :dependencies [[org.clojure/clojure "1.4.0"]
                   [org.clojars.trptcolin/jline "2.8-SNAPSHOT"]
                   [org.thnetos/cd-client "0.3.4"]
                   [clj-stacktrace "0.2.4"]
                   [org.clojure/tools.nrepl "0.2.0-beta8"]
                   [org.clojure/tools.cli "0.2.1"]
                   [com.cemerick/drawbridge "0.0.6"]
                   [trptcolin/versioneer "0.1.0"]
                   [clojure-complete "0.2.1"]]
    :profiles {:dev {:dependencies ~dev-deps}}
    :dev-dependencies ~dev-deps
    :aot [reply.reader.jline.JlineInputReader]
    :source-path "src/clj"
    :java-source-path "src/java"
    :source-paths ["src/clj"]
    :java-source-paths ["src/java"]
    :main ^{:skip-aot true} reply.main))

(let [dev-deps '[[midje "1.4.0" :exclusions [org.clojure/clojure]]]]

  (defproject reply "0.1.0-SNAPSHOT"
    :description "REPL-y: A fitter, happier, more productive REPL for Clojure."
    :dependencies [[org.clojure/clojure "1.4.0"]
                   [org.clojars.trptcolin/jline "2.8-alpha1"]
                   [org.thnetos/cd-client "0.3.4"]
                   [clj-stacktrace "0.2.4"]
                   [org.clojure/tools.nrepl "0.2.0-beta8"]
                   [org.clojure/tools.cli "0.2.1"]
                   [com.cemerick/drawbridge "0.0.6"]
                   [trptcolin/versioneer "0.1.0"]
                   [clojure-complete "0.2.1"]]
    :profiles {:dev {:dependencies ~dev-deps}}
    :dev-dependencies ~dev-deps
    :aot [reply.reader.jline.JlineInputReader]
    :source-path "src/clj"
    :java-source-path "src/java"
    :source-paths ["src/clj"]
    :java-source-paths ["src/java"]
    :main ^{:skip-aot true} reply.main))

Bump to non-snapshot jline (current master)


(defproject figwheel-node/lein-template "0.1.0"
  :description "Leiningen template for Figwheel and Node.js"
  :url "https://github.com/malyn/figwheel-node-template"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :scm {:name "git"
        :url "https://github.com/malyn/figwheel-node-template"}
  :eval-in-leiningen true)

(defproject figwheel-node/lein-template "0.1.1"
  :description "Leiningen template for Figwheel and Node.js"
  :url "https://github.com/malyn/figwheel-node-template"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :scm {:name "git"
        :url "https://github.com/malyn/figwheel-node-template"}
  :eval-in-leiningen true)

Bump the version to 0.1.1

Bump the version to 0.1.1


(defproject funcool/continuo "0.1.0-SNAPSHOT"
  :description "A continuous transaction log persistence for Clojure."
  :url "https://github.com/funcool/continuo"
  :license {:name "Apache 2.0"
            :url "http://www.apache.org/licenses/LICENSE-2.0.txt"}
  :javac-options ["-target" "1.8" "-source" "1.8" "-Xlint:-options"]
  :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
                 [com.taoensso/nippy "2.10.0"]
                 [funcool/cats "1.1.0-SNAPSHOT"]
                 [funcool/cuerdas "0.6.0"]
                 [funcool/promissum "0.4.0-SNAPSHOT"]
                 [funcool/suricatta "0.5.0-SNAPSHOT"]
                 [com.h2database/h2 "1.4.189"]
                 [org.postgresql/postgresql "9.4-1202-jdbc42"]
                 [danlentz/clj-uuid "0.1.6"]
                 [hikari-cp "1.3.1"]
                 [cheshire "5.5.0"]
                 [com.github.spullara.mustache.java/compiler "0.9.1"]]
  :plugins [[lein-ancient "0.6.7"]])

(defproject funcool/continuo "0.1.0-SNAPSHOT"
  :description "A continuous transaction log persistence for Clojure."
  :url "https://github.com/funcool/continuo"
  :license {:name "Apache 2.0"
            :url "http://www.apache.org/licenses/LICENSE-2.0.txt"}
  :javac-options ["-target" "1.8" "-source" "1.8" "-Xlint:-options"]
  :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
                 [com.taoensso/nippy "2.10.0"]
                 [funcool/cats "1.1.0-SNAPSHOT"]
                 [funcool/cuerdas "0.6.0"]
                 [funcool/promissum "0.3.2"]
                 [funcool/suricatta "0.5.0"]
                 [com.h2database/h2 "1.4.189"]
                 [org.postgresql/postgresql "9.4-1202-jdbc42"]
                 [danlentz/clj-uuid "0.1.6"]
                 [hikari-cp "1.3.1"]
                 [cheshire "5.5.0"]
                 [com.github.spullara.mustache.java/compiler "0.9.1"]]
  :plugins [[lein-ancient "0.6.7"]])

Update promissum and suricatta versions.


(defproject uruk "0.3.5"
  :description "Clojure wrapper of MarkLogic XML Content Connector For Java (XCC/J)"
  :url "https://github.com/daveliepmann/uruk"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.8.0"]
                 [com.marklogic/marklogic-xcc "8.0.6"]
                 ;; required but not included by MarkLogic (e.g. for ContentFactory):
                 [com.fasterxml.jackson.core/jackson-databind "2.6.3"]
                 [org.clojure/data.json "0.2.6"]
                 [org.clojure/data.xml "0.1.0-beta2"]
                 [slingshot "0.12.2"]]
  :checksum :warn
  ;; TODO remove this workaround -- MarkLogic's Maven repo doesn't have checksums?
  :repositories [["MarkLogic-releases" "http://developer.marklogic.com/maven2"]])

(defproject uruk "0.3.5"
  :description "Clojure wrapper of MarkLogic XML Content Connector For Java (XCC/J)"
  :url "https://github.com/daveliepmann/uruk"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.8.0"]
                 [com.marklogic/marklogic-xcc "9.0.20170113"]
                 ;; [com.marklogic/marklogic-xcc "8.0.6"]
                 ;; required but not included by MarkLogic (e.g. for ContentFactory):
                 [com.fasterxml.jackson.core/jackson-databind "2.6.3"]
                 [org.clojure/data.json "0.2.6"]
                 [org.clojure/data.xml "0.1.0-beta2"]
                 [slingshot "0.12.2"]]
  :checksum :warn
  ;; TODO remove this workaround -- MarkLogic's Maven repo doesn't have checksums?
  :repositories [["MarkLogic-releases" "http://developer.marklogic.com/maven2"]
                 ["local" "file:jar"]]
  :plugins [[lein-localrepo "0.5.3"]])

Use local repository for ML9

Use local repository for ML9


(defproject funcool/beicon "0.5.1"
  :description "Reactive Streams for ClojureScript (built on top of RxJS 4.x)"
  :url "https://github.com/funcool/beicon"
  :license {:name "Public Domain" :url "http://unlicense.org/"}
  :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
                 [org.clojure/clojurescript "1.7.189" :scope "provided"]
                 [funcool/promesa "0.7.0" :scope "provided"]
                 [funcool/cats "1.2.1"]]
  :deploy-repositories {"releases" :clojars
                        "snapshots" :clojars}
  :source-paths ["src" "assets"]
  :test-paths ["test"]
  :jar-exclusions [#"\.swp|\.swo|user.clj"]

  :codeina {:sources ["src"]
            :reader :clojurescript
            :target "doc/dist/latest/api"
            :src-uri "http://github.com/funcool/beicon/blob/master/"
            :src-uri-prefix "#L"}

  :plugins [[funcool/codeina "0.3.0"]])

(defproject funcool/beicon "0.5.1"
  :description "Reactive Streams for ClojureScript (built on top of RxJS 4.x)"
  :url "https://github.com/funcool/beicon"
  :license {:name "Public Domain" :url "http://unlicense.org/"}
  :dependencies [[org.clojure/clojure "1.8.0" :scope "provided"]
                 [org.clojure/clojurescript "1.7.228" :scope "provided"]
                 [funcool/promesa "0.7.0" :scope "provided"]
                 [funcool/cats "1.2.1"]]
  :deploy-repositories {"releases" :clojars
                        "snapshots" :clojars}
  :source-paths ["src" "assets"]
  :test-paths ["test"]
  :jar-exclusions [#"\.swp|\.swo|user.clj"]

  :codeina {:sources ["src"]
            :reader :clojurescript
            :target "doc/dist/latest/api"
            :src-uri "http://github.com/funcool/beicon/blob/master/"
            :src-uri-prefix "#L"}

  :plugins [[funcool/codeina "0.3.0"]])

Update clj and cljs compiler versions.

Update clj and cljs compiler versions.


(def root-ns "org.broadinstitute")
(def build-dir-relative "target")

(defproject org.broadinstitute/firecloud-ui "0.0.1"
  :dependencies
  [
   ;; React library and cljs bindings for React.
   [dmohs/react "0.2.7"]
   [org.clojure/clojure "1.7.0"]
   [org.clojure/clojurescript "1.7.48"]
   [inflections "0.9.14"]
   ]
  :plugins [[lein-cljsbuild "1.0.6"] [lein-figwheel "0.3.7"]]
  :hooks [leiningen.cljsbuild]
  :profiles {:dev {:cljsbuild
                   {:builds {:client {:compiler
                                      {:optimizations :none
                                       :source-map true
                                       :source-map-timestamp true}
                                      :figwheel
                                      {:on-jsload ~(str root-ns
                                                        ".firecloud-ui.main/dev-reload")}}}}}
             :release {:cljsbuild
                       {:builds {:client {:compiler
                                          {:optimizations :advanced
                                           :pretty-print false
                                           :closure-defines {"goog.DEBUG" false}}}}}}}
  :cljsbuild {:builds {:client {:source-paths ["src/cljs"]
                                :compiler {:output-dir ~(str build-dir-relative "/build")
                                           :output-to ~(str build-dir-relative "/compiled.js")}}}})

(def root-ns "org.broadinstitute")
(def build-dir-relative "target")

(defproject org.broadinstitute/firecloud-ui "0.0.1"
  :dependencies
  [
   ;; React library and cljs bindings for React.
   [dmohs/react "0.2.8"]
   [org.clojure/clojure "1.7.0"]
   [org.clojure/clojurescript "1.7.48"]
   [inflections "0.9.14"]
   ]
  :plugins [[lein-cljsbuild "1.0.6"] [lein-figwheel "0.3.7"]]
  :hooks [leiningen.cljsbuild]
  :profiles {:dev {:cljsbuild
                   {:builds {:client {:compiler
                                      {:optimizations :none
                                       :source-map true
                                       :source-map-timestamp true}
                                      :figwheel
                                      {:on-jsload ~(str root-ns
                                                        ".firecloud-ui.main/dev-reload")}}}}}
             :release {:cljsbuild
                       {:builds {:client {:compiler
                                          {:optimizations :advanced
                                           :pretty-print false
                                           :closure-defines {"goog.DEBUG" false}}}}}}}
  :cljsbuild {:builds {:client {:source-paths ["src/cljs"]
                                :compiler {:output-dir ~(str build-dir-relative "/build")
                                           :output-to ~(str build-dir-relative "/compiled.js")}}}})

Fix hot reloading bug... See this commit: https://github.com/dmohs/react-cljs/commit/3c2f255ee607391547a289546c9da919e940c3eb


(defproject naughtmq "0.0.2-SNAPSHOT"
  :description "A native-embedding wrapper for jzmq"
  :url "https://github.com/gaverhae/naughtmq"
  :scm {:name "git"
        :url "https://github.com/gaverhae/naughtmq"}
  :signing {:gpg-key "gary.verhaegen@gmail.com"}
  :deploy-repositories [["clojars" {:creds :gpg}]]
  :pom-addition [:developers [:developer
                              [:name "Gary Verhaegen"]
                              [:url "https://github.com/gaverhae"]
                              [:email "gary.verhaegen@gmail.com"]
                              [:timezone "+1"]]]
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [com.taoensso/timbre "3.1.6"]
                 [org.zeromq/jzmq "2.2.2"]]
  :java-source-paths ["src"])

(defproject naughtmq "0.0.2-SNAPSHOT"
  :description "A native-embedding wrapper for jzmq"
  :url "https://github.com/gaverhae/naughtmq"
  :scm {:name "git"
        :url "https://github.com/gaverhae/naughtmq"}
  :signing {:gpg-key "gary.verhaegen@gmail.com"}
  :deploy-repositories [["clojars" {:creds :gpg}]]
  :pom-addition [:developers [:developer
                              [:name "Gary Verhaegen"]
                              [:url "https://github.com/gaverhae"]
                              [:email "gary.verhaegen@gmail.com"]
                              [:timezone "+1"]]]
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [com.taoensso/timbre "3.1.6"]
                 [org.zeromq/jzmq "2.2.2"]]
  :javac-options ["-target" "1.6" "-source" "1.6"]
  :java-source-paths ["src"])

Set compatibility with older JVMs

Set compatibility with older JVMs


(defproject io.aviso/rook "0.1.6-SNAPSHOT"
  :description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps"
  :url "https://github.com/AvisoNovate/rook"
  :license {:name "Apache Sofware Licencse 2.0"
            :url  "http://www.apache.org/licenses/LICENSE-2.0.html"}
  ;; Normally we don't AOT compile; only when tracking down reflection warnings.
  :profiles {:reflection-warnings {:aot         :all
                                   :global-vars {*warn-on-reflection* true}}
             :dev {:dependencies [[ring-mock "0.1.5"]
                                  [log4j "1.2.17"]]}}
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [org.clojure/tools.logging "0.2.6"]
                 [compojure "1.1.6"]]
  :plugins [[test2junit "1.0.1"]])

(defproject io.aviso/rook "0.1.6"
  :description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps"
  :url "https://github.com/AvisoNovate/rook"
  :license {:name "Apache Sofware Licencse 2.0"
            :url  "http://www.apache.org/licenses/LICENSE-2.0.html"}
  ;; Normally we don't AOT compile; only when tracking down reflection warnings.
  :profiles {:reflection-warnings {:aot         :all
                                   :global-vars {*warn-on-reflection* true}}
             :dev {:dependencies [[ring-mock "0.1.5"]
                                  [log4j "1.2.17"]]}}
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [org.clojure/tools.logging "0.2.6"]
                 [compojure "1.1.6"]]
  :plugins [[test2junit "1.0.1"]])

Update version number prior to release

Update version number prior to release


(defproject dstt "0.1.0-SNAPSHOT"
  :description "The Damn Simple Test Tool"
  :dependencies [[org.clojure/clojure "1.7.0"]
                 [clj-http "2.0.0"]
                 [org.clojure/tools.cli "0.3.3"]
                 [org.clojure/data.json "0.2.6"]]
  :main frmr.dstt)

(defproject dstt "0.1.0"
  :description "The Damn Simple Test Tool"
  :dependencies [[org.clojure/clojure "1.7.0"]
                 [clj-http "2.0.0"]
                 [org.clojure/tools.cli "0.3.3"]
                 [org.clojure/data.json "0.2.6"]]
  :main frmr.dstt)

Bump version for 0.1.0 release.

Bump version for 0.1.0 release.


(let [dev-deps '[[midje "1.3-alpha4" :exclusions [org.clojure/clojure]]]]

  (defproject reply "0.1.0-SNAPSHOT"
    :description "REPL-y: A fitter, happier, more productive REPL for Clojure."
    :dependencies [[org.clojure/clojure "1.3.0"]
                   [jline "2.7"]
                   [org.thnetos/cd-client "0.3.4"]
                   [clj-stacktrace "0.2.4"]
                   [org.clojure/tools.nrepl "0.2.0-beta8"]
                   [org.clojure/tools.cli "0.2.1"]
                   [com.cemerick/drawbridge "0.0.6"]
                   [trptcolin/versioneer "0.1.0"]
                   [clojure-complete "0.2.1"]]
    :profiles {:dev {:dependencies ~dev-deps}}
    :dev-dependencies ~dev-deps
    :aot [reply.reader.jline.JlineInputReader]
    :source-path "src/clj"
    :java-source-path "src/java"
    :source-paths ["src/clj"]
    :java-source-paths ["src/java"]
    :main ^{:skip-aot true} reply.main))

(let [dev-deps '[[midje "1.3-alpha4" :exclusions [org.clojure/clojure]]]]

  (defproject reply "0.1.0-SNAPSHOT"
    :description "REPL-y: A fitter, happier, more productive REPL for Clojure."
    :dependencies [[org.clojure/clojure "1.3.0"]
                   [org.clojars.trptcolin/jline "2.8-SNAPSHOT"]
                   [org.thnetos/cd-client "0.3.4"]
                   [clj-stacktrace "0.2.4"]
                   [org.clojure/tools.nrepl "0.2.0-beta8"]
                   [org.clojure/tools.cli "0.2.1"]
                   [com.cemerick/drawbridge "0.0.6"]
                   [trptcolin/versioneer "0.1.0"]
                   [clojure-complete "0.2.1"]]
    :profiles {:dev {:dependencies ~dev-deps}}
    :dev-dependencies ~dev-deps
    :aot [reply.reader.jline.JlineInputReader]
    :source-path "src/clj"
    :java-source-path "src/java"
    :source-paths ["src/clj"]
    :java-source-paths ["src/java"]
    :main ^{:skip-aot true} reply.main))

Move to my jline fork

Move to my jline fork

While we're waiting for release, this takes care of #67


(defproject brevis "0.5.3-SNAPSHOT"
  :description "A Second-Generation Artificial Life Simulator"
  :url "https://github.com/kephale/brevis"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :jvm-opts ["-Xmx2g"]
  :resource-paths ["resources"]
  :plugins [[lein-marginalia "0.7.1"]]
  :java-source-paths ["java"]
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [org.clojure/math.numeric-tower "0.0.2"]
                 [java3d/vecmath "1.3.1"]
;                 [kephale/ode4j "0.12.0-j1.4"]
                 [kephale/ode4j "20130414_001"]
                 [kephale/penumbra "0.6.7"]
                 [kephale/slick-util "1.0.1"]
                 [org.l33tlabs.twl/pngdecoder "1.0"]
                 [com.nitayjoffe.thirdparty.net.robowiki.knn/knn-benchmark "0.1"]
                 [clj-random "0.1.5"]
                 ;[com.googlecode.efficient-java-matrix-library/ejml "0.23"]
                 ])

(defproject brevis "0.5.3-SNAPSHOT"
  :description "A Second-Generation Artificial Life Simulator"
  :url "https://github.com/kephale/brevis"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :jvm-opts ["-Xmx2g"]
  :resource-paths ["resources"]
  :plugins [[lein-marginalia "0.7.1"]]
  :java-source-paths ["java"]
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [org.clojure/math.numeric-tower "0.0.2"]
                 [java3d/vecmath "1.3.1"]
;                 [kephale/ode4j "0.12.0-j1.4"]
                 ;[kephale/ode4j "20130414_001"]
                 [org.ode4j/core "0.2.7"]
                 [kephale/penumbra "0.6.7"]
                 [kephale/slick-util "1.0.1"]
                 [org.l33tlabs.twl/pngdecoder "1.0"]
                 [com.nitayjoffe.thirdparty.net.robowiki.knn/knn-benchmark "0.1"]
                 [clj-random "0.1.5"]
                 ;[com.googlecode.efficient-java-matrix-library/ejml "0.23"]
                 ])

Switch to official ode4j release

Switch to official ode4j release


(defproject beehive-http "0.1.1-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME"
  :license {:name "Apache License, Version 2.0"
            :url "http://www.apache.org/licenses/LICENSE-2.0"}
  :java-source-paths ["src/java"]
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [com.ning/async-http-client "1.9.31"]
                 [net.uncontended/beehive "0.5.5"]])

(defproject beehive-http "0.1.1-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME"
  :license {:name "Apache License, Version 2.0"
            :url "http://www.apache.org/licenses/LICENSE-2.0"}
  :java-source-paths ["src/java"]
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [com.ning/async-http-client "1.9.31"]
                 [net.uncontended/beehive "0.5.6"]])

Bump to latest beehive version

Bump to latest beehive version


(defproject reiddraper/simple-check "0.5.3-SNAPSHOT"
  :description "A QuickCheck inspired property-based testing library."
  :url "http://github.com/reiddraper/simple-check"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies []
  :profiles {:dev {:dependencies [[org.clojure/clojure "1.5.0"]
                                  [codox-md "0.2.0" :exclusions [org.clojure/clojure]]]}}
  :global-vars {*warn-on-reflection* true}
  :codox {:writer codox-md.writer/write-docs}
  :plugins [[codox "0.6.4"]])

(defproject reiddraper/simple-check "0.5.3-SNAPSHOT"
  :description "A QuickCheck inspired property-based testing library."
  :url "http://github.com/reiddraper/simple-check"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies []
  :profiles {:dev {:dependencies [[org.clojure/clojure "1.5.1"]
                                  [codox-md "0.2.0" :exclusions [org.clojure/clojure]]]}}
  :global-vars {*warn-on-reflection* true}
  :codox {:writer codox-md.writer/write-docs}
  :plugins [[codox "0.6.4"]])

Update Clojure dev-dependency to 1.5.1

Update Clojure dev-dependency to 1.5.1


(defproject com.wsscode/pathom "2.0.0-beta2-SNAPSHOT"
  :description "A Clojure library designed to provide a collection of helper functions to support Clojure(script) graph parsers using\nom.next graph syntax."
  :url "http://example.com/FIXME"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}

  :source-paths ["src"]

  :dependencies [[org.clojure/clojure "1.9.0" :scope "provided"]
                 [org.clojure/clojurescript "1.9.671" :scope "provided"]
                 [org.clojure/core.async "0.3.443" :scope "provided"]
                 [org.clojure/math.combinatorics "0.1.4"]
                 [com.wsscode/spec-inspec "1.0.0-alpha2"]
                 [fulcrologic/fulcro "2.1.8" :scope "provided"]
                 [org.clojure/test.check "0.9.0" :scope "provided"]
                 [camel-snake-kebab "0.4.0"]]

  :profiles {:dev {:source-paths ["src" "doc-examples"]}})

(defproject com.wsscode/pathom "2.0.0-beta2-SNAPSHOT"
  :description "A Clojure library designed to provide a collection of helper functions to support Clojure(script) graph parsers using\nom.next graph syntax."
  :url "http://example.com/FIXME"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}

  :source-paths ["src"]

  :dependencies [[org.clojure/clojure "1.9.0" :scope "provided"]
                 [org.clojure/clojurescript "1.9.671" :scope "provided"]
                 [org.clojure/core.async "0.3.443" :scope "provided"]
                 [org.clojure/math.combinatorics "0.1.4"]
                 [com.wsscode/spec-inspec "1.0.0-alpha2"]
                 [fulcrologic/fulcro "2.1.8" :scope "provided"]
                 [org.clojure/test.check "0.9.0"]
                 [camel-snake-kebab "0.4.0"]]

  :profiles {:dev {:source-paths ["src" "doc-examples"]}})

Make test.check a real dependency

Make test.check a real dependency