Skip to content

Commit

Permalink
[#1] change 'clojure.spec' namespace to 'clojure.spec.alpha'.
Browse files Browse the repository at this point in the history
  • Loading branch information
r0man authored and xsc committed May 26, 2017
1 parent 27a0a8c commit 613c258
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
:url "https://opensource.org/licenses/MIT"
:year 2016
:key "mit"}
:dependencies [[org.clojure/clojure "1.9.0-alpha14" :scope "provided"]]
:dependencies [[org.clojure/clojure "1.9.0-alpha16" :scope "provided"]]
:profiles {:dev {:dependencies [[org.clojure/test.check "0.9.0"]]}}
:pedantic? :abort)
2 changes: 1 addition & 1 deletion src/alumbra/spec.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
parser-errors
schema
validation-errors]
[clojure.spec :as s]))
[clojure.spec.alpha :as s]))

;; ## Values

Expand Down
4 changes: 2 additions & 2 deletions src/alumbra/spec/analyzed_schema.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(ns alumbra.spec.analyzed-schema
(:require [clojure.spec :as s]
[clojure.spec.gen :as gen]
(:require [clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as gen]
[alumbra.spec type-description common]))

;; ## Names
Expand Down
4 changes: 2 additions & 2 deletions src/alumbra/spec/canonical_operation.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(ns alumbra.spec.canonical-operation
(:require [clojure.spec :as s]
[clojure.spec.gen :as gen]
(:require [clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as gen]
[alumbra.spec common]))

;; ## Canonical Operation
Expand Down
2 changes: 1 addition & 1 deletion src/alumbra/spec/common.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(ns alumbra.spec.common
(:require [clojure.spec :as s]))
(:require [clojure.spec.alpha :as s]))

;; ## Name

Expand Down
2 changes: 1 addition & 1 deletion src/alumbra/spec/document.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(ns alumbra.spec.document
(:require [clojure.spec :as s]
(:require [clojure.spec.alpha :as s]
[alumbra.spec common]))

;; ## Document
Expand Down
2 changes: 1 addition & 1 deletion src/alumbra/spec/parser_errors.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(ns alumbra.spec.parser-errors
(:require [clojure.spec :as s]
(:require [clojure.spec.alpha :as s]
[alumbra.spec common]))

(s/def :alumbra/parser-errors
Expand Down
2 changes: 1 addition & 1 deletion src/alumbra/spec/schema.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(ns alumbra.spec.schema
(:require [clojure.spec :as s]
(:require [clojure.spec.alpha :as s]
[alumbra.spec common]))

;; ## Schema
Expand Down
4 changes: 2 additions & 2 deletions src/alumbra/spec/type_description.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(ns alumbra.spec.type-description
(:require [clojure.spec :as s]
[clojure.spec.gen :as gen]
(:require [clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as gen]
[alumbra.spec common]))

(s/def :alumbra/type-description
Expand Down
2 changes: 1 addition & 1 deletion src/alumbra/spec/validation_errors.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(ns alumbra.spec.validation-errors
(:require [clojure.spec :as s]
(:require [clojure.spec.alpha :as s]
[alumbra.spec common type-description]))

;; ## Error Container
Expand Down
2 changes: 1 addition & 1 deletion test/alumbra/spec_test.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(ns alumbra.spec-test
(:require [clojure.test :refer :all]
[clojure.spec :as s]
[clojure.spec.alpha :as s]
alumbra.spec))

(deftest t-analyzer-spec
Expand Down

0 comments on commit 613c258

Please sign in to comment.