dubbletrack_remote 0.8.4 → 0.8.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4aef50c5b31550c6a26a531974907b365c4347cc1873cd3a202e610a34fe746a
4
- data.tar.gz: 7833c4960817b23ac153a636b1aed53bf190d4bfec980e21434542440935f8a4
3
+ metadata.gz: f010dd701e69b829033ec0e81a719bd434e94fcc6e362fa0ddbd8033f3ccd807
4
+ data.tar.gz: 4032b921ae342c7503bf84dab7cbcb7e8a1cd5b0f2961499b884371dd31e551b
5
5
  SHA512:
6
- metadata.gz: 26c7b6f5a4b69509fe61ccc51625d5ea1557f74c018551cb919c7c6b219096e4d1130a2b7fbfed0638a7645aa577b844c5e107d297f599776ae7d107728f10a4
7
- data.tar.gz: a125476c34b234b7773ea82996dcb40452c246613f1fab0d7ef041fefc75f1661443b04cc87c10b7060a75faed800b2e8eda97317446f34392a8833997a742a1
6
+ metadata.gz: e0849e9c7d88b10e3476118810340b36af9cc2488cd777e6b83cff85482d41fd8ded09895880c4c4c6a31ccbda06778e903748794c585fd3860ed302b3ee7db8
7
+ data.tar.gz: 5f2f7e2df1169cab46346192c575044274cc1b1584f08452750260d84e6c72196e48638fea47548ef13c407be16ad5f4823a766f0b4fd691f0e5f44c869bcbd8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  dubbletrack remote changelog
2
2
 
3
+ ## [0.8.5](https://github.com/dubbletrack/remote/compare/v0.8.4...v0.8.5) (2024-07-10)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * another hash update ([89bb9fb](https://github.com/dubbletrack/remote/commit/89bb9fba95bb0702f815a496202242166122c60a))
9
+ * Another method change for ruby 3.x ([2ffd4df](https://github.com/dubbletrack/remote/commit/2ffd4dffbd970b8fa1c91ce27683401d2e964476))
10
+
3
11
  ## [0.8.4](https://github.com/dubbletrack/remote/compare/v0.8.3...v0.8.4) (2024-07-10)
4
12
 
5
13
 
@@ -1,16 +1,15 @@
1
1
  # Reads in a DBF file and creates items out of them, annotating with information from CUTS
2
2
  module DubbletrackRemote
3
3
  module Reader
4
- def self.new(file_path, options = {})
4
+ def self.new(file_path, **options)
5
5
  if File.extname(file_path) == ".DBF"
6
- DubbletrackRemote::Reader::DBF.new(file_path, options)
6
+ DubbletrackRemote::Reader::DBF.new(file_path, **options)
7
7
  elsif File.extname(file_path) == ".TSV"
8
- DubbletrackRemote::Reader::TSV.new(file_path, options)
8
+ DubbletrackRemote::Reader::TSV.new(file_path, **options)
9
9
  end
10
10
  end
11
11
 
12
- def self.watch(playlist_path, options = {}, &block)
13
- pattern = options[:pattern] || Regexp.new(".+")
12
+ def self.watch(playlist_path, pattern: Regexp.new(".+"), &block)
14
13
  listener = Listen.to(playlist_path, force_polling: true, wait_for_delay: 4) do |modified, added|
15
14
  [modified, added].flatten.compact.uniq.each do |file|
16
15
  if pattern.match(file)
@@ -1,3 +1,3 @@
1
1
  module DubbletrackRemote
2
- VERSION = "0.8.4"
2
+ VERSION = "0.8.5"
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.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Keen