File: Gemfile

package info (click to toggle)
vagrant-libvirt 0.12.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,756 kB
  • sloc: ruby: 12,865; xml: 2,465; sh: 373; javascript: 235; makefile: 13
file content (55 lines) | stat: -rw-r--r-- 1,801 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# frozen_string_literal: true

source 'https://rubygems.org'

group :development do
  # We depend on Vagrant for development, but we don't add it as a
  # gem dependency because we expect to be installed within the
  # Vagrant environment itself using `vagrant plugin`.
  vagrant_version = ENV['VAGRANT_VERSION']
  if !vagrant_version.nil? && !vagrant_version.empty?
    gem 'vagrant', :git => 'https://github.com/hashicorp/vagrant.git',
      :ref => vagrant_version
  else
    gem 'vagrant', :git => 'https://github.com/hashicorp/vagrant.git',
      :branch => 'main'
  end

  begin
    raise if vagrant_version.empty?
    vagrant_version = vagrant_version[1..-1] if vagrant_version && vagrant_version.start_with?('v')
    vagrant_gem_version = Gem::Version.new(vagrant_version)
  rescue
    # default to newer if unable to parse
    vagrant_gem_version = Gem::Version.new('2.2.8')
  end

  vagrant_spec_version = ENV['VAGRANT_SPEC_VERSION']
  if !vagrant_spec_version.nil? && !vagrant_spec_version.empty?
    gem 'vagrant-spec', :git => 'https://github.com/hashicorp/vagrant-spec', :ref => vagrant_spec_version
  elsif vagrant_gem_version <= Gem::Version.new('2.2.7')
    gem 'vagrant-spec', :git => 'https://github.com/hashicorp/vagrant-spec', :ref => '161128f2216cee8edb7bcd30da18bd4dea86f98a'
  else
    gem 'vagrant-spec', :git => 'https://github.com/hashicorp/vagrant-spec', :branch => "main"
  end

  if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.0.0')
    gem 'rexml'
  end

  gem 'pry'
  gem 'simplecov'
  gem 'simplecov-lcov'
end

group :plugins do
  gemspec
end

group :test do
  gem "test-prof", require: false
  gem "ruby-prof", ">= 0.17.0", require: false
  gem 'stackprof', '>= 0.2.9', require: false
end

gem 'parallel_tests', group: [:development, :test], require: false