ruby-miradore 2.2.5 → 2.2.6

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: 957fa5bcfbd84a0d68ea4d4fcc45ca479c2eef1d4532b7f0155801de27174d79
4
- data.tar.gz: ce5258ae7400fb82a1d7f106089db18ccd0b1e84a0bbb7b300f1d32da7c73886
3
+ metadata.gz: 97151079f196820b698900c24e99ef9347ddb0af5ed6898954d0e7648e4d821d
4
+ data.tar.gz: 0d387e3d389ec3109d0e7b56ff0272d3a32018f0e784f3cf5abb7f79a5532c77
5
5
  SHA512:
6
- metadata.gz: b5ddaf5220a34afa59c88bc32762ced3a75255ecf668ccccd77207ddf546f825a26f3594d008eeb4e9f69ed843e40f8035da2d40a1e8e326e35c066ecba182f2
7
- data.tar.gz: d8637b3f168eea8d7afc29e550630291c4ccbfbab73da79800c498cd7f065bbe46b7055f62da837256fc37861a13f83be2b1a9c63e4cc5ea58519fe38c4573b6
6
+ metadata.gz: d64b7a84e53d415388a8899bc230340e77ecf0b2e139aea618b7f9fe22f8d852ca0b5d4a12d41cdd7e6dd05afd308d799ae427f7c847a3655ac010745a5149cf
7
+ data.tar.gz: ad1a881e39d0f0f608524f2d13f348fd79d9cd2a7cd5ad852a1f1a1e6901bc446947fff1c7bb1881e9fbd9efa11cc3a672312b18685d575d5dc167698da99189
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-miradore (2.2.5)
4
+ ruby-miradore (2.2.6)
5
5
  activesupport (~> 6.1)
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 = "2.2.5"
5
+ VERSION = "2.2.6"
6
6
  end
7
7
  end
data/lib/ruby/miradore.rb CHANGED
@@ -49,10 +49,10 @@ module Ruby
49
49
  )
50
50
  end
51
51
 
52
- def add(**args)
52
+ def call(**args)
53
53
  transform(
54
54
  Crack::XML.parse(
55
- http_method(args.merge(method: :post, attribute: "ID")).body
55
+ http_method(args.merge( attribute: "ID")).body
56
56
  )["Content"]
57
57
  )
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-miradore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.5
4
+ version: 2.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduard Garcia Castelló
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-03 00:00:00.000000000 Z
11
+ date: 2021-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport