ruby_hlr_client 0.0.9 → 0.0.11

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 ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ODQ4ODhlZGMwM2Q4ZmMyOWRjZjEzN2NlYzc1ODM0MWY4NzQyMjg4Nw==
5
+ data.tar.gz: !binary |-
6
+ MmRmYjY2NzZkYjY2NmE4ODJjOWY4NjhjNTczNmEzNTYzNzY4OTk1MA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NzU0ZTI5MzM5Y2I5ZWZlMWVmMmQxOGY2Mjk3OTNhNGE1ZjUwNTk4NWRmMDlj
10
+ NjI4OWI5ZTUwNjJiOGExOTM1ZjdlZDg1ZTNhN2YyNmU5NDJkOTVjYzNlMDVl
11
+ YmI3MmJkY2EwOTU2OTgwZWY1MTJhOTA3ZGRmMjQ1NDg0OGJjZDk=
12
+ data.tar.gz: !binary |-
13
+ ZWU0NWZmODk1NWVjMjExODNlNTNkYmRjNzg0ODlmOTZhMjJjNDcwYzEzODA0
14
+ YzBlNDY1YzM0YTZlNzU1OTMzZGJjMjI5MzljYWQ1YmYzYjVlOWI5NzgzNmMy
15
+ NzIxNjgxMmI1YmE2MzIxYzcxMmViMzE0NWFmNWU4YjdlYjdhYjg=
data/bin/test_client.rb CHANGED
@@ -26,6 +26,7 @@ print "\n\n"
26
26
  # Sets the callback URL for asynchronous lookups. Read more about the concept of asynchronous HLR lookups @ http://www.hlr-lookups.com/en/asynchronous-hlr-lookup-api
27
27
  # @param url - callback url on your server
28
28
  # @returns string (JSON)
29
+ #
29
30
  # Return example: {"success":true,"messages":[],"results":{"url":"http:\/\/user:pass@www.your-server.com\/path\/file"}}
30
31
  print client.set_async_callback_url('http://user:pass@www.your-server.com/path/file')
31
32
  print "\n\n"
@@ -42,6 +43,7 @@ print "\n\n"
42
43
 
43
44
  # Returns the remaining balance (EUR) in your account.
44
45
  # @returns string (JSON)
46
+ #
45
47
  # Return example: {"success":true,"messages":[],"results":{"balance":"5878.24600"}}
46
48
  print client.get_balance
47
49
  print "\n"
@@ -74,6 +74,7 @@ module RubyHlrClient
74
74
  # Sets the callback URL for asynchronous lookups. Read more about the concept of asynchronous HLR lookups @ http://www.hlr-lookups.com/en/asynchronous-hlr-lookup-api
75
75
  # @param url - callback url on your server
76
76
  # @returns string (JSON)
77
+ #
77
78
  # Return example: {"success":true,"messages":[],"results":{"url":"http:\/\/user:pass@www.your-server.com\/path\/file"}}
78
79
  def set_async_callback_url(url)
79
80
 
@@ -88,6 +89,7 @@ module RubyHlrClient
88
89
 
89
90
  # Returns the remaining balance (EUR) in your account.
90
91
  # @returns string (JSON)
92
+ #
91
93
  # Return example: {"success":true,"messages":[],"results":{"balance":"5878.24600"}}
92
94
  def get_balance
93
95
 
@@ -1,3 +1,3 @@
1
1
  module RubyHlrClient
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.11'
3
3
  end
@@ -10,6 +10,8 @@ Gem::Specification.new do |s|
10
10
  s.email = ['service@hlr-lookups.com']
11
11
  s.homepage = 'http://www.hlr-lookups.com'
12
12
  s.summary = %q{Official HLR Lookup API Ruby SDK by www.hlr-lookups.com}
13
+ s.licenses = ['Apache-2.0']
14
+
13
15
 
14
16
  s.add_dependency 'sinatra'
15
17
  s.add_dependency 'rest_client'
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_hlr_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
5
- prerelease:
4
+ version: 0.0.11
6
5
  platform: ruby
7
6
  authors:
8
7
  - Velocity Made Good Ltd.
@@ -14,7 +13,6 @@ dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: sinatra
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ! '>='
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rest_client
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: json
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ! '>='
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ! '>='
60
53
  - !ruby/object:Gem::Version
@@ -79,27 +72,27 @@ files:
79
72
  - lib/ruby_hlr_client/version.rb
80
73
  - ruby_hlr_client.gemspec
81
74
  homepage: http://www.hlr-lookups.com
82
- licenses: []
75
+ licenses:
76
+ - Apache-2.0
77
+ metadata: {}
83
78
  post_install_message:
84
79
  rdoc_options: []
85
80
  require_paths:
86
81
  - lib
87
82
  required_ruby_version: !ruby/object:Gem::Requirement
88
- none: false
89
83
  requirements:
90
84
  - - ! '>='
91
85
  - !ruby/object:Gem::Version
92
86
  version: '0'
93
87
  required_rubygems_version: !ruby/object:Gem::Requirement
94
- none: false
95
88
  requirements:
96
89
  - - ! '>='
97
90
  - !ruby/object:Gem::Version
98
91
  version: '0'
99
92
  requirements: []
100
93
  rubyforge_project: ruby_hlr_client
101
- rubygems_version: 1.8.29
94
+ rubygems_version: 2.4.5
102
95
  signing_key:
103
- specification_version: 3
96
+ specification_version: 4
104
97
  summary: Official HLR Lookup API Ruby SDK by www.hlr-lookups.com
105
98
  test_files: []