Skip to content

Commit 8094c85

Browse files
committed
Adding nuspec fields for 1.0.5
1 parent 9f58812 commit 8094c85

File tree

8 files changed

+27
-327
lines changed

8 files changed

+27
-327
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88

99
# Build results
1010

11+
# Project K
12+
project.lock.json
13+
artifacts/
14+
15+
# VSCode
16+
**/.vs/
17+
**/.vscode/
18+
1119
[Dd]ebug/
1220
[Rr]elease/
1321
x64/

.vs/restore.dg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
#:C:\src\json-ld.net\src\JsonLD\JsonLD.xproj
12
#:C:\src\json-ld.net\test\JsonLDTests\JsonLDTests.xproj
23
C:\src\json-ld.net\test\JsonLDTests\JsonLDTests.xproj|C:\src\json-ld.net\src\JsonLD\JsonLD.xproj

src/JsonLD/Core/JsonLdError.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ namespace JsonLD.Core
88
//[System.Serializable]
99
public class JsonLdError : Exception
1010
{
11-
internal JObject details;
12-
1311
private JsonLdError.Error type;
12+
internal JObject details = null;
1413

1514
public JsonLdError(JsonLdError.Error type, object detail) : base(detail == null ?
1615
string.Empty : detail.ToString())
@@ -170,7 +169,7 @@ public virtual JsonLdError SetType(JsonLdError.Error error)
170169
return this;
171170
}
172171

173-
public virtual JsonLdError.Error GetType()
172+
public new virtual JsonLdError.Error GetType()
174173
{
175174
return type;
176175
}

src/JsonLD/Impl/TurtleTripleCallback.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public virtual object Call(RDFDataset dataset)
4242
availableNamespaces[e.Value] = e.Key;
4343
}
4444
usedNamespaces = new HashSet<string>();
45-
int tabs = 0;
4645
JObject refs = new JObject();
4746
JObject ttl = new JObject();
4847
foreach (string graphName in dataset.Keys)

src/JsonLD/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@
1414
// to COM components. If you need to access a type in this assembly from
1515
// COM, set the ComVisible attribute to true on that type.
1616
[assembly: ComVisible(false)]
17-
18-
// The following GUID is for the ID of the typelib if this project is exposed to COM
19-
[assembly: Guid("e1ab2a29-d1e4-45a1-9076-8255916f5693")]

src/JsonLD/Util/Obj.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static object Remove(object map, string k1, string k2)
8585
/// True if the objects were both null. True if both objects were not
8686
/// null and v1.equals(v2). False otherwise.
8787
/// </returns>
88-
public static bool Equals(object v1, object v2)
88+
public new static bool Equals(object v1, object v2)
8989
{
9090
return v1 == null ? v2 == null : v1.Equals(v2);
9191
}

src/JsonLD/project.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{
22
"version": "1.0.5",
3+
"authors": [
4+
"NuGet"
5+
],
6+
"description": "JSON-LD processor for .NET\n\nImplements the W3C JSON-LD 1.0 standard.",
7+
8+
"packOptions": {
9+
"licenseUrl": "https://raw.github.com/NuGet/json-ld.net/master/LICENSE",
10+
"tags": [ "json-ld", "jsonld", "json", "linked-data", "rdf", "semantic", "web" ],
11+
"iconUrl": "http://json-ld.org/images/json-ld-logo-64.png",
12+
"projectUrl": "https://github.com/NuGet/json-ld.net/",
13+
"owners": [
14+
"NuGet"
15+
]
16+
},
317

418
"dependencies": {
519
"Newtonsoft.Json": "6.0.4"
@@ -11,7 +25,6 @@
1125
"portable45-net45+win8": {
1226
"buildOptions": { "define": [ "PORTABLE" ] },
1327
"dependencies": {
14-
"NETStandard.Library": "1.5.0-rc2-24027"
1528
},
1629
"frameworkAssemblies": {
1730
}

0 commit comments

Comments
 (0)