itunes-search 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 1.9.2
5
+ - 1.8.7
6
+ - jruby-18mode
7
+ - jruby-19mode
data/Gemfile CHANGED
@@ -10,5 +10,4 @@ group :development do
10
10
  gem "rdoc", "~> 3.12"
11
11
  gem "bundler"
12
12
  gem "jeweler", "~> 1.8.4"
13
- gem "rcov", "0.9.11"
14
13
  end
@@ -19,7 +19,6 @@ GEM
19
19
  metaclass (~> 0.0.1)
20
20
  multi_json (1.5.0)
21
21
  rake (10.0.3)
22
- rcov (0.9.11)
23
22
  rdoc (3.12)
24
23
  json (~> 1.4)
25
24
  shoulda (3.3.2)
@@ -36,6 +35,5 @@ PLATFORMS
36
35
  DEPENDENCIES
37
36
  bundler
38
37
  jeweler (~> 1.8.4)
39
- rcov (= 0.9.11)
40
38
  rdoc (~> 3.12)
41
39
  shoulda
@@ -0,0 +1,37 @@
1
+ #itunes-search
2
+
3
+ This was created for use on musicxray.com if you think you can do better send your resume to jeff at musicxray.com
4
+
5
+ [![Build Status](https://travis-ci.org/johnnyiller/itunes-search.png?branch=master)](https://travis-ci.org/johnnyiller/itunes-search)[![Dependency Status](https://gemnasium.com/johnnyiller/itunes-search.png)](https://gemnasium.com/johnnyiller/itunes-search)[![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/johnnyiller/itunes-search)
6
+
7
+ ##Installation
8
+ <pre>
9
+ gem install itunes-search
10
+ </pre>
11
+
12
+ ##Usage
13
+ ```ruby
14
+ require 'itunes-search'
15
+
16
+
17
+ results = ItunesSearch.search("term"=>"The Killers").results
18
+
19
+ results.each do |result|
20
+ puts result.trackViewUrl
21
+ end
22
+ ```
23
+
24
+
25
+ ##Note on Patches/Pull Requests
26
+
27
+ * Fork the project.
28
+ * Make your feature addition or bug fix.
29
+ * Add tests for it. This is important so I don't break it in a
30
+ future version unintentionally.
31
+ * Commit, do not mess with rakefile, version, or history.
32
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
33
+ * Send me a pull request. Bonus points for topic branches.
34
+
35
+ ##Copyright
36
+
37
+ Copyright (c) 2012 jeff durand. See LICENSE for details.
data/Rakefile CHANGED
@@ -32,14 +32,6 @@ Rake::TestTask.new(:test) do |test|
32
32
  test.verbose = true
33
33
  end
34
34
 
35
- require 'rcov/rcovtask'
36
- Rcov::RcovTask.new do |test|
37
- test.libs << 'test'
38
- test.pattern = 'test/**/test_*.rb'
39
- test.verbose = true
40
- test.rcov_opts << '--exclude "gems/*"'
41
- end
42
-
43
35
  task :default => :test
44
36
 
45
37
  require 'rdoc/task'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -0,0 +1,62 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "itunes-search"
8
+ s.version = "0.4.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["jeff durand"]
12
+ s.date = "2013-01-09"
13
+ s.description = "Simple interface for the itunes search api will return results as array of results objects and offer reasonable accessor methods variables"
14
+ s.email = "jeff.durand@gmail.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.markdown"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".travis.yml",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.markdown",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "itunes-search.gemspec",
29
+ "lib/itunes-search.rb",
30
+ "lib/itunes-search/base.rb",
31
+ "lib/itunes-search/search.rb",
32
+ "test/helper.rb",
33
+ "test/test_itunes-search.rb"
34
+ ]
35
+ s.homepage = "http://github.com/johnnyiller/itunes-search"
36
+ s.licenses = ["MIT"]
37
+ s.require_paths = ["lib"]
38
+ s.rubygems_version = "1.8.24"
39
+ s.summary = "Itunes Search"
40
+
41
+ if s.respond_to? :specification_version then
42
+ s.specification_version = 3
43
+
44
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
45
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
46
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
47
+ s.add_development_dependency(%q<bundler>, [">= 0"])
48
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
49
+ else
50
+ s.add_dependency(%q<shoulda>, [">= 0"])
51
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
52
+ s.add_dependency(%q<bundler>, [">= 0"])
53
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
54
+ end
55
+ else
56
+ s.add_dependency(%q<shoulda>, [">= 0"])
57
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
58
+ s.add_dependency(%q<bundler>, [">= 0"])
59
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
60
+ end
61
+ end
62
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itunes-search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -75,22 +75,6 @@ dependencies:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
77
  version: 1.8.4
78
- - !ruby/object:Gem::Dependency
79
- name: rcov
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - '='
84
- - !ruby/object:Gem::Version
85
- version: 0.9.11
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - '='
92
- - !ruby/object:Gem::Version
93
- version: 0.9.11
94
78
  description: Simple interface for the itunes search api will return results as array
95
79
  of results objects and offer reasonable accessor methods variables
96
80
  email: jeff.durand@gmail.com
@@ -98,15 +82,17 @@ executables: []
98
82
  extensions: []
99
83
  extra_rdoc_files:
100
84
  - LICENSE.txt
101
- - README.rdoc
85
+ - README.markdown
102
86
  files:
103
87
  - .document
88
+ - .travis.yml
104
89
  - Gemfile
105
90
  - Gemfile.lock
106
91
  - LICENSE.txt
107
- - README.rdoc
92
+ - README.markdown
108
93
  - Rakefile
109
94
  - VERSION
95
+ - itunes-search.gemspec
110
96
  - lib/itunes-search.rb
111
97
  - lib/itunes-search/base.rb
112
98
  - lib/itunes-search/search.rb
@@ -127,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
113
  version: '0'
128
114
  segments:
129
115
  - 0
130
- hash: -1988584365985822436
116
+ hash: 3023921741653454121
131
117
  required_rubygems_version: !ruby/object:Gem::Requirement
132
118
  none: false
133
119
  requirements:
@@ -1,38 +0,0 @@
1
- = itunes-search
2
-
3
- This was created for use on musicxray.com if you think you can do better send your resume to jeff at musicxray.com
4
-
5
- == Installation
6
-
7
- gem install itunes-search
8
-
9
- == Usage
10
- <code>
11
- base = Itunes::Base.new
12
- search_object = base.search("term"=>"The Killers")
13
- </code>
14
-
15
- # get an array of the search_objects
16
- <code>
17
- results = search_object.results
18
- results.each do |result|
19
- puts result.trackViewUrl
20
- end
21
-
22
- puts result.attributes
23
- </code>
24
-
25
-
26
- == Note on Patches/Pull Requests
27
-
28
- * Fork the project.
29
- * Make your feature addition or bug fix.
30
- * Add tests for it. This is important so I don't break it in a
31
- future version unintentionally.
32
- * Commit, do not mess with rakefile, version, or history.
33
- (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
34
- * Send me a pull request. Bonus points for topic branches.
35
-
36
- == Copyright
37
-
38
- Copyright (c) 2010 jeff durand. See LICENSE for details.