domoscio_admin 0.3.4 → 0.3.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5214e024b43a24c60d9809df58679f069fddb06eefc4c77854f65b71a1a396e9
4
- data.tar.gz: 6d94481bf938506dbb0ecfc101923b915c66f38b3de172be0d3eeca5729f14b9
3
+ metadata.gz: e13dd13b5a0c4607c41a261227b9be65de5badb861d91ecbb67aba15673f805f
4
+ data.tar.gz: d784655c5a27452520635b6ac6583cae4d9284c0a3c4e2d179f8a6895a6ff776
5
5
  SHA512:
6
- metadata.gz: 4a59bc2a5132a3dc3b797c388738aa47172a3185bae38d4b1e2d886f69e2b9e53b656d41a10089d769dad94462d4b1808cfd92b8c2acbe93ff15d60838574eda
7
- data.tar.gz: 5460680c16b4b5825e80f577ad811fff669456e2db9359b39b71ccdf9a7a5c517f7fdc16032b41078d64fe94333a306a8d486d72a8aff41252dc944b81b33d83
6
+ metadata.gz: cb361e7fbe82c675eb44ace0a1832e37b350c7b559f89fb81d9e6fe56a94134870203afe62ad7e4bd97aff8c25afe5e73a948cbe19605da0e5fb72e43cbf359c
7
+ data.tar.gz: 24bcca18f7358fd06da67754f7981f37d1359c752e31745b5d9d91361782faa688f14e38b72ad8eb14b6e5ed79b863865ccf692f375acd4fe5d24ea27bb7db64
@@ -5,7 +5,7 @@ module DomoscioAdmin
5
5
  raise NotImplementedError, 'Resource is an abstract class. Do not use it directly.' if self == Resource
6
6
 
7
7
  build_url = "/instances/#{DomoscioAdmin.configuration.client_id}/#{underscore(class_name)}s"
8
- build_url << "/#{CGI.escape(id.to_s.replace('.', '%2E'))}" if id
8
+ build_url << "/#{CGI.escape(id.to_s).gsub('.', '%2E')}" if id
9
9
  build_url
10
10
  end
11
11
 
@@ -1,3 +1,3 @@
1
1
  module DomoscioAdmin
2
- VERSION = '0.3.4'.freeze
2
+ VERSION = '0.3.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domoscio_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pascal Lim