Skip to content

Commit

Permalink
Merge pull request #426 from skywinder/develop
Browse files Browse the repository at this point in the history
2.5.0
  • Loading branch information
yaroslavyaroslav authored Dec 23, 2021
2 parents 6eddd2c + 5e7ea0c commit ca0fee8
Show file tree
Hide file tree
Showing 1,350 changed files with 291,647 additions and 15,925 deletions.
40 changes: 0 additions & 40 deletions .circleci/config.yml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: "Web3swift CI"

on:
push:
branches:
- master
- develop
- hotfix
paths:
- Packag*.swift
- web3swift.podspec
- Cartfile
- Sources/**
- 'Tests/**'
- 'web3swift*/**'
- '.github/workflows/**'
pull_request:
branches:
- master
- develop

jobs:
spm:
name: Swift Package Manager 5.4
runs-on: macOS-11
concurrency: spm
env:
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Resolve dependencies
run: swift package resolve
- name: Build
run: swift build --build-tests
# - name: Run local tests
# run: swift test --skip-build -c debug --filter localTests
carthage:
name: Carthage
runs-on: macOS-11
concurrency: carthage
env:
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer
strategy:
fail-fast: false
max-parallel: 2
matrix:
destination: ['OS=14.5,name=iPhone 12']
steps:
- uses: actions/checkout@v2
- name: Resolving dependencies
run: carthage checkout
- name: Building dependencies
run: carthage build --no-use-binaries --platform iOS Simulator --use-xcframeworks
- name: Building framework
run: xcodebuild build-for-testing -project "web3swift.xcodeproj" -scheme "web3swift" -destination "${{matrix.destination}}" -testPlan LocalTests
# - name: Running local tests
# run: xcodebuild test-without-building -project "web3swift.xcodeproj" -scheme "web3swift" -destination "${{matrix.destination}}" -testPlan LocalTests
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Build generated
build/
DerivedData/
.build

