litmus-instant 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad9b8fa8bc97d92ca25106dd1099b488861f4b9d
4
- data.tar.gz: b14bc1abf31ab0bd9c0b9ea0a88551300ec05e73
3
+ metadata.gz: a260f65b1fb48954e0d3182b3612f2de67bba7d3
4
+ data.tar.gz: 3ff310ffe30a010e9fbe9883b4d8052d4cc5172f
5
5
  SHA512:
6
- metadata.gz: aeb6406d2d3776a1a10ce6c4a1735551ff39d7e91ecda76a6ef08c662113c3da44f2c3a60c3972a255923bf9fd95ef895574cffe29b56d312a17ef8ff6b8b261
7
- data.tar.gz: 3370c2c65e935661b5873433fbc569457dc97baf1483a3e450876a9232cabfb7101ef08b9ccb2ff3d6d0d861f655f12fb6297cd08e0db50c5b37955820857713
6
+ metadata.gz: 2beab16dfb8c28c9d20b2a4820c0c924a017fb56f85e38771b97aa9fa85acceefecbb3ca6e884f0801ab3b8dfc89abddee311a15adf940e4f613c997648ae11a
7
+ data.tar.gz: be64fa173cc683a202ffa1d0d64b9445f6af93d72965bd2c846a9cc3d5487792d961a288773f99162bdbe6e112021f3cef676ddfe39a3aeb79e442549023c7f3
@@ -82,4 +82,86 @@ http_interactions:
82
82
  }
83
83
  http_version:
84
84
  recorded_at: Mon, 20 Jun 2016 18:35:00 GMT
85
+ - request:
86
+ method: post
87
+ uri: https://invalid_key:@instant-api.litmus.com/v1/emails
88
+ body:
89
+ encoding: UTF-8
90
+ string: '{"plain_text":"boo"}'
91
+ headers:
92
+ Content-Type:
93
+ - application/json
94
+ Accept:
95
+ - application/json
96
+ response:
97
+ status:
98
+ code: 401
99
+ message: Unauthorized
100
+ headers:
101
+ Server:
102
+ - nginx
103
+ Date:
104
+ - Fri, 21 Jul 2017 12:59:35 GMT
105
+ Content-Type:
106
+ - application/json;charset=utf-8
107
+ Content-Length:
108
+ - '328'
109
+ Connection:
110
+ - keep-alive
111
+ Www-Authenticate:
112
+ - Basic realm="Litmus Instant API"
113
+ Vary:
114
+ - Origin
115
+ body:
116
+ encoding: UTF-8
117
+ string: |-
118
+ {
119
+ "status": 401,
120
+ "title": "Unauthorized",
121
+ "description": "API Authentication credentials were missing or incorrect. Make sure the credentials you're making the request with match those you were provided. If you're stuck, please email resellers@litmus.com and we'll have a Support Engineer reach out as soon as possible."
122
+ }
123
+ http_version:
124
+ recorded_at: Fri, 21 Jul 2017 13:02:08 GMT
125
+ - request:
126
+ method: post
127
+ uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
128
+ body:
129
+ encoding: UTF-8
130
+ string: '{"plain_text":"boo"}'
131
+ headers:
132
+ Content-Type:
133
+ - application/json
134
+ Accept:
135
+ - application/json
136
+ response:
137
+ status:
138
+ code: 200
139
+ message: OK
140
+ headers:
141
+ Server:
142
+ - nginx
143
+ Date:
144
+ - Fri, 21 Jul 2017 12:59:36 GMT
145
+ Content-Type:
146
+ - application/json;charset=utf-8
147
+ Content-Length:
148
+ - '58'
149
+ Connection:
150
+ - keep-alive
151
+ Vary:
152
+ - Origin
153
+ Strict-Transport-Security:
154
+ - max-age=3600; includeSubdomains; preload
155
+ X-Frame-Options:
156
+ - DENY
157
+ X-Content-Type-Options:
158
+ - nosniff
159
+ body:
160
+ encoding: UTF-8
161
+ string: |-
162
+ {
163
+ "email_guid": "1c084b8d-2869-4f37-8c55-9c7aec539d80"
164
+ }
165
+ http_version:
166
+ recorded_at: Fri, 21 Jul 2017 13:02:09 GMT
85
167
  recorded_with: VCR 2.9.3
