marsh_grass 0.3.0 → 0.4.0

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: 7b82e79da08e29cb7ac77d29db539f9afd88dce54b6acd3094fe931031f99f34
4
- data.tar.gz: 2111b088e99e0a7ef1e449320bb08182eda6be6ff8a2d6fb45b4f38897160128
3
+ metadata.gz: c02288729b92aabafad2ee77ed595db3d878b44d4452d83a8927cc2ddb237e46
4
+ data.tar.gz: 337026a4562d1522cf220fa1770f10d5b0590a79a690634e4d713ae1aff78ba7
5
5
  SHA512:
6
- metadata.gz: 77db6bb213b0036fe597400e6d6294967518c51739470548799211304096ad6edafb74f133e22ee97b3bbe3290844e06f2ebebfec6d08f2af512ae33fba879e4
7
- data.tar.gz: ee314fbae884f60e35d92c1179dd09a8ac6a6b8e38228087d56daf5346c7cdee15c28410aa2509507907baaf44668a640af7bcb728649d11305c2c57b6a93818
6
+ metadata.gz: 31cee342434a31b5b25452b37526d1b8445a52f71cc33128d3c35dfd77f8aa4e4c4a572fa740d29e9313bf46f4516bc921c1780de0120c28ef9010cbbc5d766d
7
+ data.tar.gz: cb5676fcb8c234fdf00118b9faaa299d9e1cad843548306b61859ca3c095efc80c1c2a3f5eda50f241f51bb628744283959870bc7ce0a76f1610c8c6aeeeed16
@@ -0,0 +1,81 @@
1
+ name: CI
2
+ on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
+
8
+ jobs:
9
+ lint:
10
+ name: Lint
11
+ runs-on: ubuntu-latest
12
+ timeout-minutes: 5
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v5
16
+
17
+ - name: Set up Ruby
18
+ uses: ruby/setup-ruby@v1
19
+ with:
20
+ bundler-cache: true
21
+ rubygems: latest
22
+
23
+ - name: Run RuboCop
24
+ run: bundle exec rubocop --fail-level warning --display-only-fail-level-offenses --format github
25
+
26
+ test:
27
+ name: Test - ${{ matrix.gemfile }} - Ruby ${{ matrix.ruby }}
28
+ runs-on: ubuntu-latest
29
+ timeout-minutes: 10
30
+ strategy:
31
+ fail-fast: false
32
+ matrix:
33
+ ruby: ["3.0", 3.1, 3.2, 3.3, 3.4, 3.5, 4.0]
34
+ gemfile:
35
+ [
36
+ activesupport-7.1,
37
+ activesupport-7.2,
38
+ activesupport-8.0,
39
+ activesupport-8.1,
40
+ ]
41
+ exclude:
42
+ # Rails 7.2 is >= 3.1
43
+ - ruby: "3.0"
44
+ gemfile: activesupport-7.2
45
+ # Rails 8.0 is >= 3.2
46
+ - ruby: "3.0"
47
+ gemfile: activesupport-8.0
48
+ - ruby: 3.1
49
+ gemfile: activesupport-8.0
50
+ # Rails 8.1 is >= 3.2
51
+ - ruby: "3.0"
52
+ gemfile: activesupport-8.1
53
+ - ruby: 3.1
54
+ gemfile: activesupport-8.1
55
+
56
+ env:
57
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
58
+
59
+ steps:
60
+ - name: Checkout code
61
+ uses: actions/checkout@v5
62
+ - name: Update .ruby-version with matrix value
63
+ run: echo "${{ matrix.ruby }}" >| .ruby-version
64
+ # Dependencies
65
+ - name: Set up Ruby and bundle install
66
+ uses: ruby/setup-ruby@v1
67
+ with:
68
+ bundler-cache: true
69
+ rubygems: latest
70
+
71
+ # Test
72
+ - name: Run Unit tests
73
+ run: bundle exec rspec
74
+
75
+ - name: Publish Test Results
76
+ uses: mikepenz/action-junit-report@v4
77
+ if: always()
78
+ with:
79
+ check_name: Test Results
80
+ report_paths: tmp/rspec.xml
81
+ detailed_summary: true
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
 
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
+ marsh_grass*.gem
data/.rspec CHANGED
@@ -1,2 +1,3 @@
1
1
  --format documentation
