Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: ruby-buff-ruby-engine

ruby-buff-ruby-engine (1.0.0-0ubuntu1) artful; urgency=medium * New upstream release * Remove rspec3 patch -- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 23 Aug 2017 20:40:42 +0200

Modifications :
  1. Download patch debian/patches/remove-spork

    --- 0.1.0-2/debian/patches/remove-spork 2016-03-03 18:54:30.000000000 +0000 +++ 1.0.0-0ubuntu1/debian/patches/remove-spork 2017-08-23 18:40:42.000000000 +0000 @@ -4,7 +4,7 @@ Index: ruby-buff-ruby-engine/spec/spec_h =================================================================== --- ruby-buff-ruby-engine.orig/spec/spec_helper.rb +++ ruby-buff-ruby-engine/spec/spec_helper.rb -@@ -14,7 +14,7 @@ def setup_rspec +@@ -13,7 +13,7 @@ def setup_rspec end end
  2. Download patch .ruby-version

    --- 0.1.0-2/.ruby-version 2014-07-26 21:49:40.000000000 +0000 +++ 1.0.0-0ubuntu1/.ruby-version 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -1.9.3-p429
  3. Download patch README.md

    --- 0.1.0-2/README.md 2014-07-26 21:49:40.000000000 +0000 +++ 1.0.0-0ubuntu1/README.md 2016-08-13 01:51:15.000000000 +0000 @@ -1,6 +1,6 @@ # Buff::RubyEngine -[![Gem Version](https://badge.fury.io/rb/buff-ruby_engine.png)](http://badge.fury.io/rb/buff-ruby_engine) -[![Build Status](https://travis-ci.org/RiotGames/buff-ruby_engine.png?branch=master)](https://travis-ci.org/RiotGames/buff-ruby_engine) + +[![Gem Version](https://badge.fury.io/rb/buff-ruby_engine.svg)](http://badge.fury.io/rb/buff-ruby_engine) [![Build Status](https://travis-ci.org/berkshelf/buff-ruby_engine.svg?branch=master)](https://travis-ci.org/berkshelf/buff-ruby_engine) A mixin for querying the platform running Ruby @@ -8,41 +8,51 @@ A mixin for querying the platform runnin Add this line to your application's Gemfile: - gem 'buff-ruby_engine' +```ruby +gem 'buff-ruby_engine' +``` And then execute: - $ bundle +``` +$ bundle +``` Or install it yourself as: - $ gem install buff-ruby_engine +``` +$ gem install buff-ruby_engine +``` ## Usage Using it as a mixin - require 'buff/ruby_engine' +```ruby +require 'buff/ruby_engine' - class PowerUp - include Buff::RubyEngine - end - - power_up = PowerUp.new - power_up.mri? #=> true - power_up.jruby? #=> false - power_up.rubinius? #=> false +class PowerUp + include Buff::RubyEngine +end + +power_up = PowerUp.new +power_up.mri? #=> true +power_up.jruby? #=> false +power_up.rubinius? #=> false +``` Using it as a module - require 'buff/ruby_engine' +```ruby +require 'buff/ruby_engine' - Buff::RubyEngine.mri? #=> true - Buff::RubyEngine.jruby? #=> false - Buff::RubyEngine.rubinius? #=> false +Buff::RubyEngine.mri? #=> true +Buff::RubyEngine.jruby? #=> false +Buff::RubyEngine.rubinius? #=> false +``` # Authors and Contributors -* Jamie Winsor (<reset@riotgames.com>) +- Jamie Winsor ([jamie@vialstudios.com](mailto:jamie@vialstudios.com)) -Thank you to all of our [Contributors](https://github.com/RiotGames/buff-ruby_engine/graphs/contributors), testers, and users. +Thank you to all of our [Contributors](https://github.com/berkshelf/buff-ruby_engine/graphs/contributors), testers, and users.
  4. Download patch Thorfile

    --- 0.1.0-2/Thorfile 2014-07-26 21:49:40.000000000 +0000 +++ 1.0.0-0ubuntu1/Thorfile 2016-08-13 01:51:15.000000000 +0000 @@ -16,17 +16,17 @@ class Default < Thor desc "build", "Build buff-ruby_engine-#{Buff::RubyEngine::VERSION}.gem into the pkg directory" def build - Rake::Task["build"].execute + Rake::Task["build"].invoke end desc "install", "Build and install buff-ruby_engine-#{Buff::RubyEngine::VERSION}.gem into system gems" def install - Rake::Task["install"].execute + Rake::Task["install"].invoke end desc "release", "Create tag v#{Buff::RubyEngine::VERSION} and build and push buff-ruby_engine-#{Buff::RubyEngine::VERSION}.gem to Rubygems" def release - Rake::Task["release"].execute + Rake::Task["release"].invoke end end
  5. Download patch CONTRIBUTING.md

    --- 0.1.0-2/CONTRIBUTING.md 2014-07-26 21:49:40.000000000 +0000 +++ 1.0.0-0ubuntu1/CONTRIBUTING.md 2016-08-13 01:51:15.000000000 +0000 @@ -6,19 +6,27 @@ Install the latest version of [Bundler](http://gembundler.com) - $ gem install bundler +``` +$ gem install bundler +``` Clone the project - $ git clone git://github.com/RiotGames/buff-ruby_engine.git +``` +$ git clone git://github.com/berkshelf/buff-ruby_engine.git +``` and run: - $ cd buff-ruby_engine - $ bundle install +``` +$ cd buff-ruby_engine +$ bundle install +``` Bundler will install all gems and their dependencies required for testing and developing. ### Running unit (RSpec) tests - $ bundle exec guard start +``` +$ bundle exec guard start +```
  6. Download patch LICENSE

    --- 0.1.0-2/LICENSE 2014-07-26 21:49:40.000000000 +0000 +++ 1.0.0-0ubuntu1/LICENSE 2016-08-13 01:51:15.000000000 +0000 @@ -1,6 +1,6 @@ Copyright 2012-2013 Riot Games - Jamie Winsor (<reset@riotgames.com>) + Jamie Winsor (<jamie@vialstudios.com>) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
  7. Download patch buff-ruby_engine.gemspec

    --- 0.1.0-2/buff-ruby_engine.gemspec 2014-07-26 21:49:40.000000000 +0000 +++ 1.0.0-0ubuntu1/buff-ruby_engine.gemspec 2016-08-13 01:51:15.000000000 +0000 @@ -7,7 +7,7 @@ Gem::Specification.new do |spec| spec.name = "buff-ruby_engine" spec.version = Buff::RubyEngine::VERSION spec.authors = ["Jamie Winsor"] - spec.email = ["reset@riotgames.com"] + spec.email = ["jamie@vialstudios.com"] spec.description = %q{A mixin for querying the platform running Ruby} spec.summary = %q{Buff up your code with a mixin for querying the platform running Ruby} spec.homepage = "https://github.com/RiotGames/buff-ruby_engine" @@ -17,12 +17,12 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^spec/}) spec.require_paths = ["lib"] - spec.required_ruby_version = ">= 1.9.2" + spec.required_ruby_version = ">= 2.2.0" - spec.add_development_dependency "thor", "~> 0.18.0" + spec.add_development_dependency "thor", "~> 0.19.0" spec.add_development_dependency "bundler", "~> 1.3" spec.add_development_dependency "rake" - spec.add_development_dependency "rspec" + spec.add_development_dependency "rspec", "~> 3.0" spec.add_development_dependency "fuubar" spec.add_development_dependency "guard" spec.add_development_dependency "guard-rspec"
  8. Download patch metadata.yml
  9. Download patch .travis.yml

    --- 0.1.0-2/.travis.yml 2014-07-26 21:49:40.000000000 +0000 +++ 1.0.0-0ubuntu1/.travis.yml 2016-08-13 01:51:15.000000000 +0000 @@ -1,7 +1,13 @@ -script: "bundle exec thor spec" +sudo: false language: ruby -rvm: - - 1.9.2 - - 1.9.3 - - 2.0.0 - - jruby-19mode +cache: bundler + +matrix: + include: + - rvm: 2.2.5 + - rvm: 2.3.1 + - rvm: ruby-head + allow_failures: + - rvm: ruby-head + +script: bundle exec thor spec
  10. Download patch .pc/remove-spork/spec/spec_helper.rb

    --- 0.1.0-2/.pc/remove-spork/spec/spec_helper.rb 2017-08-24 12:13:32.000000000 +0000 +++ 1.0.0-0ubuntu1/.pc/remove-spork/spec/spec_helper.rb 2017-08-24 12:13:32.000000000 +0000 @@ -8,7 +8,6 @@ def setup_rspec end config.mock_with :rspec - config.treat_symbols_as_metadata_keys_with_true_values = true config.filter_run focus: true config.run_all_when_everything_filtered = true end
  11. Download patch .pc/applied-patches

    --- 0.1.0-2/.pc/applied-patches 2017-08-24 12:13:32.995985338 +0000 +++ 1.0.0-0ubuntu1/.pc/applied-patches 2017-08-24 12:13:32.755978729 +0000 @@ -1,3 +1,2 @@ -0001-Update-to-RSpec3-syntax.patch 0002-Don-t-modify-LOAD_PATH-in-specs.patch remove-spork
  12. Download patch .pc/0002-Don-t-modify-LOAD_PATH-in-specs.patch/spec/spec_helper.rb

    --- 0.1.0-2/.pc/0002-Don-t-modify-LOAD_PATH-in-specs.patch/spec/spec_helper.rb 2014-07-26 21:49:40.000000000 +0000 +++ 1.0.0-0ubuntu1/.pc/0002-Don-t-modify-LOAD_PATH-in-specs.patch/spec/spec_helper.rb 2016-08-13 01:51:15.000000000 +0000 @@ -10,7 +10,6 @@ def setup_rspec end config.mock_with :rspec - config.treat_symbols_as_metadata_keys_with_true_values = true config.filter_run focus: true config.run_all_when_everything_filtered = true end
  13. Download patch spec/buff/ruby_engine_spec.rb

    --- 0.1.0-2/spec/buff/ruby_engine_spec.rb 2017-08-24 12:13:32.000000000 +0000 +++ 1.0.0-0ubuntu1/spec/buff/ruby_engine_spec.rb 2016-08-13 01:51:15.000000000 +0000 @@ -7,13 +7,13 @@ describe Buff::RubyEngine do context "when the ruby engine is jruby" do before { stub_const("RUBY_ENGINE", "jruby") } - it { expect(subject).to be_truthy } + it { expect(subject).to be true } end context "when the ruby engine is not jruby" do before { stub_const("RUBY_ENGINE", "ruby") } - it { expect(subject).to be_falsey } + it { expect(subject).to be false } end end @@ -23,13 +23,13 @@ describe Buff::RubyEngine do context "when the ruby engine is mri" do before { stub_const("RUBY_ENGINE", "ruby") } - it { expect(subject).to be_truthy } + it { expect(subject).to be true } end context "when the ruby engine is not mri" do before { stub_const("RUBY_ENGINE", "jruby") } - it { expect(subject).to be_falsey } + it { expect(subject).to be false } end end @@ -39,13 +39,13 @@ describe Buff::RubyEngine do context "when the ruby engine is rubinius" do before { stub_const("RUBY_ENGINE", "rbx") } - it { expect(subject).to be_truthy } + it { expect(subject).to be true } end context "when the ruby engine is not rubinius" do before { stub_const("RUBY_ENGINE", "mri") } - it { expect(subject).to be_falsey } + it { expect(subject).to be false } end end end
  14. Download patch debian/patches/series

    --- 0.1.0-2/debian/patches/series 2016-03-03 18:54:30.000000000 +0000 +++ 1.0.0-0ubuntu1/debian/patches/series 2017-08-23 18:40:42.000000000 +0000 @@ -1,3 +1,2 @@ -0001-Update-to-RSpec3-syntax.patch 0002-Don-t-modify-LOAD_PATH-in-specs.patch remove-spork
  15. Download patch spec/spec_helper.rb

    --- 0.1.0-2/spec/spec_helper.rb 2017-08-24 12:13:32.000000000 +0000 +++ 1.0.0-0ubuntu1/spec/spec_helper.rb 2017-08-24 12:13:32.000000000 +0000 @@ -8,7 +8,6 @@ def setup_rspec end config.mock_with :rspec - config.treat_symbols_as_metadata_keys_with_true_values = true config.filter_run focus: true config.run_all_when_everything_filtered = true end
  16. Download patch lib/buff/ruby_engine/version.rb

    --- 0.1.0-2/lib/buff/ruby_engine/version.rb 2014-07-26 21:49:40.000000000 +0000 +++ 1.0.0-0ubuntu1/lib/buff/ruby_engine/version.rb 2016-08-13 01:51:15.000000000 +0000 @@ -1,5 +1,5 @@ module Buff module RubyEngine - VERSION = "0.1.0" + VERSION = "1.0.0" end end
  17. Download patch debian/patches/0001-Update-to-RSpec3-syntax.patch

    --- 0.1.0-2/debian/patches/0001-Update-to-RSpec3-syntax.patch 2016-03-03 18:54:30.000000000 +0000 +++ 1.0.0-0ubuntu1/debian/patches/0001-Update-to-RSpec3-syntax.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,60 +0,0 @@ -From: Hleb Valoshka <375gnu@gmail.com> -Date: Wed, 29 Jul 2015 12:00:16 +0300 -Subject: Update to RSpec3 syntax - ---- - spec/buff/ruby_engine_spec.rb | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/spec/buff/ruby_engine_spec.rb b/spec/buff/ruby_engine_spec.rb -index 1eba640..01f710a 100644 ---- a/spec/buff/ruby_engine_spec.rb -+++ b/spec/buff/ruby_engine_spec.rb -@@ -7,13 +7,13 @@ describe Buff::RubyEngine do - context "when the ruby engine is jruby" do - before { stub_const("RUBY_ENGINE", "jruby") } - -- it { expect(subject).to be_true } -+ it { expect(subject).to be_truthy } - end - - context "when the ruby engine is not jruby" do - before { stub_const("RUBY_ENGINE", "ruby") } - -- it { expect(subject).to be_false } -+ it { expect(subject).to be_falsey } - end - end - -@@ -23,13 +23,13 @@ describe Buff::RubyEngine do - context "when the ruby engine is mri" do - before { stub_const("RUBY_ENGINE", "ruby") } - -- it { expect(subject).to be_true } -+ it { expect(subject).to be_truthy } - end - - context "when the ruby engine is not mri" do - before { stub_const("RUBY_ENGINE", "jruby") } - -- it { expect(subject).to be_false } -+ it { expect(subject).to be_falsey } - end - end - -@@ -39,13 +39,13 @@ describe Buff::RubyEngine do - context "when the ruby engine is rubinius" do - before { stub_const("RUBY_ENGINE", "rbx") } - -- it { expect(subject).to be_true } -+ it { expect(subject).to be_truthy } - end - - context "when the ruby engine is not rubinius" do - before { stub_const("RUBY_ENGINE", "mri") } - -- it { expect(subject).to be_false } -+ it { expect(subject).to be_falsey } - end - end - end
  18. Download patch .pc/0001-Update-to-RSpec3-syntax.patch/spec/buff/ruby_engine_spec.rb

    --- 0.1.0-2/.pc/0001-Update-to-RSpec3-syntax.patch/spec/buff/ruby_engine_spec.rb 2014-07-26 21:49:40.000000000 +0000 +++ 1.0.0-0ubuntu1/.pc/0001-Update-to-RSpec3-syntax.patch/spec/buff/ruby_engine_spec.rb 1970-01-01 00:00:00.000000000 +0000 @@ -1,51 +0,0 @@ -require 'spec_helper' - -describe Buff::RubyEngine do - describe "#jruby?" do - subject { described_class.jruby? } - - context "when the ruby engine is jruby" do - before { stub_const("RUBY_ENGINE", "jruby") } - - it { expect(subject).to be_true } - end - - context "when the ruby engine is not jruby" do - before { stub_const("RUBY_ENGINE", "ruby") } - - it { expect(subject).to be_false } - end - end - - describe "#mri?" do - subject { described_class.mri? } - - context "when the ruby engine is mri" do - before { stub_const("RUBY_ENGINE", "ruby") } - - it { expect(subject).to be_true } - end - - context "when the ruby engine is not mri" do - before { stub_const("RUBY_ENGINE", "jruby") } - - it { expect(subject).to be_false } - end - end - - describe "#rubinius?" do - subject { described_class.rubinius? } - - context "when the ruby engine is rubinius" do - before { stub_const("RUBY_ENGINE", "rbx") } - - it { expect(subject).to be_true } - end - - context "when the ruby engine is not rubinius" do - before { stub_const("RUBY_ENGINE", "mri") } - - it { expect(subject).to be_false } - end - end -end

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: ruby-buff-shell-out

