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 +4 -4
- data/.github/workflows/ci.yml +81 -0
- data/.gitignore +1 -0
- data/.rspec +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +5 -0
- data/gemfiles/activesupport-7.1.gemfile +5 -0
- data/gemfiles/activesupport-7.2.gemfile +5 -0
- data/gemfiles/activesupport-8.0.gemfile +5 -0
- data/gemfiles/activesupport-8.1.gemfile +5 -0
- data/lib/marsh_grass/version.rb +1 -1
- data/marsh_grass.gemspec +1 -1
- metadata +16 -5
- data/.travis.yml +0 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c02288729b92aabafad2ee77ed595db3d878b44d4452d83a8927cc2ddb237e46
|
|
4
|
+
data.tar.gz: 337026a4562d1522cf220fa1770f10d5b0590a79a690634e4d713ae1aff78ba7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
data/.rspec
CHANGED
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.4.7
|
data/Gemfile
CHANGED
data/lib/marsh_grass/version.rb
CHANGED
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', '
|
|
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.
|
|
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
|
-
- ".
|
|
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.
|
|
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: []
|