help_provas_api 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Readme.md CHANGED
@@ -67,7 +67,7 @@ response = voucher.access(product_code, name, email, password, phone, plan_code)
67
67
  puts response["CodigoRetorno"]
68
68
  ```
69
69
 
70
- ##Licensa
70
+ ##Licença
71
71
  Copyright(c)2013 Tarik Boschi.
72
72
 
73
73
  A permissão é concedida, de forma gratuita, para qualquer pessoa que obtenha
@@ -1,3 +1,3 @@
1
1
  module HelpProvasApi
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -36,7 +36,7 @@ module HelpProvasApi
36
36
 
37
37
  private
38
38
  def request(uri)
39
- resp = RestClient.get uri
39
+ resp = RestClient.get URI.encode(uri)
40
40
  JSON.parse(resp)
41
41
  end
42
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: help_provas_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-11 00:00:00.000000000 Z
12
+ date: 2013-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
- requirement: &19910856 !ruby/object:Gem::Requirement
16
+ requirement: &24930876 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *19910856
24
+ version_requirements: *24930876
25
25
  description: GEM para integração com a API da Help Provas
26
26
  email:
27
27
  - tarik@boschi.com.br