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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 2d48966aeb724a7c52f0cb964100531385a4b900
4
- data.tar.gz: 9374a8c1b281360cdb5652934ae3983d1d595c5e
2
+ SHA256:
3
+ metadata.gz: fcc78d489bcd6432070f4932732659cdaef48f7c52d133bbd279ad4614a8fcfa
4
+ data.tar.gz: 797a1906e28e2020e6fe2181a67d15352793ca6d10bd0aa4f045ab04ed061813
5
5
  SHA512:
6
- metadata.gz: 11be06474f5f34b094848039a21586331ec1061d31594aa45e278aadc4db50c33662dcb3527069867369bf35ca9159b20f4e79ef3e8afabc955e3d61d62df322
7
- data.tar.gz: 3e63f9c2bdce0585e877a238d69f2c94c9388b860018f89d57922475bc1bd6e572086ddb4139bd4b5f1cb5b5a265c8afc46512dcc3820b8d7f80f12c8cb7ea30
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: /.*/
@@ -0,0 +1,3 @@
1
+ mkdir ~/.gem
2
+ echo -e "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
3
+ chmod 0600 /home/circleci/.gem/credentials
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/issue_reference_filter'
4
+ require 'html/pipeline/issue_references/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "html-pipeline-issue_references"
8
- spec.version = HTML::Pipeline::IssueReferenceFilter::VERSION
9
- spec.authors = ["Derrick Reimer"]
10
- spec.email = ["derrickreimer@gmail.com"]
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 = "https://github.com/codetree/html-pipeline-issue_references"
15
- spec.license = "MIT"
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 = ["lib"]
17
+ spec.require_paths = ['lib']
21
18
 
22
- spec.add_dependency "html-pipeline", "~> 2.0"
19
+ spec.add_dependency 'html-pipeline', '~> 2.0'
23
20
 
24
- spec.add_development_dependency "bundler", "~> 1.8"
25
- spec.add_development_dependency "rake", "~> 10.0"
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
@@ -4,8 +4,6 @@ require "set"
4
4
  module HTML
5
5
  class Pipeline
6
6
  class IssueReferenceFilter < Filter
7
- VERSION = "1.0.0".freeze
8
-
9
7
  REPOSITORY_NAME = /[a-z0-9][a-z0-9\-]*\/[a-z0-9][a-z0-9\-_]*/ix
10
8
 
11
9
  # Match references of the form:
@@ -0,0 +1,7 @@
1
+ module HTML
2
+ class Pipeline
3
+ class IssueReferences
4
+ VERSION = "1.0.1".freeze
5
+ end
6
+ end
7
+ 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.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
+ - Codetree
7
8
  - Derrick Reimer
8
9
  autorequire:
9
- bindir: exe
10
+ bindir: bin
10
11
  cert_chain: []
11
- date: 2016-03-16 00:00:00.000000000 Z
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
- rubyforge_project:
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