html-pipeline-mrkdwn 0.1.3 → 0.1.5

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: 3d71d10b0f26362ae7ec286694ca5e0193b905a01accd90038c967b004e2d21f
4
- data.tar.gz: 56310b6b6f8c4c298fe8564f2dd458c189beded57d399e557815663cd77ffbe7
3
+ metadata.gz: 24d6c10bc08b82e72a2a1d47aa069c7a3d1d4a923d446a9f1793433b346d2e4d
4
+ data.tar.gz: db99716f93d2b48fff95b782c8eef9b4485ef33a72d0b53305dd24c7f93f1863
5
5
  SHA512:
6
- metadata.gz: 8fedf4c026e4a70556c6f14d31b83d61975beef4a4ba740b22c5b3f4648b8947a6c20c139fa81b4039e494b8db1093cc98eeec238c43ec2420d146e40bbaa7d5
7
- data.tar.gz: 0bd5eed5f37c9d1fbe6036fcbdba6dd72ca69a4664f66d53c940b96746a0d5c948c6b0ee5263e239e3a31b002bf5239294894bba52802c9952161744f5d5672c
6
+ metadata.gz: c51c9141772ac9b1c76e67b56d8bbb4d79bfddcc43b2daff3b6657c195e3621093bb8df19632cf792705449040b06b1d540725253ec7e47873a23a9024441e42
7
+ data.tar.gz: cb6bd0b954492199966c648b7053a7d58db2dca59047c09881f84a4fe39e460e40f070e930676ec6fd860741621ae5612315ba7dfdc5e99f1143aebf58a69d67
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.4] - 2022-12-28
4
+
5
+ - Move pipeline.rb into /helpers
6
+
3
7
  ## [0.1.3] - 2022-12-28
4
8
 
5
9
  - Remove bundler from bin/mrkdwn
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- html-pipeline-mrkdwn (0.1.2)
4
+ html-pipeline-mrkdwn (0.1.4)
5
5
  escape_utils (~> 1.3.0)
6
6
  gemoji (~> 4.0.1)
7
7
  html-pipeline (~> 2.14.3)
@@ -16,7 +16,6 @@ GEM
16
16
  tzinfo (~> 2.0)
17
17
  ast (2.4.2)
18
18
  concurrent-ruby (1.1.10)
19
- diff-lcs (1.5.0)
20
19
  escape_utils (1.3.0)
21
20
  gemoji (4.0.1)
22
21
  html-pipeline (2.14.3)
@@ -26,7 +25,9 @@ GEM
26
25
  concurrent-ruby (~> 1.0)
27
26
  json (2.6.3)
28
27
  mini_portile2 (2.8.1)
29
- minitest (5.16.3)
28
+ minitest (5.17.0)
29
+ minitest-rg (5.2.0)
30
+ minitest (~> 5.0)
30
31
  nokogiri (1.13.10)
31
32
  mini_portile2 (~> 2.8.0)
32
33
  racc (~> 1.4)
@@ -38,19 +39,6 @@ GEM
38
39
  rake (13.0.6)
39
40
  regexp_parser (2.6.1)
40
41
  rexml (3.2.5)
41
- rspec (3.12.0)
42
- rspec-core (~> 3.12.0)
43
- rspec-expectations (~> 3.12.0)
44
- rspec-mocks (~> 3.12.0)
45
- rspec-core (3.12.0)
46
- rspec-support (~> 3.12.0)
47
- rspec-expectations (3.12.1)
48
- diff-lcs (>= 1.2.0, < 2.0)
49
- rspec-support (~> 3.12.0)
50
- rspec-mocks (3.12.1)
51
- diff-lcs (>= 1.2.0, < 2.0)
52
- rspec-support (~> 3.12.0)
53
- rspec-support (3.12.0)
54
42
  rubocop (1.41.1)
55
43
  json (~> 2.3)
56
44
  parallel (~> 1.10)
@@ -73,8 +61,9 @@ PLATFORMS
73
61
 
74
62
  DEPENDENCIES
75
63
  html-pipeline-mrkdwn!
64
+ minitest (~> 5.17.0)
65
+ minitest-rg (~> 5.2.0)
76
66
  rake (~> 13.0)
77
- rspec (~> 3.12.0)
78
67
  rubocop (~> 1.21)
79
68
 
80
69
  BUNDLED WITH
data/Rakefile CHANGED
@@ -1,12 +1,18 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "bundler/gem_tasks"
4
- require "rspec/core/rake_task"
5
4
 
6
5
  require "rubocop/rake_task"
7
6
 
8
7
  RuboCop::RakeTask.new
9
8
 
10
- RSpec::Core::RakeTask.new(:spec)
9
+ require "minitest/test_task"
11
10
 
12
- task :default => :spec
11
+ Minitest::TestTask.create(:test) do |t|
12
+ t.libs << "test"
13
+ t.libs << "lib"
14
+ t.warning = false
15
+ t.test_globs = ["test/**/*_test.rb"]
16
+ end
17
+
18
+ task default: :test
data/bin/mrkdwn CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- require_relative "../pipeline"
4
+ require_relative "../lib/html/pipeline/mrkdwn/helpers/pipeline"
5
5
 
6
6
  puts PIPELINE.to_html ARGV.shift
@@ -3,7 +3,7 @@
3
3
  # A default pipeline for Slack messages using mrkdwn.
4
4
 
5
5
  require "bundler/setup"
6
- require_relative "lib/html/pipeline/mrkdwn"
6
+ require_relative "../../mrkdwn"
7
7
 
8
8
  PIPELINE = HTML::Pipeline.new [
9
9
  HTML::Pipeline::PlainTextInputFilter,
@@ -3,7 +3,7 @@
3
3
  module HTML
4
4
  class Pipeline
5
5
  class Mrkdwn < Filter
6
- VERSION = "0.1.3"
6
+ VERSION = "0.1.5"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-pipeline-mrkdwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Gorst
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-28 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: escape_utils
@@ -53,19 +53,33 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.14.3
55
55
  - !ruby/object:Gem::Dependency
56
- name: rspec
56
+ name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 3.12.0
61
+ version: 5.17.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: 3.12.0
68
+ version: 5.17.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest-rg
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 5.2.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 5.2.0
69
83
  description: An HTML::Pipeline filter for Slack's mrkdwn markup language.
70
84
  email: jason.gorst@me.com
71
85
  executables:
@@ -73,7 +87,6 @@ executables:
73
87
  extensions: []
74
88
  extra_rdoc_files: []
75
89
  files:
76
- - ".rspec"
77
90
  - ".rubocop.yml"
78
91
  - CHANGELOG.md
79
92
  - CODE_OF_CONDUCT.md
@@ -84,9 +97,9 @@ files:
84
97
  - Rakefile
85
98
  - bin/mrkdwn
86
99
  - lib/html/pipeline/mrkdwn.rb
100
+ - lib/html/pipeline/mrkdwn/helpers/pipeline.rb
87
101
  - lib/html/pipeline/mrkdwn/mrkdwn_filter.rb
88
102
  - lib/html/pipeline/mrkdwn/version.rb
89
- - pipeline.rb
90
103
  homepage: https://github.com/jasongorst/html-pipeline-mrkdwn
91
104
  licenses:
92
105
  - MIT
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper