-
Notifications
You must be signed in to change notification settings - Fork 571
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stripe.net now supports .NET 4.5+ and is a portable class library. UW…
…P, .NET Core, Windows 8, WindowsPhone 8.0+, and Xamarin are now supported. Bumped the api version to 3.24. Many thanks to a great deal of individuals who helped pull this off.
- Loading branch information
1 parent
99bb181
commit 9024c48
Showing
31 changed files
with
657 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
# build and binary files | ||
src/*/bin | ||
src/*/_web_event_hooks/bin | ||
obj | ||
dist | ||
*.suo | ||
*.user | ||
*.cache | ||
_ReSharper.* | ||
*resharper* | ||
*.DotCover | ||
src/packages/* | ||
*.nupkg | ||
.DS_Store | ||
Stripe.net.dll | ||
|
||
working* | ||
# user/vs files | ||
*.user | ||
.vs | ||
|
||
App.config.mine | ||
src/packages/* | ||
!src/packages/repositories.config | ||
# portable/xamarin | ||
Stripe.userprefs | ||
|
||
# my secretz | ||
my_test_keys.txt |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
rd .\working40 /S /Q | ||
md .\working40 | ||
.\build\nuget restore .\src\Stripe.sln | ||
|
||
call %WINDIR%\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe src/Stripe.sln /p:Configuration=Release | ||
copy .\src\Stripe\bin\Release\Stripe.net.dll .\working40\ | ||
call %WINDIR%\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe .\src\Stripe.sln /p:Configuration=Release | ||
copy .\src\Stripe\bin\Release\Stripe.net.dll .\build\net45\Stripe.net.dll /Y | ||
copy .\src\Stripe.Portable\bin\Release\Stripe.net.Portable.dll .\build\portable\Stripe.net.dll /Y | ||
|
||
cd build | ||
nuget pack Stripe.net.nuspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
using System.Reflection; | ||
|
||
[assembly: AssemblyTitle("Stripe.net")] | ||
[assembly: AssemblyDescription("A .net client for http://stripe.com")] | ||
[assembly: AssemblyCompany("Jayme Davis")] | ||
[assembly: AssemblyProduct("Stripe.net")] | ||
[assembly: AssemblyCopyright("Copyright (C) Jayme Davis 2016")] | ||
[assembly: AssemblyVersion("5.3.0")] | ||
[assembly: AssemblyVersion("6.0.0")] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
|
||
namespace Stripe | ||
{ | ||
internal enum BindingFlags | ||
{ | ||
Instance, | ||
Public, | ||
NonPublic | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Reflection; | ||
|
||
namespace Stripe | ||
{ | ||
internal static class ReflectionExtensions | ||
{ | ||
public static IEnumerable<PropertyInfo> GetProperties(this Type type, BindingFlags flags) | ||
{ | ||
var properties = type.GetRuntimeProperties(); | ||
|
||
return properties; | ||
} | ||
} | ||
} |
Oops, something went wrong.