Skip to content

Commit

Permalink
Release v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hmdne committed Nov 17, 2021
1 parent ae153d9 commit c67d9c1
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 10 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Tests
on:
push:
branches:
- master
- "*-stable"
- "*/ci-check"
pull_request:

jobs:
tests:
name: Tests
strategy:
fail-fast: false
matrix:
ruby: [2.6, 2.7, 3.0]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Run tests
run: bundle exec rake
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--format documentation
--color
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
paggio (0.2.4)
paggio (0.3.0)

GEM
remote: https://rubygems.org/
Expand All @@ -24,3 +24,6 @@ DEPENDENCIES
paggio!
rake
rspec

BUNDLED WITH
2.1.4
12 changes: 6 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#! /usr/bin/env ruby

require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rake'

task :default => :test
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:rspec)

task :test do
FileUtils.cd 'spec' do
sh 'rspec css_spec.rb html_spec.rb --backtrace --color --format doc'
end
end
task :default => :rspec
6 changes: 3 additions & 3 deletions paggio.gemspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Gem::Specification.new {|s|
s.name = 'paggio'
s.version = '0.2.6'
s.version = '0.3.0'
s.author = 'meh.'
s.email = '[email protected]'
s.homepage = 'http://github.com/meh/paggio'
s.homepage = 'http://github.com/opal/paggio'
s.platform = Gem::Platform::RUBY
s.summary = 'Ruby, HTML and CSS at war.'
s.license = 'WTFPL'
s.license = 'WTFPL'

s.files = `git ls-files`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
Expand Down

0 comments on commit c67d9c1

Please sign in to comment.