aylien_text_api 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/Gemfile.lock +1 -1
  4. data/lib/aylien_text_api/client.rb +15 -0
  5. data/lib/aylien_text_api/configuration.rb +2 -1
  6. data/lib/aylien_text_api/version.rb +1 -1
  7. data/spec/fixtures/aylien_text_api/client/classify_with_invalid_client.yml +4 -4
  8. data/spec/fixtures/aylien_text_api/client/classify_with_invalid_params.yml +6 -6
  9. data/spec/fixtures/aylien_text_api/client/classify_with_text.yml +6 -6
  10. data/spec/fixtures/aylien_text_api/client/classify_with_unauthenticated_client.yml +4 -4
  11. data/spec/fixtures/aylien_text_api/client/classify_with_valid_url.yml +6 -6
  12. data/spec/fixtures/aylien_text_api/client/classify_with_value_as_text.yml +6 -6
  13. data/spec/fixtures/aylien_text_api/client/classify_with_value_as_valid_url.yml +6 -6
  14. data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_client.yml +4 -4
  15. data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_params.yml +6 -6
  16. data/spec/fixtures/aylien_text_api/client/concepts_with_text.yml +6 -6
  17. data/spec/fixtures/aylien_text_api/client/concepts_with_unauthenticated_client.yml +4 -4
  18. data/spec/fixtures/aylien_text_api/client/concepts_with_valid_url.yml +6 -6
  19. data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_text.yml +6 -6
  20. data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_valid_url.yml +6 -6
  21. data/spec/fixtures/aylien_text_api/client/entities_with_invalid_client.yml +4 -4
  22. data/spec/fixtures/aylien_text_api/client/entities_with_invalid_params.yml +17 -8
  23. data/spec/fixtures/aylien_text_api/client/entities_with_text.yml +10 -10
  24. data/spec/fixtures/aylien_text_api/client/entities_with_unauthenticated_client.yml +4 -4
  25. data/spec/fixtures/aylien_text_api/client/entities_with_valid_url.yml +455 -456
  26. data/spec/fixtures/aylien_text_api/client/entities_with_value_as_text.yml +10 -10
  27. data/spec/fixtures/aylien_text_api/client/entities_with_value_as_valid_url.yml +455 -455
  28. data/spec/fixtures/aylien_text_api/client/extract_with_invalid_client.yml +4 -4
  29. data/spec/fixtures/aylien_text_api/client/extract_with_invalid_params.yml +6 -6
  30. data/spec/fixtures/aylien_text_api/client/extract_with_unauthenticated_client.yml +4 -4
  31. data/spec/fixtures/aylien_text_api/client/extract_with_valid_url.yml +6 -6
  32. data/spec/fixtures/aylien_text_api/client/extract_with_value_as_text.yml +6 -6
  33. data/spec/fixtures/aylien_text_api/client/extract_with_value_as_valid_url.yml +6 -6
  34. data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_client.yml +4 -4
  35. data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_params.yml +6 -6
  36. data/spec/fixtures/aylien_text_api/client/hashtags_with_text.yml +9 -8
  37. data/spec/fixtures/aylien_text_api/client/hashtags_with_unauthenticated_client.yml +4 -4
  38. data/spec/fixtures/aylien_text_api/client/hashtags_with_valid_url.yml +6 -6
  39. data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_text.yml +6 -6
  40. data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_valid_url.yml +6 -6
  41. data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_client.yml +38 -0
  42. data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_params.yml +62 -0
  43. data/spec/fixtures/aylien_text_api/client/image_tags_with_unauthenticated_client.yml +42 -0
  44. data/spec/fixtures/aylien_text_api/client/image_tags_with_valid_url.yml +48 -0
  45. data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_text.yml +62 -0
  46. data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_valid_url.yml +48 -0
  47. data/spec/fixtures/aylien_text_api/client/language_with_invalid_client.yml +4 -4
  48. data/spec/fixtures/aylien_text_api/client/language_with_invalid_params.yml +6 -6
  49. data/spec/fixtures/aylien_text_api/client/language_with_unauthenticated_client.yml +4 -4
  50. data/spec/fixtures/aylien_text_api/client/language_with_valid_text.yml +8 -8
  51. data/spec/fixtures/aylien_text_api/client/language_with_valid_url.yml +7 -7
  52. data/spec/fixtures/aylien_text_api/client/language_with_value_as_text.yml +7 -7
  53. data/spec/fixtures/aylien_text_api/client/language_with_value_as_valid_url.yml +7 -7
  54. data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_client.yml +4 -4
  55. data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_params.yml +6 -6
  56. data/spec/fixtures/aylien_text_api/client/microformats_with_unauthenticated_client.yml +4 -4
  57. data/spec/fixtures/aylien_text_api/client/microformats_with_valid_url.yml +7 -7
  58. data/spec/fixtures/aylien_text_api/client/microformats_with_value_as_valid_url.yml +7 -7
  59. data/spec/fixtures/aylien_text_api/client/related_with_invalid_client.yml +4 -4
  60. data/spec/fixtures/aylien_text_api/client/related_with_invalid_params.yml +6 -6
  61. data/spec/fixtures/aylien_text_api/client/related_with_phrase.yml +6 -6
  62. data/spec/fixtures/aylien_text_api/client/related_with_unauthenticated_client.yml +4 -4
  63. data/spec/fixtures/aylien_text_api/client/related_with_value_as_phrase.yml +6 -6
  64. data/spec/fixtures/aylien_text_api/client/related_with_value_as_valid_url.yml +6 -6
  65. data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_client.yml +4 -4
  66. data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_params.yml +6 -6
  67. data/spec/fixtures/aylien_text_api/client/sentiment_with_text.yml +6 -6
  68. data/spec/fixtures/aylien_text_api/client/sentiment_with_unauthenticated_client.yml +4 -4
  69. data/spec/fixtures/aylien_text_api/client/sentiment_with_valid_url.yml +6 -6
  70. data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_text.yml +6 -6
  71. data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_valid_url.yml +6 -6
  72. data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_client.yml +4 -4
  73. data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_params.yml +6 -6
  74. data/spec/fixtures/aylien_text_api/client/summarize_with_title_and_text.yml +6 -6
  75. data/spec/fixtures/aylien_text_api/client/summarize_with_unauthenticated_client.yml +4 -4
  76. data/spec/fixtures/aylien_text_api/client/summarize_with_valid_url.yml +6 -6
  77. data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_title.yml +6 -6
  78. data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_without_title.yml +6 -6
  79. data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_valid_url.yml +6 -6
  80. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_client.yml +4 -4
  81. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_params.yml +6 -6
  82. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_text.yml +7 -7
  83. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_unauthenticated_client.yml +4 -4
  84. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_valid_url.yml +10 -9
  85. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_text.yml +6 -6
  86. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_valid_url.yml +10 -9
  87. data/spec/lib/aylien_text_api/client_spec.rb +1 -0
  88. data/spec/lib/aylien_text_api/image_tags.rb +79 -0
  89. metadata +17 -3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  App-Id:
