songle-song-uri-parser 1.1.8 → 1.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.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +24 -0
- data/.gitignore +1 -10
- data/.rspec +1 -1
- data/Gemfile.lock +14 -14
- data/lib/songle/song_uri/invalid_song_uri_error.rb +0 -1
- data/lib/songle/song_uri/mp3_song_uri.rb +0 -1
- data/lib/songle/song_uri/nn_scheme_song_uri.rb +0 -1
- data/lib/songle/song_uri/nn_short_song_uri.rb +0 -1
- data/lib/songle/song_uri/nn_song_uri.rb +0 -1
- data/lib/songle/song_uri/numeric_song_uri.rb +0 -1
- data/lib/songle/song_uri/sc_scheme_song_uri.rb +0 -1
- data/lib/songle/song_uri/sc_song_uri.rb +0 -1
- data/lib/songle/song_uri/yt_scheme_song_uri.rb +0 -1
- data/lib/songle/song_uri/yt_short_song_uri.rb +0 -1
- data/lib/songle/song_uri/yt_song_uri.rb +0 -1
- data/lib/songle/song_uri.rb +2 -1
- data/lib/songle-song-uri-parser/version.rb +1 -2
- data/lib/songle-song-uri-parser.rb +0 -1
- data/songle-song-uri-parser.gemspec +1 -1
- metadata +5 -10
- data/.ruby-version +0 -1
- data/CHANGELOG.md +0 -45
- data/Dockerfile +0 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 58dacbfe79b72d66a60caceb4f89fc1ab2b88147fac8f73402b400569eeac11d
|
|
4
|
+
data.tar.gz: 7e37cda80f16464545723eaa7e68ac6fd3511e60300aa82aa42f57b31936587f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c997ffbf6d564be60bcd828ded8563a63a026af78b10f1a4ef898e32508257b365300381b583b99d5bb95b7da0b47426e38b7cb0fb414a13f2161dc0e7dd73ec
|
|
7
|
+
data.tar.gz: dcc2db4f1c5c4b340e21369ac6a7bc2bafc922fbf43be96d59675ee3d46c8086adaf302d79f596d1b9abc83d35fd68239b0538714c302ae8a27fea2c1ae2532a
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: Test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
- push
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
test:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
strategy:
|
|
10
|
+
matrix:
|
|
11
|
+
ruby:
|
|
12
|
+
- "3.2"
|
|
13
|
+
- "3.3"
|
|
14
|
+
- "3.4"
|
|
15
|
+
- "4.0"
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v6
|
|
18
|
+
- uses: ruby/setup-ruby@v1
|
|
19
|
+
with:
|
|
20
|
+
ruby-version: ${{ matrix.ruby }}
|
|
21
|
+
bundler-cache: true
|
|
22
|
+
|
|
23
|
+
- name: Run tests
|
|
24
|
+
run: bundle exec rake spec
|
data/.gitignore
CHANGED
data/.rspec
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
songle-song-uri-parser (1.
|
|
4
|
+
songle-song-uri-parser (1.2.0)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
diff-lcs (1.
|
|
10
|
-
rake (13.
|
|
11
|
-
rspec (3.
|
|
12
|
-
rspec-core (~> 3.
|
|
13
|
-
rspec-expectations (~> 3.
|
|
14
|
-
rspec-mocks (~> 3.
|
|
15
|
-
rspec-core (3.
|
|
16
|
-
rspec-support (~> 3.
|
|
17
|
-
rspec-expectations (3.
|
|
9
|
+
diff-lcs (1.6.2)
|
|
10
|
+
rake (13.4.2)
|
|
11
|
+
rspec (3.13.2)
|
|
12
|
+
rspec-core (~> 3.13.0)
|
|
13
|
+
rspec-expectations (~> 3.13.0)
|
|
14
|
+
rspec-mocks (~> 3.13.0)
|
|
15
|
+
rspec-core (3.13.6)
|
|
16
|
+
rspec-support (~> 3.13.0)
|
|
17
|
+
rspec-expectations (3.13.5)
|
|
18
18
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
19
|
-
rspec-support (~> 3.
|
|
20
|
-
rspec-mocks (3.
|
|
19
|
+
rspec-support (~> 3.13.0)
|
|
20
|
+
rspec-mocks (3.13.8)
|
|
21
21
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
22
|
-
rspec-support (~> 3.
|
|
23
|
-
rspec-support (3.
|
|
22
|
+
rspec-support (~> 3.13.0)
|
|
23
|
+
rspec-support (3.13.7)
|
|
24
24
|
|
|
25
25
|
PLATFORMS
|
|
26
26
|
ruby
|
data/lib/songle/song_uri.rb
CHANGED
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
|
29
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
30
30
|
spec.require_paths = ["lib"]
|
|
31
31
|
|
|
32
|
-
spec.required_ruby_version = "
|
|
32
|
+
spec.required_ruby_version = ">= 2.4"
|
|
33
33
|
|
|
34
34
|
spec.add_development_dependency "bundler"
|
|
35
35
|
spec.add_development_dependency "rake"
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: songle-song-uri-parser
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takahiro INOUE
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bundler
|
|
@@ -61,11 +60,9 @@ executables: []
|
|
|
61
60
|
extensions: []
|
|
62
61
|
extra_rdoc_files: []
|
|
63
62
|
files:
|
|
63
|
+
- ".github/workflows/test.yml"
|
|
64
64
|
- ".gitignore"
|
|
65
65
|
- ".rspec"
|
|
66
|
-
- ".ruby-version"
|
|
67
|
-
- CHANGELOG.md
|
|
68
|
-
- Dockerfile
|
|
69
66
|
- Gemfile
|
|
70
67
|
- Gemfile.lock
|
|
71
68
|
- LICENSE.txt
|
|
@@ -90,13 +87,12 @@ homepage: https://github.com/hinata/songle-song-uri-parser
|
|
|
90
87
|
licenses:
|
|
91
88
|
- MIT
|
|
92
89
|
metadata: {}
|
|
93
|
-
post_install_message:
|
|
94
90
|
rdoc_options: []
|
|
95
91
|
require_paths:
|
|
96
92
|
- lib
|
|
97
93
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
94
|
requirements:
|
|
99
|
-
- - "
|
|
95
|
+
- - ">="
|
|
100
96
|
- !ruby/object:Gem::Version
|
|
101
97
|
version: '2.4'
|
|
102
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
@@ -105,8 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
105
101
|
- !ruby/object:Gem::Version
|
|
106
102
|
version: '0'
|
|
107
103
|
requirements: []
|
|
108
|
-
rubygems_version:
|
|
109
|
-
signing_key:
|
|
104
|
+
rubygems_version: 4.0.14
|
|
110
105
|
specification_version: 4
|
|
111
106
|
summary: The Songle Song URI parser is a gem package providing class to handle the
|
|
112
107
|
Song URI.
|
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.7.0
|
data/CHANGELOG.md
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# CHANGELOG.md
|
|
2
|
-
|
|
3
|
-
## v1.1.8 (2020-03-13 JST)
|
|
4
|
-
|
|
5
|
-
- [Improved] Updated the `README.md`
|
|
6
|
-
|
|
7
|
-
## v1.1.7 (2020-03-02 JST)
|
|
8
|
-
|
|
9
|
-
- [Merged] https://github.com/hinata/songle-song-uri-parser/pull/1
|
|
10
|
-
|
|
11
|
-
## v1.1.6 (2019-07-27 JST)
|
|
12
|
-
|
|
13
|
-
- [Fixed] When the Song URI included white-spaces, it couldn't parse correctly
|
|
14
|
-
- e.g. https://he3.magnatune.com/all/05-Goodbye%20Perfectionist-Linda%20Woods.mp3
|
|
15
|
-
|
|
16
|
-
## v1.1.5 (2019-07-19 JST)
|
|
17
|
-
|
|
18
|
-
- [Improved] Removed an unused gem
|
|
19
|
-
|
|
20
|
-
## v1.1.4 (2019-07-08 JST)
|
|
21
|
-
|
|
22
|
-
- [Improved] Supported the private Song URI
|
|
23
|
-
- e.g. https://songle.jp/uploads/{ID}.mp3
|
|
24
|
-
|
|
25
|
-
## v1.1.3 (2019-02-06 JST)
|
|
26
|
-
|
|
27
|
-
- [Improved] Updated the `README.md`
|
|
28
|
-
|
|
29
|
-
## v1.1.2 (2019-01-31 JST)
|
|
30
|
-
|
|
31
|
-
- [Improved] Changed a constructor parameter of the `::Songle::SongURI` class
|
|
32
|
-
|
|
33
|
-
## v1.1.1 (2019-01-26 JST)
|
|
34
|
-
|
|
35
|
-
- [Improved] Changed a constructor parameter of the `::Songle::SongURI` class
|
|
36
|
-
|
|
37
|
-
## v1.1.0 (2019-01-25 JST)
|
|
38
|
-
|
|
39
|
-
- [Improved] Changed a return value of the `::Songle::SongURI#type` method
|
|
40
|
-
- [Improved] Supported the numeric Song URI
|
|
41
|
-
- e.g. https://songle.jp/songs/{ID}
|
|
42
|
-
|
|
43
|
-
## v1.0.0 (2019-01-09 JST)
|
|
44
|
-
|
|
45
|
-
- Initial public release
|
data/Dockerfile
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
#@# vim: set filetype=ruby:
|
|
2
|
-
ARG RUBY_VERSION=2.6.0
|
|
3
|
-
|
|
4
|
-
FROM ruby:${RUBY_VERSION}-alpine
|
|
5
|
-
MAINTAINER Takahiro INOUE <takahiro.inoue@aist.go.jp>
|
|
6
|
-
|
|
7
|
-
WORKDIR /work
|
|
8
|
-
|
|
9
|
-
ADD . .
|
|
10
|
-
|
|
11
|
-
RUN apk update && \
|
|
12
|
-
apk add \
|
|
13
|
-
git
|
|
14
|
-
|
|
15
|
-
RUN bundle install -j $(cat /proc/cpuinfo | grep '^processor' | wc -l)
|
|
16
|
-
|
|
17
|
-
ENTRYPOINT [ "rake", "spec" ]
|