Commit a86d614
Changed files (5)
.github/workflows/ci.yml
@@ -0,0 +1,21 @@
+name: ci
+on:
+ push:
+ branches: [main]
+ pull_request:
+ branches: [main]
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ruby-version: ['2.5', '2.6', '2.7', '3.0']
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby-version }}
+ bundler-cache: true
+ - name: Running tests…
+ run: sh bin/test
bin/console
@@ -3,12 +3,5 @@
require "bundler/setup"
require "jive"
-# You can add fixtures and/or initialization code here to make experimenting
-# with your gem easier. You can also use a different console, if you like.
-
-# (If you use this, don't forget to add pry to your Gemfile!)
-# require "pry"
-# Pry.start
-
require "irb"
IRB.start(__FILE__)
bin/setup
@@ -1,8 +1,4 @@
-#!/usr/bin/env bash
-set -euo pipefail
-IFS=$'\n\t'
-set -vx
+#!/bin/sh
+set -e
bundle install
-
-# Do any other automated setup that you need to do here
Gemfile.lock
@@ -6,30 +6,29 @@ PATH
GEM
remote: https://rubygems.org/
specs:
- diff-lcs (1.3)
+ diff-lcs (1.4.4)
rake (10.5.0)
- rspec (3.9.0)
- rspec-core (~> 3.9.0)
- rspec-expectations (~> 3.9.0)
- rspec-mocks (~> 3.9.0)
- rspec-core (3.9.0)
- rspec-support (~> 3.9.0)
- rspec-expectations (3.9.0)
+ rspec (3.10.0)
+ rspec-core (~> 3.10.0)
+ rspec-expectations (~> 3.10.0)
+ rspec-mocks (~> 3.10.0)
+ rspec-core (3.10.1)
+ rspec-support (~> 3.10.0)
+ rspec-expectations (3.10.1)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.9.0)
- rspec-mocks (3.9.0)
+ rspec-support (~> 3.10.0)
+ rspec-mocks (3.10.2)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.9.0)
- rspec-support (3.9.0)
+ rspec-support (~> 3.10.0)
+ rspec-support (3.10.2)
PLATFORMS
ruby
DEPENDENCIES
- bundler (~> 2.0)
jive!
rake (~> 10.0)
rspec (~> 3.0)
BUNDLED WITH
- 2.0.2
+ 2.2.8
jive.gemspec
@@ -6,16 +6,14 @@ Gem::Specification.new do |spec|
spec.name = "jive"
spec.version = Jive::VERSION
spec.authors = ["mo khan"]
- spec.email = ["mo.khan@gmail.com"]
+ spec.email = ["mo@mokhan.ca"]
spec.summary = %q{The art just comes.}
spec.description = %q{The art just comes.}
- spec.homepage = "https://github.com/mokhan/jive"
+ spec.homepage = "https://rubygems.org/gems/jive"
spec.license = "MIT"
spec.metadata["homepage_uri"] = spec.homepage
- spec.metadata["source_code_uri"] = "https://github.com/mokhan/jive"
- spec.metadata["changelog_uri"] = "https://github.com/mokhan/jive"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -26,7 +24,6 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
- spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
end