autopen 0.0.2 → 0.0.3

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.
@@ -31,7 +31,7 @@ module Autopen
31
31
 
32
32
  uri_from_url = URI(@url)
33
33
  unless uri_from_url.query.nil?
34
- query_string_params = uri_from_url.query.split("&")
34
+ query_string_params = uri_from_url.query.gsub("?", "").split("&")
35
35
  query_string_params.each do |param|
36
36
  a = param.split("=")
37
37
  all_params[a[0]] = a[1]
@@ -94,7 +94,7 @@ module Autopen
94
94
  if uri_from_url.query.nil?
95
95
  base = @url + "?"
96
96
  else
97
- base = @url
97
+ base = @url + "&"
98
98
  end
99
99
  params = []
100
100
  get_params.each do |key, value|
@@ -1,3 +1,3 @@
1
1
  module Autopen
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autopen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: