ask_awesomely 0.1.6 → 0.1.7

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: 53ff9446c8f755df7d9ac559825c389a44d4dab1
4
- data.tar.gz: 0a567bbcf6b84fc08e3827bbfd1fe2e4d4a09350
3
+ metadata.gz: 57f17215b78dd2e3143b8491973c5f92886e51eb
4
+ data.tar.gz: 896f7286ff272ff2a6ed5065a467d0506c8c3c71
5
5
  SHA512:
6
- metadata.gz: 7e5d7e5062b8dd82613c64ff68665fccf1cfc3156c47db9867d431214eab559d83e82fa22d2c799781223bb490fb2f78ab3e962cbd8a990a5405c37fe91dde7e
7
- data.tar.gz: f1aea9894e9455ea590faeded81547f9d9891e63bfe5db130c0646afae4afa6d1445d176ffaa535d08501fec10f21cf47499c255ac4a3d38cf0e8fd88d35e4ec
6
+ metadata.gz: 41d6794bb832347d86d7d8a6052e928999fc2f640cfa5aaa59da04806374386b2a0128ee2533f15967c1a2ce653fc75e65325d545fa72abb89db8804240bdc4f
7
+ data.tar.gz: fbaf9fb504249c1f1d1e6f1b87a1dc39f9a41c47003c3967c2d953b38d3f0b5951ec26bed5d908b78b2b8d39e4e009b93315eb59c7e06c8d394d2c0f3c2116ba
@@ -2,13 +2,13 @@ module AskAwesomely
2
2
  class ApiClient
3
3
 
4
4
  USER_AGENT = "leemachin/ask_awesomely; (v#{AskAwesomely::VERSION})"
5
- BASE_URL = "https://api.typeform.io/latest"
5
+ BASE_URL = "https://api.typeform.io/v0.4"
6
6
  ENDPOINTS = {
7
7
  root: "/",
8
8
  create_typeform: "/forms",
9
9
  create_picture: "/images"
10
10
  }
11
-
11
+
12
12
  def initialize
13
13
  Typhoeus::Config.user_agent = USER_AGENT
14
14
  end
@@ -21,7 +21,7 @@ module AskAwesomely
21
21
 
22
22
  JSON.parse(response.body)
23
23
  end
24
-
24
+
25
25
  def submit_typeform(typeform)
26
26
  response = request.post(
27
27
  url_for(:create_typeform),
@@ -1,3 +1,3 @@
1
1
  module AskAwesomely
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ask_awesomely
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Machin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-18 00:00:00.000000000 Z
11
+ date: 2016-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk