Sha256: 38262258a2c72675e3c876a6a3b10d9e921d0154f2e10d309a1bde41c79a963b

Contents?: true

Size: 1.21 KB

Versions: 7

Compression:

Stored size: 1.21 KB

Contents

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

    def self.release_date
      '2020-04-28'
    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.4'
    end

    def self.jar_version
      '1.2.30'
    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

7 entries across 7 versions & 3 rubygems

Version Path
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson/build_info.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson/build_info.rb
logstash-output-scalyr-0.1.5 vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson/build_info.rb
logstash-output-scalyr-0.1.4 vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson/build_info.rb
logstash-output-scalyr-0.1.3 vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson/build_info.rb
logstash-output-scalyr-0.1.2 vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/lib/jrjackson/build_info.rb
jrjackson-0.4.12-java lib/jrjackson/build_info.rb