Skip to content

Commit

Permalink
Ensure new-lines-before-eof are present.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgeelen-uipath committed Jun 11, 2021
1 parent 0e73304 commit f94615c
Show file tree
Hide file tree
Showing 58 changed files with 58 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ jobs:
- name: Push to GitHub Feed
run: dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --source $GITHUB_FEED --api-key $GITHUB_TOKEN
- name: Push to NuGet Feed
run: dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --source $NUGET_FEED --api-key $NUGET_KEY
run: dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --source $NUGET_FEED --api-key $NUGET_KEY
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
"processId": "${command:pickProcess}"
}
,]
}
}
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"problemMatcher": "$msCompile"
}
]
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/ExecutionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ public void ShouldThrowException()
});
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/Firebird/FirebirdLimitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ public void LimitAndOffset()
Assert.Equal(2, ctx.Bindings.Count);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/HelperTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,4 +234,4 @@ public void WrapIdentifiers(string input, string escapeCharacter, string identif
Assert.Equal(expected, result);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/Infrastructure/TestCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ public virtual MethodInfo Call_FindCompilerMethodInfo(Type clauseType, string me
return FindCompilerMethodInfo(clauseType, methodName);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ public TestSqlResultContainer Compile(Query query)
return new TestSqlResultContainer(resultKeyValues);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public TestSqlResultContainer(IDictionary<string, SqlResult> dictionary) : base(

}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/Infrastructure/TestSupport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ protected IReadOnlyDictionary<string, string> Compile(Query query)
return Compilers.Compile(query).ToDictionary(s => s.Key, v => v.Value.ToString());
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/InfrastructureTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ public void ShouldThrowIfAnyEngineCodesAreInvalid()
Assert.Throws<InvalidOperationException>(() => Compilers.Compile(codes, new Query()));
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/InsertTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,4 +305,4 @@ public void InsertExpandoObject()
c[EngineCodes.Firebird]);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/MySql/MySqlLimitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ public void WithLimitAndOffset()
Assert.Equal(2, ctx.Bindings.Count);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/OperatorWhitelistTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ public void ShouldNotConsiderWhereRawCondition()
}

}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/Oracle/OracleLegacyLimitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ public void WithLimitAndOffset()
Assert.Equal(2, ctx.Bindings.Count);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/Oracle/OracleLimitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ public void LimitAndOffset()
compiler.CompileLimit(ctx);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/ParameterTypeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ public void CorrectParameterTypeOutput(string rendered, object input)
Assert.Equal($"SELECT * FROM [Table] WHERE [Col] = {rendered}", c[EngineCodes.SqlServer]);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/PostgreSql/PostgreSqlLimitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ public void WithLimitAndOffset()
Assert.Equal(2, ctx.Bindings.Count);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/SqlServer/NestedSelectTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ public void SqlCompile_QueryLimitAndNestedLimit_BindingValue()
// Assert.Contains("SELECT * FROM [Foo] WHERE [C] = 'c' AND EXISTS (SELECT TOP (1) 1 FROM [Bar]) AND [A] = 'a'", actual);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/SqlServer/SqlServerLegacyLimitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ public void ShouldKeepTheOrdersAsIsIfPaginationProvided()
Assert.DoesNotContain("(SELECT 0)", compiler.Compile(query).ToString());
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/SqlServer/SqlServerLimitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ public void ShouldKeepTheOrdersAsIsIfPaginationProvided()
Assert.DoesNotContain("(SELECT 0)", compiler.Compile(query).ToString());
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/SqlServer/SqlServerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ public void OffsetSqlServer_Should_Be_Incremented_By_One(int offset)
(offset + 1), c.ToString());
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/Sqlite/SqliteLimitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ public void WithLimitAndOffset()
Assert.Equal(2, ctx.Bindings.Count);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder.Tests/UpdateTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -284,4 +284,4 @@ public void UpdateUsingExpandoObject()
c[EngineCodes.SqlServer]);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/BaseQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -307,4 +307,4 @@ public Q From(Func<Query, Query> callback, string alias = null)
}

}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Clauses/AbstractClause.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public abstract class AbstractClause
public string Component { get; set; }
public abstract AbstractClause Clone();
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Clauses/AggregateClause.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ public override AbstractClause Clone()
};
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Clauses/ColumnClause.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ public override AbstractClause Clone()
};
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Clauses/Combine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ public override AbstractClause Clone()
};
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Clauses/ConditionClause.cs
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,4 @@ public override AbstractClause Clone()
};
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Clauses/FromClause.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ public override AbstractClause Clone()
};
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Clauses/InsertClause.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ public override AbstractClause Clone()
};
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Clauses/JoinClause.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ public override AbstractClause Clone()
};
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Clauses/LimitClause.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ public override AbstractClause Clone()
};
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Clauses/OffsetClause.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ public override AbstractClause Clone()
};
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Clauses/OrderClause.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ public override AbstractClause Clone()
};
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Compilers/ConditionsCompilerProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ private MethodInfo FindMethodInfo(Type clauseType, string methodName)
return methodInfo;
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Compilers/MySqlCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ public override string CompileLimit(SqlResult ctx)

}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Expressions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ public static UnsafeLiteral UnsafeLiteral(string value, bool replaceQuotes = tru
return new UnsafeLiteral(value, replaceQuotes);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Extensions/QueryForExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ public static Query ForSqlServer(this Query src, Func<Query, Query> fn)
}

}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,4 @@ public static string ReplaceIdentifierUnlessEscaped(this string input, string es
return escapedRegex.Replace(nonEscapedReplace, identifier);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Include.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ public class Include
public string LocalKey { get; set; }
public bool IsMany { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Join.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ public override Join NewQuery()
return new Join();
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("QueryBuilder.Tests")]
[assembly: InternalsVisibleTo("QueryBuilder.Tests")]
2 changes: 1 addition & 1 deletion QueryBuilder/Query.Aggregate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ public Query AsMin(string column)
return AsAggregate("min", new[] { column });
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Query.Combine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ public Query IntersectAll(Func<Query, Query> callback)
public Query IntersectRaw(string sql, params object[] bindings) => CombineRaw(sql, bindings);

}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Query.Delete.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ public Query AsDelete()
}

}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Query.Having.cs
Original file line number Diff line number Diff line change
Expand Up @@ -653,4 +653,4 @@ public Query OrHavingNotTime(string column, object value)

