html-pipeline-issue_references 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 +5 -5
- data/.circleci/config.yml +76 -0
- data/.circleci/setup-rubygems.sh +3 -0
- data/README.md +5 -0
- data/html-pipeline-issue_references.gemspec +12 -14
- data/lib/html/pipeline/issue_reference_filter.rb +0 -2
- data/lib/html/pipeline/issue_references/version.rb +7 -0
- metadata +23 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: fcc78d489bcd6432070f4932732659cdaef48f7c52d133bbd279ad4614a8fcfa
|
4
|
+
data.tar.gz: 797a1906e28e2020e6fe2181a67d15352793ca6d10bd0aa4f045ab04ed061813
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecab36545b858303d02f301dbe019668b7fe89a09d5f3004a5bb0436e936f0ab6cbe7550810d808908df5b914c19cf4750cac79ff9ca90cd9a2b0452299fb502
|
7
|
+
data.tar.gz: f8c59fdea78193761c8582ed357616d283bc7f87185cedbf0d02f7e8e29572b5541180d97f16b4a26b33181f3da228523e8b560353c374e8fe7563c43fad541e
|
@@ -0,0 +1,76 @@
|
|
1
|
+
version: 2.1
|
2
|
+
|
3
|
+
environment: &environment
|
4
|
+
LOG_LEVEL: WARN
|
5
|
+
|
6
|
+
jobs:
|
7
|
+
unit_tests:
|
8
|
+
working_directory: ~/repos/html-pipeline-issue_references
|
9
|
+
|
10
|
+
docker:
|
11
|
+
- image: circleci/ruby:2.6.4-buster-node
|
12
|
+
environment:
|
13
|
+
<<: *environment
|
14
|
+
|
15
|
+
steps:
|
16
|
+
- checkout
|
17
|
+
|
18
|
+
- run:
|
19
|
+
name: check dependencies
|
20
|
+
command: |
|
21
|
+
bundle -v
|
22
|
+
bundle exec ruby -v
|
23
|
+
|
24
|
+
- restore_cache:
|
25
|
+
keys:
|
26
|
+
- issue-references-bundle-v2-{{ checksum "html-pipeline-issue_references.gemspec" }}
|
27
|
+
- issue-references-bundle-v2-
|
28
|
+
|
29
|
+
- run:
|
30
|
+
name: install gems
|
31
|
+
command: bundle install && bundle clean
|
32
|
+
|
33
|
+
- save_cache:
|
34
|
+
key: issue-references-bundle-v2-{{ checksum "html-pipeline-issue_references.gemspec" }}
|
35
|
+
paths:
|
36
|
+
- vendor/bundle
|
37
|
+
|
38
|
+
- run:
|
39
|
+
name: run unit tests
|
40
|
+
command: bundle exec rake test
|
41
|
+
|
42
|
+
- store_test_results:
|
43
|
+
path: test_results
|
44
|
+
|
45
|
+
publish_to_rubygems:
|
46
|
+
working_directory: ~/repos/html-pipeline-issue_references
|
47
|
+
|
48
|
+
docker:
|
49
|
+
- image: circleci/ruby:2.6.4-buster-node
|
50
|
+
environment:
|
51
|
+
<<: *environment
|
52
|
+
|
53
|
+
steps:
|
54
|
+
- checkout
|
55
|
+
|
56
|
+
- run:
|
57
|
+
name: setup Rubygems
|
58
|
+
command: bash .circleci/setup-rubygems.sh
|
59
|
+
|
60
|
+
- run:
|
61
|
+
name: publish to Rubygems
|
62
|
+
command: |
|
63
|
+
gem build html-pipeline-issue_references.gemspec
|
64
|
+
gem push "html-pipeline-issue_references-$(git describe --abbrev=0 --tags | cut -c 2-).gem"
|
65
|
+
|
66
|
+
workflows:
|
67
|
+
version: 2
|
68
|
+
build_and_test:
|
69
|
+
jobs:
|
70
|
+
- unit_tests
|
71
|
+
- publish_to_rubygems:
|
72
|
+
filters:
|
73
|
+
tags:
|
74
|
+
only: /.*/
|
75
|
+
branches:
|
76
|
+
ignore: /.*/
|
data/README.md
CHANGED
@@ -64,3 +64,8 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
64
64
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
65
65
|
4. Push to the branch (`git push origin my-new-feature`)
|
66
66
|
5. Create a new Pull Request
|
67
|
+
|
68
|
+
## Updating RubyGems
|
69
|
+
1. Ensure you have the desired branch `git checkout master && git fetch origin && git pull`
|
70
|
+
2. Create an annotated tag `git tag -a v1.0.1 -m "msg with the tag"`
|
71
|
+
3. Push tag to Github `github push --tags`
|
@@ -1,26 +1,24 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'html/pipeline/
|
4
|
+
require 'html/pipeline/issue_references/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
8
|
-
spec.version = HTML::Pipeline::
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
11
|
-
|
7
|
+
spec.name = 'html-pipeline-issue_references'
|
8
|
+
spec.version = HTML::Pipeline::IssueReferences::VERSION
|
9
|
+
spec.authors = ['Codetree', 'Derrick Reimer']
|
10
|
+
spec.email = ['support@codetree.com', 'derrickreimer@gmail.com']
|
12
11
|
spec.summary = %q{An HTML::Pipeline filter for auto-linking GitHub issue references}
|
13
12
|
spec.description = spec.summary
|
14
|
-
spec.homepage =
|
15
|
-
spec.license =
|
16
|
-
|
13
|
+
spec.homepage = 'https://github.com/codetree/html-pipeline-issue_references'
|
14
|
+
spec.license = 'MIT'
|
17
15
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
-
spec.bindir = "exe"
|
19
16
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
-
spec.require_paths = [
|
17
|
+
spec.require_paths = ['lib']
|
21
18
|
|
22
|
-
spec.add_dependency
|
19
|
+
spec.add_dependency 'html-pipeline', '~> 2.0'
|
23
20
|
|
24
|
-
spec.add_development_dependency
|
25
|
-
spec.add_development_dependency
|
21
|
+
spec.add_development_dependency 'bundler', '~> 1.8'
|
22
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
23
|
+
spec.add_development_dependency 'minitest', '~> 5.0'
|
26
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html-pipeline-issue_references
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
+
- Codetree
|
7
8
|
- Derrick Reimer
|
8
9
|
autorequire:
|
9
|
-
bindir:
|
10
|
+
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2020-01-15 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: html-pipeline
|
@@ -52,13 +53,30 @@ dependencies:
|
|
52
53
|
- - "~>"
|
53
54
|
- !ruby/object:Gem::Version
|
54
55
|
version: '10.0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: minitest
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '5.0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '5.0'
|
55
70
|
description: An HTML::Pipeline filter for auto-linking GitHub issue references
|
56
71
|
email:
|
72
|
+
- support@codetree.com
|
57
73
|
- derrickreimer@gmail.com
|
58
74
|
executables: []
|
59
75
|
extensions: []
|
60
76
|
extra_rdoc_files: []
|
61
77
|
files:
|
78
|
+
- ".circleci/config.yml"
|
79
|
+
- ".circleci/setup-rubygems.sh"
|
62
80
|
- ".gitignore"
|
63
81
|
- ".travis.yml"
|
64
82
|
- Gemfile
|
@@ -69,6 +87,7 @@ files:
|
|
69
87
|
- bin/setup
|
70
88
|
- html-pipeline-issue_references.gemspec
|
71
89
|
- lib/html/pipeline/issue_reference_filter.rb
|
90
|
+
- lib/html/pipeline/issue_references/version.rb
|
72
91
|
homepage: https://github.com/codetree/html-pipeline-issue_references
|
73
92
|
licenses:
|
74
93
|
- MIT
|
@@ -88,8 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
107
|
- !ruby/object:Gem::Version
|
89
108
|
version: '0'
|
90
109
|
requirements: []
|
91
|
-
|
92
|
-
rubygems_version: 2.4.5
|
110
|
+
rubygems_version: 3.0.3
|
93
111
|
signing_key:
|
94
112
|
specification_version: 4
|
95
113
|
summary: An HTML::Pipeline filter for auto-linking GitHub issue references
|