tivohmo 0.1.2 → 0.1.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
  SHA1:
3
- metadata.gz: ac6001b62350b9a28f965390492e60ff2407f728
4
- data.tar.gz: 284efd92ec46f6cae8771aac3b9f791c6a42b041
3
+ metadata.gz: 82856218017dbc76c7e79711ac8e3942538907d3
4
+ data.tar.gz: a40427dc8d33c36e32e9b681a18d5c71438b536f
5
5
  SHA512:
6
- metadata.gz: 8599fa6f50e310f56eb9160659aca81e0f37f08e08df436b6bee14e351cd77932fdfc1cd8f59d622ff2ac6677b61bf96bf80a35d5cd12d28e3cdcf5b67f34631
7
- data.tar.gz: 889f69f0adab913e2860c2d36d29a6b546e9cd0d161b5aba2b8dff7a1f268560013e4dcfab43893d9a455ade5fe706075b9f6962ec372c12099e1869718f4cce
6
+ metadata.gz: 533e7d506c6e78250d574938fe0d1c5b9eb91ef204099c57cf4855e6829c5085303bf07c690aaea8642c54224bc534dd32d53adf77ca47f4d1e752b46483bbfc
7
+ data.tar.gz: eca22637258e905a7b06a3b03878802cc411182674006c7ebe82ea01a64c78deccd93c2d1d2183746e8fd7ed2565c9e903cde3fcf286a977b3c4c4d323c211dd
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ 0.1.3 (10/12/2014)
2
+ ------------------
3
+
4
+ preload conatiners in the background <3f50495> [Matt Conway]
5
+
1
6
  0.1.2 (10/12/2014)
2
7
  ------------------
3
8
 
data/lib/tivohmo/cli.rb CHANGED
@@ -160,13 +160,15 @@ module TivoHMO
160
160
  end
161
161
 
162
162
  def preload_containers(server)
163
- logger.info "Preloading lazily cached containers"
164
- queue = server.children.dup
165
- queue.each do |i|
166
- logger.debug("Loading children for #{i.title_path}")
167
- queue.concat(i.children)
163
+ Thread.new do
164
+ logger.info "Preloading lazily cached containers"
165
+ queue = server.children.dup
166
+ queue.each do |i|
167
+ logger.debug("Loading children for #{i.title_path}")
168
+ queue.concat(i.children)
169
+ end
170
+ logger.info "Preload complete"
168
171
  end
169
- logger.info "Preload complete"
170
172
  end
171
173
 
172
174
  def wait_for_server
@@ -1,3 +1,3 @@
1
1
  module TivoHMO
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tivohmo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Conway