@@ -38,4 +38,42 @@ http_interactions:
38
38
  }
39
39
  http_version:
40
40
  recorded_at: Mon, 20 Jun 2016 11:43:50 GMT
41
+ - request:
42
+ method: post
43
+ uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"nyan_text":"Miow världen!"}'
47
+ headers:
48
+ Content-Type:
49
+ - application/json
50
+ Accept:
51
+ - application/json
52
+ response:
53
+ status:
54
+ code: 400
55
+ message: Bad Request
56
+ headers:
57
+ Server:
58
+ - nginx
59
+ Date:
60
+ - Fri, 21 Jul 2017 12:59:16 GMT
61
+ Content-Type:
62
+ - application/json;charset=utf-8
63
+ Content-Length:
64
+ - '122'
65
+ Connection:
66
+ - keep-alive
67
+ Vary:
68
+ - Origin
69
+ body:
70
+ encoding: UTF-8
71
+ string: |-
72
+ {
73
+ "status": 400,
74
+ "title": "Bad Request",
75
+ "description": "One of 'html_text','plain_text','raw_source' is required"
76
+ }
77
+ http_version:
78
+ recorded_at: Fri, 21 Jul 2017 13:01:49 GMT
41
79
  recorded_with: VCR 2.9.3
@@ -43,4 +43,47 @@ http_interactions:
43
43
  }
44
44
  http_version:
45
45
  recorded_at: Mon, 20 Jun 2016 11:43:49 GMT
46
+ - request:
47
+ method: post
48
+ uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"plain_text":"Hej världen!","end_user_id":"bob"}'
52
+ headers:
53
+ Content-Type:
54
+ - application/json
55
+ Accept:
56
+ - application/json
57
+ response:
58
+ status:
59
+ code: 200
60
+ message: OK
61
+ headers:
62
+ Server:
63
+ - nginx
64
+ Date:
65
+ - Fri, 21 Jul 2017 12:59:15 GMT
66
+ Content-Type:
67
+ - application/json;charset=utf-8
68
+ Content-Length:
69
+ - '82'
70
+ Connection:
71
+ - keep-alive
72
+ Vary:
73
+ - Origin
74
+ Strict-Transport-Security:
75
+ - max-age=3600; includeSubdomains; preload
76
+ X-Frame-Options:
77
+ - DENY
78
+ X-Content-Type-Options:
79
+ - nosniff
80
+ body:
81
+ encoding: UTF-8
82
+ string: |-
83
+ {
84
+ "email_guid": "b60dac41-85ae-4abb-b27a-06f905fad6a2",
85
+ "end_user_id": "bob"
86
+ }
87
+ http_version:
88
+ recorded_at: Fri, 21 Jul 2017 13:01:48 GMT
46
89
  recorded_with: VCR 2.9.3
@@ -54,4 +54,58 @@ http_interactions:
54
54
  }
55
55
  http_version:
56
56
  recorded_at: Mon, 20 Jun 2016 11:43:49 GMT
