Skip to content

Commit 89cbe7a

Browse files
authored
Merge pull request #14 from github/test-6.0
test against Rails 6
2 parents 2bcbc45 + 962f1da commit 89cbe7a

File tree

4 files changed

+5
-20
lines changed

4 files changed

+5
-20
lines changed

.github/workflows/ruby_on_rails.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
rails_version: ["5.2.3", "6.0.0.rc2", "master"]
10+
rails_version: ["5.2.3", "6.0.0", "master"]
1111
ruby_version: ["2.5.x", "2.6.x"]
1212
steps:
1313
- uses: actions/checkout@master

Gemfile.lock

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,11 @@ GEM
5353
concurrent-ruby (1.1.5)
5454
crass (1.0.4)
5555
erubi (1.8.0)
56-
erubis (2.7.0)
5756
globalid (0.4.2)
5857
activesupport (>= 4.2.0)
5958
haml (5.1.2)
6059
temple (>= 0.8.0)
6160
tilt
62-
haml-rails (2.0.1)
63-
actionpack (>= 5.1)
64-
activesupport (>= 5.1)
65-
haml (>= 4.0.6, < 6.0)
66-
html2haml (>= 1.0.1)
67-
railties (>= 5.1)
68-
html2haml (2.2.0)
69-
erubis (~> 2.7.0)
70-
haml (>= 4.0, < 6)
71-
nokogiri (>= 1.6.0)
72-
ruby_parser (~> 3.5)
7361
i18n (1.6.0)
7462
concurrent-ruby (~> 1.0)
7563
jaro_winkler (1.5.3)
@@ -133,9 +121,6 @@ GEM
133121
rubocop-performance (1.3.0)
134122
rubocop (>= 0.68.0)
135123
ruby-progressbar (1.10.1)
136-
ruby_parser (3.13.1)
137-
sexp_processor (~> 4.9)
138-
sexp_processor (4.12.1)
139124
slim (4.0.1)
140125
temple (>= 0.7.6, < 0.9)
141126
tilt (>= 2.0.6, < 2.1)
@@ -163,7 +148,7 @@ PLATFORMS
163148
DEPENDENCIES
164149
actionview-component!
165150
bundler (>= 1.14)
166-
haml-rails (~> 2.0)
151+
haml (~> 5)
167152
minitest (~> 5.0)
168153
rails (= 5.2.3)
169154
rake (~> 10.0)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Preliminary support for rendering components was merged into Rails `6.1.0.alpha`
1111

1212
## Compatibility
1313

14-
`actionview-component` is tested for compatibility with all combinations of Ruby `2.5`/`2.6` and Rails `5.2.3`/`6.0.0.rc2`/`6.1.0.alpha`.
14+
`actionview-component` is tested for compatibility with all combinations of Ruby `2.5`/`2.6` and Rails `5.2.3`/`6.0.0`/`6.1.0.alpha`.
1515

1616
## Installation
1717
Add this line to your application's Gemfile:
@@ -156,7 +156,7 @@ require "action_view/component_test_helpers"
156156

157157
class MyComponentTest < Minitest::Test
158158
include ActionView::ComponentTestHelpers
159-
159+
160160
def test_render_component
161161
assert_equal(
162162
%(<span title="my title">Hello, World!</span>),

actionview-component.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
3636
spec.add_development_dependency "bundler", ">= 1.14"
3737
spec.add_development_dependency "rake", "~> 10.0"
3838
spec.add_development_dependency "minitest", "~> 5.0"
39-
spec.add_development_dependency "haml-rails", "~> 2.0"
39+
spec.add_development_dependency "haml", "~> 5"
4040
spec.add_development_dependency "slim", "~> 4.0"
4141
spec.add_development_dependency "rubocop", "~> 0.59"
4242
spec.add_development_dependency "rubocop-github", "~> 0.13.0"

0 commit comments

Comments
 (0)