Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #70

Merged
merged 1 commit into from
Jun 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
},

"parser": "espree",
"ecmaFeatures": {},

//
// http://eslint.org/docs/rules/
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ node_modules
*.swp
*.bak
credentials*.json
coverage
.nyc_output
package-lock.json
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ notifications:
- keith@tumblr.com
language: node_js
node_js:
- "5"
- "4"
- "0.12"
- "6"
- "8"
- "10"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ client.addPostMethods({

```bash
npm test # linter and tests
gulp lint # linter
gulp test # just the tests
npm run lint # linter
npm run mocha # just the tests
```

---
Expand Down
55 changes: 30 additions & 25 deletions gh-pages/TumblrClient.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h4 class="name" id="TumblrClient"><span class="signature-type"></span>new Tumbl

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line696">line 696</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line703">line 703</a>
</li></ul></dd>


Expand Down Expand Up @@ -3614,6 +3614,13 @@ <h4 class="name" id=".createPost"><span class="signature-type">(static) </span>c




<dt class="tag-see">See:</dt>
<dd class="tag-see">
<ul>
<li><a href="https://www.tumblr.com/docs/api/v2#posting">API Docs</a></li>
</ul>
</dd>



Expand All @@ -3624,9 +3631,7 @@ <h4 class="name" id=".createPost"><span class="signature-type">(static) </span>c


<div class="description">
<p>Creates a post on the given blog.
See the <a href="https://www.tumblr.com/docs/api/v2#posting">API docs</a> for more information
about the parameters accepted.</p>
<p>Creates a post on the given blog.</p>
</div>


Expand Down Expand Up @@ -3839,7 +3844,7 @@ <h4 class="name" id=".editPost"><span class="signature-type">(static) </span>edi

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line244">line 244</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line243">line 243</a>
</li></ul></dd>


Expand Down Expand Up @@ -4092,7 +4097,7 @@ <h4 class="name" id=".reblogPost"><span class="signature-type">(static) </span>r

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line259">line 259</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line258">line 258</a>
</li></ul></dd>


Expand Down Expand Up @@ -4345,7 +4350,7 @@ <h4 class="name" id=".deletePost"><span class="signature-type">(static) </span>d

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line274">line 274</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line273">line 273</a>
</li></ul></dd>


Expand Down Expand Up @@ -4639,7 +4644,7 @@ <h4 class="name" id=".followBlog"><span class="signature-type">(static) </span>f

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line290">line 290</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line289">line 289</a>
</li></ul></dd>


Expand Down Expand Up @@ -4895,7 +4900,7 @@ <h4 class="name" id=".unfollowBlog"><span class="signature-type">(static) </span

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line305">line 305</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line304">line 304</a>
</li></ul></dd>


Expand Down Expand Up @@ -5151,7 +5156,7 @@ <h4 class="name" id=".likePost"><span class="signature-type">(static) </span>lik

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line320">line 320</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line319">line 319</a>
</li></ul></dd>


Expand Down Expand Up @@ -5448,7 +5453,7 @@ <h4 class="name" id=".unlikePost"><span class="signature-type">(static) </span>u

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line336">line 336</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line335">line 335</a>
</li></ul></dd>


Expand Down Expand Up @@ -5745,7 +5750,7 @@ <h4 class="name" id=".createTextPost"><span class="signature-type">(static) </sp

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line723">line 723</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line730">line 730</a>
</li></ul></dd>


Expand Down Expand Up @@ -6089,7 +6094,7 @@ <h4 class="name" id=".createPhotoPost"><span class="signature-type">(static) </s

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line742">line 742</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line749">line 749</a>
</li></ul></dd>


Expand Down Expand Up @@ -6518,7 +6523,7 @@ <h4 class="name" id=".createQuotePost"><span class="signature-type">(static) </s

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line763">line 763</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line770">line 770</a>
</li></ul></dd>


Expand Down Expand Up @@ -6862,7 +6867,7 @@ <h4 class="name" id=".createLinkPost"><span class="signature-type">(static) </sp

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line782">line 782</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line789">line 789</a>
</li></ul></dd>


Expand Down Expand Up @@ -7378,7 +7383,7 @@ <h4 class="name" id=".createChatPost"><span class="signature-type">(static) </sp

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line805">line 805</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line812">line 812</a>
</li></ul></dd>


Expand Down Expand Up @@ -7722,7 +7727,7 @@ <h4 class="name" id=".createAudioPost"><span class="signature-type">(static) </s

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line824">line 824</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line831">line 831</a>
</li></ul></dd>


Expand Down Expand Up @@ -8107,7 +8112,7 @@ <h4 class="name" id=".createVideoPost"><span class="signature-type">(static) </s

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line844">line 844</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line851">line 851</a>
</li></ul></dd>


Expand Down Expand Up @@ -8492,7 +8497,7 @@ <h4 class="name" id="getRequest"><span class="signature-type"></span>getRequest<

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line879">line 879</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line886">line 886</a>
</li></ul></dd>


Expand Down Expand Up @@ -8745,7 +8750,7 @@ <h4 class="name" id="postRequest"><span class="signature-type"></span>postReques

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line896">line 896</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line903">line 903</a>
</li></ul></dd>


Expand Down Expand Up @@ -8998,7 +9003,7 @@ <h4 class="name" id="returnPromises"><span class="signature-type"></span>returnP

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line908">line 908</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line915">line 915</a>
</li></ul></dd>


Expand Down Expand Up @@ -9083,7 +9088,7 @@ <h4 class="name" id="addGetMethods"><span class="signature-type"></span>addGetMe

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line918">line 918</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line925">line 925</a>
</li></ul></dd>


Expand Down Expand Up @@ -9223,7 +9228,7 @@ <h4 class="name" id="addPostMethods"><span class="signature-type"></span>addPost

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line927">line 927</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line934">line 934</a>
</li></ul></dd>


Expand Down Expand Up @@ -9371,7 +9376,7 @@ <h4 class="name" id="~callback"><span class="signature-type"></span>callback<spa

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line931">line 931</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line938">line 938</a>
</li></ul></dd>


Expand Down Expand Up @@ -9603,7 +9608,7 @@ <h5>Parameters:</h5>
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.4</a> on Fri Aug 25 2017 16:22:35 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon May 28 2018 09:55:44 GMT+0900 (DST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script src="scripts/main.js"></script>
Expand Down
8 changes: 4 additions & 4 deletions gh-pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,13 @@ <h2>Example</h2><pre class="prettyprint source lang-js"><code>// Show user's blo
likePost: ['/user/like', ['id', 'reblog_key']],
});</code></pre><hr>
<h2>Running Tests</h2><pre class="prettyprint source lang-bash"><code>npm test # linter and tests
gulp lint # linter
gulp test # just the tests</code></pre><hr>
npm lint # linter
npm mocha # just the tests</code></pre><hr>
<h2>Copyright and license</h2><p>Copyright 2013-2016 Tumblr, Inc.</p>
<p>Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not
use this work except in compliance with the License. You may obtain a copy of
the License in the <a href="LICENSE">LICENSE</a> file, or at:</p>
<p>http://www.apache.org/licenses/LICENSE-2.0</p>
<p>http://<a href="http://www.apache.org/licenses/LICENSE-2.0">www.apache.org/licenses/LICENSE-2.0</a></p>
<p>Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
Expand All @@ -217,7 +217,7 @@ <h2>Copyright and license</h2><p>Copyright 2013-2016 Tumblr, Inc.</p>
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.4</a> on Fri Aug 25 2017 16:22:35 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon May 28 2018 09:55:44 GMT+0900 (DST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script src="scripts/main.js"></script>
Expand Down
6 changes: 3 additions & 3 deletions gh-pages/tumblr.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h4 class="name" id=".Client"><span class="signature-type">(static) </span>Clien

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line950">line 950</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line957">line 957</a>
</li></ul></dd>


Expand Down Expand Up @@ -209,7 +209,7 @@ <h4 class="name" id=".createClient"><span class="signature-type">(static) </span

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line965">line 965</a>
<a href="tumblr.js.html">tumblr.js</a>, <a href="tumblr.js.html#line972">line 972</a>
</li></ul></dd>


Expand Down Expand Up @@ -519,7 +519,7 @@ <h5>Returns:</h5>
</div>

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.4</a> on Fri Aug 25 2017 16:22:35 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon May 28 2018 09:55:44 GMT+0900 (DST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script src="scripts/main.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions gh-pages/tumblr.js.html

Large diffs are not rendered by default.

32 changes: 0 additions & 32 deletions gulpfile.js

This file was deleted.

3 changes: 1 addition & 2 deletions lib/tumblr.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,8 @@ var API_METHODS = {
POST: {
/**
* Creates a post on the given blog.
* See the {@link https://www.tumblr.com/docs/api/v2#posting|API docs} for more information
* about the parameters accepted.
*
* @see {@link https://www.tumblr.com/docs/api/v2#posting|API Docs}
* @method createPost
*
* @param {string} blogIdentifier - blog name or URL
Expand Down