#endregion
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Query.Join.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ public Query CrossJoin(string table)
}

}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Query.Select.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ public Query Select(Func<Query, Query> callback, string alias)
return Select(callback.Invoke(NewChild()), alias);
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/SqlResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ private string ChangeToSqlValue(object value)
return "'" + value.ToString() + "'";
}
}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/UnsafeLiteral.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ public UnsafeLiteral(string value, bool replaceQuotes = true)
}

}
}
}
2 changes: 1 addition & 1 deletion QueryBuilder/Variable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public Variable(string name)
}

}
}
}
2 changes: 1 addition & 1 deletion SqlKata.Execution/InsertGetId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ public class InsertGetIdRow<T>
{
public T Id { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion SqlKata.Execution/PaginationIterator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ IEnumerator IEnumerable.GetEnumerator()
return GetEnumerator();
}
}
}
}
2 changes: 1 addition & 1 deletion SqlKata.Execution/PaginationResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ public PaginationIterator<T> Each
}

}
}
}
2 changes: 1 addition & 1 deletion SqlKata.Execution/Query.Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -352,4 +352,4 @@ internal static QueryFactory CreateQueryFactory(Query query)
return CreateQueryFactory(CastToXQuery(query));
}
}
}
}
Loading

0 comments on commit f94615c

Please sign in to comment.