Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: Tests
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- ruby: 2.3.5
gemfile: Gemfile.rails-3.2
- ruby: 2.3.5
gemfile: Gemfile.rails-4.2.haml-4
- ruby: 2.3.5
gemfile: Gemfile.rails-4.2.haml-5
- ruby: 2.3.5
gemfile: Gemfile.rails-5.1.haml-4
- ruby: 2.3.5
gemfile: Gemfile.rails-5.1.haml-5
- ruby: 2.7.2
gemfile: Gemfile.rails-5.1.haml-4
- ruby: 2.7.2
gemfile: Gemfile.rails-5.1.haml-5
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
steps:
- uses: actions/checkout@v2
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Bundle
run: |
gem install bundler:2.1.4
bundle install --no-deployment
- name: Run tests
run: bundle exec rspec
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.5
2.7.2
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Gemfile.rails-3.2.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ GEM
concurrent-ruby (1.0.5)
diff-lcs (1.3)
erubis (2.7.0)
gemika (0.3.2)
gemika (0.6.1)
haml (4.0.2)
tilt
hike (1.2.3)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails-4.2.haml-4.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ GEM
crass (1.0.3)
diff-lcs (1.3)
erubis (2.7.0)
gemika (0.3.2)
gemika (0.6.1)
haml (4.0.7)
tilt
i18n (0.9.1)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails-4.2.haml-5.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ GEM
crass (1.0.3)
diff-lcs (1.3)
erubis (2.7.0)
gemika (0.3.2)
gemika (0.6.1)
haml (5.0.4)
temple (>= 0.8.0)
tilt
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails-5.1.haml-4.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ GEM
crass (1.0.3)
diff-lcs (1.3)
erubi (1.7.0)
gemika (0.3.2)
gemika (0.6.1)
haml (4.0.7)
tilt
i18n (0.9.1)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.rails-5.1.haml-5.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ GEM
crass (1.0.3)
diff-lcs (1.3)
erubi (1.7.0)
gemika (0.3.2)
gemika (0.6.1)
haml (5.0.4)
temple (>= 0.8.0)
tilt
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular_xss [![Build Status](https://travis-ci.org/makandra/angular_xss.png?branch=master)](https://travis-ci.org/makandra/angular_xss)
angular_xss [![Build Status](https://github.com/makandra/angular_xss/workflows/Tests/badge.svg)](https://github.com/makandra/angular_xss/actions)
===========

When rendering AngularJS templates with a server-side templating engine like ERB or Haml it is easy to introduce XSS vulnerabilities. These vulnerabilities are enabled by AngularJS evaluating user-provided strings containing interpolation symbols (default symbols are `{{` and `}}`).
Expand Down