-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replaced logic of update with RestSharp, had to switch security on gi…
…thub api request
- Loading branch information
Stefan Ruepp
committed
Apr 30, 2018
1 parent
681d1a1
commit 2ecadd3
Showing
7 changed files
with
204 additions
and
27 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Spring.NET REST Client Framework | ||
-------------------------------- | ||
Download full package with sources, documentation and examples at | ||
http://www.springframework.net/rest/ |
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 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,89 @@ | ||
using Newtonsoft.Json; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace EveChatNotifier.GithubUpdater | ||
{ | ||
public class GithubReleaseRestSharp | ||
{ | ||
public string url { get; set; } | ||
public string assets_url { get; set; } | ||
public string upload_url { get; set; } | ||
public string html_url { get; set; } | ||
public int id { get; set; } | ||
public string tag_name { get; set; } | ||
public string target_commitish { get; set; } | ||
public string name { get; set; } | ||
public bool draft { get; set; } | ||
public Author author { get; set; } | ||
public bool prerelease { get; set; } | ||
public DateTime created_at { get; set; } | ||
public DateTime published_at { get; set; } | ||
public List<Asset> assets { get; set; } | ||
public string tarball_url { get; set; } | ||
public string zipball_url { get; set; } | ||
public string body { get; set; } | ||
} | ||
|
||
public class Author | ||
{ | ||
public string login { get; set; } | ||
public int id { get; set; } | ||
public string avatar_url { get; set; } | ||
public string gravatar_id { get; set; } | ||
public string url { get; set; } | ||
public string html_url { get; set; } | ||
public string followers_url { get; set; } | ||
public string following_url { get; set; } | ||
public string gists_url { get; set; } | ||
public string starred_url { get; set; } | ||
public string subscriptions_url { get; set; } | ||
public string organizations_url { get; set; } | ||
public string repos_url { get; set; } | ||
public string events_url { get; set; } | ||
public string received_events_url { get; set; } | ||
public string type { get; set; } | ||
public bool site_admin { get; set; } | ||
} | ||
|
||
public class Uploader | ||
{ | ||
public string login { get; set; } | ||
public int id { get; set; } | ||
public string avatar_url { get; set; } | ||
public string gravatar_id { get; set; } | ||
public string url { get; set; } | ||
public string html_url { get; set; } | ||
public string followers_url { get; set; } | ||
public string following_url { get; set; } | ||
public string gists_url { get; set; } | ||
public string starred_url { get; set; } | ||
public string subscriptions_url { get; set; } | ||
public string organizations_url { get; set; } | ||
public string repos_url { get; set; } | ||
public string events_url { get; set; } | ||
public string received_events_url { get; set; } | ||
public string type { get; set; } | ||
public bool site_admin { get; set; } | ||
} | ||
|
||
public class Asset | ||
{ | ||
public string url { get; set; } | ||
public int id { get; set; } | ||
public string name { get; set; } | ||
public object label { get; set; } | ||
public Uploader uploader { get; set; } | ||
public string content_type { get; set; } | ||
public string state { get; set; } | ||
public int size { get; set; } | ||
public int download_count { get; set; } | ||
public DateTime created_at { get; set; } | ||
public DateTime updated_at { get; set; } | ||
public string browser_download_url { get; set; } | ||
} | ||
} |
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 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 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 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,8 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Autoupdater.NET.Official" version="1.4.6" targetFramework="net40" /> | ||
<package id="Autoupdater.NET.Official" version="1.4.9" targetFramework="net40" requireReinstallation="true" /> | ||
<package id="NAudio" version="1.8.4" targetFramework="net40" /> | ||
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net40" /> | ||
<package id="TaskScheduler" version="2.7.2" targetFramework="net40" /> | ||
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net40" requireReinstallation="true" /> | ||
<package id="RestSharp" version="106.2.2" targetFramework="net452" /> | ||
<package id="TaskScheduler" version="2.8.1" targetFramework="net40" requireReinstallation="true" /> | ||
<package id="Tulpep.NotificationWindow" version="1.1.25" targetFramework="net40" /> | ||
</packages> |