Skip to content

Commit

Permalink
v0.3.1, various bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Waeselynck committed Jul 18, 2018
1 parent aa7cfbb commit f433350
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).

## [Unreleased]
### 0.3.0 - 2018-07-17

## 0.3.0 - 2018-07-18
### Fixed
- Missing require in impl.cljc
- Fixed error thrown by last-ep-id when no EP saved yet

## 0.3.0 - 2018-07-17
### Added
- spyqt / brkqt: less verbose counterparts to spy / brk
- sc.api/calling-from and :sc/called-from option

### 0.2.1 - 2018-06-12
## 0.2.1 - 2018-06-12
### Fixed
- Fixed bug causing dispose-all! to fail systematically

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# scope-capture

`[vvvvalvalval/scope-capture "0.3.0"]`
`[vvvvalvalval/scope-capture "0.3.1"]`

[![Clojars Project](https://img.shields.io/clojars/v/vvvvalvalval/scope-capture.svg)](https://clojars.org/vvvvalvalval/scope-capture)

Expand Down Expand Up @@ -55,7 +55,7 @@ With both Leiningen and Boot, it's better not to include `scope-capture` in your
Add the following to the `:user` profile in `~/.lein/profiles.clj`:

``` clojure
:dependencies [[vvvvalvalval/scope-capture "0.3.0"]]
:dependencies [[vvvvalvalval/scope-capture "0.3.1"]]
:injections [(require 'sc.api)]
```

Expand All @@ -64,7 +64,7 @@ Add the following to the `:user` profile in `~/.lein/profiles.clj`:
Using a `$BOOT_HOME/profile.boot` (usually `~/.boot/profile.boot`) file:

``` clojure
(set-env! :dependencies #(conj % '[vvvvalvalval/scope-capture "0.3.0"]))
(set-env! :dependencies #(conj % '[vvvvalvalval/scope-capture "0.3.1"]))
(require 'sc.api)
```

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject vvvvalvalval/scope-capture "0.3.0"
(defproject vvvvalvalval/scope-capture "0.3.1"
:description "Easier REPL-based debugging for Clojure by saving and restoring snapshots of the local environment."
:url "https://github.com/vvvvalvalval/scope-capture"
:license {:name "MIT"
Expand Down
5 changes: 3 additions & 2 deletions src/sc/impl.cljc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
(ns sc.impl
(:require [sc.impl.db :as db]
[sc.impl.logging :as il]
[sc.api.logging]))
[sc.api.logging]
[sc.api.from]))

(defn gen-cs-id
[]
Expand All @@ -14,7 +15,7 @@
(defn last-ep-id*
[db]
(let [eps (get db :execution-points)]
(if (empty? db)
(if (empty? eps)
(throw (ex-info
"No Execution Point has been saved yet."
{:sc.api.error/error-type
Expand Down
1 change: 0 additions & 1 deletion test/sc/test/impl.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
(sc.impl/last-ep-id* {:execution-points {}})
(catch Throwable err
(-> err ex-data :sc.api.error/error-type)))))))

0 comments on commit f433350

Please sign in to comment.