markdown_views 2.2.1 → 2.2.2

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: 25a0fb5b00066a055d0b4c233759673fcd610526e49f2032895fe2fddc3eaf28
4
- data.tar.gz: 151a7d490fef3d447bf5e696974fbd3f74bb53264a908bf778636a2aafb877ce
3
+ metadata.gz: b8226d152dfa2b2d6b58d36ca7166f3b054c2d7ae9e464225d2ce667f53a4c36
4
+ data.tar.gz: 4f5f16391b55c1f6690f6a24f15e7cc093fcf2eda47c089673b3087e47bd8a10
5
5
  SHA512:
6
- metadata.gz: '009af435d553af463e18ecf712701e90bdd061658640606fa0243d9bd6207235eef7dffeacb5519730416bafc2f34272478919efb2965bfc63950686af43e9e7'
7
- data.tar.gz: b7a7393c0a961f4ecb5ac4caf490209aff862cae5e7ceb2876a847394ed3b2cb905f380fbaaaf505b5e6a964949fa97ab61efd178046ade2304541e6f784668c
6
+ metadata.gz: e99cc7b66a92d4d99da9d516b78d0302f0c7f30313168bc732a15201f64c1be56a3f2e7e0fee355ccf63321b805317b81519065e268f56a65c4c63079657c3b9
7
+ data.tar.gz: 89c8f06becaa43ed2449ac8a822fb41ff96e45426a9d9d470a85014e07535c40cd126a53940513ed144f584d02eeeb928862af6b932c0a13beea1a443ff69efd
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2020 thomas morgan
1
+ Copyright (c) 2014-2021 thomas morgan
2
2
 
3
3
  MIT License
4
4
 
@@ -1,3 +1,3 @@
1
1
  module MarkdownViews
2
- VERSION = '2.2.1'
2
+ VERSION = '2.2.2'
3
3
  end
@@ -18,11 +18,11 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'commonmarker', '>= 0.18.2', '< 0.22'
21
+ spec.add_dependency 'commonmarker', '>= 0.18.2', '< 0.23'
22
22
  spec.add_dependency 'rails', '>= 5.0', '< 6.2'
23
23
  spec.add_dependency 'rouge', '~> 3.3'
24
24
 
25
- spec.add_development_dependency "bundler", "~> 1.5"
25
+ # spec.add_development_dependency "bundler", "> 1.5"
26
26
  spec.add_development_dependency "minitest-reporters"
27
27
  spec.add_development_dependency "rake"
28
28
  end
@@ -16,7 +16,6 @@ class StripCommentsTest < Minitest::Test
16
16
  assert_equal "a c", strip_comments("a <!-- b --> c"), 'double whitespace'
17
17
  assert_equal "ac", strip_comments("a<!--b-->c"), 'comment w/o whitespace'
18
18
  assert_equal "a \nc", strip_comments("a <!-- b -->\nc"), 'trailing comment'
19
- # could drop trailing space, but is unnecessary
20
19
  assert_equal "a\n c", strip_comments("a\n<!-- b --> c"), 'leading comment'
21
20
  end
22
21
 
@@ -25,11 +24,7 @@ class StripCommentsTest < Minitest::Test
25
24
  assert_equal "14", strip_comments("1<!-- 2\n3 -->4"), 'no whitespace'
26
25
  assert_equal "1 4", strip_comments("1 <!-- 2\n3 --> 4"), 'with whitespace'
27
26
  assert_equal "1\n 4", strip_comments("1\n <!-- 2\n3 --> 4"), 'leading whitespace on comment'
28
- # ^
29
- # should this absorb whitespace (preceeding line 2) on an otherwise empty line? ... debatable
30
27
  assert_equal "1 \n4", strip_comments("1 <!-- 2\n3 --> \n4"), 'trailing whitespace on comment'
31
- # ^
32
- # this one too (the space following 3)?
33
28
  assert_equal "1 \n 4", strip_comments("1 \n<!-- 2\n3 --> 4"), 'trailing whitespace on line'
34
29
  assert_equal "1 \n 4", strip_comments("1 <!-- 2\n3 -->\n 4"), 'leading whitespace on line'
35
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_views
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-09 00:00:00.000000000 Z
11
+ date: 2021-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commonmarker
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 0.18.2
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '0.22'
22
+ version: '0.23'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 0.18.2
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '0.22'
32
+ version: '0.23'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rails
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -64,20 +64,6 @@ dependencies:
64
64
  - - "~>"
65
65
  - !ruby/object:Gem::Version
66
66
  version: '3.3'
67
- - !ruby/object:Gem::Dependency
68
- name: bundler
69
- requirement: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - "~>"
72
- - !ruby/object:Gem::Version
73
- version: '1.5'
74
- type: :development
75
- prerelease: false
76
- version_requirements: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - "~>"
79
- - !ruby/object:Gem::Version
80
- version: '1.5'
81
67
  - !ruby/object:Gem::Dependency
82
68
  name: minitest-reporters
83
69
  requirement: !ruby/object:Gem::Requirement
@@ -165,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
151
  - !ruby/object:Gem::Version
166
152
  version: '0'
167
153
  requirements: []
168
- rubygems_version: 3.0.8
154
+ rubygems_version: 3.2.15
169
155
  signing_key:
170
156
  specification_version: 4
171
157
  summary: Add .md template handler to Rails.