Skip to content

Commit

Permalink
Перевод на официальный ОдноСкрипт 1.0.15.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmpas committed Dec 28, 2016
1 parent a886ae8 commit 8e14c09
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 19 deletions.
2 changes: 1 addition & 1 deletion MailComponent/Mail/InternetMailAttachment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This Source Code Form is subject to the terms of the
using System;
using ScriptEngine.Machine.Contexts;
using ScriptEngine.Machine;
using ScriptEngine.HostedScript.Library;
using ScriptEngine.HostedScript.Library.Binary;

namespace OneScript.InternetMail
{
Expand Down
2 changes: 1 addition & 1 deletion MailComponent/Mail/InternetMailAttachments.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This Source Code Form is subject to the terms of the
using ScriptEngine.Machine;
using System.Collections.Generic;
using System.Collections;
using ScriptEngine.HostedScript.Library;
using ScriptEngine.HostedScript.Library.Binary;

namespace OneScript.InternetMail
{
Expand Down
1 change: 1 addition & 0 deletions MailComponent/Mail/InternetMailMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This Source Code Form is subject to the terms of the
using ScriptEngine.Machine.Contexts;
using ScriptEngine.Machine;
using ScriptEngine.HostedScript.Library;
using ScriptEngine.HostedScript.Library.Binary;
using System.IO;
using MimeKit;

Expand Down
2 changes: 1 addition & 1 deletion MailComponent/Mail/InternetMailText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This Source Code Form is subject to the terms of the
----------------------------------------------------------*/
using System;
using ScriptEngine.Machine.Contexts;
using ScriptEngine.HostedScript.Library;
using ScriptEngine.HostedScript.Library.Binary;
using MimeKit;

namespace OneScript.InternetMail
Expand Down
17 changes: 10 additions & 7 deletions MailComponent/MailComponent.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@
<Reference Include="DotNetZip">
<HintPath>..\packages\DotNetZip.1.10.1\lib\net20\DotNetZip.dll</HintPath>
</Reference>
<Reference Include="ScriptEngine">
<HintPath>..\packages\ScriptEngine.dll</HintPath>
</Reference>
<Reference Include="ScriptEngine.HostedScript">
<HintPath>..\packages\ScriptEngine.HostedScript.dll</HintPath>
</Reference>
<Reference Include="BouncyCastle.Crypto">
<HintPath>..\packages\BouncyCastle.1.8.1\lib\BouncyCastle.Crypto.dll</HintPath>
</Reference>
Expand All @@ -47,8 +41,17 @@
<Reference Include="MimeKit">
<HintPath>..\packages\MimeKit.1.10.0\lib\net45\MimeKit.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="ScriptEngine.HostedScript">
<HintPath>..\packages\OneScript.StandardLibrary.1.0.15\lib\net40\ScriptEngine.HostedScript.dll</HintPath>
</Reference>
<Reference Include="ScriptEngine">
<HintPath>..\packages\OneScript.1.0.15\lib\net40\ScriptEngine.dll</HintPath>
</Reference>
<Reference Include="MailKit">
<HintPath>..\packages\MailKit.1.10.0\lib\net45\MailKit.dll</HintPath>
<HintPath>..\packages\MailKit.1.10.1\lib\net45\MailKit.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion MailComponent/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("1.0.2.*")]
[assembly: AssemblyVersion("1.0.3.*")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
Expand Down
5 changes: 4 additions & 1 deletion MailComponent/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
<packages>
<package id="BouncyCastle" version="1.8.1" targetFramework="net45" />
<package id="DotNetZip" version="1.10.1" targetFramework="net45" />
<package id="MailKit" version="1.10.0" targetFramework="net45" />
<package id="MailKit" version="1.10.1" targetFramework="net45" />
<package id="MimeKit" version="1.10.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net45" />
<package id="OneScript" version="1.0.15" targetFramework="net45" />
<package id="OneScript.StandardLibrary" version="1.0.15" targetFramework="net45" />
</packages>
9 changes: 6 additions & 3 deletions NUnitTests/NUnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@
<Reference Include="DotNetZip">
<HintPath>..\packages\DotNetZip.1.10.1\lib\net20\DotNetZip.dll</HintPath>
</Reference>
<Reference Include="ScriptEngine">
<HintPath>..\packages\ScriptEngine.dll</HintPath>
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="ScriptEngine.HostedScript">
<HintPath>..\packages\ScriptEngine.HostedScript.dll</HintPath>
<HintPath>..\packages\OneScript.StandardLibrary.1.0.15\lib\net40\ScriptEngine.HostedScript.dll</HintPath>
</Reference>
<Reference Include="ScriptEngine">
<HintPath>..\packages\OneScript.1.0.15\lib\net40\ScriptEngine.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions NUnitTests/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="DotNetZip" version="1.10.1" targetFramework="net45" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net45" />
<package id="NUnit" version="3.4.1" targetFramework="net45" />
<package id="OneScript" version="1.0.15" targetFramework="net45" />
<package id="OneScript.StandardLibrary" version="1.0.15" targetFramework="net45" />
</packages>
9 changes: 6 additions & 3 deletions TestApp/TestApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,16 @@
<Reference Include="DotNetZip">
<HintPath>..\packages\DotNetZip.1.10.1\lib\net20\DotNetZip.dll</HintPath>
</Reference>
<Reference Include="System.Configuration" />
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="ScriptEngine.HostedScript">
<HintPath>..\packages\ScriptEngine.HostedScript.dll</HintPath>
<HintPath>..\packages\OneScript.StandardLibrary.1.0.15\lib\net40\ScriptEngine.HostedScript.dll</HintPath>
</Reference>
<Reference Include="ScriptEngine">
<HintPath>..\packages\ScriptEngine.dll</HintPath>
<HintPath>..\packages\OneScript.1.0.15\lib\net40\ScriptEngine.dll</HintPath>
</Reference>
<Reference Include="System.Configuration" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
Expand Down
3 changes: 3 additions & 0 deletions TestApp/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="DotNetZip" version="1.10.1" targetFramework="net45" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net45" />
<package id="OneScript" version="1.0.15" targetFramework="net45" />
<package id="OneScript.StandardLibrary" version="1.0.15" targetFramework="net45" />
</packages>
2 changes: 1 addition & 1 deletion lib/packagedef
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//

Описание.Имя("InternetMail")
.Версия("1.0.2")
.Версия("1.0.3")
.Автор("Батанов Сергей")
.АдресАвтора("[email protected]")
.Описание("Реализация стандартных объектов из раздела ИнтернетПочта")
Expand Down

0 comments on commit 8e14c09

Please sign in to comment.