pinterest-ruby 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/.travis-gemfile +1 -1
  4. data/.travis.yml +1 -1
  5. data/CHANGELOG.md +6 -0
  6. data/Gemfile +1 -1
  7. data/LICENSE.md +21 -0
  8. data/README.md +60 -14
  9. data/Rakefile +1 -1
  10. data/docs/FaradayMiddleware/SafeOj.html +1 -1
  11. data/docs/FaradayMiddleware.html +1 -1
  12. data/docs/Pinterest/Board.html +1 -1
  13. data/docs/Pinterest/Client.html +1 -1
  14. data/docs/Pinterest/Collection.html +1 -1
  15. data/docs/Pinterest/Endpoints/Authentication.html +1 -1
  16. data/docs/Pinterest/Endpoints/Boards.html +1 -1
  17. data/docs/Pinterest/Endpoints/Pins.html +1 -1
  18. data/docs/Pinterest/Endpoints/Users.html +1 -1
  19. data/docs/Pinterest/Endpoints.html +1 -1
  20. data/docs/Pinterest/Entity.html +1 -1
  21. data/docs/Pinterest/Errors/AuthorizationError.html +1 -1
  22. data/docs/Pinterest/Errors/BadRequestError.html +1 -1
  23. data/docs/Pinterest/Errors/BaseError.html +1 -1
  24. data/docs/Pinterest/Errors/MethodNotAllowedError.html +1 -1
  25. data/docs/Pinterest/Errors/NotFoundError.html +1 -1
  26. data/docs/Pinterest/Errors/NotImplementedError.html +1 -1
  27. data/docs/Pinterest/Errors/PermissionsError.html +1 -1
  28. data/docs/Pinterest/Errors/RateLimitError.html +1 -1
  29. data/docs/Pinterest/Errors/ServerError.html +1 -1
  30. data/docs/Pinterest/Errors/TimeoutError.html +1 -1
  31. data/docs/Pinterest/Errors.html +1 -1
  32. data/docs/Pinterest/Image.html +1 -1
  33. data/docs/Pinterest/Interest.html +1 -1
  34. data/docs/Pinterest/Pin.html +1 -1
  35. data/docs/Pinterest/User.html +1 -1
  36. data/docs/Pinterest/Version.html +1 -1
  37. data/docs/Pinterest.html +1 -1
  38. data/docs/_index.html +1 -1
  39. data/docs/file.README.html +43 -1
  40. data/docs/index.html +43 -1
  41. data/docs/top-level-namespace.html +1 -1
  42. data/lib/pinterest/client.rb +1 -1
  43. data/lib/pinterest/collection.rb +1 -1
  44. data/lib/pinterest/endpoints/authentication.rb +1 -1
  45. data/lib/pinterest/endpoints/boards.rb +1 -1
  46. data/lib/pinterest/endpoints/pins.rb +1 -1
  47. data/lib/pinterest/endpoints/users.rb +1 -1
  48. data/lib/pinterest/errors.rb +1 -1
  49. data/lib/pinterest/models/board.rb +1 -1
  50. data/lib/pinterest/models/entity.rb +1 -1
  51. data/lib/pinterest/models/image.rb +1 -1
  52. data/lib/pinterest/models/interest.rb +1 -1
  53. data/lib/pinterest/models/pin.rb +1 -1
  54. data/lib/pinterest/models/user.rb +1 -1
  55. data/lib/pinterest/safe_oj.rb +1 -1
  56. data/lib/pinterest/version.rb +2 -2
  57. data/lib/pinterest.rb +1 -1
  58. data/pinterest.gemspec +1 -1
  59. data/spec/pinterest/client_spec.rb +1 -1
  60. data/spec/pinterest/collection_spec.rb +1 -1
  61. data/spec/pinterest/endpoints/authentication_spec.rb +1 -1
  62. data/spec/pinterest/endpoints/boards_spec.rb +1 -1
  63. data/spec/pinterest/endpoints/pins_spec.rb +1 -1
  64. data/spec/pinterest/endpoints/users_spec.rb +1 -1
  65. data/spec/pinterest/errors_spec.rb +1 -1
  66. data/spec/pinterest/models/board_spec.rb +1 -1
  67. data/spec/pinterest/models/entity_spec.rb +1 -1
  68. data/spec/pinterest/models/image_spec.rb +1 -1
  69. data/spec/pinterest/models/interest_spec.rb +1 -1
  70. data/spec/pinterest/models/pin_spec.rb +1 -1
  71. data/spec/pinterest/models/user_spec.rb +1 -1
  72. data/spec/spec_helper.rb +1 -1
  73. metadata +5 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d369e701c5672bb417761756a5ef61c0c0d2c0a
