aviglitch 0.1.5 → 0.1.6

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
- SHA1:
3
- metadata.gz: d8610f1301a71bd6c5a5d9e1105446c59cf85096
4
- data.tar.gz: e1f32645446c888568c31310edeb69b261505438
2
+ SHA256:
3
+ metadata.gz: 67b4c434f616f3731fd09f5b0d0263e634cc87148e8fad42dd38e6b4d554222a
4
+ data.tar.gz: a61ad04a958aec548dec7b554ec8f1b24ff5973d4fa76862dc0ca067fccbeb11
5
5
  SHA512:
6
- metadata.gz: 8b8181d9fd7890662ed170a8306acd06afec3192817beee8b2a7f9190fcb2368fe681d8b9a281ee7f8a9fd3bf159862249f7ed7390f91ee951fc684505c136c0
7
- data.tar.gz: 7061df30ab5357bbb9ed4b5a78358946cc0a4fd378e55541bf03b5f2b61619cda82de26e85a923dcd19ac946613aad4ddbade6b11152ff3e0d02faa88706a346
6
+ metadata.gz: 20b11703e84322c798b7a450508d9848f0dd25534ff9bbf3395b269dd8959a454ad805d013dfcb3cdffadccd2c120b8a4912e1356cfa9079c7a3791284fa9bad
7
+ data.tar.gz: 9c5dd3b8c13a186a59b5fd4ad97c992e24c2967dd4629d86b1c6678c0b2fd07ad66a9711175dc499ec6e83893caa464fce2fa374e60d6daf79b47063e3fcf039
@@ -0,0 +1,35 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: test
9
+
10
+ on:
11
+ push:
12
+ branches: [ master ]
13
+ pull_request:
14
+ branches: [ master ]
15
+
16
+ jobs:
17
+ test:
18
+
19
+ runs-on: ubuntu-latest
20
+ strategy:
21
+ matrix:
22
+ ruby-version: ['2.6', '2.7', '3.0']
23
+
24
+ steps:
25
+ - uses: actions/checkout@v2
26
+ - name: Set up Ruby
27
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
29
+ # uses: ruby/setup-ruby@v1
30
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
31
+ with:
32
+ ruby-version: ${{ matrix.ruby-version }}
33
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
34
+ - name: Run tests
35
+ run: bundle exec rake
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.1.6 / 2021-08-21
2
+
3
+ * Removed obsolete dependencies.
4
+
1
5
  ### 0.1.5 / 2014-12-12
2
6
 
3
7
  * Fix Frames#concat and two other method to return self.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009-2014 ucnv
1
+ Copyright (c) 2009-2021 ucnv
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,11 +1,13 @@
1
1
  # AviGlitch
2
- [![Build Status](https://travis-ci.org/ucnv/aviglitch.svg?branch=master)](https://travis-ci.org/ucnv/aviglitch)
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/aviglitch.svg)](https://badge.fury.io/rb/aviglitch)
4
+ [![test](https://github.com/ucnv/aviglitch/actions/workflows/ruby.yml/badge.svg)](https://github.com/ucnv/aviglitch/actions/workflows/ruby.yml)
3
5
 
4
6
  AviGlitch destroys your AVI files.
5
7
 
6
8
  I can't explain why they're going to destroy their own data, but they do.
7
9
 
8
- You can find a short guide at <http://ucnv.github.com/aviglitch/>.
10
+ You can find a short guide at <https://ucnv.github.io/aviglitch/>.
9
11
  It provides a way to manipulate the data in each AVI frames.
10
12
  It will mostly be used for making datamoshing videos.
11
13
  It parses only container level structure, doesn't parse codecs.
@@ -42,6 +44,10 @@ For more practical usages, please check <https://github.com/ucnv/aviglitch-utils
42
44
  gem install aviglitch
43
45
  ```
44
46
 
45
- ## Copyright
47
+ ## Known issues
48
+
49
+ - This library doesn't support AVI2 format spec. This means that it will not work as expected for files larger than 1GB.
50
+
51
+ ## License
46
52
 
47
- Copyright (c) 2009 - 2014 ucnv. See LICENSE for details.
53
+ This library is distributed under the terms and conditions of the [MIT license](LICENSE).
data/aviglitch.gemspec CHANGED
@@ -22,8 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.extra_rdoc_files = ["README.md", "LICENSE"]
23
23
  spec.rdoc_options << "-m" << "README.md"
24
24
 
25
- spec.add_development_dependency "bundler", "~> 1.3"
26
- spec.add_development_dependency "rake", "~> 10.0"
27
- spec.add_development_dependency "rspec", "~> 2.0"
28
- spec.add_development_dependency "rdoc", "~> 4.0"
25
+ spec.add_development_dependency "bundler", ">= 2.2.10"
26
+ spec.add_development_dependency "rake", ">= 12.3.3"
27
+ spec.add_development_dependency "rspec"
29
28
  end
data/lib/aviglitch.rb CHANGED
@@ -31,7 +31,7 @@ require 'aviglitch/frames'
31
31
  #
32
32
  module AviGlitch
33
33
 
34
- VERSION = '0.1.5'
34
+ VERSION = '0.1.6'
35
35
 
36
36
  BUFFER_SIZE = 2 ** 24
37
37
 
@@ -62,10 +62,10 @@ module AviGlitch
62
62
  ##
63
63
  # Enumerates the frames.
64
64
  # It returns Enumerator if a block is not given.
65
- def each
65
+ def each &block
66
66
  if block_given?
67
67
  temp = Tempfile.new 'frames', binmode: true
68
- frames_data_as_io(temp, Proc.new)
68
+ frames_data_as_io(temp, block)
69
69
  overwrite temp
70
70
  temp.close!
71
71
  else
metadata CHANGED
@@ -1,71 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aviglitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - ucnv
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-12 00:00:00.000000000 Z
11
+ date: 2021-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: 2.2.10
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.3'
26
+ version: 2.2.10
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: 12.3.3
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: 12.3.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '2.0'
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '2.0'
55
- - !ruby/object:Gem::Dependency
56
- name: rdoc
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '4.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '4.0'
54
+ version: '0'
69
55
  description: A Ruby library to destroy your AVI files.
70
56
  email:
71
57
  - ucnvvv@gmail.com
@@ -76,9 +62,9 @@ extra_rdoc_files:
76
62
  - README.md
77
63
  - LICENSE
78
64
  files:
65
+ - ".github/workflows/ruby.yml"
79
66
  - ".gitignore"
80
67
  - ".rspec"
81
- - ".travis.yml"
82
68
  - ChangeLog.md
83
69
  - Gemfile
84
70
  - LICENSE
@@ -99,7 +85,7 @@ homepage: http://ucnv.github.com/aviglitch/
99
85
  licenses:
100
86
  - MIT
101
87
  metadata: {}
102
- post_install_message:
88
+ post_install_message:
103
89
  rdoc_options:
104
90
  - "-m"
105
91
  - README.md
@@ -116,9 +102,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  requirements: []
119
- rubyforge_project:
120
- rubygems_version: 2.2.2
121
- signing_key:
105
+ rubygems_version: 3.2.22
106
+ signing_key:
122
107
  specification_version: 4
123
108
  summary: A Ruby library to destroy your AVI files.
124
109
  test_files:
@@ -127,4 +112,3 @@ test_files:
127
112
  - spec/files/sample.avi
128
113
  - spec/frames_spec.rb
129
114
  - spec/spec_helper.rb
130
- has_rdoc: true
data/.travis.yml DELETED
@@ -1,6 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 1.9.3
4
- - 2.0.0
5
- - 2.1.4
6
- - jruby-19mode