@@ -25,9 +25,9 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Server:
28
- - openresty/1.5.12.1
28
+ - openresty/1.7.7.2
29
29
  Date:
30
- - Tue, 10 Feb 2015 14:07:12 GMT
30
+ - Mon, 16 Mar 2015 14:33:43 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
@@ -37,17 +37,17 @@ http_interactions:
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '205353'
40
+ - '205533'
41
41
  X-Ratelimit-Reset:
42
- - '1423612800'
42
+ - '1426550400'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
46
46
  {
47
47
  "text": "Hello there! How's it going?",
48
48
  "lang": "en",
49
- "confidence": 0.9999993222674556
49
+ "confidence": 0.9999967481063899
50
50
  }
51
51
  http_version:
52
- recorded_at: Tue, 10 Feb 2015 14:06:57 GMT
52
+ recorded_at: Mon, 16 Mar 2015 14:33:44 GMT
53
53
  recorded_with: VCR 2.9.3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  App-Id:
@@ -25,9 +25,9 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Server:
28
- - openresty/1.5.12.1
28
+ - openresty/1.7.7.2
29
29
  Date:
30
- - Tue, 10 Feb 2015 14:07:09 GMT
30
+ - Mon, 16 Mar 2015 14:33:42 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
@@ -37,9 +37,9 @@ http_interactions:
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '205356'
40
+ - '205535'
41
41
  X-Ratelimit-Reset:
