<commit_before>(defproject d-cent "0.0.1-SNAPSHOT"
  :description "Cool new project to do things and stuff"
  :min-lein-version "2.0.0"
  :test-paths ["test" "integration"]
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [http-kit "2.1.16"]
                 [org.clojure/tools.logging "0.3.1"]
                 [bidi "1.12.0"]
                 [ring "1.3.2"]
                 [ring/ring-json "0.3.1"]
                 [ring/ring-anti-forgery "1.0.0"]
                 [org.apache.httpcomponents/httpclient "4.3.5"]
                 [com.cemerick/friend "0.2.1" :exclusions [robert/hooke]]
                 [de.ubercode.clostache/clostache "1.4.0"]
                 [enlive "1.1.5"]
                 [com.taoensso/tower "3.0.2"]
                 [clj-oauth "1.5.1"]
                 [cheshire "5.4.0"]
                 [clj-time "0.9.0"]
                 [korma "0.3.0"]
                 [postgresql "9.1-901.jdbc4"]
                 [ragtime "0.3.8"] ]
  :main d-cent.core
  :aot [d-cent.core]
  :plugins [[ragtime/ragtime.lein "0.3.7"]]
  :ragtime {:migrations ragtime.sql.files/migrations
            :database "jdbc:postgresql://localhost/dcent?user=dcent&password=<PASSWORD>"}
  :profiles {:dev {:dependencies [[midje "1.6.3"]
                                  [ring/ring-mock "0.2.0"]
                                  [http-kit.fake "0.2.1"]
                                  [javax.servlet/servlet-api "2.5"]
                                  [peridot "0.3.1"]]
                   :plugins [[lein-midje "3.1.3"]
                             [jonase/eastwood "0.2.1"]]}})<commit_msg>DM/RS - #40 Experimenting with Snap CI DB config<commit_after>(def database-connection-url
  (or (System/getenv "SNAP_DB_PG_JDBC_URL") 
      "jdbc:postgresql://localhost/dcent?user=dcent&password=<PASSWORD>"))

(prn database-connection-url)

(defproject d-cent "0.0.1-SNAPSHOT"
  :description "Cool new project to do things and stuff"
  :min-lein-version "2.0.0"
  :test-paths ["test" "integration"]
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [http-kit "2.1.16"]
                 [org.clojure/tools.logging "0.3.1"]
                 [bidi "1.12.0"]
                 [ring "1.3.2"]
                 [ring/ring-json "0.3.1"]
                 [ring/ring-anti-forgery "1.0.0"]
                 [org.apache.httpcomponents/httpclient "4.3.5"]
                 [com.cemerick/friend "0.2.1" :exclusions [robert/hooke]]
                 [de.ubercode.clostache/clostache "1.4.0"]
                 [enlive "1.1.5"]
                 [com.taoensso/tower "3.0.2"]
                 [clj-oauth "1.5.1"]
                 [cheshire "5.4.0"]
                 [clj-time "0.9.0"]
                 [korma "0.3.0"]
                 [postgresql "9.1-901.jdbc4"]
                 [ragtime "0.3.8"] ]
  :main d-cent.core
  :aot [d-cent.core]
  :plugins [[ragtime/ragtime.lein "0.3.7"]]
  :profiles {:dev {:dependencies [[midje "1.6.3"]
                                  [ring/ring-mock "0.2.0"]
                                  [http-kit.fake "0.2.1"]
                                  [javax.servlet/servlet-api "2.5"]
                                  [peridot "0.3.1"]]
                   :plugins [[lein-midje "3.1.3"]
                             [jonase/eastwood "0.2.1"]]
                   :ragtime {:migrations ragtime.sql.files/migrations
                             :database database-connection-url}}})
{'fraction_non_alphanumeric': 0.16388645010242903, 'fraction_numerical': 0.0520924787825578, 'mean_word_length': 1.3394934976043806, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4684740', 'n_tokens_mistral': 1233, 'n_tokens_neox': 1190, 'n_words': 186}