Permalink
Browse files

Release 0.2.7 with an NPE fix.

  • Loading branch information...
1 parent 344fa2c commit 6ca09a21e7ef55c0e4090a5acb2c75f66378fd53 @technomancy technomancy committed Oct 14, 2013
Showing with 11 additions and 25 deletions.
  1. +1 −1 LICENSE
  2. +8 −22 README.md
  3. +2 −2 project.clj
View
2 LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009 Mark McGranaghan +Copyright © 2009-2013 Mark McGranaghan and contributors
Permission is hereby granted, free of charge, to any person Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation obtaining a copy of this software and associated documentation
View
30 README.md
@@ -48,39 +48,25 @@ The library also offers an API for programatically 'parsing' exceptions. This AP
## Leiningen ## Leiningen
-If you use Leiningen, you can install clj-stacktrace on a per-user basis. +If you use Leiningen, you can install clj-stacktrace on a user-wide
- +basis. Just add the following to `~/.lein/profiles.clj`:
-For Leiningen 2.x, add the following to `~/.lein/profiles.clj`:
```clj ```clj
-{:user {:dependencies [[clj-stacktrace "0.2.5"]] +{:user {:dependencies [[clj-stacktrace "0.2.7"]]
:injections [(let [orig (ns-resolve (doto 'clojure.stacktrace require) :injections [(let [orig (ns-resolve (doto 'clojure.stacktrace require)
'print-cause-trace) 'print-cause-trace)
new (ns-resolve (doto 'clj-stacktrace.repl require) new (ns-resolve (doto 'clj-stacktrace.repl require)
'pst)] 'pst)]
(alter-var-root orig (constantly @new)))]}} (alter-var-root orig (constantly @new)))]}}
``` ```
-For Leiningen 1.x: +The `:injections` clause replaces the built-in stack trace printing
- +with enhanced clj-stacktrace version; you can leave it out if you plan
- $ lein plugin install clj-stacktrace 0.2.5 +on invoking clj-stacktrace functions directly or are using tools which
- +are already clj-stacktrace-aware.
-Add this to your `~/.lein/init.clj` file:
-
-```clj
-(try (require 'leiningen.hooks.clj-stacktrace-test)
- (def settings {:repl-options [:init (require 'clj-stacktrace.repl)
- :caught 'clj-stacktrace.repl/pst+]})
- (catch java.io.FileNotFoundException _))
-```
-
-The hook will enable clj-stacktrace to be used across all the projects
-you work on in clojure.test and other things that use the
-clojure.stacktrace library. The `:repl-options` settings will cause
-clj-stacktrace to be used in the repl and swank tasks.
## License ## License
-Copyright © 2009-2012 Mark McGranaghan and contributors. +Copyright © 2009-2013 Mark McGranaghan and contributors.
Released under an MIT license. Released under an MIT license.
View
4 project.clj
@@ -1,5 +1,5 @@
-(defproject clj-stacktrace "0.2.6" +(defproject clj-stacktrace "0.2.7"
:description "More readable stacktraces in Clojure programs." :description "More readable stacktraces in Clojure programs."
- :url "http://github.com/mmcgrana/clj-stacktrace" + :url "https://github.com/mmcgrana/clj-stacktrace"
:license {:name "MIT" :url "http://opensource.org/licenses/MIT"} :license {:name "MIT" :url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.4.0"]]) :dependencies [[org.clojure/clojure "1.4.0"]])

0 comments on commit 6ca09a2

Please sign in to comment.