File: backports.rb

package info (click to toggle)
ruby-backports 3.25.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,912 kB
  • sloc: ruby: 11,757; makefile: 6
file content (9 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
require "backports/version"

require "backports/tools/deprecation"
Backports.deprecate :require_version,
                    "Doing `require 'backports'` is deprecated and will not load any backport in the next major release.\n" \
                    "Require just the needed backports instead, or 'backports/latest'."
require "backports/2.4"
Backports.warned[:rails] = true
require "backports/rails"