57
+ - request:
58
+ method: post
59
+ uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
60
+ body:
61
+ encoding: UTF-8
62
+ string: '{"plain_text":"Hej världen!","configurations":[{"client":"OL2010"},{"client":"OL2013","images":"blocked"}]}'
63
+ headers:
64
+ Content-Type:
65
+ - application/json
66
+ Accept:
67
+ - application/json
68
+ response:
69
+ status:
70
+ code: 200
71
+ message: OK
72
+ headers:
73
+ Server:
74
+ - nginx
75
+ Date:
76
+ - Fri, 21 Jul 2017 12:59:16 GMT
77
+ Content-Type:
78
+ - application/json;charset=utf-8
79
+ Content-Length:
80
+ - '280'
81
+ Connection:
82
+ - keep-alive
83
+ Vary:
84
+ - Origin
85
+ Strict-Transport-Security:
86
+ - max-age=3600; includeSubdomains; preload
87
+ X-Frame-Options:
88
+ - DENY
89
+ X-Content-Type-Options:
90
+ - nosniff
91
+ body:
92
+ encoding: UTF-8
93
+ string: |-
94
+ {
95
+ "email_guid": "b60dac41-85ae-4abb-b27a-06f905fad6a2",
96
+ "configurations": [
97
+ {
98
+ "orientation": "vertical",
99
+ "images": "allowed",
100
+ "client": "OL2010"
101
+ },
102
+ {
103
+ "orientation": "vertical",
104
+ "images": "blocked",
105
+ "client": "OL2013"
106
+ }
107
+ ]
108
+ }
109
+ http_version:
110
+ recorded_at: Fri, 21 Jul 2017 13:01:49 GMT
57
111
  recorded_with: VCR 2.9.3
@@ -42,4 +42,46 @@ http_interactions:
42
42
  }
43
43
  http_version:
44
44
  recorded_at: Mon, 20 Jun 2016 11:43:48 GMT
45
+ - request:
46
+ method: post
47
+ uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
48
+ body:
49
+ encoding: UTF-8
50
+ string: '{"plain_text":"Hej världen!"}'
51
+ headers:
52
+ Content-Type:
53
+ - application/json
54
+ Accept:
55
+ - application/json
56
+ response:
57
+ status:
58
+ code: 200
59
+ message: OK
60
+ headers:
61
+ Server:
62
+ - nginx
63
+ Date:
64
+ - Fri, 21 Jul 2017 12:59:14 GMT
65
+ Content-Type:
66
+ - application/json;charset=utf-8
67
+ Content-Length:
68
+ - '58'
69
+ Connection:
70
+ - keep-alive
71
+ Vary:
72
+ - Origin
73
+ Strict-Transport-Security:
74
+ - max-age=3600; includeSubdomains; preload
75
+ X-Frame-Options:
76
+ - DENY
77
+ X-Content-Type-Options:
78
+ - nosniff
79
+ body:
80
+ encoding: UTF-8
81
+ string: |-
82
+ {
83
+ "email_guid": "b60dac41-85ae-4abb-b27a-06f905fad6a2"
84
+ }
85
+ http_version:
86
+ recorded_at: Fri, 21 Jul 2017 13:01:47 GMT
45
87
  recorded_with: VCR 2.9.3
@@ -78,4 +78,84 @@ http_interactions:
78
78
  }
79
79
  http_version:
80
80
  recorded_at: Mon, 20 Jun 2016 11:43:53 GMT
