Skip to content

Commit 8b196bc

Browse files
authored
Merge pull request #31 from purescript-contrib/bump
Prepare for 2.0 release
2 parents 59d8798 + 87a75e1 commit 8b196bc

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# purescript-argonaut
22

3-
[![Latest release](http://img.shields.io/bower/v/purescript-argonaut.svg)](https://github.com/purescript-contrib/purescript-argonaut/releases)
3+
[![Latest release](http://img.shields.io/github/release/purescript-contrib/purescript-argonaut.svg)](https://github.com/purescript-contrib/purescript-argonaut/releases)
44
[![Build Status](https://travis-ci.org/purescript-contrib/purescript-argonaut.svg)](https://travis-ci.org/purescript-contrib/purescript-argonaut)
5-
[![Dependency Status](https://www.versioneye.com/user/projects/563a42e91d47d40015000890/badge.svg?style=flat)](https://www.versioneye.com/user/projects/563a42e91d47d40015000890)
65
[![Maintainer: slamdata](https://img.shields.io/badge/maintainer-slamdata-lightgrey.svg)](http://github.com/slamdata)
76

87
This library bundles together the following:
98

109
- [purescript-argonaut-core](https://github.com/purescript-contrib/purescript-argonaut-core) - basic parsing, printing, folding and types for `Json`
11-
- [purescript-argonaut-traversals](https://github.com/purescript-contrib/purescript-argonaut-traversals) - `JCursor`, prisms and traversals for `Json`
1210
- [purescript-argonaut-codecs](https://github.com/purescript-contrib/purescript-argonaut-codecs) - `EncodeJson` and `DecodeJson` classes, their instances
13-
11+
- [purescript-argonaut-traversals](https://github.com/purescript-contrib/purescript-argonaut-traversals) - `JCursor`, prisms and traversals for `Json`

bower.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
},
1212
"license": "MIT",
1313
"dependencies": {
14-
"purescript-argonaut-codecs": "^1.0.0",
15-
"purescript-argonaut-core": "^1.0.0",
16-
"purescript-argonaut-traversals": "^1.0.0"
14+
"purescript-argonaut-codecs": "^2.0.0",
15+
"purescript-argonaut-core": "^2.0.0",
16+
"purescript-argonaut-traversals": "^2.0.0"
1717
},
1818
"devDependencies": {
19-
"purescript-console": "^1.0.0",
20-
"purescript-strongcheck": "^1.1.1"
19+
"purescript-console": "^2.0.0",
20+
"purescript-strongcheck": "^2.0.0"
2121
}
2222
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"devDependencies": {
99
"pulp": "^9.0.1",
1010
"purescript-psa": "^0.3.9",
11-
"purescript": "^0.9.1",
12-
"rimraf": "^2.4.4"
11+
"purescript": "^0.10.1",
12+
"rimraf": "^2.5.4"
1313
}
1414
}

test/Test/Main.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ genJObject sz = do
4242
let
4343
f (AlphaNumString s) = s <> "x"
4444
k' = f <$> k
45-
pure $ fromObject <<< M.fromList <<< fromFoldable <<< nubBy (\a b -> (fst a) == (fst b)) $ zipWith Tuple k' v
45+
pure $ fromObject <<< M.fromFoldable <<< nubBy (\a b -> (fst a) == (fst b)) $ zipWith Tuple k' v
4646

4747
genJson :: Size -> Gen Json
4848
genJson 0 = oneOf genJNull [genJBool, genJNumber, genJString]
@@ -77,7 +77,7 @@ runTestJCursor (TestJCursor j) = j
7777

7878
instance arbJCursor :: Arbitrary TestJCursor where
7979
arbitrary = do
80-
i <- chooseInt 0.0 2.0
80+
i <- chooseInt 0 2
8181
r <- if i == 0 then pure JCursorTop
8282
else if i == 1 then JField <$> arbitrary <*> (runTestJCursor <$> arbitrary)
8383
else JIndex <$> arbitrary <*> (runTestJCursor <$> arbitrary)

0 commit comments

Comments
 (0)