dubbletrack_remote 0.8.1 → 0.8.3

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: 6bab3eb59f38391bededa96b0a8fcec79ed55ef13ce2b4b86d73d1e95f4a9b48
4
- data.tar.gz: 335bfcb6b730533b350c1d9abcc16765989bd94bb6a7f3846acc8035b247517d
3
+ metadata.gz: 4ffb748f6bce546d9021286ecabfd1c426d006de2aef9d2e299d65aad0eb8313
4
+ data.tar.gz: f8015b95dbcb6141070247c3e890828bbd811124c676b94e28cc0e40fcc8bb25
5
5
  SHA512:
6
- metadata.gz: b58c6025392b9441dc15dcd4e1b5067ec91e0d02217beef87a0490556e782dd9bfd28975443391541914aaa2ec9286532333ffaed939428460d32b800181776e
7
- data.tar.gz: 3457d8f677d12b05a643886c3ad7a0f87de1da6560077004c33fa850be1bc9dd80c8ed426d95181287bf6f40bb57ff0bee09429c7764b87b4e89d92a43419ec8
6
+ metadata.gz: 95b5d34e2b55b30b92217bc92c2e251aa3990686d64b8ca350570cc3b448c88065d250bf474941472f4b16e32463e2437c236492dbfe7ee181bc8cdf6bb2270e
7
+ data.tar.gz: a125e37d84c20ebf70865fc993d7a8c89002a437ba38cdbd153bdcd407b8b0b2452932ab143c911ab2ecabd18c979bce9b10bf9009a088d31494d8a9055dacaa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  dubbletrack remote changelog
2
2
 
3
+ ## [0.8.3](https://github.com/dubbletrack/remote/compare/v0.8.2...v0.8.3) (2024-07-10)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Update syntax for hash args ([9893e36](https://github.com/dubbletrack/remote/commit/9893e3662523b406d6e9532680476222b672e566))
9
+
10
+ ## [0.8.2](https://github.com/dubbletrack/remote/compare/v0.8.1...v0.8.2) (2024-07-10)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * update config ([d9a7baa](https://github.com/dubbletrack/remote/commit/d9a7baaadb6c742f8ba3235c4bc8b56344db5fc0))
16
+
3
17
  ## [0.8.1](https://github.com/dubbletrack/remote/compare/v0.8.0...v0.8.1) (2024-07-10)
4
18
 
5
19
 
@@ -42,7 +42,7 @@ Gem::Specification.new do |spec|
42
42
  spec.add_dependency "activesupport", "~> 6.0.6"
43
43
  spec.add_dependency "bundler", "~> 2.0"
44
44
  spec.add_dependency "byebug", "~> 11.1.3"
45
- spec.add_dependency "config", "~>2.2.1"
45
+ spec.add_dependency "config", "> 5.0.1"
46
46
  spec.add_dependency "csv", "~> 3.1.7"
47
47
  spec.add_dependency "dotenv", "~> 2.7.6"
48
48
  spec.add_dependency "dbf", "~> 4.1.3"
@@ -18,7 +18,7 @@ module DubbletrackRemote
18
18
 
19
19
  Reader.watch(watch_path, pattern: watch_pattern) do |file|
20
20
  puts "detected change in #{file}"
21
- Reader.new(file, {cuts_path: local_cuts_file}).ingest
21
+ Reader.new(file, cuts_path: local_cuts_file).ingest
22
22
  end
23
23
 
24
24
  Thread.new do
@@ -64,7 +64,7 @@ module DubbletrackRemote
64
64
  ensure_setup
65
65
 
66
66
  if todays_playlist_path
67
- [todays_playlist_path].flatten.each { |f| Reader.new(f, {cuts_path: local_cuts_file}).ingest }
67
+ [todays_playlist_path].flatten.each { |f| Reader.new(f, cuts_path: local_cuts_file).ingest }
68
68
  else
69
69
  puts "no file found matching pattern #{playlist_pattern}"
70
70
  end
@@ -78,7 +78,7 @@ module DubbletrackRemote
78
78
  if paths.any?
79
79
  items = paths.collect do |path|
80
80
  puts "reading #{path}"
81
- items = Reader.new(path, {cuts_path: local_cuts_file}).items
81
+ items = Reader.new(path, cuts_path: local_cuts_file).items
82
82
  end.flatten.sort_by(&:played_at)
83
83
  remaining = Item.where(id: items.pluck(:id)).remaining
84
84
 
@@ -110,7 +110,7 @@ module DubbletrackRemote
110
110
  if paths.any?
111
111
  items = paths.collect do |path|
112
112
  puts "reading #{path}"
113
- items = Reader.new(path, {cuts_path: local_cuts_file}).items
113
+ items = Reader.new(path, cuts_path: local_cuts_file).items
114
114
  end.flatten.sort_by(&:played_at)
115
115
 
116
116
  items.each do |e|
@@ -129,7 +129,7 @@ module DubbletrackRemote
129
129
  if paths.any?
130
130
  paths.each do |path|
131
131
  puts "importing #{path}"
132
- items = Reader.new(path, {cuts_path: local_cuts_file}).ingest
132
+ items = Reader.new(path, cuts_path: local_cuts_file).ingest
133
133
  items.each { |e| puts e.pretty_print }
134
134
  end
135
135
  else
@@ -154,7 +154,7 @@ module DubbletrackRemote
154
154
  if paths.any?
155
155
  paths.each do |path|
156
156
  puts "importing #{path}"
157
- items = Reader.new(path, {cuts_path: local_cuts_file}).ingest
157
+ items = Reader.new(path, cuts_path: local_cuts_file).ingest
158
158
  items.each { |e| puts e.pretty_print }
159
159
  end
160
160
  else
@@ -1,3 +1,3 @@
1
1
  module DubbletrackRemote
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dubbletrack_remote
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Keen
@@ -98,16 +98,16 @@ dependencies:
98
98
  name: config
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">"
102
102
  - !ruby/object:Gem::Version
103
- version: 2.2.1
103
+ version: 5.0.1
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">"
109
109
  - !ruby/object:Gem::Version
110
- version: 2.2.1
110
+ version: 5.0.1
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: csv
113
113
  requirement: !ruby/object:Gem::Requirement