From e84c34b17a43e2fcfb622f12cb918e19aec6e2ba Mon Sep 17 00:00:00 2001 From: Kyrylo Silin Date: Sun, 28 Oct 2018 19:32:04 +0800 Subject: [PATCH] Update copyrights * Added myself (should've done that years ago) * Made it look like Pry is a team effort --- LICENSE | 2 +- README.md | 8 -------- bin/pry | 4 ---- lib/pry.rb | 3 --- lib/pry/cli.rb | 12 ++++++------ pry.gemspec | 14 ++++++++++++-- 6 files changed, 19 insertions(+), 24 deletions(-) diff --git a/LICENSE b/LICENSE index efe99bbf..1c6726e4 100644 --- a/LICENSE +++ b/LICENSE @@ -3,7 +3,7 @@ License (The MIT License) -Copyright (c) 2018 John Mair (banisterfiend) +Copyright (c) 2018 The Pry Team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/README.md b/README.md index 56a3e932..d9f90286 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,6 @@

![logo for Pry](https://www.dropbox.com/s/zp8o63kquby2rln/pry_logo_350.png?raw=1) -© John Mair ([banisterfiend](https://twitter.com/banisterfiend)) 2018
- **Other Resources** [Skip to the website (recommended)](http://pryrepl.org/)
@@ -390,9 +388,3 @@ between commands and running commands in background ### Contact Problems or questions? File an issue at [GitHub](https://github.com/pry/pry/issues). - -### Contributors - -Pry is primarily the work of [John Mair (banisterfiend)](https://github.com/banister), for full list -of contributors see the -[contributors graph](https://github.com/pry/pry/graphs/contributors). diff --git a/bin/pry b/bin/pry index 7da1471b..e6914ce4 100755 --- a/bin/pry +++ b/bin/pry @@ -1,8 +1,4 @@ #!/usr/bin/env ruby - -# (C) John Mair (banisterfiend) -# MIT license - $0 = 'pry' require 'pry' diff --git a/lib/pry.rb b/lib/pry.rb index 006eb74b..777b3315 100644 --- a/lib/pry.rb +++ b/lib/pry.rb @@ -1,6 +1,3 @@ -# (C) John Mair (banisterfiend) 2016 -# MIT License -# require 'pp' require 'pry/forwardable' require 'pry/input_lock' diff --git a/lib/pry/cli.rb b/lib/pry/cli.rb index cddc4fc5..46e51ac2 100644 --- a/lib/pry/cli.rb +++ b/lib/pry/cli.rb @@ -134,12 +134,12 @@ end # The default Pry command line options (before plugin options are included) Pry::CLI.add_options do - banner %{Usage: pry [OPTIONS] -Start a Pry session. -See http://pryrepl.org/ for more information. -Copyright (c) 2016 John Mair (banisterfiend) --- -} + banner( + "Usage: pry [OPTIONS]\n" \ + "Start a Pry session.\n" \ + "See http://pryrepl.org/ for more information.\n" + ) + on :e, :exec=, "A line of code to execute in context before the session starts" do |input| Pry.config.exec_string += "\n" if Pry.config.exec_string.length > 0 Pry.config.exec_string += input diff --git a/pry.gemspec b/pry.gemspec index 38d74b78..8dcc8f1d 100644 --- a/pry.gemspec +++ b/pry.gemspec @@ -7,8 +7,18 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 1.9.3' - s.authors = ["John Mair (banisterfiend)", "Conrad Irwin", "Ryan Fitzgerald"] - s.email = ["jrmair@gmail.com", "conrad.irwin@gmail.com", "rwfitzge@gmail.com"] + s.authors = [ + 'John Mair (banisterfiend)', + 'Conrad Irwin', + 'Ryan Fitzgerald', + 'Kyrylo Silin' + ] + s.email = [ + 'jrmair@gmail.com', + 'conrad.irwin@gmail.com', + 'rwfitzge@gmail.com', + 'silin@kyrylo.org' + ] s.summary = "An IRB alternative and runtime developer console" s.description = s.summary s.homepage = "http://pryrepl.org"