From e15fedd9b05707de6b9310fa18a1fc042b6326e3 Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Fri, 11 Feb 2022 15:05:24 +0100 Subject: [PATCH] Add next_rails binstubs --- bin/bundle_report | 29 +++++++++++++++++++++++++++++ bin/deprecations | 29 +++++++++++++++++++++++++++++ bin/gem-next-diff | 29 +++++++++++++++++++++++++++++ bin/next | 29 +++++++++++++++++++++++++++++ 4 files changed, 116 insertions(+) create mode 100755 bin/bundle_report create mode 100755 bin/deprecations create mode 100755 bin/gem-next-diff create mode 100755 bin/next diff --git a/bin/bundle_report b/bin/bundle_report new file mode 100755 index 00000000..b136eb23 --- /dev/null +++ b/bin/bundle_report @@ -0,0 +1,29 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# +# This file was generated by Bundler. +# +# The application 'bundle_report' is installed as part of a gem, and +# this file is here to facilitate running it. +# + +require 'pathname' +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', + Pathname.new(__FILE__).realpath) + +bundle_binstub = File.expand_path('bundle', __dir__) + +if File.file?(bundle_binstub) + if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ + load(bundle_binstub) + else + abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. +Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.') + end +end + +require 'rubygems' +require 'bundler/setup' + +load Gem.bin_path('next_rails', 'bundle_report') diff --git a/bin/deprecations b/bin/deprecations new file mode 100755 index 00000000..825e288e --- /dev/null +++ b/bin/deprecations @@ -0,0 +1,29 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# +# This file was generated by Bundler. +# +# The application 'deprecations' is installed as part of a gem, and +# this file is here to facilitate running it. +# + +require 'pathname' +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', + Pathname.new(__FILE__).realpath) + +bundle_binstub = File.expand_path('bundle', __dir__) + +if File.file?(bundle_binstub) + if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ + load(bundle_binstub) + else + abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. +Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.') + end +end + +require 'rubygems' +require 'bundler/setup' + +load Gem.bin_path('next_rails', 'deprecations') diff --git a/bin/gem-next-diff b/bin/gem-next-diff new file mode 100755 index 00000000..f9f4a82a --- /dev/null +++ b/bin/gem-next-diff @@ -0,0 +1,29 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# +# This file was generated by Bundler. +# +# The application 'gem-next-diff' is installed as part of a gem, and +# this file is here to facilitate running it. +# + +require 'pathname' +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', + Pathname.new(__FILE__).realpath) + +bundle_binstub = File.expand_path('bundle', __dir__) + +if File.file?(bundle_binstub) + if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ + load(bundle_binstub) + else + abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. +Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") + end +end + +require 'rubygems' +require 'bundler/setup' + +load Gem.bin_path('next_rails', 'gem-next-diff') diff --git a/bin/next b/bin/next new file mode 100755 index 00000000..e813021d --- /dev/null +++ b/bin/next @@ -0,0 +1,29 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# +# This file was generated by Bundler. +# +# The application 'next' is installed as part of a gem, and +# this file is here to facilitate running it. +# + +require 'pathname' +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', + Pathname.new(__FILE__).realpath) + +bundle_binstub = File.expand_path('bundle', __dir__) + +if File.file?(bundle_binstub) + if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ + load(bundle_binstub) + else + abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. +Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") + end +end + +require 'rubygems' +require 'bundler/setup' + +load Gem.bin_path('next_rails', 'next')