42
- - '1423612800'
42
+ - '1426550400'
43
43
  body:
44
44
  encoding: ASCII-8BIT
45
45
  string: !binary |-
@@ -71,7 +71,7 @@ http_interactions:
71
71
  IGdhbWUgb24gVFYgb3IgaW4gdGhlIHN0YW5kcywgbm90IG9uZXMgdGhhdCB5
72
72
  b3UgY2FuIG5vcm1hbGx5IHNlZSBvbiB0aGUgZmllbGQuXCJcbkFsc28gcmVs
73
73
  YXRlZCB0byB0aGlzIHN0b3J5XG4iLAogICJsYW5nIjogImVuIiwKICAiY29u
74
- ZmlkZW5jZSI6IDAuOTk5OTk3MzUwNDQ3NjI4Mwp9
74
+ ZmlkZW5jZSI6IDAuOTk5OTk2OTMzMjM5OTI3OQp9
75
75
  http_version:
76
- recorded_at: Tue, 10 Feb 2015 14:06:54 GMT
76
+ recorded_at: Mon, 16 Mar 2015 14:33:42 GMT
77
77
  recorded_with: VCR 2.9.3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  response:
@@ -21,9 +21,9 @@ http_interactions:
21
21
  message: Forbidden
22
22
  headers:
23
23
  Server:
24
- - openresty/1.5.12.1
24
+ - openresty/1.7.7.2
25
25
  Date:
26
- - Tue, 10 Feb 2015 14:06:23 GMT
26
+ - Mon, 16 Mar 2015 14:33:57 GMT
27
27
  Content-Type:
28
28
  - text/plain; charset=us-ascii
29
29
  Transfer-Encoding:
@@ -34,5 +34,5 @@ http_interactions:
34
34
  encoding: UTF-8
35
35
  string: Authentication parameters missing
36
36
  http_version:
37
- recorded_at: Tue, 10 Feb 2015 14:06:08 GMT
37
+ recorded_at: Mon, 16 Mar 2015 14:33:57 GMT
38
38
  recorded_with: VCR 2.9.3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  App-Id:
@@ -25,9 +25,9 @@ http_interactions:
25
25
  message: Bad Request
26
26
  headers:
27
27
  Server:
28
- - openresty/1.5.12.1
28
+ - openresty/1.7.7.2
29
29
  Date:
30
- - Tue, 10 Feb 2015 14:06:23 GMT
30
+ - Mon, 16 Mar 2015 14:33:58 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
@@ -37,9 +37,9 @@ http_interactions:
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '205369'
40
+ - '205515'
41
41
  X-Ratelimit-Reset:
42
- - '1423612800'
42
+ - '1426550400'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
@@ -58,5 +58,5 @@ http_interactions:
58
58
  }]
59
59
  }
60
60
  http_version:
61
- recorded_at: Tue, 10 Feb 2015 14:06:08 GMT
61
+ recorded_at: Mon, 16 Mar 2015 14:33:58 GMT
62
62
  recorded_with: VCR 2.9.3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  App-Id:
@@ -25,9 +25,9 @@ http_interactions:
25
25
  message: Forbidden
26
26
  headers:
27
27
  Server:
28
- - openresty/1.5.12.1
28
+ - openresty/1.7.7.2
29
29
  Date:
30
- - Tue, 10 Feb 2015 14:06:22 GMT
30
+ - Mon, 16 Mar 2015 14:33:59 GMT
31
31
  Content-Type:
32
32
  - text/plain; charset=us-ascii
33
33
  Transfer-Encoding:
@@ -38,5 +38,5 @@ http_interactions:
38
38
  encoding: UTF-8
39
39
  string: Authentication failed
40
40
  http_version:
41
- recorded_at: Tue, 10 Feb 2015 14:06:07 GMT
41
+ recorded_at: Mon, 16 Mar 2015 14:33:59 GMT
42
42
  recorded_with: VCR 2.9.3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  App-Id:
