Sha256: 2b07e5619e3a00c4d6dafa74a3a99b60c2dbd8d29328679ca6753a99fdaeb51a

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

module JrJackson
  module BuildInfo
    def self.version
      '0.4.13'
    end

    def self.release_date
      '2020-10-26'
    end

    def self.files
      git_files.concat(generated_jar_files).concat(generated_files)
    end

    def self.jackson_version
      '2.9.10'
    end

    def self.jackson_databind_version
      '2.9.10.6'
    end

    def self.jar_version
      '1.2.31'
    end

    private

    def self.generated_files
      Dir.glob( %w(pom.xml lib/jrjackson_jars.rb) )
    end

    def self.git_files
      `git ls-files`.split($/).reject{|s| s.start_with?("benchmarking")}
    end

    def self.generated_jar_files
      [
        "lib/com/fasterxml/jackson/core/jackson-annotations/#{jackson_version}/jackson-annotations-#{jackson_version}.jar",
        "lib/com/fasterxml/jackson/core/jackson-core/#{jackson_version}/jackson-core-#{jackson_version}.jar",
        "lib/com/fasterxml/jackson/core/jackson-databind/#{jackson_databind_version}/jackson-databind-#{jackson_databind_version}.jar",
        "lib/com/fasterxml/jackson/module/jackson-module-afterburner/#{jackson_version}/jackson-module-afterburner-#{jackson_version}.jar",
        "lib/jrjackson/jars/jrjackson-#{jar_version}.jar"
      ]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jrjackson-0.4.13-java lib/jrjackson/build_info.rb