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 +4 -4
- data/.github/workflows/debian.yml +34 -34
- data/.github/workflows/ruby.yml +13 -14
- data/.rubocop.yml +5 -5
- data/Gemfile.lock +9 -9
- data/lib/media_types/version.rb +1 -1
- data/media_types.gemspec +2 -2
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60066d3701955c4cd09e1aebea4c444e7bda6f046119fdf535af562757e50b42
|
4
|
+
data.tar.gz: 54dec80cb8d9b53a1b7dfcb0269f3d6688b06cf48050f74a93f50a91169ac8cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
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
|
data/.github/workflows/ruby.yml
CHANGED
@@ -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
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
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
|
-
-
|
4
|
-
-
|
3
|
+
- "**/Rakefile"
|
4
|
+
- "lib/**/*.rb"
|
5
5
|
Exclude:
|
6
|
-
-
|
7
|
-
-
|
8
|
-
TargetRubyVersion:
|
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
|
-
minitest-reporters (1.
|
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.
|
19
|
+
oj (3.14.2)
|
20
20
|
rake (13.0.6)
|
21
|
-
ruby-progressbar (1.
|
22
|
-
simplecov (0.
|
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.
|
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
|
36
|
+
minitest
|
37
37
|
minitest-reporters
|
38
38
|
oj
|
39
|
-
rake
|
39
|
+
rake
|
40
40
|
simplecov
|
41
41
|
|
42
42
|
BUNDLED WITH
|
43
|
-
2.
|
43
|
+
2.1.4
|
data/lib/media_types/version.rb
CHANGED
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'
|
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'
|
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.
|
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:
|
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: '
|
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: '
|
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: '
|
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: '
|
97
|
+
version: '0'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: simplecov
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|