@@ -25,9 +25,9 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Server:
28
- - openresty/1.5.12.1
28
+ - openresty/1.7.7.2
29
29
  Date:
30
- - Tue, 10 Feb 2015 14:06:24 GMT
30
+ - Mon, 16 Mar 2015 14:33:59 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
@@ -37,9 +37,9 @@ http_interactions:
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '205367'
40
+ - '205514'
41
41
  X-Ratelimit-Reset:
42
- - '1423612800'
42
+ - '1426550400'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
@@ -61,7 +61,7 @@ http_interactions:
61
61
  "familyName": "van der Harten",
62
62
  "givenName": "Sally",
63
63
  "honorificSuffix": "Ph.D.",
64
- "id": "2eb24a276756ef8f5dff89f20db4716d5c177410",
64
+ "id": "279ca7ae864fc5e979f8f85b7fbfd77dbad5a87e",
65
65
  "additionalName": "K.",
66
66
  "honorificPrefix": "Dr."
67
67
  },
@@ -80,5 +80,5 @@ http_interactions:
80
80
  }]
81
81
  }
82
82
  http_version:
83
- recorded_at: Tue, 10 Feb 2015 14:06:10 GMT
83
+ recorded_at: Mon, 16 Mar 2015 14:33:59 GMT
84
84
  recorded_with: VCR 2.9.3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  App-Id:
@@ -25,9 +25,9 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Server:
28
- - openresty/1.5.12.1
28
+ - openresty/1.7.7.2
29
29
  Date:
30
- - Tue, 10 Feb 2015 14:06:24 GMT
30
+ - Mon, 16 Mar 2015 14:33:58 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
@@ -37,9 +37,9 @@ http_interactions:
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '205368'
40
+ - '205516'
41
41
  X-Ratelimit-Reset:
42
- - '1423612800'
42
+ - '1426550400'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
@@ -61,7 +61,7 @@ http_interactions:
61
61
  "familyName": "van der Harten",
62
62
  "givenName": "Sally",
63
63
  "honorificSuffix": "Ph.D.",
64
- "id": "90ac0aceb093d7c37d51e95fe5837bd04a6ababc",
64
+ "id": "3317c2de67f95d28e6202aa9c51770d5714e973e",
65
65
  "additionalName": "K.",
66
66
  "honorificPrefix": "Dr."
67
67
  },
@@ -80,5 +80,5 @@ http_interactions:
80
80
  }]
81
81
  }
82
82
  http_version:
83
- recorded_at: Tue, 10 Feb 2015 14:06:09 GMT
83
+ recorded_at: Mon, 16 Mar 2015 14:33:58 GMT
84
84
  recorded_with: VCR 2.9.3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  response:
@@ -21,9 +21,9 @@ http_interactions:
21
21
  message: Forbidden
22
22
  headers:
23
23
  Server:
24
- - openresty/1.5.12.1
24
+ - openresty/1.7.7.2
25
25
  Date:
26
- - Tue, 10 Feb 2015 14:06:05 GMT
26
+ - Mon, 16 Mar 2015 14:33:51 GMT
27
27
  Content-Type:
28
28
  - text/plain; charset=us-ascii
29
29
  Transfer-Encoding:
@@ -34,5 +34,5 @@ http_interactions:
34
34
  encoding: UTF-8
35
35
  string: Authentication parameters missing
36
36
  http_version:
37
- recorded_at: Tue, 10 Feb 2015 14:05:51 GMT
37
+ recorded_at: Mon, 16 Mar 2015 14:33:51 GMT
38
38
  recorded_with: VCR 2.9.3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  App-Id:
@@ -25,9 +25,9 @@ http_interactions:
25
25
  message: Bad Request
26
26
  headers:
27
27
  Server:
28
- - openresty/1.5.12.1
28
+ - openresty/1.7.7.2
29
29
  Date:
30
- - Tue, 10 Feb 2015 14:06:05 GMT
30
+ - Mon, 16 Mar 2015 14:33:50 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
@@ -37,12 +37,12 @@ http_interactions:
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '205387'
40
+ - '205524'
41
41
  X-Ratelimit-Reset:
