Skip to content

Commit

Permalink
v0.1.1 - Fix NoMethod Error (#2)
Browse files Browse the repository at this point in the history
* change outdated  URI.escape into CGI.escape - fix NoMethod error

* add gem-deploy workflow

* move to version 0.1.1
  • Loading branch information
nic-lan authored Aug 8, 2023
1 parent 2df8bc5 commit 40a05fe
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .github/workflow/gem_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Gem deploy

on:
push:
branches:
- master

jobs:
gem_deploy:
uses: forward3d/github-actions-workflows/.github/workflows/gem_deploy.yml@main
2 changes: 2 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
0.1.1
Change outdated URI.escape into CGI.escape - fix NoMethod error
4 changes: 2 additions & 2 deletions lib/three-sixty/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def generate_url(resource_url, query_params = {})
end

def querystring(query_params)
query_params.map { |key, value| key.to_s << '=' << URI.escape(value.to_s) }.join('&')
query_params.map { |key, value| key.to_s << '=' << CGI.escape(value.to_s) }.join('&')
end

end
end
end
4 changes: 2 additions & 2 deletions lib/three-sixty/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ThreeSixty
VERSION = "0.1.0"
end
VERSION = "0.1.1"
end

0 comments on commit 40a05fe

Please sign in to comment.