## Various settings
*.pbxuser
!default.pbxuser
Expand Down Expand Up @@ -35,9 +35,11 @@ playground.xcworkspace
# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
Packages/
Package.pins
.build/
.swiftpm/**
*/.swiftpm/**

# CocoaPods
#
Expand Down
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

8 changes: 4 additions & 4 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github "attaswift/BigInt" ~> 5.0
github "attaswift/BigInt" ~> 5.3.0
github "attaswift/SipHash" ~> 1.2.2
github "daltoniam/Starscream" ~> 3.1.0
github "krzyzanowskim/CryptoSwift" ~> 1.0.0
github "mxcl/PromiseKit" ~> 6.8.4
github "daltoniam/Starscream" ~> 4.0.4
github "krzyzanowskim/CryptoSwift" ~> 1.4.2
github "mxcl/PromiseKit" ~> 6.16.2
8 changes: 4 additions & 4 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github "attaswift/BigInt" "v5.2.0"
github "attaswift/BigInt" "v5.3.0"
github "attaswift/SipHash" "v1.2.2"
github "daltoniam/Starscream" "3.1.1"
github "krzyzanowskim/CryptoSwift" "1.3.2"
github "mxcl/PromiseKit" "6.13.3"
github "daltoniam/Starscream" "4.0.4"
github "krzyzanowskim/CryptoSwift" "1.4.2"
github "mxcl/PromiseKit" "6.16.2"
29 changes: 29 additions & 0 deletions Carthage/Checkouts/BigInt/.github/workflows/jazzy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Swift

on:
push:
tags:
- '*'

jobs:
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install jazzy
run: gem install jazzy
- name: Generate documentation
run: |
jazzy \
--clean \
--github-file-prefix "https://github.com/attaswift/$module/tree/${GITHUB_REF}" \
--module-version "${{ github.event.release.tag_name }}" \
--copyright "© $(date '+%Y') [Károly Lőrentey](https://twitter.com/lorentey). (Last updated: $(date '+%Y-%m-%d'))" \
--config .jazzy.yml
- name: Commit docs
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add ./docs
git commit -m "Update docs"
git push origin HEAD:master
47 changes: 47 additions & 0 deletions Carthage/Checkouts/BigInt/.github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Swift

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: swift build --build-tests
- name: Run tests
run: swift test
xcode:
runs-on: macos-latest
strategy:
matrix:
scheme: [BigInt-macOS, BigInt-iOS, BigInt-watchOS, BigInt-tvOS]
steps:
- uses: actions/checkout@v2
- name: Build
run: xcrun xcodebuild -workspace BigInt.xcworkspace -scheme ${{ matrix.scheme }}
linux:
container:
image: swift:${{ matrix.linux }}
runs-on: ubuntu-latest
strategy:
matrix:
linux: [bionic, xenial, focal]
steps:
- uses: actions/checkout@v2
- name: Build
run: swift build --build-tests --enable-test-discovery
- name: Test
run: swift test --enable-test-discovery
codecov:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Test and generate code coverage report
run: xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-macOS test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
8 changes: 8 additions & 0 deletions Carthage/Checkouts/BigInt/.jazzy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module: BigInt
author: Károly Lőrentey
theme: fullwidth
output: ./docs
author_url: "https://twitter.com/lorentey"
github_url: "https://github.com/attaswift/BigInt"
root_url: "https://attaswift.github.io/BigInt/reference/"
xcodebuild_arguments: ["-workspace", "BigInt.xcworkspace", "-scheme", "BigInt-macOS"]
2 changes: 1 addition & 1 deletion Carthage/Checkouts/BigInt/BigInt.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |spec|
spec.name = 'BigInt'
spec.version = '5.2.0'
spec.version = '5.3.0'
spec.ios.deployment_target = "8.0"
spec.osx.deployment_target = "10.9"
spec.tvos.deployment_target = "9.0"
Expand Down
8 changes: 3 additions & 5 deletions Carthage/Checkouts/BigInt/BigInt.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@
BB241C6A1DDB70B00067F917 /* BigInt Benchmark.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "BigInt Benchmark.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
BB241CE81DDB7B620067F917 /* CHANGELOG.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
BB241CE91DDB7B620067F917 /* Demo.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; path = Demo.playground; sourceTree = "<group>"; };
BB241CEA1DDB7B620067F917 /* generate-docs.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "generate-docs.sh"; sourceTree = "<group>"; };
BB241CF01DDB84210067F917 /* .codecov.yml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .codecov.yml; sourceTree = "<group>"; };
BB4273F41F24AFC800065766 /* Tools.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Tools.swift; sourceTree = "<group>"; };
BB9889A41F3E5C3100014740 /* Strideable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Strideable.swift; sourceTree = "<group>"; };
Expand All @@ -191,7 +190,6 @@
BBB55AF11C8F8BE00050DDA9 /* BigInt.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BigInt.framework; sourceTree = BUILT_PRODUCTS_DIR; };
BBB55AFE1C8F8CBB0050DDA9 /* BigInt.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BigInt.framework; sourceTree = BUILT_PRODUCTS_DIR; };
BBB55B071C8F8CBB0050DDA9 /* BigInt-Test.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "BigInt-Test.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
BBB55B1C1C8F90F60050DDA9 /* .travis.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .travis.yml; sourceTree = "<group>"; };
BBB55B1D1C8F9E850050DDA9 /* LICENSE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = LICENSE.md; sourceTree = "<group>"; };
BBB55B1E1C8F9E920050DDA9 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
BBE4CA4D1F3DA5AB0062A281 /* Codable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Codable.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -277,10 +275,8 @@
BB241CE81DDB7B620067F917 /* CHANGELOG.md */,
BB241BC51DD9F6490067F917 /* Package.swift */,
BB241BC71DD9F7D60067F917 /* BigInt.podspec */,
BBB55B1C1C8F90F60050DDA9 /* .travis.yml */,
BB241CF01DDB84210067F917 /* .codecov.yml */,
BBB55ACC1C8F80660050DDA9 /* version.xcconfig */,
BB241CEA1DDB7B620067F917 /* generate-docs.sh */,
BB241CE91DDB7B620067F917 /* Demo.playground */,
BBB55AB41C8F80020050DDA9 /* Sources */,
BBB55AC01C8F80020050DDA9 /* Tests */,
Expand Down Expand Up @@ -533,7 +529,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0730;
LastUpgradeCheck = 1100;
LastUpgradeCheck = 1300;
ORGANIZATIONNAME = "Károly Lőrentey";
TargetAttributes = {
BBB55AB11C8F80020050DDA9 = {
Expand Down Expand Up @@ -888,6 +884,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand Down Expand Up @@ -949,6 +946,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1100"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1100"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1100"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1100"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1100"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
14 changes: 14 additions & 0 deletions Carthage/Checkouts/BigInt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# 5.3.0 (2021-09-06)

This release contains the following changes:

- Make access level for isZero the same for signed and unsigned types (#93)

- NFC: Add protocol conformance to Comparable for BigInt for consistency (#88)

# 5.2.1 (2020-11-15)

This release contains the following changes:

- Added a temporary fix for [SR-13491](https://bugs.swift.org/browse/SR-13491)

# 5.2.0 (2020-08-24)

This release contains the following changes:
Expand Down
Binary file not shown.
Loading

0 comments on commit ca0fee8

Please sign in to comment.