apple-tv-converter 0.7.2 → 0.7.3

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ v0.7.3
2
+ ------
3
+ * Fixed an error that occured when a movie's metadata from TheMovieDB didn't provide a release date
4
+
1
5
  v0.7.2
2
6
  ------
3
7
  * Small fix on the command line help
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.2
1
+ 0.7.3
@@ -28,7 +28,8 @@ module AppleTvConverter
28
28
  puts %Q[ | Several shows found, choose the intended one:]
29
29
 
30
30
  results[:results].each_with_index do |item, index|
31
- puts " | #{(index + 1).to_s.rjust(results[:total_results].to_s.length)} - #{item[:title]} (#{Date.parse(item[:release_date]).year}) (id: #{item[:id]})"
31
+ release_year = Date.parse(item[:release_date]).year rescue 'Unknown year'
32
+ puts " | #{(index + 1).to_s.rjust(results[:total_results].to_s.length)} - #{item[:title]} (#{release_year}) (id: #{item[:id]})"
32
33
  end
33
34
 
34
35
  printf " |\n *- What's your choice (1..#{results[:results].length})? "
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apple-tv-converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-12 00:00:00.000000000 Z
12
+ date: 2014-08-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec