lib/cobench/mask.rb in cobench-0.0.46 vs lib/cobench/mask.rb in cobench-0.0.47
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright (c) 2022 Yegor Bugayenko
+# Copyright (c) 2022-2023 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@@ -16,12 +16,14 @@
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+require_relative 'version'
+
# Mask to apply for a repo name.
# Author:: Yegor Bugayenko (yegor256@gmail.com)
-# Copyright:: Copyright (c) 2022 Yegor Bugayenko
+# Copyright:: Copyright (c) 2022-2023 Yegor Bugayenko
# License:: MIT
class Cobench::Mask
def initialize(txt)
@org, @repo = txt.downcase.split('/')
end