Skip to content

Commit e148f82

Browse files
committed
Merge branch 'master' into fix/MTC-30488
Conflicts: mt-static/data-api/v7/js/mt-data-api.min.js this conflict was resolved by executing "make build" command
2 parents a5873b4 + ab31dc3 commit e148f82

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

mt-static/data-api/v7/js/mt-data-api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Movable Type DataAPI SDK for JavaScript v6
2+
* Movable Type DataAPI SDK for JavaScript v7
33
* https://github.com/movabletype/mt-data-api-sdk-js
44
* Copyright (c) Six Apart Ltd.
55
* This program is distributed under the terms of the MIT license.
@@ -140,7 +140,7 @@ var DataAPI = function(options) {
140140
* @private
141141
* @type Number
142142
*/
143-
DataAPI.version = 6;
143+
DataAPI.version = 7;
144144

145145
/**
146146
* The key of access token of this api object.

mt-static/data-api/v7/js/mt-data-api.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node-lib/data-api/v7/node-mt-data-api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Movable Type DataAPI SDK for JavaScript v6
2+
* Movable Type DataAPI SDK for JavaScript v7
33
* https://github.com/movabletype/mt-data-api-sdk-js
44
* Copyright (c) Six Apart Ltd.
55
* This program is distributed under the terms of the MIT license.
@@ -148,7 +148,7 @@ var DataAPI = function(options) {
148148
* @private
149149
* @type Number
150150
*/
151-
DataAPI.version = 6;
151+
DataAPI.version = 7;
152152

153153
/**
154154
* The key of access token of this api object.

spec/data-api/common/core-request-spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ describe("DataAPI Request", function(){
471471
});;
472472
api.request('GET', '/endpoint-test');
473473

474-
expect(url).toMatch(new RegExp(dataApiBaseUrl + '/v6/endpoint-test\\?_=\\d+'));
474+
expect(url).toMatch(new RegExp(dataApiBaseUrl + '/v7/endpoint-test\\?_=\\d+'));
475475
});
476476

477477
it("should be set timeout property if the timeout option is set", function(){
@@ -500,7 +500,7 @@ describe("DataAPI Request", function(){
500500
});;
501501
api.request('GET', '/endpoint-test');
502502

503-
expect(url).toEqual(dataApiBaseUrl + '/v6/endpoint-test?format=mpac');
503+
expect(url).toEqual(dataApiBaseUrl + '/v7/endpoint-test?format=mpac');
504504
});
505505

506506
it("should be set \"X-MT-Authorization\" request header if an accessToke is already set up", function(){

spec/helpers/node/node-helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var path = require("path"),
44
lib = path.join(base, "node-lib");
55

66
global.MT = {
7-
DataAPI: require(path.join(lib, "bootstrap"))["v6"]
7+
DataAPI: require(path.join(lib, "bootstrap"))["v7"]
88
};
99

1010
global.sinon = require(path.join(base, "bower_components", "sinon"));

src/data-api/common/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ var DataAPI = function(options) {
111111
* @private
112112
* @type Number
113113
*/
114-
DataAPI.version = 6;
114+
DataAPI.version = 7;
115115

116116
/**
117117
* The key of access token of this api object.

src/data-api/common/header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Movable Type DataAPI SDK for JavaScript v6
2+
* Movable Type DataAPI SDK for JavaScript v7
33
* https://github.com/movabletype/mt-data-api-sdk-js
44
* Copyright (c) Six Apart Ltd.
55
* This program is distributed under the terms of the MIT license.

0 commit comments

Comments
 (0)