media_types 2.1.1 → 2.2.0

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: 610b654c6f47fc159c8f104246edd4a0314d2f3439b3f136da1740ae198a7f08
4
- data.tar.gz: 325234c6d61a3dd660895d607e92ee8d3849b373b4871d77272a991f5dcad457
3
+ metadata.gz: 60066d3701955c4cd09e1aebea4c444e7bda6f046119fdf535af562757e50b42
4
+ data.tar.gz: 54dec80cb8d9b53a1b7dfcb0269f3d6688b06cf48050f74a93f50a91169ac8cc
5
5
  SHA512:
6
- metadata.gz: 743edfc0e1d4c6d2eb277ea931d180721042b40cf3c2e060bf902a6277dce7cacf8446be6c712806947d2240345fc82abc60a2bee424548dde6c8100f5456136
7
- data.tar.gz: 744f67b305bdcd413420c640316531b74a74e09e4ebb045c42666508d20545790359499c6fff1ebcccd7a59740b6edc341356fad56f03f618e35fc138cb2344a
6
+ metadata.gz: 9d75689e60008e8b728082181b81eed52d68fab6709b3588729cec9f257b7aca045dd8739ab2c888dc03730900f530fc1e6cf3f87544964be6028c0a177db4f3
7
+ data.tar.gz: cfe50c15068b984cf1f7576fdfb8cc70c2e4486ebb4be7594704160017534288b0c09dd8f59703fcc6b5b98b7068b34daa235185beefab8bc3394df0984d4f60
@@ -3,41 +3,41 @@ name: Debian
3
3
  on:
4
4
  push:
5
5
  tags:
6
- - '*'
7
-
6
+ - "*"
8
7
 
9
8
  jobs:
10
9
  build:
11
-
12
- runs-on: ubuntu-18.04
13
-
10
+ runs-on: ubuntu-latest
14
11
  steps:
15
- - uses: actions/checkout@v1
16
- - name: Install dependencies
17
- run: |
18
- sudo apt-get update
19
- DEBIAN_FRONTEND=noninteractive sudo apt-get --yes install gem2deb bundler ruby-{actionpack,awesome-print,http,minitest,minitest-reporters,oj,simplecov}
20
- rm Gemfile.lock || true
21
- gem install bundler
22
- bundle install --local
23
- sudo apt-file update
24
- - name: Build
25
- run: |
26
- bundle exec rake build
27
- mkdir debpkg
28
- cp pkg/media_types-*.gem media_types.gem
29
- #(cd debpkg; gem2tgz media_types.gem)
30
- #(cd debpkg; dh-make-ruby media_types-*.tar.gz)
31
- #(cd debpkg; dh-make-ruby media_types-*.tar.gz)
32
- (cd pkg; gem2deb media_types*.gem)
33
- mv pkg/ruby-media-types_*_all.deb ruby-media-types.deb
34
- - name: Upload gem
35
- uses: actions/upload-artifact@v1
36
- with:
37
- name: media_types.gem
38
- path: media_types.gem
39
- - name: Upload deb
40
- uses: actions/upload-artifact@v1
41
- with:
42
- name: ruby-media-types.deb
43
- path: ruby-media-types.deb
12
+ - uses: actions/checkout@v1
13
+ - name: Set up Ruby 2.7 (debian ruby)
14
+ uses: ruby/setup-ruby@v2
15
+ with:
16
+ ruby-version: 2.7
17
+ - name: Install dependencies
18
+ run: |
19
+ sudo apt-get update
20
+ DEBIAN_FRONTEND=noninteractive sudo apt-get --yes install gem2deb bundler ruby-{actionpack,awesome-print,http,minitest,minitest-reporters,oj,simplecov}
21
+ rm Gemfile.lock || true
22
+ bundle install --local
23
+ sudo apt-file update
24
+ - name: Build
25
+ run: |
26
+ bundle exec rake build
27
+ mkdir debpkg
28
+ cp pkg/media_types-*.gem media_types.gem
29
+ #(cd debpkg; gem2tgz media_types.gem)
30
+ #(cd debpkg; dh-make-ruby media_types-*.tar.gz)
31
+ #(cd debpkg; dh-make-ruby media_types-*.tar.gz)
32
+ (cd pkg; gem2deb media_types*.gem)
33
+ mv pkg/ruby-media-types_*_all.deb ruby-media-types.deb
34
+ - name: Upload gem
35
+ uses: actions/upload-artifact@v1
36
+ with:
37
+ name: media_types.gem
38
+ path: media_types.gem
39
+ - name: Upload deb
40
+ uses: actions/upload-artifact@v1
41
+ with:
42
+ name: ruby-media-types.deb
43
+ path: ruby-media-types.deb
@@ -4,20 +4,19 @@ on: [push]
4
4
 
5
5
  jobs:
6
6
  build:
