randomyoutube 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,10 @@ module RandomYouTube
18
18
  def self.local_exec
19
19
  @mywords = `#{THREE_WORDS}`
20
20
  if $? != 0
21
- raise "Error! '#{THREE_WORDS}' failed.\nSet RandomYouTube::THREE_WORDS to a valid shell script for random words."
21
+ puts "Please make sure you have a dictionary file."
22
+ puts "sudo apt-get install --reinstall wamerican"
23
+ puts "Error! '#{THREE_WORDS}' failed.\nSet RandomYouTube::THREE_WORDS to a valid shell script for random words."
24
+ Kernel.exit
22
25
  end
23
26
  @mywords = @mywords.strip_byac(ACC_CHARS).split("\n")
24
27
  urlsearch = REQUESTOR + @mywords.join('+')
@@ -1,3 +1,3 @@
1
1
  module RandomYouTube
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,101 +1,87 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: randomyoutube
3
- version: !ruby/object:Gem::Version
4
- hash: 25
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 1
10
- version: 0.1.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Daniel P. Clark / 6ftDan(TM)
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-11-26 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-12-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: mightystring
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 27
29
- segments:
30
- - 0
31
- - 1
32
- - 0
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
33
21
  version: 0.1.0
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: nokogiri
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 0.1.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: nokogiri
32
+ requirement: !ruby/object:Gem::Requirement
40
33
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 1
47
- - 5
48
- - 0
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
49
37
  version: 1.5.0
50
38
  type: :runtime
51
- version_requirements: *id002
52
- description: Grab a random youtube video link from any linux box. Parsable and human readable.
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 1.5.0
46
+ description: Grab a random youtube video link from any linux box. Parsable and human
47
+ readable.
53
48
  email: webmaster@6ftdan.com
54
- executables:
49
+ executables:
55
50
  - randomyoutube
56
51
  extensions: []
57
-
58
- extra_rdoc_files:
52
+ extra_rdoc_files:
59
53
  - README
60
- files:
54
+ files:
61
55
  - bin/randomyoutube
62
- - lib/randomyoutube/version.rb
63
56
  - lib/randomyoutube.rb
57
+ - lib/randomyoutube/version.rb
64
58
  - README
65
59
  - LICENSE
66
60
  homepage: http://www.github.com/danielpclark/RandomYouTube
67
- licenses:
61
+ licenses:
68
62
  - The MIT License (MIT)
69
63
  post_install_message: Enjoy RandomYouTube!
70
- rdoc_options:
64
+ rdoc_options:
71
65
  - --main
72
66
  - README
73
- require_paths:
67
+ require_paths:
74
68
  - lib
75
- required_ruby_version: !ruby/object:Gem::Requirement
69
+ required_ruby_version: !ruby/object:Gem::Requirement
76
70
  none: false
77
- requirements:
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- hash: 3
81
- segments:
82
- - 0
83
- version: "0"
84
- required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ! '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
76
  none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- hash: 3
90
- segments:
91
- - 0
92
- version: "0"
77
+ requirements:
78
+ - - ! '>='
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
93
81
  requirements: []
94
-
95
82
  rubyforge_project:
96
83
  rubygems_version: 1.8.24
97
84
  signing_key:
98
85
  specification_version: 3
99
86
  summary: Grab a random youtube video link from any linux box.
100
87
  test_files: []
101
-