Compare commits

..

No commits in common. "5d33969ff8f006d695a41a2f4c5976753d7c8f71" and "5be3adb8bbcbf600516c4998101031831cf3208e" have entirely different histories.

3 changed files with 17 additions and 10 deletions

8
bin/console Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
require "bundler/setup"
require "capsicum"
require "irb"
IRB.start(__FILE__)

8
bin/setup Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
set -vx
bundle install
# Do any other automated setup that you need to do here

View file

@ -12,17 +12,8 @@ Gem::Specification.new do |spec|
spec.summary = "Ruby bindings for FreeBSD's capsicum(4)"
spec.homepage = "https://github.com/0x1eef/bsdcapsicum.rb"
spec.licenses = ["0BSD", "MIT"]
spec.executables = []
spec.files = Dir["lib/*.rb", "lib/**/*.rb", "README.md", "LICENSE", "LICENSE.ruby-capsicum", "*.gemspec"]
spec.require_paths = ["lib"]
spec.files = Dir[
"*.gemspec",
"README.md",
"LICENSE",
"LICENSE.ruby-capsicum",
"lib/*.rb",
"lib/**/*.rb",
"share/**/*.rb",
].select { File.file?(_1) }
spec.add_runtime_dependency "fiddle", "~> 1.1"
spec.add_development_dependency "bundler", "~> 2.5"