2
+ --format RspecJunitFormatter --out tmp/rspec.xml
2
3
  --color
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.4.7
data/Gemfile CHANGED
@@ -4,3 +4,8 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in marsh_grass.gemspec
6
6
  gemspec
7
+
8
+ group :development, :test do
9
+ gem 'rubocop'
10
+ gem 'rspec_junit_formatter'
11
+ end
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem 'activesupport', '~> 7.1.0'
4
+
5
+ eval_gemfile "../Gemfile"
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem 'activesupport', '~> 7.2.0'
4
+
5
+ eval_gemfile "../Gemfile"
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem 'activesupport', '~> 8.0.0'
4
+
5
+ eval_gemfile "../Gemfile"
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem 'activesupport', '~> 8.1.0'
4
+
5
+ eval_gemfile "../Gemfile"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MarshGrass
4
- VERSION = '0.3.0'
4
+ VERSION = '0.4.0'
5
5
  end
data/marsh_grass.gemspec CHANGED
@@ -35,6 +35,6 @@ Gem::Specification.new do |spec|
35
35
  spec.add_development_dependency 'rake', '~> 13.0'
36
36
  spec.add_dependency 'activesupport', '>= 7.1', '< 9.0'
37
37
  spec.add_dependency 'rspec', '~> 3.6'
38
- spec.add_dependency 'rspec-rails', '~> 6'
38
+ spec.add_dependency 'rspec-rails', '>= 6', '< 9'
39
39
  spec.add_dependency 'timecop', '~> 0.9'
40
40
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marsh_grass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wes Rich
@@ -96,16 +96,22 @@ dependencies:
96
96
  name: rspec-rails
97
97
  requirement: !ruby/object:Gem::Requirement
98
98
  requirements:
99
- - - "~>"
99
+ - - ">="
100
100
  - !ruby/object:Gem::Version
101
101
  version: '6'
102
+ - - "<"
103
+ - !ruby/object:Gem::Version
104
+ version: '9'
102
105
  type: :runtime
103
106
  prerelease: false
104
107
  version_requirements: !ruby/object:Gem::Requirement
105
108
  requirements:
106
- - - "~>"
109
+ - - ">="
107
110
  - !ruby/object:Gem::Version
108
111
  version: '6'
112
+ - - "<"
113
+ - !ruby/object:Gem::Version
114
+ version: '9'
109
115
  - !ruby/object:Gem::Dependency
110
116
  name: timecop
111
117
  requirement: !ruby/object:Gem::Requirement
@@ -129,13 +135,18 @@ executables: []
129
135
  extensions: []
130
136
  extra_rdoc_files: []
131
137
  files:
138
+ - ".github/workflows/ci.yml"
132
139
  - ".gitignore"
133
140
  - ".rspec"
134
- - ".travis.yml"
141
+ - ".ruby-version"
135
142
  - Gemfile
136
143
  - LICENSE.txt
137
144
  - README.md
138
145
  - Rakefile
146
+ - gemfiles/activesupport-7.1.gemfile
147
+ - gemfiles/activesupport-7.2.gemfile
148
+ - gemfiles/activesupport-8.0.gemfile
149
+ - gemfiles/activesupport-8.1.gemfile
139
150
  - lib/marsh_grass.rb
140
151
  - lib/marsh_grass/rspec.rb
141
152
  - lib/marsh_grass/version.rb
@@ -158,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
169
  - !ruby/object:Gem::Version
159
170
  version: '0'
160
171
  requirements: []
161
- rubygems_version: 3.7.1
172
+ rubygems_version: 3.6.9
162
173
  specification_version: 4
163
174
  summary: A set of tools to help diagnose random test failures.
164
175
  test_files: []
data/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.3.6
5
- before_install: gem install bundler -v 1.16.1