kagu 3.1.0 → 3.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: 5358df20144489a5d2c8a49fec5716a2078046631b9c43e52b6ecf3265cec875
4
- data.tar.gz: 6cce3b0f9f8c8d32bfdd6eeb0615a0cfc6402201c0f977db4ee2007fc0b4a761
3
+ metadata.gz: e1c1858a37f00f8823ce4ebacf2b9bb96837da05c1e7be296fcbcd1461afe03f
4
+ data.tar.gz: f8d1d56f7e6e90a3afa12aeabf4f2804dda4d7e3bd4c0be9cfcb1b282a4078d3
5
5
  SHA512:
6
- metadata.gz: 7fd8f9d7221dde8a0fb25ab993e4dd97cc127fa003ee385ed7133dccee2f6ec84ccd2a93e60aac15dc2d79ee8f044a3c11bbcca7914a4a0e245a9ae278f75cec
7
- data.tar.gz: c1f3fbfb7413b0aa9de63931f6a71fcaf454e47bfd918dd12c74cfbad2df03033c499d6754fae82f32025ed9d60ed69878421cc6d53e54a837f1cdb29dc55481
6
+ metadata.gz: 88e72ddf7e6960712558490d614f9e82aa78c6908f5300ac8d29ff587a2e40ee59a471ed9538b03155e0b130bfb15211b3b2baf6ce45e34e338c0f8a3cc1e909
7
+ data.tar.gz: 9d0fe80ce5dc1a8a857409f60425ff349a555a374893ba0c26cd5fea177c0774f4acb21cd0c920d5d0cf28701edbf024a3351e865a3ef80bb9a5129234682305
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.0
1
+ 3.2.0
data/kagu.gemspec CHANGED
@@ -16,9 +16,10 @@ Gem::Specification.new do |s|
16
16
  s.required_ruby_version = '>= 2.0.0'
17
17
 
18
18
  s.add_dependency 'activesupport', '>= 4.1.0', '< 7.0.0'
19
+ s.add_dependency 'addressable', '>= 2.7.0', '< 3.0.0'
19
20
  s.add_dependency 'applescript', '>= 1.0', '< 2.0'
20
21
 
21
22
  s.add_development_dependency 'byebug', '>= 3.2.0', '< 12.0.0'
22
23
  s.add_development_dependency 'rake', '>= 10.3.0', '< 14.0.0'
23
- s.add_development_dependency 'rspec', '>= 3.1.0', '< 3.10.0'
24
+ s.add_development_dependency 'rspec', '>= 3.1.0', '< 3.11.0'
24
25
  end
data/lib/kagu.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'active_support'
2
2
  require 'active_support/core_ext'
3
+ require 'addressable/uri'
3
4
  require 'applescript'
4
5
  require 'byebug' if ENV['DEBUGGER']
5
6
  require 'logger'
data/lib/kagu/track.rb CHANGED
@@ -72,7 +72,7 @@ module Kagu
72
72
 
73
73
  def path=(value)
74
74
  value = value.to_s.presence
75
- value = URI.unescape(URI.parse(value).path).presence if value.is_a?(String) && value.starts_with?('file://')
75
+ value = Addressable::URI.unescape(Addressable::URI.parse(value).path).presence if value.is_a?(String) && value.starts_with?('file://')
76
76
  value = value.encode('UTF-8', 'UTF-8-MAC') if value.present? && Kagu::IS_MAC_OS
77
77
  @path = value.present? ? Pathname.new(value) : nil
78
78
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kagu
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexis Toulotte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-05 00:00:00.000000000 Z
11
+ date: 2021-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -30,6 +30,26 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 7.0.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: addressable
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: 2.7.0
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: 3.0.0
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 2.7.0
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: 3.0.0
33
53
  - !ruby/object:Gem::Dependency
34
54
  name: applescript
35
55
  requirement: !ruby/object:Gem::Requirement
@@ -99,7 +119,7 @@ dependencies:
99
119
  version: 3.1.0
100
120
  - - "<"
101
121
  - !ruby/object:Gem::Version
102
- version: 3.10.0
122
+ version: 3.11.0
103
123
  type: :development
104
124
  prerelease: false
105
125
  version_requirements: !ruby/object:Gem::Requirement
@@ -109,7 +129,7 @@ dependencies:
109
129
  version: 3.1.0
110
130
  - - "<"
111
131
  - !ruby/object:Gem::Version
112
- version: 3.10.0
132
+ version: 3.11.0
113
133
  description: API to manage macOS Music tracks and playlists
114
134
  email: al@alweb.org
115
135
  executables: []
@@ -149,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
169
  - !ruby/object:Gem::Version
150
170
  version: '0'
151
171
  requirements: []
152
- rubygems_version: 3.0.3
172
+ rubygems_version: 3.2.15
153
173
  signing_key:
154
174
  specification_version: 4
155
175
  summary: API for macOS Music