kinja 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kinja/client.rb +8 -2
- data/lib/kinja/helpers.rb +3 -2
- data/lib/kinja/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/api-token-test.yml +83 -28
- data/spec/fixtures/vcr_cassettes/get_author_default_blog_id.yml +13 -25
- data/spec/fixtures/vcr_cassettes/get_author_profile.yml +12 -24
- data/spec/fixtures/vcr_cassettes/get_post.yml +218 -210
- data/spec/fixtures/vcr_cassettes/login.yml +30 -40
- data/spec/fixtures/vcr_cassettes/update-post.yml +54 -56
- data/spec/fixtures/vcr_cassettes/write-post.yml +83 -102
- data/spec/lib/kinja/post_spec.rb +1 -1
- data/spec/lib/kinja_spec.rb +2 -2
- metadata +2 -4
- data/spec/fixtures/vcr_cassettes/author-path-er.yml +0 -66
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kinja
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Pash
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -160,7 +160,6 @@ files:
|
|
160
160
|
- lib/kinja/tag.rb
|
161
161
|
- lib/kinja/version.rb
|
162
162
|
- spec/fixtures/vcr_cassettes/api-token-test.yml
|
163
|
-
- spec/fixtures/vcr_cassettes/author-path-er.yml
|
164
163
|
- spec/fixtures/vcr_cassettes/get_author_default_blog_id.yml
|
165
164
|
- spec/fixtures/vcr_cassettes/get_author_profile.yml
|
166
165
|
- spec/fixtures/vcr_cassettes/get_blog_id.yml
|
@@ -207,7 +206,6 @@ specification_version: 4
|
|
207
206
|
summary: Simple gem for creating posts on Kinja
|
208
207
|
test_files:
|
209
208
|
- spec/fixtures/vcr_cassettes/api-token-test.yml
|
210
|
-
- spec/fixtures/vcr_cassettes/author-path-er.yml
|
211
209
|
- spec/fixtures/vcr_cassettes/get_author_default_blog_id.yml
|
212
210
|
- spec/fixtures/vcr_cassettes/get_author_profile.yml
|
213
211
|
- spec/fixtures/vcr_cassettes/get_blog_id.yml
|
@@ -1,66 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://kinja.com/api/profile/user/views/asAuthor?ids=5876237249235511023
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Access-Control-Allow-Origin:
|
22
|
-
- "*"
|
23
|
-
Access-Control-Allow-Headers:
|
24
|
-
- Content-Type
|
25
|
-
X-Kinja-Version:
|
26
|
-
- '20141118'
|
27
|
-
Access-Control-Allow-Methods:
|
28
|
-
- POST, GET, OPTIONS, PUT, DELETE
|
29
|
-
Content-Type:
|
30
|
-
- application/json; charset=utf-8
|
31
|
-
X-Robots-Tag:
|
32
|
-
- noindex
|
33
|
-
X-Kinja:
|
34
|
-
- 'app19.bfc.kinja-ops.com #993'
|
35
|
-
X-Cdn-Fetch:
|
36
|
-
- mantle-origin-cache
|
37
|
-
Content-Length:
|
38
|
-
- '184'
|
39
|
-
Accept-Ranges:
|
40
|
-
- none
|
41
|
-
Date:
|
42
|
-
- Mon, 23 Feb 2015 23:19:02 GMT
|
43
|
-
Via:
|
44
|
-
- 1.1 varnish
|
45
|
-
Age:
|
46
|
-
- '0'
|
47
|
-
Connection:
|
48
|
-
- keep-alive
|
49
|
-
X-Served-By:
|
50
|
-
- cache-jfk1023-JFK
|
51
|
-
X-Cache:
|
52
|
-
- MISS
|
53
|
-
X-Cache-Hits:
|
54
|
-
- '0'
|
55
|
-
X-Timer:
|
56
|
-
- S1424733542.303613,VS0,VE7
|
57
|
-
Vary:
|
58
|
-
- Accept-Encoding
|
59
|
-
Set-Cookie:
|
60
|
-
- geocc=US;path=/;
|
61
|
-
body:
|
62
|
-
encoding: ASCII-8BIT
|
63
|
-
string: '{"meta":{"error":null,"warnings":[]},"data":[{"id":"5876237249235511023","screenName":"gemtest","displayName":"gemtest","superUser":false,"defaultBlogId":1634457255,"avatar":{"id":"17jcxk0ml1k8qpng","format":"png"}}]}'
|
64
|
-
http_version:
|
65
|
-
recorded_at: Mon, 23 Feb 2015 23:19:02 GMT
|
66
|
-
recorded_with: VCR 2.9.3
|