downthetube 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,3 +1,2 @@
1
1
  source :rubygems
2
2
  gemspec
3
- gem 'rspec'
@@ -8,19 +8,21 @@ GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
10
  diff-lcs (1.1.3)
11
- gdata_19 (1.1.3)
12
- rspec (2.7.0)
13
- rspec-core (~> 2.7.0)
14
- rspec-expectations (~> 2.7.0)
15
- rspec-mocks (~> 2.7.0)
16
- rspec-core (2.7.1)
17
- rspec-expectations (2.7.0)
18
- diff-lcs (~> 1.1.2)
19
- rspec-mocks (2.7.0)
11
+ fakeweb (1.3.0)
12
+ gdata_19 (1.1.5)
13
+ rspec (2.11.0)
14
+ rspec-core (~> 2.11.0)
15
+ rspec-expectations (~> 2.11.0)
16
+ rspec-mocks (~> 2.11.0)
17
+ rspec-core (2.11.1)
18
+ rspec-expectations (2.11.3)
19
+ diff-lcs (~> 1.1.3)
20
+ rspec-mocks (2.11.2)
20
21
 
21
22
  PLATFORMS
22
23
  ruby
23
24
 
24
25
  DEPENDENCIES
25
26
  downthetube!
27
+ fakeweb
26
28
  rspec
@@ -1,16 +1,17 @@
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 = "1.0.2"
4
+ spec.version = "1.0.3"
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"
8
8
  spec.email = "blessedbyvirtuosity@gmail.com"
9
9
  spec.homepage = "http://mikewilliamson.wordpress.com"
10
- require 'rake'
11
10
  spec.files = %w(README CHANGELOG.md Gemfile Gemfile.lock lib/downthetube.rb lib/downthetube/youtube.rb lib/downthetube/video.rb lib/downthetube/play_list.rb downthetube.gemspec)
12
11
  spec.has_rdoc = true
13
12
  spec.add_dependency("gdata_19", ">= 1.0.0")
13
+ spec.add_development_dependency('rspec')
14
+ spec.add_development_dependency('fakeweb')
14
15
  spec.extra_rdoc_files = ["README"]
15
16
  spec.require_paths = ["lib"]
16
17
  spec.test_files = ["spec"]
@@ -28,7 +28,7 @@ module Youtube
28
28
 
29
29
  if entry.class == REXML::Element
30
30
  @xml = entry
31
- elsif((entry.class == String)&&(entry =~/\w{11}/))
31
+ elsif((entry.class == String)&&(entry =~/(\w|-){11}/))
32
32
  @url = "http://gdata.youtube.com/feeds/api/videos/#{entry}?v=2"
33
33
  else
34
34
  raise "What was passed into Playlist class was not an REXML object"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: downthetube
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-13 00:00:00.000000000Z
12
+ date: 2012-09-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gdata_19
16
- requirement: &23389920 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,44 @@ dependencies:
21
21
  version: 1.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *23389920
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.0.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: fakeweb
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
25
62
  description: A library to make downloading playlists and videos from Youtube less
26
63
  nasty.
27
64
  email: blessedbyvirtuosity@gmail.com
@@ -59,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
96
  version: '0'
60
97
  requirements: []
61
98
  rubyforge_project:
62
- rubygems_version: 1.8.10
99
+ rubygems_version: 1.8.24
63
100
  signing_key:
64
101
  specification_version: 3
65
102
  summary: Downloads playlists and videos from Youtube.