81
+ - request:
82
+ method: post
83
+ uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
84
+ body:
85
+ encoding: UTF-8
86
+ string: '{"plain_text":"Hej världen! Kärlek, den svenska kocken."}'
87
+ headers:
88
+ Content-Type:
89
+ - application/json
90
+ Accept:
91
+ - application/json
92
+ response:
93
+ status:
94
+ code: 200
95
+ message: OK
96
+ headers:
97
+ Server:
98
+ - nginx
99
+ Date:
100
+ - Fri, 21 Jul 2017 12:59:17 GMT
101
+ Content-Type:
102
+ - application/json;charset=utf-8
103
+ Content-Length:
104
+ - '58'
105
+ Connection:
106
+ - keep-alive
107
+ Vary:
108
+ - Origin
109
+ Strict-Transport-Security:
110
+ - max-age=3600; includeSubdomains; preload
111
+ X-Frame-Options:
112
+ - DENY
113
+ X-Content-Type-Options:
114
+ - nosniff
115
+ body:
116
+ encoding: UTF-8
117
+ string: |-
118
+ {
119
+ "email_guid": "63c98daa-7572-48ea-b97d-9a817be8dfac"
120
+ }
121
+ http_version:
122
+ recorded_at: Fri, 21 Jul 2017 13:01:50 GMT
123
+ - request:
124
+ method: get
125
+ uri: https://instant-api.litmus.com/v1/emails/63c98daa-7572-48ea-b97d-9a817be8dfac/previews/OL2001MYSPACEODYSSEY
126
+ body:
127
+ encoding: US-ASCII
128
+ string: ''
129
+ headers:
130
+ Content-Type:
131
+ - application/json
132
+ Accept:
133
+ - application/json
134
+ response:
135
+ status:
136
+ code: 400
137
+ message: Bad Request
138
+ headers:
139
+ Server:
140
+ - nginx
141
+ Date:
142
+ - Fri, 21 Jul 2017 12:59:18 GMT
143
+ Content-Type:
144
+ - application/json;charset=utf-8
145
+ Content-Length:
146
+ - '102'
147
+ Connection:
148
+ - keep-alive
149
+ Vary:
150
+ - Origin
151
+ body:
152
+ encoding: UTF-8
153
+ string: |-
154
+ {
155
+ "status": 400,
156
+ "title": "Bad Request",
157
+ "description": "'client' must be valid, see /clients"
158
+ }
159
+ http_version:
160
+ recorded_at: Fri, 21 Jul 2017 13:01:51 GMT
81
161
  recorded_with: VCR 2.9.3
@@ -84,4 +84,90 @@ http_interactions:
84
84
  }
85
85
  http_version:
86
86
  recorded_at: Mon, 20 Jun 2016 11:43:58 GMT
87
+ - request:
88
+ method: post
89
+ uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
90
+ body:
91
+ encoding: UTF-8
92
+ string: '{"plain_text":"Hej världen! Kärlek, den svenska kocken."}'
93
+ headers:
94
+ Content-Type:
95
+ - application/json
96
+ Accept:
97
+ - application/json
98
+ response:
99
+ status:
100
+ code: 200
101
+ message: OK
102
+ headers:
103
+ Server:
104
+ - nginx
105
+ Date:
106
+ - Fri, 21 Jul 2017 12:59:19 GMT
107
+ Content-Type:
108
+ - application/json;charset=utf-8
109
+ Content-Length:
110
+ - '58'
111
+ Connection:
112
+ - keep-alive
113
+ Vary:
114
+ - Origin
115
+ Strict-Transport-Security:
116
+ - max-age=3600; includeSubdomains; preload
117
+ X-Frame-Options:
118
+ - DENY
119
+ X-Content-Type-Options:
120
+ - nosniff
121
+ body:
122
+ encoding: UTF-8
123
+ string: |-
124
+ {
125
+ "email_guid": "63c98daa-7572-48ea-b97d-9a817be8dfac"
126
+ }
127
+ http_version:
128
+ recorded_at: Fri, 21 Jul 2017 13:01:51 GMT
129
+ - request:
130
+ method: get
131
+ uri: https://instant-api.litmus.com/v1/emails/63c98daa-7572-48ea-b97d-9a817be8dfac/previews/PLAINTEXT
132
+ body:
133
+ encoding: US-ASCII
134
+ string: ''
135
+ headers:
136
+ Content-Type:
137
+ - application/json
138
+ Accept:
139
+ - application/json
140
+ response:
141
+ status:
142
+ code: 200
143
+ message: OK
144
+ headers:
145
+ Server:
146
+ - nginx
147
+ Date:
148
+ - Fri, 21 Jul 2017 12:59:24 GMT
149
+ Content-Type:
150
+ - application/json;charset=utf-8
151
+ Content-Length:
152
+ - '436'
153
+ Connection:
154
+ - keep-alive
155
+ Vary:
156
+ - Origin
157
+ Strict-Transport-Security:
158
+ - max-age=3600; includeSubdomains; preload
159
+ X-Frame-Options:
160
+ - DENY
161
+ X-Content-Type-Options:
162
+ - nosniff
163
+ body:
164
+ encoding: UTF-8
165
+ string: |-
166
+ {
167
+ "full_url": "https://plaintext.capture.litmuscdn.com/63c98daa-7572-48ea-b97d-9a817be8dfac/results/plaintext-vertical-allowed-1366.png",
168
+ "thumb_url": "https://plaintext.capture.litmuscdn.com/63c98daa-7572-48ea-b97d-9a817be8dfac/results/plaintext-vertical-allowed-1366-thumb.png",
169
+ "thumb450_url": "https://plaintext.capture.litmuscdn.com/63c98daa-7572-48ea-b97d-9a817be8dfac/results/plaintext-vertical-allowed-1366-thumb450.png"
170
+ }
171
+ http_version:
172
+ recorded_at: Fri, 21 Jul 2017 13:01:57 GMT
87
173
  recorded_with: VCR 2.9.3
