kramdown-amp 0.1.0 → 0.2.0

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: 331897bc7ed6d6b29186e3a811f604574ae9d2f90c704d61653b3ac2892be245
4
- data.tar.gz: d8ac631f9e973e82306e45114ade5222c03a50207461b55183f47a5598003766
3
+ metadata.gz: ff83de923098f59dfa8f203c21e5498399d336e431dd8df71b6c0f9cb517f314
4
+ data.tar.gz: 58b13adc868e794bc13affe7049f2339ca8eeaf16ad40d456431a132f35ef555
5
5
  SHA512:
6
- metadata.gz: 959c5529e1b75218ec86b269d8227e2859459698adc450f1a2ef011799694453046a2428b6059bf95927d1b0de733da01bcdfc8f520e83b5c6c65dd4f764fe50
7
- data.tar.gz: 340b2effecd110c6e11e4226c39d95277798cd0ef05d62ffe9aeafd8f9f98c30415119aa91ec8e23522bf9e14eeed1cf428bf09dd522161fb2dac36566cefe21
6
+ metadata.gz: eebe65d0ae457ca66548880e6fb441ebf024fd03cb19e39e84ee34fdc819dc404c1b3f085f47ff8196b8e2d6cebe396832489672fc566bb4649988dcc995118f
7
+ data.tar.gz: 5fb75a96dde0f5a110916ab34db473366695bc5f1fd47f1e22bebceaf6211b5a3cdbb8ae83ec0c377e0f52a0149f54b1f35654c2793bb0e5bc2a27eaeb58b1f7
@@ -0,0 +1,23 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+
9
+ jobs:
10
+ test:
11
+ strategy:
12
+ matrix:
13
+ ruby: ['2.7', '3.0', '3.1', '3.2']
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - name: Set up Ruby ${{ matrix.ruby }}
18
+ uses: ruby/setup-ruby@v1
19
+ with:
20
+ ruby-version: ${{ matrix.ruby }}
21
+ bundler-cache: true
22
+ - name: Run Test
23
+ run: bundle exec rake
data/Gemfile CHANGED
@@ -1,6 +1,10 @@
1
- source "https://rubygems.org"
1
+ # frozen_string_literal: true
2
2
 
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
3
+ source "https://rubygems.org"
4
4
 
5
5
  # Specify your gem's dependencies in kramdown-amp.gemspec
6
6
  gemspec
