ruby-miradore 4.1.4 → 4.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47a7daf0602f7a9bb496520fd97e11f6262d43c3204704be7b2ec5e0ac345a13
4
- data.tar.gz: 752d92ec45f66cc8bff1fe79ec40e8ef30424e931d2923d79d28c4a99011a072
3
+ metadata.gz: '081650d498cce7202921e4949ba0ee278cb284b6658009966e6fedab7d299ea4'
4
+ data.tar.gz: 43b9195fbd99ebcfd8cbd7619aff167cbc34189f9ef52c77fd5cb6c0aa6fdf3e
5
5
  SHA512:
6
- metadata.gz: ba6a9732248f24c90fb90a22444f91421020688855ce2433b3dced03c7e127a308c0ddbe831de4b8fbca3bd82da53e9e6e7ce7703001b6748db485814ef8e722
7
- data.tar.gz: c71cee6c741b1f6ce42b287e0b39b727fcc42fc373c06a45dcccbdede2ab47403514c1ce8e6f77ceeaca5cb4d8f790f01e8c7e6d3dfabc8cef5ceabc7a244787
6
+ metadata.gz: 2d48752483909e478ad752dfefe64ee2c2325b6d6edbc215568d2a7b54322057c8dfaf5e808473c1da8ff9bf1efb96f7684867d9cb41211d62b1e26ac70ca0e9
7
+ data.tar.gz: 63b4391dc8c10e99b3bbc1b5c72c35bf2df735606fadc4b0793e2c53d3fb752545a25bc21f14c5f9c3e75b76a7231af47dbf606af19ea8bded5889c975c8b7f0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-miradore (4.1.4)
4
+ ruby-miradore (4.1.5)
5
5
  activesupport (~> 7.0)
6
6
  builder (~> 3.1)
7
7
  crack (~> 0.4)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ruby
4
4
  module Miradore
5
- VERSION = "4.1.4"
5
+ VERSION = "4.1.5"
6
6
  end
7
7
  end
data/lib/ruby/miradore.rb CHANGED
@@ -69,7 +69,7 @@ module Ruby
69
69
  item: self.class.to_s.split('::').last,
70
70
  attribute: args.fetch(:attribute, '*'),
71
71
  filter: args.fetch(:filter, nil),
72
- options: args.fetch(:options, nil)
72
+ options: args.fetch(:options, nil)&.to_query&.sub('&', ',')
73
73
  )
74
74
  self.class.method(args.fetch(:method, :get)).call(url, body: args.fetch(:body, nil)&.to_xml(root: 'Content', skip_types: true))
75
75
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-miradore
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.4
4
+ version: 4.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduard Garcia Castelló