4
- data.tar.gz: 0e0f84e70e03e0f140272e639c3b085c4aaa90cc
3
+ metadata.gz: 9b7d5eff7f564c886c70df18aab2f27c97e9ed23
4
+ data.tar.gz: f9e1c8e37d8213931e01668a56cddc744091cfe3
5
5
  SHA512:
6
- metadata.gz: 47d999f14e2686a8ad26b80764ed7ef8d954429ac4985ce4dcc4df80617270877e64ab65f554096aefc5ffc945ae694c77cb3db0441302ef1bdcd3330ff92014
7
- data.tar.gz: 7cfaa001d6794bf140ca1590711b7aed3336efecf2b037680765508270ade54d31c433fa212e905dd6eeacd3872b1ee16da4928c8bbc9564c35d7f920a77ac79
6
+ metadata.gz: a1356a4e6f311a638c632502ba8e51637b4ee3783af2a2f9155cf3fca2ccf3c66f89202ce094ce994c67fa81fbe5243d6fb5e4707c250584281bd502f21ccc71
7
+ data.tar.gz: f03905a65d187bb9809ebecb7878ddcc97c2181c27c761fb43056bcdb5ea61d5327b0e4c2b245b3ad3f7eba8cca3ffeee049c1ac6e721619f81d2ce0f0a43159
data/.rubocop.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  AllCops:
data/.travis-gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  raise "Ruby version must be greater than 2.2.0" unless RUBY_VERSION.to_f >= 2.2
data/.travis.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  language: ruby
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### 2018-06-18 / 1.0.1
2
+
3
+ * chore: End of development notice.
4
+ * Updated license links and badges.
5
+ * Added basic usage informations.
6
+
1
7
  ### 1.0.0 / 2017-01-12
2
8
 