42
- - '1423612800'
42
+ - '1426550400'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: '{"error" : "Request is missing required form field ''phrase''"}'
46
46
  http_version:
47
- recorded_at: Tue, 10 Feb 2015 14:05:50 GMT
47
+ recorded_at: Mon, 16 Mar 2015 14:33:50 GMT
48
48
  recorded_with: VCR 2.9.3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  App-Id:
@@ -25,9 +25,9 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Server:
28
- - openresty/1.5.12.1
28
+ - openresty/1.7.7.2
29
29
  Date:
30
- - Tue, 10 Feb 2015 14:06:04 GMT
30
+ - Mon, 16 Mar 2015 14:33:52 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
@@ -37,9 +37,9 @@ http_interactions:
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '205389'
40
+ - '205523'
41
41
  X-Ratelimit-Reset:
42
- - '1423612800'
42
+ - '1426550400'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
@@ -108,5 +108,5 @@ http_interactions:
108
108
  }]
109
109
  }
110
110
  http_version:
111
- recorded_at: Tue, 10 Feb 2015 14:05:49 GMT
111
+ recorded_at: Mon, 16 Mar 2015 14:33:52 GMT
112
112
  recorded_with: VCR 2.9.3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  App-Id:
@@ -25,9 +25,9 @@ http_interactions:
25
25
  message: Forbidden
26
26
  headers:
27
27
  Server:
28
- - openresty/1.5.12.1
28
+ - openresty/1.7.7.2
29
29
  Date:
30
- - Tue, 10 Feb 2015 14:06:04 GMT
30
+ - Mon, 16 Mar 2015 14:33:51 GMT
31
31
  Content-Type:
32
32
  - text/plain; charset=us-ascii
33
33
  Transfer-Encoding:
@@ -38,5 +38,5 @@ http_interactions:
38
38
  encoding: UTF-8
39
39
  string: Authentication failed
40
40
  http_version:
41
- recorded_at: Tue, 10 Feb 2015 14:05:49 GMT
41
+ recorded_at: Mon, 16 Mar 2015 14:33:51 GMT
42
42
  recorded_with: VCR 2.9.3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  App-Id:
@@ -25,9 +25,9 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Server:
28
- - openresty/1.5.12.1
28
+ - openresty/1.7.7.2
29
29
  Date:
30
- - Tue, 10 Feb 2015 14:06:06 GMT
30
+ - Mon, 16 Mar 2015 14:33:50 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
@@ -37,9 +37,9 @@ http_interactions:
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '205386'
40
+ - '205526'
41
41
  X-Ratelimit-Reset:
42
- - '1423612800'
42
+ - '1426550400'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
@@ -108,5 +108,5 @@ http_interactions:
108
108
  }]
109
109
  }
110
110
  http_version:
111
- recorded_at: Tue, 10 Feb 2015 14:05:51 GMT
111
+ recorded_at: Mon, 16 Mar 2015 14:33:50 GMT
112
112
  recorded_with: VCR 2.9.3
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.1.0
15
+ - Aylien Text API Ruby Gem 0.2.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  App-Id:
@@ -25,9 +25,9 @@ http_interactions:
25
25
  message: Bad Request
26
26
  headers:
27
27
  Server:
28
- - openresty/1.5.12.1
28
+ - openresty/1.7.7.2
29
29
  Date:
30
- - Tue, 10 Feb 2015 14:06:05 GMT
30
+ - Mon, 16 Mar 2015 14:33:50 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
@@ -37,12 +37,12 @@ http_interactions:
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '205388'
40
+ - '205525'
41
41
  X-Ratelimit-Reset:
42
- - '1423612800'
42
+ - '1426550400'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: '{"error" : "Request is missing required form field ''phrase''"}'
46
46
  http_version:
47
- recorded_at: Tue, 10 Feb 2015 14:05:50 GMT
47
+ recorded_at: Mon, 16 Mar 2015 14:33:50 GMT
48
48
  recorded_with: VCR 2.9.3