Skip to content

Commit

Permalink
Merge branch 'master' into hsbc_uk_icon
Browse files Browse the repository at this point in the history
  • Loading branch information
payeverdev committed Sep 18, 2024
2 parents 6266de3 + 7d109ec commit 3806eba
Show file tree
Hide file tree
Showing 282 changed files with 1,640 additions and 810 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ruby-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,35 @@ jobs:
strategy:
matrix:
version:
- 2.5
- 2.6
- 2.7
- 3.0
- 3.1
- 3.2
gemfile:
- gemfiles/rails-5-0.gemfile
- gemfiles/rails-6-0.gemfile
- gemfiles/rails-latest-release.gemfile
- gemfiles/rails-edge.gemfile
exclude:
- version: 2.5
gemfile: gemfiles/rails-edge.gemfile
- version: 2.6
gemfile: gemfiles/rails-edge.gemfile
- version: 2.7
gemfile: gemfiles/rails-edge.gemfile
- version: 3.0
gemfile: gemfiles/rails-5-0.gemfile
gemfile: gemfiles/rails-6-0.gemfile
- version: 3.1
gemfile: gemfiles/rails-5-0.gemfile
gemfile: gemfiles/rails-6-0.gemfile
- version: 3.2
gemfile: gemfiles/rails-6-0.gemfile
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Ruby ${{ matrix.version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.version }}
bundler-cache: true
rubygems: latest

- name: Test
run: bundle exec rake test
13 changes: 12 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@ To add a new payment method icon to this repository:
- `other`
- `wallets`

4. Add an SVG icon to the `app/assets/images/payment_icons/` directory following the [guidelines for new icons](#guidelines-for-new-icons).
4. Add an SVG icon to the `app/assets/images/payment_icons/` directory following the [guidelines for new icons](#guidelines-for-new-icons). If you are adding a generic payment method, you may use the following generic icons.

- [`cash`](https://github.com/activemerchant/payment_icons/blob/master/app/assets/images/payment_icons/cash.svg)
- [`generic`](https://github.com/activemerchant/payment_icons/blob/master/app/assets/images/payment_icons/generic.svg)
- [`gift-card`](https://github.com/activemerchant/payment_icons/blob/master/app/assets/images/payment_icons/gift-card.svg)
- [`onlinebanking`](https://github.com/activemerchant/payment_icons/blob/master/app/assets/images/payment_icons/onlinebanking.svg)
- [`storecredit`](https://github.com/activemerchant/payment_icons/blob/master/app/assets/images/payment_icons/storecredit.svg)
- [`wallet`](https://github.com/activemerchant/payment_icons/blob/master/app/assets/images/payment_icons/wallet.svg)

5. Optimize your icon using [SVGO](https://github.com/svg/svgo) (`v1.x.x`) - instructions below.

```
Expand Down Expand Up @@ -59,6 +67,9 @@ All icon contributions must follow the guidelines below. The **markup** guidelin
- Icons are clear and easy to read/understand
- Whenever possible, provide a link to the brand icon’s brand guidelines (e.g. [Google Pay](https://developers.google.com/pay/api/web/guides/brand-guidelines))

### Name
- The name entered in `db/payment_icons.yml` must be lowercase alpha characters only.

### File
- The name of the SVG must be the same as the `name` entered in `db/payment_icons.yml`

Expand Down
Loading

0 comments on commit 3806eba

Please sign in to comment.