Sha256: dce98dfccf7032ce5f3d0d38616a23eb717ae795b03fd4bfbf249a9502b5cba7

Contents?: true

Size: 1.52 KB

Versions: 117

Compression:

Stored size: 1.52 KB

Contents

# frozen_string_literal: true

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'cryptum/version'

Gem::Specification.new do |spec|
  # Switch back when RVM has stable 3.1.2 (i.e. not just preview / p20)
  # spec.required_ruby_version = ">= #{File.read('.ruby-version')}"
  required_minor_ruby_version = File.read('.ruby-version').split('.')[0..1].join('.')
  spec.required_ruby_version = ">= #{required_minor_ruby_version}"
  spec.name = 'cryptum'
  spec.version = Cryptum::VERSION
  spec.authors = ['0day Inc.']
  spec.email = ['request.pentest@0dayinc.com']
  spec.summary       = 'Coinbase Pro High-Frequency Trading Bot'
  spec.description   = 'Personalized High-Frequency Trading Bot'
  spec.homepage      = 'https://github.com/0dayinc/cryptum'
  spec.license = 'GPL'
  spec.metadata['rubygems_mfa_required'] = 'true'

  spec.files = `git ls-files -z`.split("\x0")
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  dev_dependency_arr = %i[
    bundler
    rake
    rdoc
    rspec
  ]

  File.readlines('./Gemfile').each do |line|
    columns = line.chomp.split
    next unless columns.first == 'gem'

    gem_name = columns[1].delete("'").delete(',')
    gem_version = columns.last.delete("'")

    if dev_dependency_arr.include?(gem_name.to_sym)
      spec.add_development_dependency(
        gem_name,
        gem_version
      )
    else
      spec.add_runtime_dependency(
        gem_name,
        gem_version
      )
    end
  end
end

Version data entries

117 entries across 117 versions & 1 rubygems

Version Path
cryptum-0.0.363 cryptum.gemspec
cryptum-0.0.362 cryptum.gemspec
cryptum-0.0.361 cryptum.gemspec
cryptum-0.0.360 cryptum.gemspec
cryptum-0.0.355 cryptum.gemspec
cryptum-0.0.354 cryptum.gemspec
cryptum-0.0.353 cryptum.gemspec
cryptum-0.0.352 cryptum.gemspec
cryptum-0.0.351 cryptum.gemspec
cryptum-0.0.350 cryptum.gemspec
cryptum-0.0.349 cryptum.gemspec
cryptum-0.0.348 cryptum.gemspec
cryptum-0.0.347 cryptum.gemspec
cryptum-0.0.346 cryptum.gemspec
cryptum-0.0.345 cryptum.gemspec
cryptum-0.0.344 cryptum.gemspec
cryptum-0.0.343 cryptum.gemspec
cryptum-0.0.342 cryptum.gemspec
cryptum-0.0.341 cryptum.gemspec
cryptum-0.0.339 cryptum.gemspec