7
-
8
7
  runs-on: ubuntu-latest
9
8
 
10
9
  steps:
11
- - uses: actions/checkout@v1
12
- - name: Set up Ruby 2.6
13
- uses: actions/setup-ruby@v1
14
- with:
15
- ruby-version: 2.6.x
16
- - name: Build and test with Rake
17
- run: |
18
- sudo apt-get update
19
- DEBIAN_FRONTEND=noninteractive sudo apt-get install --yes bundler
20
- rm Gemfile.lock || true
21
- gem install bundler
22
- bundle install --jobs 4 --retry 3
23
- bundle exec rake
10
+ - uses: actions/checkout@v1
11
+ - name: Set up Ruby 3.1
12
+ uses: actions/setup-ruby@v1
13
+ with:
14
+ ruby-version: 3.1.x
15
+ - name: Build and test with Rake
16
+ run: |
17
+ sudo apt-get update
18
+ DEBIAN_FRONTEND=noninteractive sudo apt-get install --yes bundler
19
+ rm Gemfile.lock || true
20
+ gem install bundler
21
+ bundle install --jobs 4 --retry 3
22
+ bundle exec rake
data/.rubocop.yml CHANGED
@@ -1,11 +1,11 @@
1
1
  AllCops:
2
2
  Include:
3
- - '**/Rakefile'
4
- - 'lib/**/*.rb'
3
+ - "**/Rakefile"
4
+ - "lib/**/*.rb"
5
5
  Exclude:
6
- - 'Gemfile'
7
- - 'bin/**/*'
8
- TargetRubyVersion: 2.4
6
+ - "Gemfile"
7
+ - "bin/**/*"
8
+ TargetRubyVersion: 3.0
9
9
 
10
10
  Layout/EmptyLinesAroundClassBody:
11
11
  Enabled: false
data/Gemfile.lock CHANGED
@@ -10,21 +10,21 @@ GEM
10
10
  awesome_print (1.9.2)
11
11
  builder (3.2.4)
12
12
  docile (1.4.0)
13
- minitest (5.14.4)
14
- minitest-reporters (1.4.3)
13
+ minitest (5.18.0)
14
+ minitest-reporters (1.6.0)
15
15
  ansi
16
16
  builder
17
17
  minitest (>= 5.0)
18
18
  ruby-progressbar
19
- oj (3.13.1)
19
+ oj (3.14.2)
20
20
  rake (13.0.6)
21
- ruby-progressbar (1.11.0)
22
- simplecov (0.21.2)
21
+ ruby-progressbar (1.13.0)
22
+ simplecov (0.22.0)
23
23
  docile (~> 1.1)
24
24
  simplecov-html (~> 0.11)
25
25
  simplecov_json_formatter (~> 0.1)
26
26
  simplecov-html (0.12.3)
27
- simplecov_json_formatter (0.1.3)
27
+ simplecov_json_formatter (0.1.4)
28
28
 
29
29
  PLATFORMS
30
30
  x64-mingw32
@@ -33,11 +33,11 @@ DEPENDENCIES
33
33
  awesome_print
34
34
  bundler (>= 2)
35
35
  media_types!
36
- minitest (~> 5.0)
36
+ minitest
37
37
  minitest-reporters
38
38
  oj
39
- rake (>= 12.0)
39
+ rake
40
40
  simplecov
41
41
 
42
42
  BUNDLED WITH
43
- 2.2.17
43
+ 2.1.4
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MediaTypes
4
- VERSION = '2.1.1'
4
+ VERSION = '2.2.0'
5
5
  end
data/media_types.gemspec CHANGED
@@ -25,9 +25,9 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.add_development_dependency 'awesome_print'
27
27
  spec.add_development_dependency 'bundler', '>= 2'
28
- spec.add_development_dependency 'minitest', '~> 5.0'
28
+ spec.add_development_dependency 'minitest'
29
29
  spec.add_development_dependency 'minitest-reporters'
30
30
  spec.add_development_dependency 'oj'
31
- spec.add_development_dependency 'rake', '>= 12.0'
31
+ spec.add_development_dependency 'rake'
32
32
  spec.add_development_dependency 'simplecov'
33
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: media_types
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-08-19 00:00:00.000000000 Z
12
+ date: 2023-03-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: awesome_print
@@ -43,16 +43,16 @@ dependencies:
43
43
  name: minitest
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: '5.0'
48
+ version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: '5.0'
55
+ version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: minitest-reporters
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -87,14 +87,14 @@ dependencies:
87
87
  requirements:
88
88
  - - ">="
89
89
  - !ruby/object:Gem::Version
90
- version: '12.0'
90
+ version: '0'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - ">="
96
96
  - !ruby/object:Gem::Version
97
- version: '12.0'
97
+ version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: simplecov
100
100
  requirement: !ruby/object:Gem::Requirement