Skip to content

Commit

Permalink
Upgrade to inilike 1.0.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed Jun 3, 2016
1 parent ec56f18 commit ec77f4d
Show file tree
Hide file tree
Showing 13 changed files with 167 additions and 163 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
language: d
matrix:
allow_failures:
- d: gdc-4.8.2
- d: gdc-4.9.2
- d: ldc-0.14.0
include:
- d: dmd-2.069.2
env: USE_DOVERALLS=true
- d: dmd-2.067.1
- d: gdc-4.9.2
- d: ldc-0.15.1
- d: gdc-4.8.2
- d: ldc-0.14.0

script:
Expand Down
2 changes: 1 addition & 1 deletion dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"copyright": "Copyright © 2015-2016, Roman Chistokhodov",
"authors": ["Roman Chistokhodov"],
"dependencies": {
"inilike": "~>0.7.0",
"inilike": "~>1.0.0-beta",
"xdgpaths": "~>0.2.1"
},
"targetName" : "icontheme",
Expand Down
4 changes: 2 additions & 2 deletions dub.selections.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"fileVersion": 1,
"versions": {
"inilike": "1.0.0-beta",
"isfreedesktop": "0.1.0",
"inilike": "0.7.0",
"xdgpaths": "0.2.1"
}
}
}
4 changes: 2 additions & 2 deletions examples/describe/dub.selections.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"fileVersion": 1,
"versions": {
"inilike": "1.0.0-beta",
"isfreedesktop": "0.1.0",
"inilike": "0.7.0",
"xdgpaths": "0.2.1"
}
}
}
4 changes: 2 additions & 2 deletions examples/describe/source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ int main(string[] args)
if (themePath.isDir) {
themePath = buildPath(themePath, "index.theme");
}
iconTheme = new IconThemeFile(themePath, IconThemeFile.ReadOptions.ignoreGroupDuplicates);
iconTheme = new IconThemeFile(themePath, readOptions);
} else {
static if (isFreedesktop) {
iconTheme = openIconTheme(themePath, baseIconDirs(), IconThemeFile.ReadOptions.ignoreGroupDuplicates);
iconTheme = openIconTheme(themePath, baseIconDirs());
}
if (!iconTheme) {
throw new Exception("Could not find theme");
Expand Down
4 changes: 2 additions & 2 deletions examples/findicon/dub.selections.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"fileVersion": 1,
"versions": {
"inilike": "1.0.0-beta",
"isfreedesktop": "0.1.0",
"inilike": "0.7.0",
"xdgpaths": "0.2.1"
}
}
}
4 changes: 2 additions & 2 deletions examples/print/dub.selections.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"fileVersion": 1,
"versions": {
"inilike": "1.0.0-beta",
"isfreedesktop": "0.1.0",
"inilike": "0.7.0",
"xdgpaths": "0.2.1"
}
}
}
4 changes: 2 additions & 2 deletions examples/test/dub.selections.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"fileVersion": 1,
"versions": {
"inilike": "1.0.0-beta",
"isfreedesktop": "0.1.0",
"inilike": "0.7.0",
"xdgpaths": "0.2.1"
}
}
}
2 changes: 1 addition & 1 deletion examples/test/source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ int main(string[] args)
writeln("Reading icon theme file: ", path);
}
try {
theme = new IconThemeFile(path, IconThemeFile.ReadOptions.noOptions);
theme = new IconThemeFile(path);
}
catch(IniLikeReadException e) {
stderr.writefln("Error reading %s: at %s: %s", path, e.lineNumber, e.msg);
Expand Down
Loading

0 comments on commit ec77f4d

Please sign in to comment.