Skip to content

Commit

Permalink
Updated to 0.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed May 14, 2019
1 parent 782c2c7 commit 7041c44
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 0.12.1

Released on Wednesday, May 15 2019.

- Binary version fix
- Fixed indexers are missing a `DomAccessorAttribute` (#30)
- Added `cssRules` alias: `rules` (#29)

# 0.12.0

Released on Sunday, May 12 2019.
Expand Down
2 changes: 1 addition & 1 deletion src/AngleSharp.Css.Tests/AngleSharp.Css.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="AngleSharp.Xml" Version="0.12.0" />
<PackageReference Include="AngleSharp.Xml" Version="0.12.1" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
<PackageReference Include="NUnit" Version="3.11.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/AngleSharp.Css.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<copyright>Copyright 2016-2019, AngleSharp</copyright>
<tags>html html5 css css3 dom styling library anglesharp angle</tags>
<dependencies>
<dependency id="AngleSharp" version="0.12.0" />
<dependency id="AngleSharp" version="0.12.1" />
</dependencies>
</metadata>
</package>
2 changes: 1 addition & 1 deletion src/AngleSharp.Css/AngleSharp.Css.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AngleSharp" Version="0.12.0" />
<PackageReference Include="AngleSharp" Version="0.12.1" />
</ItemGroup>

<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
Expand Down
1 change: 1 addition & 0 deletions src/AngleSharp.Css/Dom/ICssGroupingRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public interface ICssGroupingRule : ICssRule
/// Gets a list of all CSS rules contained within the grouping block.
/// </summary>
[DomName("cssRules")]
[DomName("rules")]
ICssRuleList Rules { get; }

/// <summary>
Expand Down
5 changes: 3 additions & 2 deletions src/AngleSharp.Css/Dom/ICssKeyframesRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public interface ICssKeyframesRule : ICssRule
/// Gets a CSSRuleList of the CSS rules in the media rule.
/// </summary>
[DomName("cssRules")]
[DomName("rules")]
ICssRuleList Rules { get; }

/// <summary>
Expand All @@ -32,7 +33,7 @@ public interface ICssKeyframesRule : ICssRule
void Add(String rule);

/// <summary>
/// Deletes a keyframe rule from the current CSSKeyframesRule.
/// Deletes a keyframe rule from the current CSSKeyframesRule.
/// </summary>
/// <param name="key">
/// The index of the keyframe to be deleted, expressed as a string
Expand All @@ -45,7 +46,7 @@ public interface ICssKeyframesRule : ICssRule
/// Returns a keyframe rule corresponding to the given key.
/// </summary>
/// <param name="key">
/// A string containing an index of the keyframe to be returned,
/// A string containing an index of the keyframe to be returned,
/// resolving to a number between 0 and 1.
/// </param>
/// <returns>The keyframe or null.</returns>
Expand Down
1 change: 1 addition & 0 deletions src/AngleSharp.Css/Dom/ICssPseudoElementList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public interface ICssPseudoElementList
/// <param name="index">The 0-based index.</param>
/// <returns>The pseudo element, if any.</returns>
[DomName("item")]
[DomAccessor(Accessors.Getter)]
ICssPseudoElement this[Int32 index] { get; }

/// <summary>
Expand Down
3 changes: 2 additions & 1 deletion src/AngleSharp.Css/Dom/ICssRuleList.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AngleSharp.Css.Dom
namespace AngleSharp.Css.Dom
{
using AngleSharp.Attributes;
using System;
Expand All @@ -16,6 +16,7 @@ public interface ICssRuleList : IEnumerable<ICssRule>
/// <param name="index">The 0-based index of the rule.</param>
/// <returns>The CSS rule at the given index, if any.</returns>
[DomName("item")]
[DomAccessor(Accessors.Getter)]
ICssRule this[Int32 index] { get; }

/// <summary>
Expand Down
1 change: 1 addition & 0 deletions src/AngleSharp.Css/Dom/ICssStyleSheet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public interface ICssStyleSheet : IStyleSheet
/// Gets a CSSRuleList of the CSS rules in the style sheet.
/// </summary>
[DomName("cssRules")]
[DomName("rules")]
ICssRuleList Rules { get; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<ItemGroup>
<PackageReference Include="Alba.CsCss" version="1.0.1.0" />
<PackageReference Include="AngleSharp" Version="0.12.0" />
<PackageReference Include="AngleSharp" Version="0.12.1" />
<PackageReference Include="ExCSS" version="2.0.6" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<PropertyGroup>
<Description>Extends the CSSOM from the core AngleSharp library.</Description>
<Product>AngleSharp.Css</Product>
<Version>0.13.0</Version>
<Version>0.12.1</Version>
</PropertyGroup>
</Project>

0 comments on commit 7041c44

Please sign in to comment.