ruby-buff-shell-out (1.1.0-0ubuntu1) artful; urgency=medium * New upstream release * Patch refresh -- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 23 Aug 2017 20:16:23 +0200

Modifications :
  1. Download patch debian/patches/remove-spork

    --- 0.2.0-1/debian/patches/remove-spork 2016-03-03 19:23:38.000000000 +0000 +++ 1.1.0-0ubuntu1/debian/patches/remove-spork 2017-08-23 18:16:23.000000000 +0000 @@ -1,11 +1,11 @@ Remove spork usage in specs, as we're only running them once per build anyway. -Index: ruby-buff-shell-out/spec/spec_helper.rb +Index: ruby-buff-shell-out-1.1.0/spec/spec_helper.rb =================================================================== ---- ruby-buff-shell-out.orig/spec/spec_helper.rb -+++ ruby-buff-shell-out/spec/spec_helper.rb -@@ -15,7 +15,7 @@ def setup_rspec +--- ruby-buff-shell-out-1.1.0.orig/spec/spec_helper.rb ++++ ruby-buff-shell-out-1.1.0/spec/spec_helper.rb +@@ -14,7 +14,7 @@ end end
  2. Download patch .ruby-version

    --- 0.2.0-1/.ruby-version 2015-08-06 06:43:07.000000000 +0000 +++ 1.1.0-0ubuntu1/.ruby-version 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -1.9.3-p448
  3. Download patch README.md

    --- 0.2.0-1/README.md 2015-08-06 06:43:07.000000000 +0000 +++ 1.1.0-0ubuntu1/README.md 2016-09-15 20:12:40.000000000 +0000 @@ -1,6 +1,6 @@ # Buff::ShellOut -[![Gem Version](https://badge.fury.io/rb/buff-shell_out.png)](http://badge.fury.io/rb/buff-shell_out) -[![Build Status](https://travis-ci.org/RiotGames/buff-shell_out.png?branch=master)](https://travis-ci.org/RiotGames/buff-shell_out) + +[![Gem Version](https://badge.fury.io/rb/buff-shell_out.svg)](http://badge.fury.io/rb/buff-shell_out) [![Build Status](https://travis-ci.org/berkshelf/buff-shell_out.svg?branch=master)](https://travis-ci.org/berkshelf/buff-shell_out) Buff up your code with a mixin for issuing shell commands and collecting the output @@ -8,37 +8,47 @@ Buff up your code with a mixin for issui Add this line to your application's Gemfile: - gem 'buff-shell_out' +```ruby +gem 'buff-shell_out' +``` And then execute: - $ bundle +```shell +$ bundle +``` Or install it yourself as: - $ gem install buff-shell_out +```shell +$ gem install buff-shell_out +``` ## Usage -Using it as a mixin +Using it as a mixin: - require 'buff/shell_out' +```ruby +require 'buff/shell_out' - class PowerUp - include Buff::ShellOut - end +class PowerUp + include Buff::ShellOut +end - power_up = PowerUp.new - power_up.shell_out("ls") #=> <#Buff::ShellOut::Response @exitstatus=0, @stdout="...", @stderr="..."> +power_up = PowerUp.new +power_up.shell_out("ls") #=> <#Buff::ShellOut::Response @exitstatus=0, @stdout="...", @stderr="..."> +``` -Using it as a module +Using it as a module: - require 'buff/shell_out' +```ruby +require 'buff/shell_out' - Buff::ShellOut.shell_out("ls") #=> <#Buff::ShellOut::Response @exitstatus=0, @stdout="...", @stderr="..."> +Buff::ShellOut.shell_out("ls") #=> <#Buff::ShellOut::Response @exitstatus=0, @stdout="...", @stderr="..."> +``` # Authors and Contributors -* Jamie Winsor (<jamie@vialstudios.com>) +- Jamie Winsor ([jamie@vialstudios.com](mailto:jamie@vialstudios.com)) -Thank you to all of our [Contributors](https://github.com/RiotGames/buff-shell_out/graphs/contributors), testers, and users. +Thank you to all of our [Contributors](https://github.com/berkshelf/buff-shell_out/graphs/contributors), testers, and users.
  4. Download patch Thorfile

    --- 0.2.0-1/Thorfile 2015-08-06 06:43:07.000000000 +0000 +++ 1.1.0-0ubuntu1/Thorfile 2016-09-15 20:12:40.000000000 +0000 @@ -17,17 +17,17 @@ class Default < Thor desc "build", "Build buff-shell_out-#{Buff::ShellOut::VERSION}.gem into the pkg directory" def build - Rake::Task["build"].execute + Rake::Task["build"].invoke end desc "install", "Build and install buff-shell_out-#{Buff::ShellOut::VERSION}.gem into system gems" def install - Rake::Task["install"].execute + Rake::Task["install"].invoke end desc "release", "Create tag v#{Buff::ShellOut::VERSION} and build and push buff-shell_out-#{Buff::ShellOut::VERSION}.gem to Rubygems" def release - Rake::Task["release"].execute + Rake::Task["release"].invoke end end
  5. Download patch CONTRIBUTING.md

    --- 0.2.0-1/CONTRIBUTING.md 2015-08-06 06:43:07.000000000 +0000 +++ 1.1.0-0ubuntu1/CONTRIBUTING.md 2016-09-15 20:12:40.000000000 +0000 @@ -4,21 +4,29 @@ ### Install prerequisites -Install the latest version of [Bundler](http://gembundler.com) +Install the latest version of [Bundler](http://bundler.io/) - $ gem install bundler +```shell +$ gem install bundler +``` Clone the project - $ git clone git://github.com/RiotGames/buff-shell_out.git +```shell +$ git clone git://github.com/berkshelf/buff-shell_out.git +``` and run: - $ cd buff-shell_out - $ bundle install +```shell +$ cd buff-shell_out +$ bundle install +``` Bundler will install all gems and their dependencies required for testing and developing. ### Running unit (RSpec) tests - $ bundle exec guard start +```shell +$ bundle exec guard start +```
  6. Download patch spec/buff/shell_out_spec.rb

    --- 0.2.0-1/spec/buff/shell_out_spec.rb 2017-08-24 12:13:33.000000000 +0000 +++ 1.1.0-0ubuntu1/spec/buff/shell_out_spec.rb 2016-09-15 20:12:40.000000000 +0000 @@ -10,14 +10,28 @@ describe Buff::ShellOut do expect(result).to be_a(described_class::Response) end - its(:stdout) { should be_a(String) } - its(:stderr) { should be_a(String) } - its(:exitstatus) { should be_a(Fixnum) } - its(:success?) { should be_truthy } - its(:error?) { should be_falsey } + it "has a string for stdout" do + expect(subject.stdout).to be_a(String) + end + + it "has a string for stderr" do + expect(subject.stderr).to be_a(String) + end + + it "has a fixnum for exitstatus" do + expect(subject.exitstatus).to be_a(Fixnum) + end + + it "has a truth value for success?" do + expect(subject.success?).to eql(true) + end + + it "has a false value for error?" do + expect(subject.error?).to eql(false) + end context "when on MRI" do - before { described_class.stub(jruby?: false) } + before { allow(described_class).to receive(:jruby?) { false } } it "delegates to #mri_out" do expect(described_class).to receive(:mri_out).with(command, {}) @@ -25,7 +39,7 @@ describe Buff::ShellOut do end context "when Process.waitpid2 returns an Integer instead of a Process::Status" do - before { Process.stub(:waitpid2).and_return([12345, 0]) } + before { allow(Process).to receive(:waitpid2) { [12345, 0] } } it "sets the exitstatus to the returned integer" do expect(result.exitstatus).to eql(0) @@ -34,7 +48,7 @@ describe Buff::ShellOut do end context "when on JRuby" do - before { described_class.stub(jruby?: true) } + before { allow(described_class).to receive(:jruby?) { true } } it "delegates to #jruby_out" do expect(described_class).to receive(:jruby_out).with(command, {})
  7. Download patch .pc/0001-Fix-specs.patch/spec/spec_helper.rb

    --- 0.2.0-1/.pc/0001-Fix-specs.patch/spec/spec_helper.rb 2015-08-06 06:43:07.000000000 +0000 +++ 1.1.0-0ubuntu1/.pc/0001-Fix-specs.patch/spec/spec_helper.rb 2016-09-15 20:12:40.000000000 +0000 @@ -10,7 +10,6 @@ def setup_rspec end config.mock_with :rspec - config.treat_symbols_as_metadata_keys_with_true_values = true config.filter_run focus: true config.run_all_when_everything_filtered = true end
  8. Download patch metadata.yml
  9. Download patch .travis.yml

    --- 0.2.0-1/.travis.yml 2015-08-06 06:43:07.000000000 +0000 +++ 1.1.0-0ubuntu1/.travis.yml 2016-09-15 20:12:40.000000000 +0000 @@ -1,7 +1,11 @@ -script: "bundle exec thor spec" +sudo: false language: ruby + +branches: + only: + - master + +script: "bundle exec thor spec" rvm: - - 1.9.2 - - 1.9.3 - - 2.0.0 - - jruby-19mode + - 2.2.5 + - 2.3.1
  10. Download patch .pc/remove-spork/spec/spec_helper.rb

    --- 0.2.0-1/.pc/remove-spork/spec/spec_helper.rb 2017-08-24 12:13:33.000000000 +0000 +++ 1.1.0-0ubuntu1/.pc/remove-spork/spec/spec_helper.rb 2017-08-24 12:13:33.000000000 +0000 @@ -9,7 +9,6 @@ def setup_rspec end config.mock_with :rspec - config.treat_symbols_as_metadata_keys_with_true_values = true config.filter_run focus: true config.run_all_when_everything_filtered = true end
  11. Download patch .pc/0001-Fix-specs.patch/spec/buff/shell_out_spec.rb

    --- 0.2.0-1/.pc/0001-Fix-specs.patch/spec/buff/shell_out_spec.rb 2015-08-06 06:43:07.000000000 +0000 +++ 1.1.0-0ubuntu1/.pc/0001-Fix-specs.patch/spec/buff/shell_out_spec.rb 1970-01-01 00:00:00.000000000 +0000 @@ -1,45 +0,0 @@ -require 'spec_helper' - -describe Buff::ShellOut do - describe "#shell_out" do - let(:command) { "ls" } - - subject(:result) { described_class.shell_out(command) } - - it "returns a ShellOut::Response" do - expect(result).to be_a(described_class::Response) - end - - its(:stdout) { should be_a(String) } - its(:stderr) { should be_a(String) } - its(:exitstatus) { should be_a(Fixnum) } - its(:success?) { should be_true } - its(:error?) { should be_false } - - context "when on MRI" do - before { described_class.stub(jruby?: false) } - - it "delegates to #mri_out" do - expect(described_class).to receive(:mri_out).with(command, {}) - result - end - - context "when Process.waitpid2 returns an Integer instead of a Process::Status" do - before { Process.stub(:waitpid2).and_return([12345, 0]) } - - it "sets the exitstatus to the returned integer" do - expect(result.exitstatus).to eql(0) - end - end - end - - context "when on JRuby" do - before { described_class.stub(jruby?: true) } - - it "delegates to #jruby_out" do - expect(described_class).to receive(:jruby_out).with(command, {}) - result - end - end - end -end
  12. Download patch lib/buff/shell_out/version.rb

    --- 0.2.0-1/lib/buff/shell_out/version.rb 2015-08-06 06:43:07.000000000 +0000 +++ 1.1.0-0ubuntu1/lib/buff/shell_out/version.rb 2016-09-15 20:12:40.000000000 +0000 @@ -1,5 +1,5 @@ module Buff module ShellOut - VERSION = "0.2.0" + VERSION = "1.1.0" end end
  13. Download patch debian/patches/0001-Fix-specs.patch

    --- 0.2.0-1/debian/patches/0001-Fix-specs.patch 2016-03-03 19:23:38.000000000 +0000 +++ 1.1.0-0ubuntu1/debian/patches/0001-Fix-specs.patch 2017-08-23 18:16:23.000000000 +0000 @@ -10,21 +10,21 @@ Subject: Fix specs spec/spec_helper.rb | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) -diff --git a/spec/buff/shell_out_spec.rb b/spec/buff/shell_out_spec.rb -index 948b81a..d596d47 100644 ---- a/spec/buff/shell_out_spec.rb -+++ b/spec/buff/shell_out_spec.rb -@@ -13,8 +13,8 @@ describe Buff::ShellOut do - its(:stdout) { should be_a(String) } - its(:stderr) { should be_a(String) } - its(:exitstatus) { should be_a(Fixnum) } -- its(:success?) { should be_true } -- its(:error?) { should be_false } -+ its(:success?) { should be_truthy } -+ its(:error?) { should be_falsey } - - context "when on MRI" do - before { described_class.stub(jruby?: false) } +#diff --git a/spec/buff/shell_out_spec.rb b/spec/buff/shell_out_spec.rb +#index 948b81a..d596d47 100644 +#--- a/spec/buff/shell_out_spec.rb +#+++ b/spec/buff/shell_out_spec.rb +#@@ -13,8 +13,8 @@ describe Buff::ShellOut do +# its(:stdout) { should be_a(String) } +# its(:stderr) { should be_a(String) } +# its(:exitstatus) { should be_a(Fixnum) } +#- its(:success?) { should be_true } +#- its(:error?) { should be_false } +#+ its(:success?) { should be_truthy } +#+ its(:error?) { should be_falsey } +# +# context "when on MRI" do +# before { described_class.stub(jruby?: false) } diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ff1247a..a6cc897 100644 --- a/spec/spec_helper.rb
  14. Download patch buff-shell_out.gemspec

    --- 0.2.0-1/buff-shell_out.gemspec 2015-08-06 06:43:07.000000000 +0000 +++ 1.1.0-0ubuntu1/buff-shell_out.gemspec 2016-09-15 20:12:40.000000000 +0000 @@ -10,18 +10,18 @@ Gem::Specification.new do |spec| spec.email = ["jamie@vialstudios.com"] spec.description = %q{A mixin for issuing shell commands and collecting the output} spec.summary = %q{Buff up your code with a mixin for issuing shell commands and collecting the output} - spec.homepage = "https://github.com/RiotGames/buff-shell_out" + spec.homepage = "https://github.com/berkshelf/buff-shell_out" spec.license = "Apache 2.0" spec.files = `git ls-files`.split($/) spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^spec/}) spec.require_paths = ["lib"] - spec.required_ruby_version = ">= 1.9.2" + spec.required_ruby_version = ">= 2.2.0" - spec.add_dependency "buff-ruby_engine", "~> 0.1.0" + spec.add_dependency "buff-ruby_engine", "~> 1.0" - spec.add_development_dependency "thor", "~> 0.18.0" + spec.add_development_dependency "thor", "~> 0.19.1" spec.add_development_dependency "bundler", "~> 1.3" spec.add_development_dependency "rake" spec.add_development_dependency "rspec"
  15. Download patch spec/spec_helper.rb

    --- 0.2.0-1/spec/spec_helper.rb 2017-08-24 12:13:33.000000000 +0000 +++ 1.1.0-0ubuntu1/spec/spec_helper.rb 2017-08-24 12:13:33.000000000 +0000 @@ -9,7 +9,6 @@ def setup_rspec end config.mock_with :rspec - config.treat_symbols_as_metadata_keys_with_true_values = true config.filter_run focus: true config.run_all_when_everything_filtered = true end
  1. ruby-buff-ruby-engine
  2. ruby-buff-shell-out