kramdown-amp 0.0.1 → 0.1.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: fe7a9591a68849156474a2e01d2a1746ff8decd4a1abe7f7023bfc2614bdbe12
4
- data.tar.gz: 734092e8b277996e1e76a66ef44cd3833229785a91c71dd5803039623b09dbe4
3
+ metadata.gz: 331897bc7ed6d6b29186e3a811f604574ae9d2f90c704d61653b3ac2892be245
4
+ data.tar.gz: d8ac631f9e973e82306e45114ade5222c03a50207461b55183f47a5598003766
5
5
  SHA512:
6
- metadata.gz: 9881a3cfef5ecc4614cbf7644ca8282e649e2cb9ad9193578dcd733283eb7a20f95693c80164e39b4833e753ab9dfe1056e251de3a6ce8b0b286b4a791284ead
7
- data.tar.gz: fad7cc6fc793f580ee17768d539028d01ab60eee4e54c190e735ae81ca3ca9ec16a845370d081b1a973b34fa79e6da20eae37d75e1cdb5c02e58c3a302750707
6
+ metadata.gz: 959c5529e1b75218ec86b269d8227e2859459698adc450f1a2ef011799694453046a2428b6059bf95927d1b0de733da01bcdfc8f520e83b5c6c65dd4f764fe50
7
+ data.tar.gz: 340b2effecd110c6e11e4226c39d95277798cd0ef05d62ffe9aeafd8f9f98c30415119aa91ec8e23522bf9e14eeed1cf428bf09dd522161fb2dac36566cefe21
data/.travis.yml CHANGED
@@ -1,5 +1,8 @@
1
1
  sudo: false
2
2
  language: ruby
3
+ cache: bundler
3
4
  rvm:
5
+ - 2.4.0
4
6
  - 2.5.0
5
- before_install: gem install bundler -v 1.16.1
7
+ - 2.6.0
8
+ before_install: gem install bundler
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
- # Kramdown Converter for Amp
1
+ [![Build Status](https://travis-ci.com/toshimaru/kramdown-amp.svg?branch=master)](https://travis-ci.com/toshimaru/kramdown-amp)
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/kramdown/amp`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ # kramdown-amp(Kramdown Converter for AMP)
4
4
 
5
- ## Installation
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
+
7
+ ## Installation for Jekyll
6
8
 
7
9
  Add this line to your application's Gemfile:
8
10
 
@@ -10,13 +12,13 @@ Add this line to your application's Gemfile:
10
12
  gem 'kramdown-amp'
11
13
  ```
12
14
 
13
- And then execute:
14
-
15
- $ bundle
15
+ Then, add it to plugins list in `_config.yml`.
16
16
 
17
- Or install it yourself as:
18
-
19
- $ gem install kramdown-amp
17
+ ```yml
18
+ plugins:
19
+ - ...
20
+ - kramdown-amp
21
+ ```
20
22
 
21
23
  ## How it works
22
24
 
@@ -38,7 +40,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
38
40
 
39
41
  ## Contributing
40
42
 
41
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/kramdown-amp. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
43
+ Bug reports and pull requests are welcome on GitHub at https://github.com/toshimaru/kramdown-amp. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
42
44
 
43
45
  ## License
44
46
 
@@ -46,4 +48,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
46
48
 
47
49
  ## Code of Conduct
48
50
 
49
- Everyone interacting in the Kramdown::Amp project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/kramdown-amp/blob/master/CODE_OF_CONDUCT.md).
51
+ Everyone interacting in the Kramdown::Amp project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/toshimaru/kramdown-amp/blob/master/CODE_OF_CONDUCT.md).
data/bin/console CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "kramdown/amp"
4
+ require "kramdown-amp"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
data/kramdown-amp.gemspec CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  lib = File.expand_path("../lib", __FILE__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
@@ -21,10 +22,12 @@ Gem::Specification.new do |spec|
21
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
23
  spec.require_paths = ["lib"]
23
24
 
25
+ spec.required_ruby_version = '>= 2.4'
26
+
24
27
  spec.add_dependency "kramdown"
25
28
  spec.add_dependency "fastimage"
26
29
 
27
- spec.add_development_dependency "bundler", "~> 1.16"
28
- spec.add_development_dependency "rake", "~> 10.0"
29
- spec.add_development_dependency "minitest", "~> 5.0"
30
+ spec.add_development_dependency "bundler", ">= 2.0"
31
+ spec.add_development_dependency "rake"
32
+ spec.add_development_dependency "minitest"
30
33
  end
data/lib/kramdown-amp.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'fastimage'
2
4
  require 'kramdown/converter/html'
3
5
  require 'kramdown/converter/amp'
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Kramdown
2
4
  module Amp
3
- VERSION = "0.0.1"
5
+ VERSION = "0.1.0"
4
6
  end
5
7
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Kramdown
2
4
  module Converter
3
5
  module Amp
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kramdown-amp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - toshimaru
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-02 00:00:00.000000000 Z
11
+ date: 2019-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown
@@ -42,44 +42,44 @@ dependencies:
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '1.16'
47
+ version: '2.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '1.16'
54
+ version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '10.0'
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '10.0'
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: minitest
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '5.0'
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '5.0'
82
+ version: '0'
83
83
  description: Kramdown AMP Converter
84
84
  email:
85
85
  - me@toshimaru.net
@@ -112,15 +112,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - ">="
114
114
  - !ruby/object:Gem::Version
115
- version: '0'
115
+ version: '2.4'
116
116
  required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  requirements:
118
118
  - - ">="
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubyforge_project:
123
- rubygems_version: 2.7.3
122
+ rubygems_version: 3.0.3
124
123
  signing_key:
125
124
  specification_version: 4
126
125
  summary: Kramdown AMP Converter