7
+
8
+ gem "bundler"
9
+ gem "rake"
10
+ gem "minitest"
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2018 toshimaru
3
+ Copyright (c) 2018-2023 toshimaru
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- [![Build Status](https://travis-ci.com/toshimaru/kramdown-amp.svg?branch=master)](https://travis-ci.com/toshimaru/kramdown-amp)
1
+ [![CI](https://github.com/toshimaru/kramdown-amp/actions/workflows/ci.yml/badge.svg)](https://github.com/toshimaru/kramdown-amp/actions/workflows/ci.yml)
2
2
 
3
- # kramdown-amp(Kramdown Converter for AMP)
3
+ # kramdown-amp
4
4
 
5
5
  kramdown-amp is [kramdown](https://kramdown.gettalong.org) converter for [AMP](https://amp.dev/). It works as a [Jekyll](https://jekyllrb.com)-plugin.
6
6
 
@@ -8,7 +8,7 @@ kramdown-amp is [kramdown](https://kramdown.gettalong.org) converter for [AMP](h
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
- ```ruby
11
+ ```rb
12
12
  gem 'kramdown-amp'
13
13
  ```
14
14
 
data/kramdown-amp.gemspec CHANGED
@@ -1,8 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path("../lib", __FILE__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require "kramdown/amp/version"
3
+ require_relative 'lib/kramdown/amp/version'
6
4
 
7
5
  Gem::Specification.new do |spec|
8
6
  spec.name = "kramdown-amp"
@@ -11,9 +9,10 @@ Gem::Specification.new do |spec|
11
9
  spec.email = ["me@toshimaru.net"]
12
10
 
13
11
  spec.summary = %q{Kramdown AMP Converter}
14
- 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.}
15
13
  spec.homepage = "https://github.com/toshimaru/kramdown-amp"
16
14
  spec.license = "MIT"
15
+ spec.required_ruby_version = '>= 2.7.0'
17
16
 
18
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
18
  f.match(%r{^(test|spec|features)/})
@@ -22,12 +21,10 @@ Gem::Specification.new do |spec|
22
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
22
  spec.require_paths = ["lib"]
24
23
 
25
- spec.required_ruby_version = '>= 2.4'
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"
26
27
 
27
- spec.add_dependency "kramdown"
28
- spec.add_dependency "fastimage"
29
-
30
- spec.add_development_dependency "bundler", ">= 2.0"
31
- spec.add_development_dependency "rake"
32
- spec.add_development_dependency "minitest"
28
+ spec.add_dependency 'fastimage'
29
+ spec.add_dependency 'kramdown'
33
30
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kramdown
4
4
  module Amp
5
- VERSION = "0.1.0"
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kramdown-amp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - toshimaru
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-05 00:00:00.000000000 Z
11
+ date: 2023-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: kramdown
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: fastimage
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -39,56 +25,29 @@ dependencies:
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
- name: bundler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '2.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '2.0'
55
- - !ruby/object:Gem::Dependency
56
- name: rake
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: minitest
28
+ name: kramdown
71
29
  requirement: !ruby/object:Gem::Requirement
72
30
  requirements:
73
31
  - - ">="
74
32
  - !ruby/object:Gem::Version
75
33
  version: '0'
76
- type: :development
34
+ type: :runtime
77
35
  prerelease: false
78
36
  version_requirements: !ruby/object:Gem::Requirement
79
37
  requirements:
80
38
  - - ">="
81
39
  - !ruby/object:Gem::Version
82
40
  version: '0'
83
- description: Kramdown AMP Converter
41
+ description: 'Kramdown AMP Converter: kramdown-amp is kramdown converter for AMP.
42
+ It works as a Jekyll-plugin.'
84
43
  email:
85
44
  - me@toshimaru.net
86
45
  executables: []
87
46
  extensions: []
88
47
  extra_rdoc_files: []
89
48
  files:
49
+ - ".github/workflows/ci.yml"
90
50
  - ".gitignore"
91
- - ".travis.yml"
92
51
  - CODE_OF_CONDUCT.md
93
52
  - Gemfile
94
53
  - LICENSE.txt
@@ -103,8 +62,11 @@ files:
103
62
  homepage: https://github.com/toshimaru/kramdown-amp
104
63
  licenses:
105
64
  - MIT
106
- metadata: {}
107
- post_install_message:
65
+ metadata:
66
+ homepage_uri: https://github.com/toshimaru/kramdown-amp
67
+ source_code_uri: https://github.com/toshimaru/kramdown-amp
68
+ changelog_uri: https://github.com/toshimaru/kramdown-amp/releases
69
+ post_install_message:
108
70
  rdoc_options: []
109
71
  require_paths:
110
72
  - lib
@@ -112,15 +74,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
74
  requirements:
113
75
  - - ">="
114
76
  - !ruby/object:Gem::Version
115
- version: '2.4'
77
+ version: 2.7.0
116
78
  required_rubygems_version: !ruby/object:Gem::Requirement
117
79
  requirements:
118
80
  - - ">="
119
81
  - !ruby/object:Gem::Version
120
82
  version: '0'
121
83
  requirements: []
122
- rubygems_version: 3.0.3
123
- signing_key:
84
+ rubygems_version: 3.4.1
85
+ signing_key:
124
86
  specification_version: 4
125
87
  summary: Kramdown AMP Converter
126
88
  test_files: []
data/.travis.yml DELETED
@@ -1,8 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- cache: bundler
4
- rvm:
5
- - 2.4.0
6
- - 2.5.0
7
- - 2.6.0
8
- before_install: gem install bundler