@@ -84,4 +84,90 @@ http_interactions:
84
84
  }
85
85
  http_version:
86
86
  recorded_at: Mon, 20 Jun 2016 11:44:05 GMT
87
+ - request:
88
+ method: post
89
+ uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
90
+ body:
91
+ encoding: UTF-8
92
+ string: '{"plain_text":"Hej världen! Kärlek, den svenska kocken."}'
93
+ headers:
94
+ Content-Type:
95
+ - application/json
96
+ Accept:
97
+ - application/json
98
+ response:
99
+ status:
100
+ code: 200
101
+ message: OK
102
+ headers:
103
+ Server:
104
+ - nginx
105
+ Date:
106
+ - Fri, 21 Jul 2017 12:59:25 GMT
107
+ Content-Type:
108
+ - application/json;charset=utf-8
109
+ Content-Length:
110
+ - '58'
111
+ Connection:
112
+ - keep-alive
113
+ Vary:
114
+ - Origin
115
+ Strict-Transport-Security:
116
+ - max-age=3600; includeSubdomains; preload
117
+ X-Frame-Options:
118
+ - DENY
119
+ X-Content-Type-Options:
120
+ - nosniff
121
+ body:
122
+ encoding: UTF-8
123
+ string: |-
124
+ {
125
+ "email_guid": "63c98daa-7572-48ea-b97d-9a817be8dfac"
126
+ }
127
+ http_version:
128
+ recorded_at: Fri, 21 Jul 2017 13:01:57 GMT
129
+ - request:
130
+ method: get
131
+ uri: https://instant-api.litmus.com/v1/emails/63c98daa-7572-48ea-b97d-9a817be8dfac/previews/OL2010?images=blocked&orientation=vertical
132
+ body:
133
+ encoding: US-ASCII
134
+ string: ''
135
+ headers:
136
+ Content-Type:
137
+ - application/json
138
+ Accept:
139
+ - application/json
140
+ response:
141
+ status:
142
+ code: 200
143
+ message: OK
144
+ headers:
145
+ Server:
146
+ - nginx
147
+ Date:
148
+ - Fri, 21 Jul 2017 12:59:32 GMT
149
+ Content-Type:
150
+ - application/json;charset=utf-8
151
+ Content-Length:
152
+ - '418'
153
+ Connection:
154
+ - keep-alive
155
+ Vary:
156
+ - Origin
157
+ Strict-Transport-Security:
158
+ - max-age=3600; includeSubdomains; preload
159
+ X-Frame-Options:
160
+ - DENY
161
+ X-Content-Type-Options:
162
+ - nosniff
163
+ body:
164
+ encoding: UTF-8
165
+ string: |-
166
+ {
167
+ "full_url": "https://ol2010.capture.litmuscdn.com/63c98daa-7572-48ea-b97d-9a817be8dfac/results/ol2010-vertical-blocked-1366.png",
168
+ "thumb_url": "https://ol2010.capture.litmuscdn.com/63c98daa-7572-48ea-b97d-9a817be8dfac/results/ol2010-vertical-blocked-1366-thumb.png",
169
+ "thumb450_url": "https://ol2010.capture.litmuscdn.com/63c98daa-7572-48ea-b97d-9a817be8dfac/results/ol2010-vertical-blocked-1366-thumb450.png"
170
+ }
171
+ http_version:
172
+ recorded_at: Fri, 21 Jul 2017 13:02:05 GMT
87
173
  recorded_with: VCR 2.9.3
