summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2020-09-20 05:41:16 +0000
committerryoon <ryoon@pkgsrc.org>2020-09-20 05:41:16 +0000
commit56bab5496e24495e065220a162f807ff02b9391b (patch)
tree5992cc1efa05d5bbd9a4f55247b28351502d2804 /devel
parent7b0f3aa2063ddc32e5b919edc1c5b8ac7a37d730 (diff)
downloadpkgsrc-56bab5496e24495e065220a162f807ff02b9391b.tar.gz
devel/ruby-bond: import ruby27-bond-0.5.1
Bond is on a mission to improve autocompletion in ruby, especially for irb/ripl. Aside from doing everything irb's can do and fixing its quirks, Bond can autocomplete argument(s) to methods, uniquely completing per module, per method and per argument. Bond brings ruby autocompletion closer to bash/zsh as it provides a configuration system and a DSL for creating custom completions and completion rules. With this configuration system, users can customize their autocompletions and share it with others. Bond can also load completions that ship with gems. Bond is able to offer more than irb's completion since it uses the full line of input when completing as opposed to irb's last-word approach.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-bond/DESCR11
-rw-r--r--devel/ruby-bond/Makefile12
-rw-r--r--devel/ruby-bond/PLIST51
-rw-r--r--devel/ruby-bond/distinfo6
4 files changed, 80 insertions, 0 deletions
diff --git a/devel/ruby-bond/DESCR b/devel/ruby-bond/DESCR
new file mode 100644
index 00000000000..b4558a55305
--- /dev/null
+++ b/devel/ruby-bond/DESCR
@@ -0,0 +1,11 @@
+Bond is on a mission to improve autocompletion in ruby, especially
+for irb/ripl. Aside from doing everything irb's can do and fixing
+its quirks, Bond can autocomplete argument(s) to methods, uniquely
+completing per module, per method and per argument. Bond brings
+ruby autocompletion closer to bash/zsh as it provides a configuration
+system and a DSL for creating custom completions and completion
+rules. With this configuration system, users can customize their
+autocompletions and share it with others. Bond can also load
+completions that ship with gems. Bond is able to offer more than
+irb's completion since it uses the full line of input when completing
+as opposed to irb's last-word approach.
diff --git a/devel/ruby-bond/Makefile b/devel/ruby-bond/Makefile
new file mode 100644
index 00000000000..10b10767376
--- /dev/null
+++ b/devel/ruby-bond/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2020/09/20 05:41:16 ryoon Exp $
+
+DISTNAME= bond-0.5.1
+CATEGORIES= devel
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://tagaholic.me/bond/
+COMMENT= Improve autocompletion in Ruby
+LICENSE= mit
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-bond/PLIST b/devel/ruby-bond/PLIST
new file mode 100644
index 00000000000..19c68fa341d
--- /dev/null
+++ b/devel/ruby-bond/PLIST
@@ -0,0 +1,51 @@
+@comment $NetBSD: PLIST,v 1.1 2020/09/20 05:41:16 ryoon Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_EXTSDIR}/gem.build_complete
+${GEM_LIBDIR}/.gemspec
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/CHANGELOG.rdoc
+${GEM_LIBDIR}/CONTRIBUTING.md
+${GEM_LIBDIR}/LICENSE.txt
+${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/ext/readline_line_buffer/extconf.rb
+${GEM_LIBDIR}/ext/readline_line_buffer/readline_line_buffer.c
+${GEM_LIBDIR}/lib/bond.rb
+${GEM_LIBDIR}/lib/bond/agent.rb
+${GEM_LIBDIR}/lib/bond/completion.rb
+${GEM_LIBDIR}/lib/bond/completions/activerecord.rb
+${GEM_LIBDIR}/lib/bond/completions/array.rb
+${GEM_LIBDIR}/lib/bond/completions/bond.rb
+${GEM_LIBDIR}/lib/bond/completions/hash.rb
+${GEM_LIBDIR}/lib/bond/completions/kernel.rb
+${GEM_LIBDIR}/lib/bond/completions/module.rb
+${GEM_LIBDIR}/lib/bond/completions/object.rb
+${GEM_LIBDIR}/lib/bond/completions/struct.rb
+${GEM_LIBDIR}/lib/bond/input.rb
+${GEM_LIBDIR}/lib/bond/m.rb
+${GEM_LIBDIR}/lib/bond/mission.rb
+${GEM_LIBDIR}/lib/bond/missions/anywhere_mission.rb
+${GEM_LIBDIR}/lib/bond/missions/default_mission.rb
+${GEM_LIBDIR}/lib/bond/missions/method_mission.rb
+${GEM_LIBDIR}/lib/bond/missions/object_mission.rb
+${GEM_LIBDIR}/lib/bond/missions/operator_method_mission.rb
+${GEM_LIBDIR}/lib/bond/rc.rb
+${GEM_LIBDIR}/lib/bond/readline.rb
+${GEM_LIBDIR}/lib/bond/readlines/jruby.rb
+${GEM_LIBDIR}/lib/bond/readlines/rawline.rb
+${GEM_LIBDIR}/lib/bond/readlines/ruby.rb
+${GEM_LIBDIR}/lib/bond/search.rb
+${GEM_LIBDIR}/lib/bond/version.rb
+${GEM_LIBDIR}/test/agent_test.rb
+${GEM_LIBDIR}/test/anywhere_mission_test.rb
+${GEM_LIBDIR}/test/bond_test.rb
+${GEM_LIBDIR}/test/completion_test.rb
+${GEM_LIBDIR}/test/completions_test.rb
+${GEM_LIBDIR}/test/m_test.rb
+${GEM_LIBDIR}/test/method_mission_test.rb
+${GEM_LIBDIR}/test/mission_test.rb
+${GEM_LIBDIR}/test/object_mission_test.rb
+${GEM_LIBDIR}/test/operator_method_mission_test.rb
+${GEM_LIBDIR}/test/search_test.rb
+${GEM_LIBDIR}/test/test_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/devel/ruby-bond/distinfo b/devel/ruby-bond/distinfo
new file mode 100644
index 00000000000..a5e3757245d
--- /dev/null
+++ b/devel/ruby-bond/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/09/20 05:41:16 ryoon Exp $
+
+SHA1 (bond-0.5.1.gem) = b42ebfdfc6b1491adbb82cbc047ace400b9f07b9
+RMD160 (bond-0.5.1.gem) = 06dc4e0a19397e317600d92b98011d350db46b71
+SHA512 (bond-0.5.1.gem) = 498ac4d44da2a8db0335526ff2e7859f7129a95141a63f914dc28a47009456eac1cdb8f015b4d22ae402b54152f0f9f9ce4b8f52248401042148256704553736
+Size (bond-0.5.1.gem) = 35328 bytes