srt_subtitle_validator 0.1.7 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,10 +18,14 @@ Gem::Specification.new do |spec|
18
18
  spec.bindir = 'bin'
19
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
+ spec.test_files = Dir.glob('spec/**/*')
22
+ spec.required_rubygems_version = '>= 2.6.3'
21
23
 
22
- spec.add_development_dependency 'bundler', '~> 1.16'
23
- spec.add_development_dependency 'rake', '~> 10.0'
24
- spec.add_development_dependency 'pry', '~> 0.10'
25
24
 
26
- spec.add_runtime_dependency 'thor', '~> 0.20'
25
+ spec.add_development_dependency 'bundler', '~> 2.0'
26
+ spec.add_development_dependency 'pry', '~> 0.13'
27
+ spec.add_development_dependency 'rake', '~> 12.3'
28
+ spec.add_development_dependency 'rspec', '~> 3.9'
29
+
30
+ spec.add_runtime_dependency 'thor', '~> 1.0'
27
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: srt_subtitle_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukáš Pokorný
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-20 00:00:00.000000000 Z
11
+ date: 2020-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,56 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '2.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.13'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.13'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '10.0'
47
+ version: '12.3'
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: '10.0'
54
+ version: '12.3'
41
55
  - !ruby/object:Gem::Dependency
42
- name: pry
56
+ name: rspec
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: '0.10'
61
+ version: '3.9'
48
62
  type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: '0.10'
68
+ version: '3.9'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: thor
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '0.20'
75
+ version: '1.0'
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '0.20'
82
+ version: '1.0'
69
83
  description: For check encoding and srt subtitle number sequence
70
84
  email:
71
85
  - luk4s.pokorny@gmail.com
@@ -75,22 +89,42 @@ extensions: []
75
89
  extra_rdoc_files: []
76
90
  files:
77
91
  - ".gitignore"
92
+ - ".rspec"
78
93
  - Gemfile
94
+ - Gemfile.lock
79
95
  - LICENSE.txt
80
96
  - README.md
81
97
  - Rakefile
82
98
  - bin/srt_checker
83
99
  - lib/srt_subtitle_validator.rb
84
100
  - lib/srt_subtitle_validator/cli.rb
101
+ - lib/srt_subtitle_validator/srt_block.rb
85
102
  - lib/srt_subtitle_validator/srt_file.rb
86
103
  - lib/srt_subtitle_validator/validator.rb
87
104
  - lib/srt_subtitle_validator/version.rb
105
+ - pkg/Srt checker.workflow/Contents/Info.plist
106
+ - pkg/Srt checker.workflow/Contents/QuickLook/Preview.png
107
+ - pkg/Srt checker.workflow/Contents/QuickLook/Thumbnail.png
108
+ - pkg/Srt checker.workflow/Contents/_CodeSignature/CodeDirectory
109
+ - pkg/Srt checker.workflow/Contents/_CodeSignature/CodeRequirements
110
+ - pkg/Srt checker.workflow/Contents/_CodeSignature/CodeRequirements-1
111
+ - pkg/Srt checker.workflow/Contents/_CodeSignature/CodeResources
112
+ - pkg/Srt checker.workflow/Contents/_CodeSignature/CodeSignature
113
+ - pkg/Srt checker.workflow/Contents/_CodeSignature/CodeTopDirectory
114
+ - pkg/Srt checker.workflow/Contents/document.wflow
115
+ - spec/fixtures/files/cp1250-crlf.srt
116
+ - spec/fixtures/files/utf8-crlf.srt
117
+ - spec/fixtures/files/utf8-invalid-blocks.srt
118
+ - spec/spec_helper.rb
119
+ - spec/srt_block_spec.rb
120
+ - spec/srt_file_spec.rb
121
+ - spec/srt_validator_spec.rb
88
122
  - srt_subtitle_validator.gemspec
89
123
  homepage: https://github.com/luk4s/srt-subtitle-validator
90
124
  licenses:
91
125
  - MIT
92
126
  metadata: {}
93
- post_install_message:
127
+ post_install_message:
94
128
  rdoc_options: []
95
129
  require_paths:
96
130
  - lib
@@ -103,11 +137,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
137
  requirements:
104
138
  - - ">="
105
139
  - !ruby/object:Gem::Version
106
- version: '0'
140
+ version: 2.6.3
107
141
  requirements: []
108
- rubyforge_project:
109
- rubygems_version: 2.7.7
110
- signing_key:
142
+ rubygems_version: 3.0.6
143
+ signing_key:
111
144
  specification_version: 4
112
145
  summary: SRT subtitle file checker, validator
113
- test_files: []
146
+ test_files:
147
+ - spec/spec_helper.rb
148
+ - spec/srt_validator_spec.rb
149
+ - spec/srt_block_spec.rb
150
+ - spec/srt_file_spec.rb
151
+ - spec/fixtures/files/utf8-crlf.srt
152
+ - spec/fixtures/files/utf8-invalid-blocks.srt
153
+ - spec/fixtures/files/cp1250-crlf.srt