pandoc2review 1.5.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,29 +1,36 @@
1
1
  Gem::Specification.new do |spec|
2
- spec.name = "pandoc2review"
3
- spec.version = "1.5.0"
4
- spec.authors = ["Kenshi Muto"]
5
- spec.email = ["kmuto@kmuto.jp"]
6
- spec.license = "GPL-2.0"
2
+ spec.name = 'pandoc2review'
3
+ spec.version = '2.0.0'
4
+ spec.authors = ['Kenshi Muto']
5
+ spec.email = ['kmuto@kmuto.jp']
6
+ spec.license = 'GPL-2.0'
7
+ spec.metadata = { 'rubygems_mfa_required' => 'true' }
7
8
 
8
- spec.summary = %q{Pandoc2review is a converter from any document to Re:VIEW format (using Pandoc)}
9
- spec.description = %q{It provides Re:VIEW Writer/Filter for Pandoc, and Ruby script to make it easier to handle.}
10
- spec.homepage = "https://github.com/kmuto/pandoc2review"
11
- spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
9
+ spec.summary = 'Pandoc2review is a converter from any document to Re:VIEW format (using Pandoc)'
10
+ spec.description = 'It provides Re:VIEW Writer/Filter for Pandoc, and Ruby script to make it easier to handle.'
11
+ spec.homepage = 'https://github.com/kmuto/pandoc2review'
12
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
12
13
 
13
- spec.metadata["homepage_uri"] = spec.homepage
14
- spec.metadata["source_code_uri"] = "https://github.com/kmuto/pandoc2review"
15
- # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
14
+ spec.metadata['homepage_uri'] = spec.homepage
15
+ spec.metadata['source_code_uri'] = 'https://github.com/kmuto/pandoc2review'
16
+ # spec.metadata['changelog_uri'] = "TODO: Put your gem's CHANGELOG.md URL here."
16
17
 
17
18
  # Specify which files should be added to the gem when it is released.
18
19
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
20
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
20
21
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21
22
  end
22
- spec.bindir = "exe"
23
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
- spec.require_paths = ["lib", "lua"]
23
+
24
+ spec.bindir = 'exe'
25
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ['lib', 'lua']
25
27
 
26
28
  spec.add_dependency('unicode-eaw')
27
29
  spec.add_development_dependency('simplecov')
28
30
  spec.add_development_dependency('test-unit')
31
+
32
+ spec.add_development_dependency('rake', '~> 12.0')
33
+ spec.add_development_dependency('rubocop', '~> 1.50')
34
+ spec.add_development_dependency('rubocop-performance')
35
+ spec.add_development_dependency('rubocop-rake')
29
36
  end
data/stylua.toml ADDED
@@ -0,0 +1,3 @@
1
+ indent_type = "Spaces"
2
+ indent_width = 2
3
+ column_width = 120
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pandoc2review
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenshi Muto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-03 00:00:00.000000000 Z
11
+ date: 2023-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unicode-eaw
@@ -52,6 +52,62 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '12.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '12.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.50'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.50'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-performance
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
55
111
  description: It provides Re:VIEW Writer/Filter for Pandoc, and Ruby script to make
56
112
  it easier to handle.
57
113
  email:
@@ -61,8 +117,10 @@ executables:
61
117
  extensions: []
62
118
  extra_rdoc_files: []
63
119
  files:
120
+ - ".github/workflows/lint.yml"
64
121
  - ".github/workflows/pandoc.yml"
65
122
  - ".gitignore"
123
+ - ".rubocop.yml"
66
124
  - Gemfile
67
125
  - LICENSE
68
126
  - README.md
@@ -98,10 +156,12 @@ files:
98
156
  - samples/reviewsample/sty/review-style.sty
99
157
  - samples/reviewsample/sty/reviewmacro.sty
100
158
  - samples/reviewsample/style.css
159
+ - stylua.toml
101
160
  homepage: https://github.com/kmuto/pandoc2review
102
161
  licenses:
103
162
  - GPL-2.0
104
163
  metadata:
164
+ rubygems_mfa_required: 'true'
105
165
  homepage_uri: https://github.com/kmuto/pandoc2review
106
166
  source_code_uri: https://github.com/kmuto/pandoc2review
107
167
  post_install_message: