Skip to content

Commit

Permalink
Merge pull request #54 from XYOracleNetwork/develop
Browse files Browse the repository at this point in the history
update core and bump version
  • Loading branch information
Phillip Lorenzo authored Apr 3, 2020
2 parents 4636275 + 3360a53 commit b37af31
Show file tree
Hide file tree
Showing 145 changed files with 25,683 additions and 58 deletions.
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github "XYOracleNetwork/sdk-ble-swift" "3.1.5"
github "XYOracleNetwork/sdk-core-swift" "3.1.1"
github "XYOracleNetwork/sdk-core-swift" "3.1.2"
github "google/promises" "1.2.8"
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Bug report
about: Create a report to help us improve the XYO Android SDK
title: "[BUG]"
labels: bug
assignees: ""
---

**Observed behavior**
A clear and concise description of what exactly happened.

**Expected behavior**
A clear and concise description of what you expected to happen.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**

- Device: [e.g. Samsung Galaxy, Google Pixel]
- OS: [e.g. Android 10]
- Browser [e.g. stock browser, chrome]

**Additional context**
Add any other context about the problem here.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: XYO Developer Portal
url: https://developers.xyo.network/
about: XYO Foundation Developer Portal
- name: XYO Foundation Site
url: https://xyo.network/
about: Check out the fundamentals of our Foundation here
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Documentation needed
about: Suggest documentation that is needed
title: "[DOCUMENTATION]:"
labels: documentation
assignees: ""
---

**Is your documentation request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the documentation and format you would like**
A clear and concise description of what documentation you would like to see and what type for format.
Ex. Step-by-step, Paragraph explainer, screenshots, etc.

**Additional context**
Add any other context or screenshots about the document request here.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature request
about: Suggest an idea for XYO SDK Android
title: "[FEATURE]"
labels: enhancement
assignees: ""
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here. This could include specific devices, android versions, etc.
1 change: 1 addition & 0 deletions Carthage/Checkouts/sdk-core-swift/Cartfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github "https://github.com/Boilertalk/secp256k1.swift"
1 change: 1 addition & 0 deletions Carthage/Checkouts/sdk-core-swift/Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github "Boilertalk/secp256k1.swift" "0.1.4"
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# OS X
.DS_Store

# Xcode
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/
*.xccheckout
profile
*.moved-aside
DerivedData
*.hmap
*.ipa

# Bundler
.bundle

# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build

# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
# Note: if you ignore the Pods directory, make sure to uncomment
# `pod install` in .travis.yml
#
# Pods/
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "secp256k1/Classes/secp256k1"]
path = secp256k1/Classes/secp256k1
url = https://github.com/Boilertalk/secp256k1.git
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

osx_image: xcode9.2
xcode_sdk: iphonesimulator11.2
language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- pod repo update
- pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/secp256k1.xcworkspace -scheme secp256k1-Example -sdk iphonesimulator11.2 -destination 'platform=iOS Simulator,name=iPhone 6,OS=11.2' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
use_frameworks!

target 'secp256k1_Example' do
pod 'secp256k1.swift', :path => '../'

target 'secp256k1_Tests' do
inherit! :search_paths

pod 'Quick', '~> 1.2.0'
pod 'Nimble', '~> 7.0.2'
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
PODS:
- Nimble (7.0.3)
- Quick (1.2.0)
- secp256k1.swift (0.1.0)

DEPENDENCIES:
- Nimble (~> 7.0.2)
- Quick (~> 1.2.0)
- secp256k1.swift (from `../`)

EXTERNAL SOURCES:
secp256k1.swift:
:path: ../

SPEC CHECKSUMS:
Nimble: 7f5a9c447a33002645a071bddafbfb24ea70e0ac
Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08
secp256k1.swift: c4734a8c5597de8ff4af5db24624d6dd883eede0

PODFILE CHECKSUM: edc76d8e04d7e8abb3a70d95745bc17449297f49

COCOAPODS: 1.3.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// https://github.com/Quick/Quick

import Quick
import Nimble
import secp256k1

class TableOfContentsSpec: QuickSpec {
override func spec() {
describe("example spec") {

context("these will pass") {

it("can do maths") {
expect(23) == 23
}

it("can read") {
expect("🐮") == "🐮"
}

it("will eventually pass") {
var time = "passing"

DispatchQueue.main.async {
time = "done"
}

waitUntil { done in
Thread.sleep(forTimeInterval: 0.5)
expect(time) == "done"

done()
}
}
}
}
}
}
Loading

0 comments on commit b37af31

Please sign in to comment.