shoutcast_api 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -3,3 +3,4 @@ doc
3
3
  pkg
4
4
  coverage
5
5
  tags
6
+ *.gemspec
data/.watchr CHANGED
@@ -12,7 +12,7 @@ def underscore(file)
12
12
  end
13
13
 
14
14
  watch('test/test_.*\.rb') {|md| run md[0] }
15
- watch('lib/(.*)\.rb') {|md| run "test/test_#{underscore(md[1])}.rb" }
15
+ watch('lib/(.*)\.rb') { run_tests }
16
16
  watch('test/helper.rb') { run_tests }
17
17
 
18
18
  run_tests
data/README.rdoc CHANGED
@@ -44,6 +44,6 @@ Uses httparty and roxml for fetching and parsing data from http://yp.shoutcast.c
44
44
 
45
45
  == TODO
46
46
 
47
+ * Use fakeweb for mocking http requests
47
48
  * README.rdoc as main page for rdoc?!
48
49
  * command line options transformations
49
- * Use mock-server for mocking API requests
data/Rakefile CHANGED
@@ -20,8 +20,8 @@ Jeweler::Tasks.new do |gem|
20
20
  gem.add_dependency 'roxml', '~> 2.5'
21
21
 
22
22
  gem.add_development_dependency "mocha"
23
- gem.add_development_dependency "riot", ">= 0.10.4"
24
- gem.add_development_dependency "riot_notifier", ">= 0.0.3"
23
+ gem.add_development_dependency "riot"
24
+ gem.add_development_dependency "riot_notifier", "= 0.0.7"
25
25
 
26
26
  gem.test_files = Dir.glob('test/test_*.rb')
27
27
  end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.6
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{shoutcast_api}
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Peter Suschlik"]
12
- s.date = %q{2009-12-07}
12
+ s.date = %q{2009-12-17}
13
13
  s.default_executable = %q{shoutcast_search}
14
14
  s.email = %q{peter-scapi@suschlik.de}
15
15
  s.executables = ["shoutcast_search"]
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  ".watchr",
22
22
  "README.rdoc",
23
23
  "Rakefile",
24
- "VERSION.yml",
24
+ "VERSION",
25
25
  "bin/shoutcast_search",
26
26
  "lib/shoutcast_api.rb",
27
27
  "shoutcast_api.gemspec",
@@ -39,9 +39,9 @@ Gem::Specification.new do |s|
39
39
  s.rubygems_version = %q{1.3.5}
40
40
  s.summary = %q{Simple shoutcast.com API.}
41
41
  s.test_files = [
42
- "test/test_xml.rb",
43
- "test/test_fetcher.rb",
44
- "test/test_basic.rb"
42
+ "test/test_fetcher.rb",
43
+ "test/test_basic.rb",
44
+ "test/test_xml.rb"
45
45
  ]
46
46
 
47
47
  if s.respond_to? :specification_version then
@@ -52,21 +52,21 @@ Gem::Specification.new do |s|
52
52
  s.add_runtime_dependency(%q<httparty>, ["~> 0.4"])
53
53
  s.add_runtime_dependency(%q<roxml>, ["~> 2.5"])
54
54
  s.add_development_dependency(%q<mocha>, [">= 0"])
55
- s.add_development_dependency(%q<riot>, [">= 0.10.4"])
56
- s.add_development_dependency(%q<riot_notifier>, [">= 0.0.3"])
55
+ s.add_development_dependency(%q<riot>, [">= 0"])
56
+ s.add_development_dependency(%q<riot_notifier>, ["= 0.0.7"])
57
57
  else
58
58
  s.add_dependency(%q<httparty>, ["~> 0.4"])
59
59
  s.add_dependency(%q<roxml>, ["~> 2.5"])
60
60
  s.add_dependency(%q<mocha>, [">= 0"])
61
- s.add_dependency(%q<riot>, [">= 0.10.4"])
62
- s.add_dependency(%q<riot_notifier>, [">= 0.0.3"])
61
+ s.add_dependency(%q<riot>, [">= 0"])
62
+ s.add_dependency(%q<riot_notifier>, ["= 0.0.7"])
63
63
  end
64
64
  else
65
65
  s.add_dependency(%q<httparty>, ["~> 0.4"])
66
66
  s.add_dependency(%q<roxml>, ["~> 2.5"])
67
67
  s.add_dependency(%q<mocha>, [">= 0"])
68
- s.add_dependency(%q<riot>, [">= 0.10.4"])
69
- s.add_dependency(%q<riot_notifier>, [">= 0.0.3"])
68
+ s.add_dependency(%q<riot>, [">= 0"])
69
+ s.add_dependency(%q<riot_notifier>, ["= 0.0.7"])
70
70
  end
71
71
  end
72
72
 
data/test/helper.rb CHANGED
@@ -4,7 +4,7 @@ require 'mocha'
4
4
  require 'riot'
5
5
  require 'riot_notifier'
6
6
 
7
- Riot.reporter = RiotNotifier::Libnotify
7
+ Riot.reporter = RiotNotifier
8
8
 
9
9
  require 'shoutcast_api'
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoutcast_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Suschlik
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-07 00:00:00 +01:00
12
+ date: 2009-12-17 00:00:00 +01:00
13
13
  default_executable: shoutcast_search
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: 0.10.4
53
+ version: "0"
54
54
  version:
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: riot_notifier
@@ -58,9 +58,9 @@ dependencies:
58
58
  version_requirement:
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ">="
61
+ - - "="
62
62
  - !ruby/object:Gem::Version
63
- version: 0.0.3
63
+ version: 0.0.7
64
64
  version:
65
65
  description:
66
66
  email: peter-scapi@suschlik.de
@@ -75,7 +75,7 @@ files:
75
75
  - .watchr
76
76
  - README.rdoc
77
77
  - Rakefile
78
- - VERSION.yml
78
+ - VERSION
79
79
  - bin/shoutcast_search
80
80
  - lib/shoutcast_api.rb
81
81
  - shoutcast_api.gemspec
@@ -115,6 +115,6 @@ signing_key:
115
115
  specification_version: 3
116
116
  summary: Simple shoutcast.com API.
117
117
  test_files:
118
- - test/test_xml.rb
119
118
  - test/test_fetcher.rb
120
119
  - test/test_basic.rb
120
+ - test/test_xml.rb
data/VERSION.yml DELETED
@@ -1,5 +0,0 @@
1
- ---
2
- :patch: 5
3
- :build:
4
- :major: 0
5
- :minor: 1