Skip to content

-some cleanup in the rules engine#32

Merged
sbenedicadb merged 11 commits intoadobe:devfrom
sbenedicadb:cleanup
Jan 7, 2021
Merged

-some cleanup in the rules engine#32
sbenedicadb merged 11 commits intoadobe:devfrom
sbenedicadb:cleanup

Conversation

@sbenedicadb
Copy link
Copy Markdown
Member

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 6, 2021

Codecov Report

❗ No coverage uploaded for pull request base (dev@47ebd2b). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             dev      #32   +/-   ##
======================================
  Coverage       ?   95.85%           
======================================
  Files          ?       17           
  Lines          ?      337           
  Branches       ?        0           
======================================
  Hits           ?      323           
  Misses         ?       14           
  Partials       ?        0           

README.md Outdated
# for app development, include all the following pods
target 'YOUR_TARGET_NAME' do
pod 'AEPRulesEngine', :git => 'https://github.com/adobe/aepsdk-rulesengine-ios.git', :branch => 'main'
pod 'AEPCore', :git => 'https://github.com/adobe/aepsdk-core-ios.git', :branch => 'main'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should only leave AEPRulesEngine here

README.md Outdated

## Requirements
- Xcode 11.0 (or newer)
- Swift 5.0 (or newer)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be Swift 5.1

/// The `Log` class will be dormant unless its static `logging` variable is initialized.
/// To enable logging from the RulesEngine, implement a class that conforms to the
/// `Logging` protocol and use an instance of it to set the `Log.logging` variable.
public enum Log {
Copy link
Copy Markdown
Contributor

@yangyansong-adbe yangyansong-adbe Jan 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/adobe/aepsdk-core-ios/blob/main/AEPServices/Sources/log/Log.swift

If we have import AEPRulesEngine and import AEPServices in the same class, it will make the "name conflicts" issue, so I think we'd better pick another name than Log.

}

public enum RulesEngineLogLevel: Int, Comparable {
public enum LogLevel: Int, Comparable {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the same concerns as Log class.

@sbenedicadb sbenedicadb merged commit fac191c into adobe:dev Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants