mirror of
https://github.com/afollestad/nock-nock.git
synced 2025-04-21 03:55:30 +00:00
0.8.4
This commit is contained in:
parent
cbac2796aa
commit
637ef2edf7
5 changed files with 8 additions and 6 deletions
|
@ -49,6 +49,7 @@
|
|||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/content_inset_quarter"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
<string name="site_url">Site URL</string>
|
||||
<string name="site_url_hint">https://yoursite.com</string>
|
||||
<string name="site_tags">Site Tags</string>
|
||||
<string name="site_tags_hint">One,Two,Three</string>
|
||||
<string name="site_tags_hint">e.g. One,Two,Three</string>
|
||||
<string name="site_tags_hint_full">Tags (e.g. One,Two,Three)</string>
|
||||
<string name="please_enter_name">Please enter a name!</string>
|
||||
<string name="please_enter_url">Please enter a URL.</string>
|
||||
<string name="please_enter_valid_url">Please enter a valid URL.</string>
|
||||
|
|
|
@ -27,7 +27,7 @@ class Database1to2Migration : Migration(1, 2) {
|
|||
|
||||
override fun migrate(database: SupportSQLiteDatabase) {
|
||||
database.execSQL(
|
||||
"CREATE TABLE `retry_policies` (siteId INTEGER PRIMARY KEY NOT NULL, count INTEGER NOT NULL, minutes INTEGER NOT NULL, lastTryTimestamp INTEGER NOT NULL, triesLeft INTEGER NOT NULL)"
|
||||
"CREATE TABLE IF NOT EXISTS `retry_policies` (siteId INTEGER PRIMARY KEY NOT NULL, count INTEGER NOT NULL, minutes INTEGER NOT NULL, lastTryTimestamp INTEGER NOT NULL, triesLeft INTEGER NOT NULL)"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ class Database3to4Migration : Migration(3, 4) {
|
|||
|
||||
override fun migrate(database: SupportSQLiteDatabase) {
|
||||
database.execSQL(
|
||||
"CREATE TABLE `headers` (id INTEGER PRIMARY KEY NOT NULL, siteId INTEGER NOT NULL, `key` TEXT NOT NULL, value TEXT NOT NULL)"
|
||||
"CREATE TABLE IF NOT EXISTS `headers` (id INTEGER PRIMARY KEY NOT NULL, siteId INTEGER NOT NULL, `key` TEXT NOT NULL, value TEXT NOT NULL)"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,8 +3,8 @@ ext.versions = [
|
|||
minSdk : 21,
|
||||
compileSdk : 28,
|
||||
buildTools : '28.0.3',
|
||||
publishVersion : '0.8.3',
|
||||
publishVersionCode : 35,
|
||||
publishVersion : '0.8.4',
|
||||
publishVersionCode : 37,
|
||||
|
||||
// Plugins
|
||||
gradlePlugin : '3.2.1',
|
||||
|
|
|
@ -143,7 +143,7 @@ class ValidationJob : JobService() {
|
|||
|
||||
if (jobResult.lastResult!!.status == OK) {
|
||||
notificationManager.cancelStatusNotification(jobResult)
|
||||
if (lastResult != null && lastResult.status != OK) {
|
||||
if (lastResult != null && lastResult.status == ERROR) {
|
||||
notificationManager.postValidationSuccessNotification(jobResult)
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue