bridgetown-svg-inliner 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b634ed7e6fba114daf71e6f95a1211bdf4aea1cfef818062406f3369bea4408b
4
- data.tar.gz: a30862bb9778ccc547dd591e6a7070b252bc3372376b32fc8561dc26ed2a3108
3
+ metadata.gz: 964d74439f0fd8c14d7d7633b9b1953df0123a6707cefa3a602a4f424b735353
4
+ data.tar.gz: 56481641cecf8e75c8778703e2044726badbe265c7ab9bf69f673fdfefb1731a
5
5
  SHA512:
6
- metadata.gz: 9bce347b447759deff51941c8e57db560c49d0cf438751a73b240f1edab6771dae6cc9e26e0cc5c1c9408aee023608c7620e301918fcab62984c8ae07b95ee71
7
- data.tar.gz: 5f0ec950b228af41d318cfdfaa94f68afee4ade6f38bcd23c51ec8ff75edc619dc30f84d1040d0332bd438f59082212db0255af8c50cb37ca19f3dd83f7d8e3e
6
+ metadata.gz: e7a6f33e78f191a5b5d7d3dfae248ffac50cca0d8d1d06108e91f1a9194eee56ea7af5b6a0b1d18d1ae3ef38f80db85b440149c8c4534ba1887579dad2ffb154
7
+ data.tar.gz: 9eb69fe8e5ec19c2441d8e5f692acb1092b7f5d0b1946c8595b07d4b78a5bac54ef80fcde24418d806f506833567998e7b821c973f5d8caae48b1ea01e563841
@@ -0,0 +1,30 @@
1
+ name: Tests
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - "*"
7
+ push:
8
+ branches:
9
+ - main
10
+
11
+ jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ matrix:
16
+ ruby_version: [2.6.6, 2.7.3, 3.0.0]
17
+ continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
18
+ # Has to be top level to cache properly
19
+ env:
20
+ BUNDLE_JOBS: 3
21
+ BUNDLE_PATH: "vendor/bundle"
22
+ steps:
23
+ - uses: actions/checkout@master
24
+ - name: Setup Ruby
25
+ uses: ruby/setup-ruby@v1
26
+ with:
27
+ ruby-version: ${{ matrix.ruby_version }}
28
+ bundler-cache: true
29
+ - name: Test with Rake
30
+ run: script/cibuild
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # main
2
2
 
3
- # 1.0.0 / 17-06-2021
3
+ # 1.0.1 / 21-06-2021
4
4
 
5
- The initial release
5
+ * Fix an issue where attributes were not added to SVG markup using the ERB helper in Ruby 3.
6
+
7
+ # 1.0.0 / 16-06-2021
8
+
9
+ The initial release!
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Bridgetown SVG Inliner
2
2
 
3
+ [![Tests](https://github.com/ayushn21/bridgetown-svg-inliner/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/ayushn21/bridgetown-svg-inliner/actions/workflows/tests.yml)
4
+ [![Gem Version](https://badge.fury.io/rb/bridgetown-svg-inliner.svg)](https://badge.fury.io/rb/bridgetown-svg-inliner)
5
+
3
6
  A Bridgetown plugin that provides a liquid tag and ERB helper to inline SVG files within the HTML markup.
4
7
 
5
8
  ## Installation
@@ -10,7 +10,7 @@ module BridgetownSvgInliner
10
10
  render attributes.path, attributes.args
11
11
  end
12
12
 
13
- helper "svg" do |path, **attributes|
13
+ helper "svg" do |path, attributes|
14
14
  render path, attributes
15
15
  end
16
16
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BridgetownSvgInliner
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridgetown-svg-inliner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ayush Newatia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-16 00:00:00.000000000 Z
11
+ date: 2021-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bridgetown
@@ -92,6 +92,7 @@ executables: []
92
92
  extensions: []
93
93
  extra_rdoc_files: []
94
94
  files:
95
+ - ".github/workflows/tests.yml"
95
96
  - ".gitignore"
96
97
  - ".rubocop.yml"
97
98
  - CHANGELOG.md