@@ -78,4 +78,84 @@ http_interactions:
78
78
  }
79
79
  http_version:
80
80
  recorded_at: Mon, 20 Jun 2016 11:44:06 GMT
81
+ - request:
82
+ method: post
83
+ uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
84
+ body:
85
+ encoding: UTF-8
86
+ string: '{"plain_text":"Hej världen! Kärlek, den svenska kocken."}'
87
+ headers:
88
+ Content-Type:
89
+ - application/json
90
+ Accept:
91
+ - application/json
92
+ response:
93
+ status:
94
+ code: 200
95
+ message: OK
96
+ headers:
97
+ Server:
98
+ - nginx
99
+ Date:
100
+ - Fri, 21 Jul 2017 12:59:33 GMT
101
+ Content-Type:
102
+ - application/json;charset=utf-8
103
+ Content-Length:
104
+ - '58'
105
+ Connection:
106
+ - keep-alive
107
+ Vary:
108
+ - Origin
109
+ Strict-Transport-Security:
110
+ - max-age=3600; includeSubdomains; preload
111
+ X-Frame-Options:
112
+ - DENY
113
+ X-Content-Type-Options:
114
+ - nosniff
115
+ body:
116
+ encoding: UTF-8
117
+ string: |-
118
+ {
119
+ "email_guid": "63c98daa-7572-48ea-b97d-9a817be8dfac"
120
+ }
121
+ http_version:
122
+ recorded_at: Fri, 21 Jul 2017 13:02:06 GMT
123
+ - request:
124
+ method: post
125
+ uri: https://instant-api.litmus.com/v1/emails/63c98daa-7572-48ea-b97d-9a817be8dfac/previews/prefetch
126
+ body:
127
+ encoding: UTF-8
128
+ string: '{"configurations":[{"client":"OL2010"},{"client":"OL2001MYSPACEODYSSEY"}]}'
129
+ headers:
130
+ Content-Type:
131
+ - application/json
132
+ Accept:
133
+ - application/json
134
+ response:
135
+ status:
136
+ code: 400
137
+ message: Bad Request
138
+ headers:
139
+ Server:
140
+ - nginx
141
+ Date:
142
+ - Fri, 21 Jul 2017 12:59:34 GMT
143
+ Content-Type:
144
+ - application/json;charset=utf-8
145
+ Content-Length:
146
+ - '126'
147
+ Connection:
148
+ - keep-alive
149
+ Vary:
150
+ - Origin
151
+ body:
152
+ encoding: UTF-8
153
+ string: |-
154
+ {
155
+ "status": 400,
156
+ "title": "Bad Request",
157
+ "description": "Each client must be valid, 'OL2001MYSPACEODYSSEY' is unknown"
158
+ }
159
+ http_version:
160
+ recorded_at: Fri, 21 Jul 2017 13:02:06 GMT
81
161
  recorded_with: VCR 2.9.3
@@ -87,4 +87,93 @@ http_interactions:
87
87
  }
88
88
  http_version:
89
89
  recorded_at: Mon, 20 Jun 2016 11:44:08 GMT
