multiinfo 0.0.10 → 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.
@@ -1,5 +1,6 @@
1
- 2012-06-26 Version 0.0.8 Piotr Barczuk
1
+ 2012-06-26 Versions 0.0.8-0.0.11 Piotr Barczuk
2
2
  - changed multiinfo API url
3
+ - added some additional debug information
3
4
 
4
5
  2012-05-24 Version 0.0.7 Piotr Barczuk
5
6
  - added support for trusted certificates signing
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.10
1
+ 0.0.11
@@ -2,7 +2,6 @@ require "cgi"
2
2
  module MultiInfo
3
3
  class API
4
4
  API_SERVICE_HOST = 'https://api1.multiinfo.plus.pl/'
5
- API_NAME = 'smsapi4'
6
5
  API_SCRIPT_TYPE = 'aspx'
7
6
 
8
7
  class Command
@@ -13,7 +12,7 @@ module MultiInfo
13
12
 
14
13
  def with_params(param_hash)
15
14
  param_string = '?' + param_hash.map { |key, value| "#{::CGI.escape(key.to_s.camelize(false))}=#{::CGI.escape(value.to_s)}" }.sort.join('&')
16
- URI.parse(File.join("#{API_SERVICE_HOST}#{API_NAME}/", "#{@command_name}.#{API_SCRIPT_TYPE}" + param_string))
15
+ URI.parse(File.join("#{API_SERVICE_HOST}", "#{@command_name}.#{API_SCRIPT_TYPE}" + param_string))
17
16
  end
18
17
 
19
18
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{multiinfo}
5
- s.version = "0.0.10"
5
+ s.version = "0.0.11"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["\305\201ukasz \305\201uczak", "Piotr Barczuk"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: