From 2a53367358317f08947847a10364c2e2b2a744a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Mon, 27 Jan 2020 18:37:06 +0100 Subject: Workaround jruby issue --- spec/realworld/fixtures/warbler/.gitignore | 2 ++ spec/realworld/fixtures/warbler/Gemfile | 7 +++++++ spec/realworld/fixtures/warbler/bin/warbler-example.rb | 3 +++ spec/realworld/fixtures/warbler/demo/demo.gemspec | 10 ++++++++++ 4 files changed, 22 insertions(+) create mode 100644 spec/realworld/fixtures/warbler/.gitignore create mode 100644 spec/realworld/fixtures/warbler/Gemfile create mode 100644 spec/realworld/fixtures/warbler/bin/warbler-example.rb create mode 100644 spec/realworld/fixtures/warbler/demo/demo.gemspec (limited to 'spec') diff --git a/spec/realworld/fixtures/warbler/.gitignore b/spec/realworld/fixtures/warbler/.gitignore new file mode 100644 index 0000000000..6ac0bb4663 --- /dev/null +++ b/spec/realworld/fixtures/warbler/.gitignore @@ -0,0 +1,2 @@ +*.jar +Gemfile.lock diff --git a/spec/realworld/fixtures/warbler/Gemfile b/spec/realworld/fixtures/warbler/Gemfile new file mode 100644 index 0000000000..4fbf2d05a7 --- /dev/null +++ b/spec/realworld/fixtures/warbler/Gemfile @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +gem "demo", :path => "./demo" +gem "jruby-jars", "~> 9.2" +gem "warbler", "~> 2.0" diff --git a/spec/realworld/fixtures/warbler/bin/warbler-example.rb b/spec/realworld/fixtures/warbler/bin/warbler-example.rb new file mode 100644 index 0000000000..25f614ecc2 --- /dev/null +++ b/spec/realworld/fixtures/warbler/bin/warbler-example.rb @@ -0,0 +1,3 @@ +# frozen_string_literal: true + +puts require "bundler/setup" diff --git a/spec/realworld/fixtures/warbler/demo/demo.gemspec b/spec/realworld/fixtures/warbler/demo/demo.gemspec new file mode 100644 index 0000000000..ed5a0dc080 --- /dev/null +++ b/spec/realworld/fixtures/warbler/demo/demo.gemspec @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +Gem::Specification.new do |spec| + spec.name = "demo" + spec.version = "1.0" + spec.author = "Somebody" + spec.summary = "A demo gem" + spec.license = "MIT" + spec.homepage = "https://example.org" +end -- cgit v1.2.1