Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12 from NIFCloud-mbaas/develop
Browse files Browse the repository at this point in the history
Release v0.1.0
  • Loading branch information
gs0zk1 committed Mar 26, 2019
2 parents 8f67528 + 69faba1 commit caeb66e
Show file tree
Hide file tree
Showing 7 changed files with 95 additions and 10 deletions.
54 changes: 54 additions & 0 deletions .github/CONTRIBUTING.md
@@ -0,0 +1,54 @@
- [日本語](#ja)
- [English](#en)

# Contributeする方法<a name="ja">

## バグの報告

### バグ報告をする前の確認

- SDKのバグについては、Github issuesで管理します
- REST APIやダッシュボードのバグは、[不具合報告フォーム](https://inquiry.nifty.com/webeq/pub/mbaas/bug_report)からご連絡ください
- issueを作成する前に、正しいリポジトリかを確認してください
- Openになっているissueで、すでに報告されていないかを確認してください

### バグを報告する方法

- バグを報告する場合は、可能な範囲でissue templateの内容に沿って記載してください
- サンプルコードやエラーメッセージ内にAPIキーや個人情報などが含まれていないか確認してください

## 要望の追加

- 要望を追加する場合は、フリーフォーマットでissueを作成してください
- REST APIやダッシュボードの改善要望は、[改善要望フォーム](https://inquiry.nifty.com/webeq/pub/mbaas/improvement)からご連絡ください

## プルリクエストを作成する

- プルリクエストを作成する場合は、可能な範囲でpull request templateの内容に沿って記載してください
- プルリクエストを作成する場合は、developブランチをターゲットに選択してください

# Contribute Guideline<a name="en">

## Reporting Bugs

### Before submitting a bug report

- We use Github issues to track SDKs' bugs
- Please report bugs of the REST API, Dashboard using this Trouble Report Form [Support page](https://inquiry.nifty.com/webeq/pub/mbaas/bug_report)
- Please check that you report bug for corresponding repository
- Please check that if is already reported

### How to submit a bug report

- Please follow the issue template as possible
- Please make sure that is not include credential information(e.g. API Key, Personal information

## Request for enhancements

- Please register Request for enhancements issues in free format
- Please send request for enhancement of the REST API, Dashboard using this [Enhancement Request Form](https://inquiry.nifty.com/webeq/pub/mbaas/improvement)

## Pull Requests

- Please follow pull request template as possible
- Please select target branch to "develop" branch.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE.md
@@ -0,0 +1,15 @@
SDKの改善にご協力いただきありがとうございます。
(Thank you for your support our SDK.)

SDKの不具合を報告する場合は、以下の項目を確認してください。
(If you want to report a bug of the SDK, please confirm the following terms.)

- サンプルコードにAPIキーや個人情報が含まれていないか (The sample code does not include credential information?)
- 同じバグをすでに誰かが報告していてOpenになっているissueはないか (This bug is not being reported?)

## 不具合の概要(Description of bug)

- SDKのバージョン(SDK version)
- 不具合が発生した環境(Environment requirement)
- 不具合を再現させる手順・サンプルコード(Step for Reproduce bug / Sample code)
- エラーメッセージ(Error messages)
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,16 @@
SDKの改善にご協力いただきありがとうございます。
(Thank you for your support our SDK.)

プルリクエストを作成する場合は、developをターゲットにしてください。
(Please select target branch to "develop" branch.)

可能な限り、修正時にはテストコードまたは動作確認手順を追加してください。
(Please include test code or describe confirmation steps as possible.)

## 概要(Summary)

- Fixed #xx

## 動作確認手順(Step for Confirmation)

Run the unit test.
2 changes: 1 addition & 1 deletion NCMB/NCMB.swift
Expand Up @@ -18,7 +18,7 @@ import Foundation

/// 共通情報を管理するクラスです。
public class NCMB {
public static let SDK_VERSION : String = "0.0.1"
public static let SDK_VERSION : String = "0.1.0"
static let METADATA_PREFIX : String = "com.nifcloud.mbaas."
public static let DEFAULT_DOMAIN_URL : String = "https://mbaas.api.nifcloud.com/"
public static let DEFAULT_API_VERSION : String = "2013-09-01"
Expand Down
2 changes: 1 addition & 1 deletion NCMBTests/NCMBInstallationTests.swift
Expand Up @@ -552,7 +552,7 @@ final class NCMBInstallationTests: NCMBTestCase {
NCMBLocalFileManagerFactory.setInstance(manager: manager)
_ = NCMBInstallation.currentInstallation
XCTAssertEqual(manager.saveLog.count, 1)
XCTAssertTrue(String(data: manager.saveLog[0].data, encoding: .utf8)!.contains("\"sdkVersion\":\"0.0.1\""))
XCTAssertTrue(String(data: manager.saveLog[0].data, encoding: .utf8)!.contains("\"sdkVersion\":\"0.1.0\""))
XCTAssertEqual(manager.saveLog[0].type, NCMBLocalFileType.currentInstallation)
}

Expand Down
4 changes: 2 additions & 2 deletions NCMBTests/network/NCMBRequestTests.swift
Expand Up @@ -160,7 +160,7 @@ final class NCMBRequestTests: NCMBTestCase {
XCTAssertEqual(urlRequest.value(forHTTPHeaderField:"X-NCMB-Timestamp")!, "1986-02-04T12:34:56.789Z")
XCTAssertEqual(urlRequest.value(forHTTPHeaderField:"X-NCMB-Signature")!, "Gr/jVnob8/fucYAUwW8fXEVllonyDH1NMirCUHgoYZU=")
XCTAssertEqual(urlRequest.value(forHTTPHeaderField:"X-NCMB-Apps-Session-Token"), nil)
XCTAssertEqual(urlRequest.value(forHTTPHeaderField:"X-NCMB-SDK-Version"), "swift-0.0.1")
XCTAssertEqual(urlRequest.value(forHTTPHeaderField:"X-NCMB-SDK-Version"), "swift-0.1.0")
XCTAssertNotNil(urlRequest.value(forHTTPHeaderField:"X-NCMB-OS-Version"))
XCTAssertEqual(urlRequest.value(forHTTPHeaderField:"X-NCMB-TEST1"), "VALUE1")
XCTAssertEqual(urlRequest.value(forHTTPHeaderField:"X-NCMB-TEST2"), "VALUE2")
Expand All @@ -183,7 +183,7 @@ final class NCMBRequestTests: NCMBTestCase {
XCTAssertNotNil(urlRequest.value(forHTTPHeaderField: "X-NCMB-Timestamp"))
XCTAssertNotNil(urlRequest.value(forHTTPHeaderField: "X-NCMB-Signature"))
XCTAssertEqual(urlRequest.value(forHTTPHeaderField: "X-NCMB-Apps-Session-Token"), nil)
XCTAssertEqual(urlRequest.value(forHTTPHeaderField: "X-NCMB-SDK-Version"), "swift-0.0.1")
XCTAssertEqual(urlRequest.value(forHTTPHeaderField: "X-NCMB-SDK-Version"), "swift-0.1.0")
XCTAssertNotNil(urlRequest.value(forHTTPHeaderField: "X-NCMB-OS-Version"))
}

Expand Down
12 changes: 6 additions & 6 deletions README.md
@@ -1,10 +1,10 @@
# ニフクラ mobile backend swift SDKについて
# ニフクラ mobile backend Swift SDKについて

## 概要

ニフクラ mobile backend iOS SDKは、
ニフクラ mobile backend Swift SDKは、
モバイルアプリのバックエンド機能を提供するクラウドサービス
[ニフクラ mobile backend](https://mbaas.nifcloud.com)用の swift SDK です。
[ニフクラ mobile backend](https://mbaas.nifcloud.com)用の Swift SDK です。

- プッシュ通知
- データストア
Expand All @@ -17,13 +17,13 @@

## 動作環境

- swift version 4.2
- iOS 10.x
- Swift version 4.2
- iOS 12.0
- Xcode10.x

## 開発者検証バージョン

この SDK につきましては現在、開発者検証バージョンです。テクニカルサポート対応バージョンではありませんので御注意ください。
この SDK につきましては現在、デベロッパープレビュー版です。テクニカルサポート対応バージョンではありませんので御注意ください。

### 現在未実装部分について

Expand Down

0 comments on commit caeb66e

Please sign in to comment.