Skip to content

Commit 9234b7a

Browse files
authored
Version 0.2.0 release (#4)
* Cut v0.2.0 * Remove comment out lines * chore: Add frozen_string_literal comment * Update gem description * chore: Add metadata to gemspec
1 parent 53000c7 commit 9234b7a

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

.github/workflows/ci.yml

-7
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ jobs:
1111
strategy:
1212
matrix:
1313
ruby: ['2.7', '3.0', '3.1', '3.2']
14-
# gemfile:
15-
# - gemfiles/jekyll_3.9.gemfile
16-
# - gemfiles/jekyll_4.1.gemfile
17-
# - gemfiles/jekyll_4.2.gemfile
18-
# - gemfiles/jekyll_4.3.gemfile
19-
# env:
20-
# BUNDLE_GEMFILE: ${{ matrix.gemfile }}
2114
runs-on: ubuntu-latest
2215
steps:
2316
- uses: actions/checkout@v3

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![Build Status](https://travis-ci.com/toshimaru/kramdown-amp.svg?branch=master)](https://travis-ci.com/toshimaru/kramdown-amp)
22

3-
# kramdown-amp(Kramdown Converter for AMP)
3+
# kramdown-amp
44

55
kramdown-amp is [kramdown](https://kramdown.gettalong.org) converter for [AMP](https://amp.dev/). It works as a [Jekyll](https://jekyllrb.com)-plugin.
66

kramdown-amp.gemspec

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ Gem::Specification.new do |spec|
99
spec.email = ["[email protected]"]
1010

1111
spec.summary = %q{Kramdown AMP Converter}
12-
spec.description = %q{Kramdown AMP Converter}
12+
spec.description = %q{Kramdown AMP Converter: kramdown-amp is kramdown converter for AMP. It works as a Jekyll-plugin.}
1313
spec.homepage = "https://github.com/toshimaru/kramdown-amp"
1414
spec.license = "MIT"
15+
spec.required_ruby_version = '>= 2.7.0'
1516

1617
spec.files = `git ls-files -z`.split("\x0").reject do |f|
1718
f.match(%r{^(test|spec|features)/})
@@ -20,7 +21,9 @@ Gem::Specification.new do |spec|
2021
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2122
spec.require_paths = ["lib"]
2223

23-
spec.required_ruby_version = '>= 2.7'
24+
spec.metadata["homepage_uri"] = spec.homepage
25+
spec.metadata["source_code_uri"] = spec.homepage
26+
spec.metadata["changelog_uri"] = "https://github.com/toshimaru/kramdown-amp/releases"
2427

2528
spec.add_dependency 'fastimage'
2629
spec.add_dependency 'kramdown'

lib/kramdown/amp/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Kramdown
44
module Amp
5-
VERSION = "0.1.0"
5+
VERSION = '0.2.0'
66
end
77
end

test/kramdown/amp_test.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
require "test_helper"
1+
# frozen_string_literal: true
2+
3+
require 'test_helper'
24

35
class Kramdown::AmpTest < Minitest::Test
46
def test_that_it_has_a_version_number

test/test_helper.rb

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
2-
require "kramdown-amp"
1+
# frozen_string_literal: true
32

4-
require "minitest/autorun"
3+
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
4+
require 'kramdown-amp'
5+
6+
require 'minitest/autorun'

0 commit comments

Comments
 (0)