Skip to content

Commit

Permalink
Merge pull request #81 from KuraiAndras/develop
Browse files Browse the repository at this point in the history
7.0.1
  • Loading branch information
KuraiAndras authored Feb 22, 2022
2 parents 84572df + ba8f13c commit a134afa
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 12 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 7.0.1
- Fix `MonoBehaviourInjected` and `MonoBehaviourScoped` and separate them to different files

# 7.0.0
- Add `MonoBehaviourInjected` and `MonoBehaviourScoped`
- Renamed classes: \*MonoBehavior\* -> \*MonoBehavio**u**r\*
Expand Down
2 changes: 1 addition & 1 deletion MainProject/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<LangVersion>9.0</LangVersion>
<Nullable>enable</Nullable>

<CurrentVersion>7.0.0</CurrentVersion>
<CurrentVersion>7.0.1</CurrentVersion>

<Version>$(CurrentVersion)</Version>
<PakcageVersion>$(CurrentVersion)</PakcageVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.injecter.hosting.unity",
"version": "7.0.0",
"version": "7.0.1",
"displayName": "Injecter.Hosting.Unity",
"license": "MIT",
"licensesUrl": "https://github.com/KuraiAndras/Injecter/blob/master/LICENSE.md",
Expand All @@ -13,6 +13,6 @@
"url": "https://github.com/KuraiAndras/Injecter"
},
"dependencies": {
"com.injecter.unity": "7.0.0"
"com.injecter.unity": "7.0.1"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#nullable enable

namespace Injecter.Unity
{
/// <summary>
/// Inherit from this class to easily enable injection
/// </summary>
public abstract class MonoBehaviourInjected : InjectedMonoBehaviour
{
protected MonoBehaviourInjected() : base(false) { }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,4 @@ public abstract class MonoBehaviourScoped : InjectedMonoBehaviour
{
protected MonoBehaviourScoped() : base(true) { }
}

/// <summary>
/// Inherit from this class to easily enable injection
/// </summary>
public abstract class MonoBehaviourInjected : InjectedMonoBehaviour
{
protected MonoBehaviourInjected() : base(true) { }
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.injecter.unity",
"version": "7.0.0",
"version": "7.0.1",
"displayName": "Injecter.Unity",
"license": "MIT",
"licensesUrl": "https://github.com/KuraiAndras/Injecter/blob/master/LICENSE.md",
Expand Down

0 comments on commit a134afa

Please sign in to comment.