aviglitch 0.1.3 → 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.
metadata CHANGED
@@ -1,78 +1,114 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aviglitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - ucnv
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2011-08-19 00:00:00.000000000Z
11
+ date: 2021-09-13 00:00:00.000000000 Z
13
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 2.2.10
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 2.2.10
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 12.3.3
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 12.3.3
14
41
  - !ruby/object:Gem::Dependency
15
42
  name: rspec
16
- requirement: &2157607660 !ruby/object:Gem::Requirement
17
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
18
44
  requirements:
19
- - - ! '>='
45
+ - - ">="
20
46
  - !ruby/object:Gem::Version
21
- version: 2.0.0
47
+ version: '0'
22
48
  type: :development
23
49
  prerelease: false
24
- version_requirements: *2157607660
25
- description:
26
- email: ucnvvv@gmail.com
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: A Ruby library to destroy your AVI files.
56
+ email:
57
+ - ucnvvv@gmail.com
27
58
  executables:
28
59
  - datamosh
29
60
  extensions: []
30
61
  extra_rdoc_files:
31
- - ChangeLog
62
+ - README.md
32
63
  - LICENSE
33
- - README.rdoc
34
64
  files:
35
- - ChangeLog
36
- - README.rdoc
65
+ - ".github/workflows/ruby.yml"
66
+ - ".gitignore"
67
+ - ".rspec"
68
+ - ChangeLog.md
69
+ - Gemfile
70
+ - LICENSE
71
+ - README.md
37
72
  - Rakefile
38
- - VERSION
73
+ - aviglitch.gemspec
39
74
  - bin/datamosh
40
75
  - lib/aviglitch.rb
76
+ - lib/aviglitch/avi.rb
41
77
  - lib/aviglitch/base.rb
42
78
  - lib/aviglitch/frame.rb
43
79
  - lib/aviglitch/frames.rb
44
- - lib/aviglitch/tempfile.rb
80
+ - spec/avi2_spec.rb
45
81
  - spec/aviglitch_spec.rb
46
82
  - spec/datamosh_spec.rb
47
- - spec/files/sample.avi
48
83
  - spec/frames_spec.rb
49
84
  - spec/spec_helper.rb
50
- - LICENSE
51
- homepage: http://ucnv.github.com/aviglitch/
52
- licenses: []
53
- post_install_message:
54
- rdoc_options: []
85
+ homepage: https://github.com/ucnv/aviglitch
86
+ licenses:
87
+ - MIT
88
+ metadata: {}
89
+ post_install_message:
90
+ rdoc_options:
91
+ - "-m"
92
+ - README.md
55
93
  require_paths:
56
94
  - lib
57
95
  required_ruby_version: !ruby/object:Gem::Requirement
58
- none: false
59
96
  requirements:
60
- - - ! '>='
97
+ - - ">="
61
98
  - !ruby/object:Gem::Version
62
99
  version: '0'
63
100
  required_rubygems_version: !ruby/object:Gem::Requirement
64
- none: false
65
101
  requirements:
66
- - - ! '>='
102
+ - - ">="
67
103
  - !ruby/object:Gem::Version
68
104
  version: '0'
69
105
  requirements: []
70
- rubyforge_project:
71
- rubygems_version: 1.8.8
72
- signing_key:
73
- specification_version: 3
106
+ rubygems_version: 3.2.22
107
+ signing_key:
108
+ specification_version: 4
74
109
  summary: A Ruby library to destroy your AVI files.
75
110
  test_files:
111
+ - spec/avi2_spec.rb
76
112
  - spec/aviglitch_spec.rb
77
113
  - spec/datamosh_spec.rb
78
114
  - spec/frames_spec.rb
data/ChangeLog DELETED
@@ -1,40 +0,0 @@
1
- == 0.1.3 / 2011-08-19
2
- * Added has_keyframe? method to AviGlitch::Base
3
- * Added a --fake option to datamosh cli.
4
-
5
- == 0.1.2 / 2011-04-10
6
-
7
- * Fix to be able to handle data with offsets from 0 of the file.
8
- * Added clear_keyframes! method to AviGlitch::Frames and AviGlitch::Base.
9
- * Changed to be able to access frame's meta data.
10
- * Changed datamosh command to handle wildcard char.
11
-
12
- == 0.1.1 / 2010-09-09
13
-
14
- * Fixed a bug with windows.
15
- * Some tiny fixes.
16
-
17
- == 0.1.0 / 2010-07-09
18
-
19
- * Minor version up.
20
- * Fixed bugs with Ruby 1.8.7.
21
- * Fixed the synchronization problem with datamosh cli.
22
-
23
- == 0.0.3 / 2010-07-07
24
-
25
- * Changed AviGlitch::Frames allowing to slice and concatenate frames
26
- (like Array).
27
- * Changed datamosh cli to accept multiple files.
28
-
29
- == 0.0.2 / 2010-05-17
30
-
31
- * Removed AviGlitch#new. Use AviGlitch#open instead of #new.
32
- * Added warning for a large file.
33
- * Changed datamosh command interface.
34
- * Changed the library file layout.
35
- * And tiny internal changes.
36
-
37
- == 0.0.1 / 2009-08-01
38
-
39
- * initial release
40
-
data/README.rdoc DELETED
@@ -1,42 +0,0 @@
1
- = AviGlitch
2
-
3
- * http://ucnv.github.com/aviglitch/
4
-
5
- == Description
6
-
7
- AviGlitch destroys your AVI files.
8
-
9
- I can't explain why they're going to destroy their own data.
10
-
11
- See following urls for details;
12
- * vimeo http://www.vimeo.com/groups/artifacts
13
- * wikipedia http://en.wikipedia.org/wiki/Compression_artifact
14
-
15
- == Features/Problems
16
-
17
- * Not supports AVI2 files right now.
18
- * Not supports files with interleave.
19
- * Parses only container level structure, doesn't parse codecs.
20
-
21
- == Synopsis
22
-
23
- require 'aviglitch'
24
-
25
- avi = AviGlitch.open('/path/to/your.avi')
26
- avi.glitch(:keyframe) do |data|
27
- data.gsub(/\d/, '0')
28
- end
29
- avi.output('/path/to/broken.avi')
30
-
31
- This library also includes a command line tool named +datamosh+.
32
- It creates the keyframes removed video.
33
-
34
- $ datamosh /path/to/your.avi -o /path/to/broken.avi
35
-
36
- == Installation
37
-
38
- gem install aviglitch
39
-
40
- == Copyright
41
-
42
- Copyright (c) 2009 - 2010 ucnv. See LICENSE for details.
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.3
@@ -1,8 +0,0 @@
1
- module AviGlitch
2
- class Tempfile < Tempfile
3
- def initialize *args
4
- super *args
5
- self.binmode
6
- end
7
- end
8
- end
Binary file