3
9
  * Initial version.
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  raise "Ruby version must be greater than 2.2.0" unless RUBY_VERSION.to_f >= 2.2
data/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (C) 2018 and above Shogun <shogun@cowtech.it>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,34 +1,80 @@
1
1
  # pinterest-ruby
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/pinterest-ruby.png)](http://badge.fury.io/rb/pinterest-ruby)
4
- [![Dependency Status](https://gemnasium.com/ShogunPanda/pinterest-ruby.png?travis)](https://gemnasium.com/ShogunPanda/pinterest-ruby)
5
- [![Build Status](https://secure.travis-ci.org/ShogunPanda/pinterest-ruby.png?branch=master)](http://travis-ci.org/ShogunPanda/pinterest-ruby)
6
- [![Coverage Status](https://coveralls.io/repos/github/ShogunPanda/pinterest-ruby/badge.svg?branch=master)](https://coveralls.io/github/ShogunPanda/pinterest-ruby?branch=master)
3
+ [![Gem Version](https://img.shields.io/gem/v/pinterest-ruby.svg)](https://rubygems.org/gems/pinterest-ruby)
4
+ [![Dependency Status](https://img.shields.io/gemnasium/ShogunPanda/pinterest-ruby.svg)](https://gemnasium.com/ShogunPanda/pinterest-ruby)
5
+ [![Build Status](https://img.shields.io/travis/ShogunPanda/pinterest-ruby.svg)](http://travis-ci.org/ShogunPanda/pinterest-ruby)
6
+ [![Coverage Status](https://img.shields.io/coveralls/github/ShogunPanda/pinterest-ruby.svg)](https://coveralls.io/github/ShogunPanda/pinterest-ruby)
7
7
 
8
8
  A tiny JSON API framework for Ruby on Rails.
9
9
 
10
10
  https://sw.cowtech.it/pinterest-ruby
11
11
 
12
+ ## END OF DEVELOPMENT NOTICE
13
+
14
+ # This gem has been discontinued.
15
+
12
16
  # Introduction
13
17
 
14
18
  Pinterest API wrapper.
15
19
 
20
+ ## Usage
21
+
22
+ ### Basic authorization flow
23
+
24
+ ```ruby
25
+ require "pinterest"
26
+
27
+ # Create the client
28
+ client = Pinterest::Client.new(client_id: "ID", client_secret: "SECRET")
29
+
30
+ # Authorization
31
+ url = "https://localhost:3000" # The URL MUST be HTTPS and configured on Pinterest Apps console.
32
+
33
+ puts client.authorization_url(url) # Send the user to this URL.
34
+
35
+ # ...
36
+
37
+ # Start a webserver that will listen on the url above, it will get called with a authorization code in the query string.
38
+ query = request.params[:code]
39
+
40
+ token = client.fetch_access_token(query) # This token can be saved for later use (see below).
41
+ client.access_token = token
42
+
43
+ # Play with the API!
44
+ p client.me
45
+ ```
46
+
47
+ ### Authenticated flow
48
+
49
+ ```ruby
50
+ require "pinterest"
51
+
52
+ # Fetch the token saved above
53
+ token = "TOKEN"
54
+
55
+ # Create the client
56
+ client = Pinterest::Client.new(access_token: token)
57
+
58
+ # Play with the API!
59
+ p client.me
60
+ ```
61
+
16
62
  ## API Documentation
17
63
 
18
64
  The API documentation can be found [here](https://sw.cowtech.it/pinterest-ruby/docs).
19
65
 
20
66
  ## Contributing to pinterest-ruby
21
-
22
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
23
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
24
- * Fork the project.
25
- * Start a feature/bugfix branch.
26
- * Commit and push until you are happy with your contribution.
27
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
28
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
67
+
68
+ - Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
69
+ - Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
70
+ - Fork the project.
71
+ - Start a feature/bugfix branch.
72
+ - Commit and push until you are happy with your contribution.
73
+ - Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
74
+ - Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
29
75
 
30
76
  ## Copyright
31
77
 
32
- Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
78
+ Copyright (C) 2017 and above Shogun <mailto:shogun@cowtech.it>.
33
79
 
34
- Licensed under the MIT license, which can be found at http://opensource.org/licenses/MIT.
80
+ Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "bundler/gem_tasks"
@@ -208,7 +208,7 @@
208
208
  </div>
209
209
 
210
210
  <div id="footer">
211
- Generated on Thu Jan 12 16:28:12 2017 by
211
+ Generated on Thu Jan 12 16:36:20 2017 by
212
212
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
213
213
  0.9.7 (ruby-2.3.0).
214
214
  </div>
@@ -115,7 +115,7 @@
115
115
  </div>
116
116
 
117
117
  <div id="footer">
118
- Generated on Thu Jan 12 16:28:12 2017 by
118
+ Generated on Thu Jan 12 16:36:20 2017 by
119
119
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
120
120
  0.9.7 (ruby-2.3.0).
121
121
  </div>
@@ -400,7 +400,7 @@
400
400
  </div>
401
401
 
402
402
  <div id="footer">
403
- Generated on Thu Jan 12 16:28:13 2017 by
403
+ Generated on Thu Jan 12 16:36:21 2017 by
404
404
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
405
405
  0.9.7 (ruby-2.3.0).
406
406
  </div>
@@ -1884,7 +1884,7 @@
1884
1884
  </div>
1885
1885
 
1886
1886
  <div id="footer">
1887
- Generated on Thu Jan 12 16:28:12 2017 by
1887
+ Generated on Thu Jan 12 16:36:20 2017 by
1888
1888
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1889
1889
  0.9.7 (ruby-2.3.0).
1890
1890
  </div>
@@ -1867,7 +1867,7 @@
1867
1867
  </div>
1868
1868
 
1869
1869
  <div id="footer">
1870
- Generated on Thu Jan 12 16:28:12 2017 by
1870
+ Generated on Thu Jan 12 16:36:20 2017 by
1871
1871
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1872
1872
  0.9.7 (ruby-2.3.0).
1873
1873
  </div>
@@ -568,7 +568,7 @@
568
568
  </div>
569
569
 
570
570
  <div id="footer">
571
- Generated on Thu Jan 12 16:28:12 2017 by
571
+ Generated on Thu Jan 12 16:36:20 2017 by
572
572
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
573
573
  0.9.7 (ruby-2.3.0).
574
574
  </div>
@@ -1433,7 +1433,7 @@
1433
1433
  </div>
1434
1434
 
1435
1435
  <div id="footer">
1436
- Generated on Thu Jan 12 16:28:12 2017 by
1436
+ Generated on Thu Jan 12 16:36:20 2017 by
1437
1437
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1438
1438
  0.9.7 (ruby-2.3.0).
1439
1439
  </div>
@@ -1286,7 +1286,7 @@
1286
1286
  </div>
1287
1287
 
1288
1288
  <div id="footer">
1289
- Generated on Thu Jan 12 16:28:12 2017 by
1289
+ Generated on Thu Jan 12 16:36:20 2017 by
1290
1290
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1291
1291
  0.9.7 (ruby-2.3.0).
1292
1292
  </div>
@@ -1210,7 +1210,7 @@
1210
1210
  </div>
1211
1211
 
1212
1212
  <div id="footer">
1213
- Generated on Thu Jan 12 16:28:12 2017 by
1213
+ Generated on Thu Jan 12 16:36:20 2017 by
1214
1214
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1215
1215
  0.9.7 (ruby-2.3.0).
1216
1216
  </div>
@@ -117,7 +117,7 @@
117
117
  </div>
118
118
 
119
119
  <div id="footer">
120
- Generated on Thu Jan 12 16:28:12 2017 by
120
+ Generated on Thu Jan 12 16:36:20 2017 by
121
121
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
122
122
  0.9.7 (ruby-2.3.0).
123
123
  </div>
@@ -463,7 +463,7 @@
463
463
  </div>
464
464
 
465
465
  <div id="footer">
466
- Generated on Thu Jan 12 16:28:13 2017 by
466
+ Generated on Thu Jan 12 16:36:21 2017 by
467
467
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
468
468
  0.9.7 (ruby-2.3.0).
469
469
  </div>
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Thu Jan 12 16:28:12 2017 by
151
+ Generated on Thu Jan 12 16:36:20 2017 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.9.7 (ruby-2.3.0).
154
154
  </div>
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Thu Jan 12 16:28:12 2017 by
151
+ Generated on Thu Jan 12 16:36:20 2017 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.9.7 (ruby-2.3.0).
154
154
  </div>
@@ -477,7 +477,7 @@
477
477
  </div>
478
478
 
479
479
  <div id="footer">
480
- Generated on Thu Jan 12 16:28:12 2017 by
480
+ Generated on Thu Jan 12 16:36:20 2017 by
481
481
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
482
482
  0.9.7 (ruby-2.3.0).
483
483
  </div>
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Thu Jan 12 16:28:12 2017 by
151
+ Generated on Thu Jan 12 16:36:20 2017 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.9.7 (ruby-2.3.0).
154
154
  </div>
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Thu Jan 12 16:28:12 2017 by
151
+ Generated on Thu Jan 12 16:36:20 2017 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.9.7 (ruby-2.3.0).
154
154
  </div>
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Thu Jan 12 16:28:12 2017 by
151
+ Generated on Thu Jan 12 16:36:20 2017 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.9.7 (ruby-2.3.0).
154
154
  </div>
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Thu Jan 12 16:28:12 2017 by
151
+ Generated on Thu Jan 12 16:36:20 2017 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.9.7 (ruby-2.3.0).
154
154
  </div>
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Thu Jan 12 16:28:12 2017 by
151
+ Generated on Thu Jan 12 16:36:20 2017 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.9.7 (ruby-2.3.0).
154
154
  </div>
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Thu Jan 12 16:28:12 2017 by
151
+ Generated on Thu Jan 12 16:36:20 2017 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.9.7 (ruby-2.3.0).
154
154
  </div>
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Thu Jan 12 16:28:12 2017 by
151
+ Generated on Thu Jan 12 16:36:20 2017 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.9.7 (ruby-2.3.0).
154
154
  </div>
@@ -367,7 +367,7 @@
367
367
  </div>
368
368
 
369
369
  <div id="footer">
370
- Generated on Thu Jan 12 16:28:12 2017 by
370
+ Generated on Thu Jan 12 16:36:20 2017 by
371
371
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
372
372
  0.9.7 (ruby-2.3.0).
373
373
  </div>
@@ -607,7 +607,7 @@
607
607
  </div>
608
608
 
609
609
  <div id="footer">
610
- Generated on Thu Jan 12 16:28:13 2017 by
610
+ Generated on Thu Jan 12 16:36:21 2017 by
611
611
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
612
612
  0.9.7 (ruby-2.3.0).
613
613
  </div>
@@ -392,7 +392,7 @@
392
392
  </div>
393
393
 
394
394
  <div id="footer">
395
- Generated on Thu Jan 12 16:28:13 2017 by
395
+ Generated on Thu Jan 12 16:36:21 2017 by
396
396
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
397
397
  0.9.7 (ruby-2.3.0).
398
398
  </div>
@@ -501,7 +501,7 @@
501
501
  </div>
502
502
 
503
503
  <div id="footer">
504
- Generated on Thu Jan 12 16:28:12 2017 by
504
+ Generated on Thu Jan 12 16:36:20 2017 by
505
505
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
506
506
  0.9.7 (ruby-2.3.0).
507
507
  </div>
@@ -398,7 +398,7 @@
398
398
  </div>
399
399
 
400
400
  <div id="footer">
401
- Generated on Thu Jan 12 16:28:13 2017 by
401
+ Generated on Thu Jan 12 16:36:21 2017 by
402
402
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
403
403
  0.9.7 (ruby-2.3.0).
404
404
  </div>
@@ -177,7 +177,7 @@
177
177
  </div>
178
178
 
179
179
  <div id="footer">
180
- Generated on Thu Jan 12 16:28:12 2017 by
180
+ Generated on Thu Jan 12 16:36:20 2017 by
181
181
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
182
182
  0.9.7 (ruby-2.3.0).
183
183
  </div>
data/docs/Pinterest.html CHANGED
@@ -120,7 +120,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
120
120
  </div>
121
121
 
122
122
  <div id="footer">
123
- Generated on Thu Jan 12 16:28:12 2017 by
123
+ Generated on Thu Jan 12 16:36:20 2017 by
124
124
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
125
  0.9.7 (ruby-2.3.0).
126
126
  </div>
data/docs/_index.html CHANGED
@@ -391,7 +391,7 @@
391
391
  </div>
392
392
 
393
393
  <div id="footer">
394
- Generated on Thu Jan 12 16:28:11 2017 by
394
+ Generated on Thu Jan 12 16:36:19 2017 by
395
395
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
396
396
  0.9.7 (ruby-2.3.0).
397
397
  </div>
@@ -72,6 +72,48 @@
72
72
 
73
73
  <p>Pinterest API wrapper.</p>
74
74
 
75
+ <h2 id="usage">Usage</h2>
76
+
77
+ <h3 id="basic-authorization-flow">Basic authorization flow</h3>
78
+
79
+ <p>```ruby
80
+ require “pinterest”</p>
81
+
82
+ <h1 id="create-the-client">Create the client</h1>
83
+ <p>client = Pinterest::Client.new(client_id: “ID”, client_secret: “SECRET”)</p>
84
+
85
+ <h1 id="authorization">Authorization</h1>
86
+ <p>url = “https://localhost:3000” # The URL MUST be HTTPS and configured on Pinterest Apps console.</p>
87
+
88
+ <p>puts client.authorization_url(url) # Send the user to this URL.</p>
89
+
90
+ <h1 id="section">…</h1>
91
+
92
+ <h1 id="start-a-webserver-that-will-listen-on-the-url-above-it-will-get-called-with-a-authorization-code-in-the-query-string">Start a webserver that will listen on the url above, it will get called with a authorization code in the query string.</h1>
93
+ <p>query = request.params[:code]</p>
94
+
95
+ <p>token = client.fetch_access_token(query) # This token can be saved for later use (see below).
96
+ client.access_token = token</p>
97
+
98
+ <h1 id="play-with-the-api">Play with the API!</h1>
99
+ <p>p client.me
100
+ ```</p>
101
+
102
+ <h3 id="authenticated-flow">Authenticated flow</h3>
103
+
104
+ <p>```ruby
105
+ require “pinterest”</p>
106
+
107
+ <h1 id="fetch-the-token-saved-above">Fetch the token saved above</h1>
108
+ <p>token = “TOKEN”</p>
109
+
110
+ <h1 id="create-the-client-1">Create the client</h1>
111
+ <p>client = Pinterest::Client.new(access_token: token)</p>
112
+
113
+ <h1 id="play-with-the-api-1">Play with the API!</h1>
114
+ <p>p client.me
115
+ ```</p>
116
+
75
117
  <h2 id="api-documentation">API Documentation</h2>
76
118
 
77
119
  <p>The API documentation can be found <a href="https://sw.cowtech.it/pinterest-ruby/docs">here</a>.</p>
@@ -96,7 +138,7 @@
96
138
  </div></div>
97
139
 
98
140
  <div id="footer">
99
- Generated on Thu Jan 12 16:28:12 2017 by
141
+ Generated on Thu Jan 12 16:36:20 2017 by
100
142
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
101
143
  0.9.7 (ruby-2.3.0).
102
144
  </div>
data/docs/index.html CHANGED
@@ -72,6 +72,48 @@
72
72
 
73
73
  <p>Pinterest API wrapper.</p>
74
74
 
75
+ <h2 id="usage">Usage</h2>
76
+
77
+ <h3 id="basic-authorization-flow">Basic authorization flow</h3>
78
+
79
+ <p>```ruby
80
+ require “pinterest”</p>
81
+
82
+ <h1 id="create-the-client">Create the client</h1>
83
+ <p>client = Pinterest::Client.new(client_id: “ID”, client_secret: “SECRET”)</p>
84
+
85
+ <h1 id="authorization">Authorization</h1>
86
+ <p>url = “https://localhost:3000” # The URL MUST be HTTPS and configured on Pinterest Apps console.</p>
87
+
88
+ <p>puts client.authorization_url(url) # Send the user to this URL.</p>
89
+
90
+ <h1 id="section">…</h1>
91
+
92
+ <h1 id="start-a-webserver-that-will-listen-on-the-url-above-it-will-get-called-with-a-authorization-code-in-the-query-string">Start a webserver that will listen on the url above, it will get called with a authorization code in the query string.</h1>
93
+ <p>query = request.params[:code]</p>
94
+
95
+ <p>token = client.fetch_access_token(query) # This token can be saved for later use (see below).
96
+ client.access_token = token</p>
97
+
98
+ <h1 id="play-with-the-api">Play with the API!</h1>
99
+ <p>p client.me
100
+ ```</p>
101
+
102
+ <h3 id="authenticated-flow">Authenticated flow</h3>
103
+
104
+ <p>```ruby
105
+ require “pinterest”</p>
106
+
107
+ <h1 id="fetch-the-token-saved-above">Fetch the token saved above</h1>
108
+ <p>token = “TOKEN”</p>
109
+
110
+ <h1 id="create-the-client-1">Create the client</h1>
111
+ <p>client = Pinterest::Client.new(access_token: token)</p>
112
+
113
+ <h1 id="play-with-the-api-1">Play with the API!</h1>
114
+ <p>p client.me
115
+ ```</p>
116
+
75
117
  <h2 id="api-documentation">API Documentation</h2>
76
118
 
77
119
  <p>The API documentation can be found <a href="https://sw.cowtech.it/pinterest-ruby/docs">here</a>.</p>
@@ -96,7 +138,7 @@
96
138
  </div></div>
97
139
 
98
140
  <div id="footer">
99
- Generated on Thu Jan 12 16:28:12 2017 by
141
+ Generated on Thu Jan 12 16:36:20 2017 by
100
142
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
101
143
  0.9.7 (ruby-2.3.0).
102
144
  </div>
@@ -100,7 +100,7 @@
100
100
  </div>
101
101
 
102
102
  <div id="footer">
103
- Generated on Thu Jan 12 16:28:12 2017 by
103
+ Generated on Thu Jan 12 16:36:20 2017 by
104
104
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
105
105
  0.9.7 (ruby-2.3.0).
106
106
  </div>
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  # :nodoc:
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  module Pinterest
@@ -15,7 +15,7 @@ module Pinterest
15
15
  MINOR = 0
16
16
 
17
17
  # The patch version.
18
- PATCH = 0
18
+ PATCH = 1
19
19
 
20
20
  # The current version of pinterest-ruby.
21
21
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
data/lib/pinterest.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "securerandom"
data/pinterest.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require File.expand_path("../lib/pinterest/version", __FILE__)
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "spec_helper"
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # This file is part of the pinterest-ruby gem. Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
3
- # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "bundler/setup"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pinterest-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shogun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-12 00:00:00.000000000 Z
11
+ date: 2018-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -94,6 +94,7 @@ files:
94
94
  - ".yardopts"
95
95
  - CHANGELOG.md
96
96
  - Gemfile
97
+ - LICENSE.md
97
98
  - README.md
98
99
  - Rakefile
99
100
  - docs/FaradayMiddleware.html
@@ -255,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
255
256
  version: '0'
256
257
  requirements: []
257
258
  rubyforge_project: pinterest-ruby
258
- rubygems_version: 2.5.1
259
+ rubygems_version: 2.6.8
259
260
  signing_key:
260
261
  specification_version: 4
261
262
  summary: Pinterest API wrapper for Ruby.
@@ -339,3 +340,4 @@ test_files:
339
340
  - spec/pinterest/models/pin_spec.rb
340
341
  - spec/pinterest/models/user_spec.rb
341
342
  - spec/spec_helper.rb
343
+ has_rdoc: