figshare_api_v2 0.9.7 → 0.9.8

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: a86e2853e1c2c18bf91ac4c3bd5052969bdf6924ea5fb3c7e89c47e6b3269c17
4
- data.tar.gz: 4a27f7e8c20b0e9bbdc6227b7f0a0d85ab68f66e8ff8870c9d62754976dddc12
3
+ metadata.gz: ba08b7f752c1c00d25110a9a35fd774b3f69bd6b6fa902c3bc34f5adb8cb389f
4
+ data.tar.gz: f8598846eb851fef23c50a8b5e4538cb568bef5f21be3d2ae927509a7230f8da
5
5
  SHA512:
6
- metadata.gz: dc319835c9ce246e14d9b221bff575af8aa05b70e782b12d674b17f858ff2cfd309f1535ca0e371dea3f5ce23b33d26d64721dd786eb2085cde995aa213d370d
7
- data.tar.gz: '01970e2696c5a5f969463d38446a7a658e12f0e8cabad2704fc5fb00202058891ef7748d5993540e7da24da6ebea4081f8322917493141bd491329608c98800a'
6
+ metadata.gz: b005326e07fe1bcbceb20e87b238ae252afaa27dcdf38c6ba0865277510c077446449bc18d0e86652dbe2125bb22795ec39a2bbf659879d2a0b0c3d6cc494c89
7
+ data.tar.gz: 5814325e0b0ac251024a5487276a0f972fae33e84ab74bf2fe7f91ed74e4b25ef1f19c2e2baa85e158f758be7a4f8a9fb3df4a3db8c90075c7cbb81bf0a2b1dd
data/History.txt CHANGED
@@ -1,3 +1,5 @@
1
+ robertburrowes Tue Nov 2 14:49:47 2021 +1300
2
+ hr upload is post, not put
1
3
  robertburrowes Tue Nov 2 13:12:30 2021 +1300
2
4
  Saner initialization option :)
3
5
  robertburrowes Tue Sep 21 13:03:44 2021 +1200
@@ -1,7 +1,7 @@
1
1
  module Figshare # :nodoc:
2
2
  # Figshare module initialization
3
3
  #
4
- VERSION = '0.9.7'
4
+ VERSION = '0.9.8'
5
5
 
6
6
  require 'wikk_webbrowser'
7
7
  require 'wikk_json'
data/lib/institutions.rb CHANGED
@@ -7,7 +7,7 @@ module Figshare
7
7
  # @param hr_xml [String] See https://docs.figshare.com/#hr_feed_hr_feed_private_endpoint
8
8
  # @yield [Hash] { message:, data: null, errcode:}
9
9
  def hr_upload(hr_xml:, &block)
10
- put(api_query: 'institution/hrfeed/upload', data: hr_xml, content_type: 'multipart/form-data', &block)
10
+ post(api_query: 'institution/hrfeed/upload', data: hr_xml, content_type: 'multipart/form-data', &block)
11
11
  end
12
12
 
13
13
  # Get the institional account details
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: figshare_api_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Burrowes