downthetube 0.0.7 → 0.0.8

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.
Files changed (3) hide show
  1. data/downthetube.gemspec +1 -1
  2. data/lib/video.rb +1 -1
  3. metadata +3 -3
data/downthetube.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  specification = Gem::Specification.new do |spec|
2
2
  # Descriptive and source information for this gem.
3
3
  spec.name = "downthetube"
4
- spec.version = "0.0.7"
4
+ spec.version = "0.0.8"
5
5
  spec.description = "A library to make downloading playlists and videos from Youtube less nasty."
6
6
  spec.summary = "Downloads playlists and videos from Youtube."
7
7
  spec.author = "Mike Williamson"
data/lib/video.rb CHANGED
@@ -86,7 +86,7 @@ module Youtube
86
86
  populate_attrs unless @xml
87
87
  h = {}
88
88
  instance_variables.each do |var|
89
- h[var.gsub('@', '').to_sym]= self.instance_variable_get(var.to_sym) unless %w( @client @xml ).include? var
89
+ h[var.gsub('@', '').to_sym]= self.instance_variable_get(var.to_sym).to_s unless %w( @client @xml ).include? var
90
90
  end
91
91
  h
92
92
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: downthetube
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mike Williamson