config-ini 0.2.0.0 → 0.2.0.1
raw patch · 7 files changed
+76/−3 lines, 7 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +15/−0
- README.md +1/−1
- config-ini.cabal +4/−2
- test/prewritten/cases/basic.hs +11/−0
- test/prewritten/cases/basic.ini +12/−0
- test/prewritten/cases/unicode.hs +18/−0
- test/prewritten/cases/unicode.ini +15/−0
CHANGELOG.md view
@@ -1,3 +1,18 @@+0.2.0.1+=======++- Include prewritten test cases in distributed package++0.2.0.0+=======++- Introduced `Data.Config.Ini.Bidir`, which introduces a new alternate+ API for working with Ini files.+- Reworked the internal representation to accomodate+ `Data.Config.Ini.Bidir`; as such, the structure of+ `Data.Config.Ini.Raw` is radically changed+- Dropped GHC 7.8 backwards-compatibility.+ 0.1.2.1 =======
README.md view
@@ -1,6 +1,6 @@ # `config-ini` -[](https://hackagehaskell.org/package/config-ini)+[](https://hackage.haskell.org/package/config-ini) The `config-ini` library is a Haskell library for doing elementary INI file parsing in a quick and painless way.
config-ini.cabal view
@@ -1,5 +1,5 @@ name: config-ini-version: 0.2.0.0+version: 0.2.0.1 synopsis: A library for simple INI-based configuration files. homepage: https://github.com/aisamanra/config-ini bug-reports: https://github.com/aisamanra/config-ini/issues@@ -25,7 +25,9 @@ bug-reports: https://github.com/aisamanra/config-ini/issues extra-source-files: README.md,- CHANGELOG.md+ CHANGELOG.md,+ test/prewritten/cases/*.hs,+ test/prewritten/cases/*.ini source-repository head type: git
+ test/prewritten/cases/basic.hs view
@@ -0,0 +1,11 @@+fromList+ [ ( "s1"+ , fromList+ [ ( "foo", "bar" )+ , ( "baz", "quux" )+ ]+ )+ , ( "s2"+ , fromList [ ( "argl", "bargl" ) ]+ )+ ]
+ test/prewritten/cases/basic.ini view
@@ -0,0 +1,12 @@+# a thorough test+# leading comments+[S1]+# test with equals+foo = bar+# test with colon+baz : quux++[S2]+; comments with semicolons+argl = bargl+; trailing comments
+ test/prewritten/cases/unicode.hs view
@@ -0,0 +1,18 @@+fromList+ [ ( "中文"+ , fromList+ [ ("鸡丁", "宫保")+ , ("豆腐", "麻婆")+ ]+ )+ , ( "русский"+ , fromList [ ( "хорошо", "очень" ) ]+ )+ , ( "العَرَبِيَّة"+ , fromList+ [ ("واحد", "١")+ , ("اثنان", "٢")+ , ("ثلاثة", "٣")+ ]+ )+ ]
+ test/prewritten/cases/unicode.ini view
@@ -0,0 +1,15 @@+# some unicode tests, for good measure++[中文]+# 也有漢字在這個注释+鸡丁 = 宫保+豆腐 : 麻婆++[русский]+; и это комментарии+хорошо = очень++[العَرَبِيَّة]+واحد = ١+اثنان = ٢+ثلاثة = ٣