File: version.rb

package info (click to toggle)
ruby-faraday-multipart 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 96 kB
  • sloc: ruby: 201; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Faraday
  # #:nodoc:
  module Multipart
    VERSION = '1.1.1'

    def self.multipart_post_version
      require 'multipart/post/version'
      ::Gem::Version.new(::Multipart::Post::VERSION)
    rescue LoadError
      require 'multipart_post'
      ::Gem::Version.new(::MultipartPost::VERSION)
    end
  end
end