File tree Expand file tree Collapse file tree 5 files changed +13
-0
lines changed
Expand file tree Collapse file tree 5 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 77
88# Dev libs
99gem 'appraisal' , git : 'https://github.com/thoughtbot/appraisal.git'
10+ gem 'ostruct'
1011gem 'pry'
1112gem 'rake'
1213gem 'rspec'
Original file line number Diff line number Diff line change 33source "https://rubygems.org"
44
55gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
6+ gem "ostruct"
67gem "pry"
78gem "rake"
89gem "rspec"
Original file line number Diff line number Diff line change 33source "https://rubygems.org"
44
55gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
6+ gem "ostruct"
67gem "pry"
78gem "rake"
89gem "rspec"
Original file line number Diff line number Diff line change 33source "https://rubygems.org"
44
55gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
6+ gem "ostruct"
67gem "pry"
78gem "rake"
89gem "rspec"
Original file line number Diff line number Diff line change 22
33require 'warning'
44
5+ Warning [ :deprecated ] = true
6+ Warning [ :performance ] = true
7+ Warning [ :experimental ] = true
8+
59# Ignore all warnings in Gem dependencies
610Gem . path . each do |path |
711 Warning . ignore ( // , path )
812end
913
14+ # Ignore OpenStruct warning (only used in tests)
15+ Warning . ignore ( /OpenStruct use is discouraged for performance reasons/ )
16+
17+ # Load gem
1018require 'netbox-client-ruby'
1119require_relative 'shared_contexts/netbox_client'
1220require_relative 'shared_contexts/faraday'
1321require 'faraday/net_http_persistent' if Faraday ::VERSION > '2'
1422
23+ # Configure rspec
1524RSpec . configure do |config |
1625 config . example_status_persistence_file_path = '.rspec_status'
1726
You can’t perform that action at this time.
0 commit comments