90
+ - request:
91
+ method: post
92
+ uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
93
+ body:
94
+ encoding: UTF-8
95
+ string: '{"plain_text":"Hej världen! Kärlek, den svenska kocken."}'
96
+ headers:
97
+ Content-Type:
98
+ - application/json
99
+ Accept:
100
+ - application/json
101
+ response:
102
+ status:
103
+ code: 200
104
+ message: OK
105
+ headers:
106
+ Server:
107
+ - nginx
108
+ Date:
109
+ - Fri, 21 Jul 2017 12:59:34 GMT
110
+ Content-Type:
111
+ - application/json;charset=utf-8
112
+ Content-Length:
113
+ - '58'
114
+ Connection:
115
+ - keep-alive
116
+ Vary:
117
+ - Origin
118
+ Strict-Transport-Security:
119
+ - max-age=3600; includeSubdomains; preload
120
+ X-Frame-Options:
121
+ - DENY
122
+ X-Content-Type-Options:
123
+ - nosniff
124
+ body:
125
+ encoding: UTF-8
126
+ string: |-
127
+ {
128
+ "email_guid": "63c98daa-7572-48ea-b97d-9a817be8dfac"
129
+ }
130
+ http_version:
131
+ recorded_at: Fri, 21 Jul 2017 13:02:07 GMT
132
+ - request:
133
+ method: post
134
+ uri: https://instant-api.litmus.com/v1/emails/63c98daa-7572-48ea-b97d-9a817be8dfac/previews/prefetch
135
+ body:
136
+ encoding: UTF-8
137
+ string: '{"configurations":[{"client":"OL2010","images":"allowed"},{"client":"IPAD","orientation":"vertical"}]}'
138
+ headers:
139
+ Content-Type:
140
+ - application/json
141
+ Accept:
142
+ - application/json
143
+ response:
144
+ status:
145
+ code: 202
146
+ message: Accepted
147
+ headers:
148
+ Server:
149
+ - nginx
150
+ Date:
151
+ - Fri, 21 Jul 2017 12:59:35 GMT
152
+ Content-Type:
153
+ - application/json;charset=utf-8
154
+ Content-Length:
155
+ - '222'
156
+ Connection:
157
+ - keep-alive
158
+ Vary:
159
+ - Origin
160
+ body:
161
+ encoding: UTF-8
162
+ string: |-
163
+ {
164
+ "configurations": [
165
+ {
166
+ "orientation": "vertical",
167
+ "images": "allowed",
168
+ "client": "OL2010"
169
+ },
170
+ {
171
+ "orientation": "vertical",
172
+ "images": "allowed",
173
+ "client": "IPAD"
174
+ }
175
+ ]
176
+ }
177
+ http_version:
178
+ recorded_at: Fri, 21 Jul 2017 13:02:08 GMT
90
179
  recorded_with: VCR 2.9.3
@@ -1,5 +1,5 @@
1
1
  module Litmus
2
2
  class Instant
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
@@ -27,10 +27,10 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
29
29
 
30
- spec.add_dependency "httparty", "~> 0.13.5"
30
+ spec.add_dependency "httparty", ">= 0.13.5", "< 0.16"
31
31
 
32
32
  spec.add_development_dependency "bundler", "~> 1.10"
33
- spec.add_development_dependency "rake", "~> 10.0"
33
+ spec.add_development_dependency "rake", "~> 12.0"
34
34
  spec.add_development_dependency "rspec"
35
35
  spec.add_development_dependency "guard-rspec"
36
36
  spec.add_development_dependency "webmock"
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: litmus-instant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rahim Packir Saibo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-21 00:00:00.000000000 Z
11
+ date: 2017-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.13.5
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '0.16'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.13.5
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '0.16'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +50,14 @@ dependencies:
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '10.0'
53
+ version: '12.0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '10.0'
60
+ version: '12.0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rspec
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -190,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
196
  version: '0'
191
197
  requirements: []
192
198
  rubyforge_project:
193
- rubygems_version: 2.5.1
199
+ rubygems_version: 2.6.8
194
200
  signing_key:
195
201
  specification_version: 4
196
202
  summary: Ruby client library for Litmus Instant API