minitag 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 100ac9cc9bfef52b3aa37c8606e6a447c74459bd52df6fcda671950a6d3968e2
4
- data.tar.gz: 0fe274909e46e1a0f8f812d0ec7891ae60d2a90beb92523fd7ff3720c040e7a0
3
+ metadata.gz: ab98e9f2debb23b27f21435a3b2ac0102a835391accb97fd7e1bae69457f4e07
4
+ data.tar.gz: 538c9bc1789dd2080b3a8f8430c116d05693eb5c2dfee3f1204fe60c67e5e80a
5
5
  SHA512:
6
- metadata.gz: 44754017cba905183452e103376d8228157ec6db852b4ff3764e89d0c66889a85e78a2867ba4f05ebbc18f7c46011583b4be5ade2239c8d75a9ccd276b083d24
7
- data.tar.gz: 96de93bec156b177800d63d9ca7638dcd09eb20fcfd6e547f424f51b5bb1e2112a3b16f516990c096d1c47bce288b060d92b61238ff17a5652d4a1cb6e251fe6
6
+ metadata.gz: '081ad2c7553abb897271b01e30d0561255ca5ee30128aac47f4dbee4ac29fd7a0de0e1954268c9325f9476823f6ffc16321b429fc9d98b0edc3fc20e10433ca6'
7
+ data.tar.gz: 372cd5e85be6c5f7c35faf779e2ab197ac8a4d218dd11b13c43c2b5be2449aa7c14d4898208cc93c5410a24b2ec4e6290171c1d67dca332d8f9325706cb2eace
@@ -0,0 +1,32 @@
1
+ name: continuous-integration
2
+ on: push
3
+
4
+ jobs:
5
+ ci:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v2
9
+ - name: Set up Ruby 2.7
10
+ uses: actions/setup-ruby@v1
11
+ with:
12
+ ruby-version: "2.7"
13
+ - name: Cache gems
14
+ uses: actions/cache@v2
15
+ with:
16
+ path: vendor/bundle
17
+ key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
18
+ restore-keys: |
19
+ ${{ runner.os }}-gem-
20
+ - name: Install gems
21
+ run: |
22
+ sed -i '/ruby ".*"/,+1 d' Gemfile
23
+ bundle_version=`awk '/BUNDLED WITH/{getline; gsub(/ /, "", $0); print}' Gemfile.lock`
24
+ gem install bundler --no-document -v ${bundle_version}
25
+ bundle config retry "3"
26
+ bundle config jobs "$(nproc)"
27
+ bundle config path vendor/bundle
28
+ bundle install
29
+ - name: Run RuboCop
30
+ run: bundle exec rubocop --parallel
31
+ - name: Run tests
32
+ run: bundle exec rake test
data/Gemfile CHANGED
@@ -4,5 +4,7 @@ source 'https://rubygems.org'
4
4
 
5
5
  git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
6
 
7
+ ruby '>= 2.6'
8
+
7
9
  # Specify your gem's dependencies in minitag.gemspec
8
10
  gemspec
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- minitag (0.3.2)
4
+ minitag (0.3.3)
5
5
  minitest (~> 5.0)
6
6
 
7
7
  GEM
@@ -39,5 +39,8 @@ DEPENDENCIES
39
39
  rake (>= 12.3.3)
40
40
  rubocop (~> 0.87.1)
41
41
 
42
+ RUBY VERSION
43
+ ruby 2.6.3p62
44
+
42
45
  BUNDLED WITH
43
46
  1.17.2
data/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  # Minitag
4
4
 
5
- [![Build Status](https://travis-ci.org/bernardoamc/minitag.svg?branch=master)](https://travis-ci.org/bernardoamc/minitag)
6
-
7
5
  A simple gem that allow developers to tag their minitest tests and run tests
8
6
  based on these tags.
9
7
 
@@ -38,7 +36,7 @@ It is important to point out that tags associated with a test have no concept of
38
36
  ```rb
39
37
  class MyTest < Minitest::Test
40
38
  tag 'my_tag', 'another_tag'
41
- test '#hello minitag' do
39
+ def test_hello_minitest
42
40
  # ...
43
41
  end
44
42
  end
@@ -34,7 +34,7 @@ module Minitag
34
34
  # @return [void]
35
35
  def add_filter(tag)
36
36
  if tag.start_with?('~')
37
- @exclusive_filters << tag[1..-1]
37
+ @exclusive_filters << tag[1..]
38
38
  else
39
39
  @inclusive_filters << tag
40
40
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Minitag
4
- VERSION = '0.3.2'
4
+ VERSION = '0.3.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernardo de Araujo
@@ -73,9 +73,9 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - ".github/workflows/ci.yml"
76
77
  - ".gitignore"
77
78
  - ".rubocop.yml"
78
- - ".travis.yml"
79
79
  - CODE_OF_CONDUCT.md
80
80
  - Gemfile
81
81
  - Gemfile.lock
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.6.3
7
- before_install: gem install bundler -v 1.17.2