Skip to content

Commit

Permalink
Releasing v0.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
arguiot committed Aug 29, 2020
1 parent d8572c5 commit 830fb17
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Euler.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Euler"
s.version = "0.2.7"
s.version = "0.2.8"
s.summary = "The open source computational framework for the Swift language (early stage)"
s.description = <<-DESC
The open source computational framework for the Swift language (early stage)
Expand Down
4 changes: 2 additions & 2 deletions Euler.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Euler.xcodeproj/Euler_Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
MARKETING_VERSION = 0.2.7;
MARKETING_VERSION = 0.2.8;
OTHER_CFLAGS = "$(inherited)";
OTHER_LDFLAGS = "$(inherited)";
OTHER_SWIFT_FLAGS = "$(inherited)";
Expand All @@ -843,7 +843,7 @@
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Euler.xcodeproj/Euler_Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
MARKETING_VERSION = 0.2.7;
MARKETING_VERSION = 0.2.8;
OTHER_CFLAGS = "$(inherited)";
OTHER_LDFLAGS = "$(inherited)";
OTHER_SWIFT_FLAGS = "$(inherited)";
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ I’m already working with Apple to fix this, but if you have the solution, plea
[CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Euler into your Xcode project using CocoaPods, specify it in your `Podfile`:

```ruby
pod 'Euler', '~> 0.2.7'
pod 'Euler', '~> 0.2.8'
```

### Carthage

[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate Euler into your Xcode project using Carthage, specify it in your `Cartfile`:

```ogdl
github "arguiot/Euler" ~> 0.2.7
github "arguiot/Euler" ~> 0.2.8
```

### Swift Package Manager
Expand All @@ -34,7 +34,7 @@ Once you have your Swift package set up, adding Euler as a dependency is as easy

```swift
dependencies: [
.package(url: "https://github.com/arguiot/Euler.git", .upToNextMajor(from: "0.2.7"))
.package(url: "https://github.com/arguiot/Euler.git", .upToNextMajor(from: "0.2.8"))
]
```

Expand Down
2 changes: 2 additions & 0 deletions Tests/EulerTests/NodeTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ class NodeTests: XCTestCase {
XCTAssertEqual(try Expression("2-10^9-15*10^6*10").node.evaluate([:]).number, -1149999998)
XCTAssertEqual(try Expression("10^(3)10").node.evaluate([:]).number, 10000)
XCTAssertEqual(try Expression(latex: "10^110").node.evaluate([:]).number, 100)
XCTAssertEqual(try Expression("10^10").node.evaluate([:]).number, 10000000000)
XCTAssertEqual(try Expression(latex: "3\\left(\\frac{4}{2}^22-10^2\\right)*5^2").node.evaluate([:]).number, -6900) // WolframAlpha get it wrong (which is quite cool that Euler got it right the first time!
} catch {
print(error.localizedDescription)
XCTFail()
Expand Down

0 comments on commit 830fb17

Please sign in to comment.