itunes 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- iTunes
1
+ iTunes [![Build Status](https://secure.travis-ci.org/dewski/itunes.png)](http://travis-ci.org/dewski/itunes)
2
2
  ======
3
3
 
4
4
  A Ruby wrapper around the iTunes API that lets you search for any sort of data that is available on the iTunes store.
@@ -1,23 +1,23 @@
1
1
  # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "itunes/version"
2
+ $:.push File.expand_path('../lib', __FILE__)
3
+ require 'itunes/version'
4
4
 
5
5
  Gem::Specification.new do |s|
6
- s.name = "itunes"
6
+ s.name = 'itunes'
7
7
  s.version = ITunes::VERSION
8
- s.platform = Gem::Platform::RUBY
9
- s.authors = ["Garrett Bjerkhoel", "Steve Agalloco"]
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ['Garrett Bjerkhoel', 'Steve Agalloco']
10
10
  s.email = %q{me@garrettbjerkhoel.com}
11
11
  s.homepage = %q{http://github.com/dewski/itunes}
12
12
  s.summary = %q{iTunes API}
13
13
 
14
- s.rubyforge_project = "itunes"
14
+ s.rubyforge_project = 'itunes'
15
15
 
16
16
  s.extra_rdoc_files = [
17
- "MIT-LICENSE",
18
- "README.md"
17
+ 'MIT-LICENSE',
18
+ 'README.md'
19
19
  ]
20
- s.rdoc_options = ["--charset=UTF-8"]
20
+ s.rdoc_options = ['--charset=UTF-8']
21
21
 
22
22
  s.add_development_dependency('rake', '~> 0.9')
23
23
  s.add_development_dependency('rspec', '~> 2.7')
@@ -29,11 +29,11 @@ Gem::Specification.new do |s|
29
29
 
30
30
  s.add_runtime_dependency('rash', '~> 0.3')
31
31
  s.add_runtime_dependency('faraday_middleware', '~> 0.7')
32
- s.add_runtime_dependency('multi_json', '~> 1.0.3')
32
+ s.add_runtime_dependency('multi_json', '~> 1.0')
33
33
 
34
34
  s.files = `git ls-files`.split("\n")
35
35
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
36
36
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
37
- s.require_paths = ["lib"]
37
+ s.require_paths = ['lib']
38
38
  end
39
39
 
@@ -23,4 +23,4 @@ module ITunes
23
23
  include Lookup
24
24
 
25
25
  end
26
- end
26
+ end
@@ -46,11 +46,11 @@ module ITunes
46
46
 
47
47
  # Reset all configuration options to defaults
48
48
  def reset
49
- self.adapter = DEFAULT_ADAPTER
50
- self.endpoint = DEFAULT_ENDPOINT
51
- self.limit = DEFAULT_LIMIT
52
- self.user_agent = DEFAULT_USER_AGENT
49
+ self.adapter = DEFAULT_ADAPTER
50
+ self.endpoint = DEFAULT_ENDPOINT
51
+ self.limit = DEFAULT_LIMIT
52
+ self.user_agent = DEFAULT_USER_AGENT
53
53
  self
54
54
  end
55
55
  end
56
- end
56
+ end
@@ -15,7 +15,7 @@ module ITunes
15
15
 
16
16
  def connection
17
17
  options = {
18
- :headers => {'Accept' => "application/json", 'User-Agent' => user_agent},
18
+ :headers => {'Accept' => 'application/json', 'User-Agent' => user_agent},
19
19
  :url => api_endpoint,
20
20
  }
21
21
 
@@ -27,4 +27,4 @@ module ITunes
27
27
  end
28
28
 
29
29
  end
30
- end
30
+ end
@@ -1,3 +1,3 @@
1
1
  module ITunes
2
- VERSION = '0.5.3'
2
+ VERSION = '0.5.4'
3
3
  end
@@ -15,6 +15,6 @@ RSpec.configure do |c|
15
15
  end
16
16
 
17
17
  VCR.config do |c|
18
- c.cassette_library_dir = 'spec/fixtures'
19
- c.stub_with :webmock
20
- end
18
+ c.cassette_library_dir = 'spec/fixtures'
19
+ c.stub_with :webmock
20
+ end
metadata CHANGED
@@ -1,135 +1,184 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: itunes
3
- version: !ruby/object:Gem::Version
4
- version: 0.5.3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 3
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 5
9
+ - 4
10
+ version: 0.5.4
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Garrett Bjerkhoel
9
14
  - Steve Agalloco
10
15
  autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
- date: 2011-11-14 00:00:00.000000000Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
18
+
19
+ date: 2012-02-22 00:00:00 Z
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
16
22
  name: rake
17
- requirement: &70171265196980 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
18
25
  none: false
19
- requirements:
26
+ requirements:
20
27
  - - ~>
21
- - !ruby/object:Gem::Version
22
- version: '0.9'
28
+ - !ruby/object:Gem::Version
29
+ hash: 25
30
+ segments:
31
+ - 0
32
+ - 9
33
+ version: "0.9"
23
34
  type: :development
24
- prerelease: false
25
- version_requirements: *70171265196980
26
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
27
37
  name: rspec
28
- requirement: &70171265196480 !ruby/object:Gem::Requirement
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
29
40
  none: false
30
- requirements:
41
+ requirements:
31
42
  - - ~>
32
- - !ruby/object:Gem::Version
33
- version: '2.7'
43
+ - !ruby/object:Gem::Version
44
+ hash: 13
45
+ segments:
46
+ - 2
47
+ - 7
48
+ version: "2.7"
34
49
  type: :development
35
- prerelease: false
36
- version_requirements: *70171265196480
37
- - !ruby/object:Gem::Dependency
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
38
52
  name: yard
39
- requirement: &70171265196020 !ruby/object:Gem::Requirement
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
40
55
  none: false
41
- requirements:
56
+ requirements:
42
57
  - - ~>
43
- - !ruby/object:Gem::Version
44
- version: '0.7'
58
+ - !ruby/object:Gem::Version
59
+ hash: 5
60
+ segments:
61
+ - 0
62
+ - 7
63
+ version: "0.7"
45
64
  type: :development
46
- prerelease: false
47
- version_requirements: *70171265196020
48
- - !ruby/object:Gem::Dependency
65
+ version_requirements: *id003
66
+ - !ruby/object:Gem::Dependency
49
67
  name: maruku
50
- requirement: &70171265195500 !ruby/object:Gem::Requirement
68
+ prerelease: false
69
+ requirement: &id004 !ruby/object:Gem::Requirement
51
70
  none: false
52
- requirements:
71
+ requirements:
53
72
  - - ~>
54
- - !ruby/object:Gem::Version
55
- version: '0.6'
73
+ - !ruby/object:Gem::Version
74
+ hash: 7
75
+ segments:
76
+ - 0
77
+ - 6
78
+ version: "0.6"
56
79
  type: :development
57
- prerelease: false
58
- version_requirements: *70171265195500
59
- - !ruby/object:Gem::Dependency
80
+ version_requirements: *id004
81
+ - !ruby/object:Gem::Dependency
60
82
  name: simplecov
61
- requirement: &70171265191920 !ruby/object:Gem::Requirement
83
+ prerelease: false
84
+ requirement: &id005 !ruby/object:Gem::Requirement
62
85
  none: false
63
- requirements:
86
+ requirements:
64
87
  - - ~>
65
- - !ruby/object:Gem::Version
88
+ - !ruby/object:Gem::Version
89
+ hash: 11
90
+ segments:
91
+ - 0
92
+ - 4
93
+ - 2
66
94
  version: 0.4.2
67
95
  type: :development
68
- prerelease: false
69
- version_requirements: *70171265191920
70
- - !ruby/object:Gem::Dependency
96
+ version_requirements: *id005
97
+ - !ruby/object:Gem::Dependency
71
98
  name: webmock
72
- requirement: &70171265191200 !ruby/object:Gem::Requirement
99
+ prerelease: false
100
+ requirement: &id006 !ruby/object:Gem::Requirement
73
101
  none: false
74
- requirements:
102
+ requirements:
75
103
  - - ~>
76
- - !ruby/object:Gem::Version
77
- version: '1.7'
104
+ - !ruby/object:Gem::Version
105
+ hash: 1
106
+ segments:
107
+ - 1
108
+ - 7
109
+ version: "1.7"
78
110
  type: :development
79
- prerelease: false
80
- version_requirements: *70171265191200
81
- - !ruby/object:Gem::Dependency
111
+ version_requirements: *id006
112
+ - !ruby/object:Gem::Dependency
82
113
  name: vcr
83
- requirement: &70171265190420 !ruby/object:Gem::Requirement
114
+ prerelease: false
115
+ requirement: &id007 !ruby/object:Gem::Requirement
84
116
  none: false
85
- requirements:
117
+ requirements:
86
118
  - - ~>
87
- - !ruby/object:Gem::Version
88
- version: '1.11'
119
+ - !ruby/object:Gem::Version
120
+ hash: 25
121
+ segments:
122
+ - 1
123
+ - 11
124
+ version: "1.11"
89
125
  type: :development
90
- prerelease: false
91
- version_requirements: *70171265190420
92
- - !ruby/object:Gem::Dependency
126
+ version_requirements: *id007
127
+ - !ruby/object:Gem::Dependency
93
128
  name: rash
94
- requirement: &70171265189960 !ruby/object:Gem::Requirement
129
+ prerelease: false
130
+ requirement: &id008 !ruby/object:Gem::Requirement
95
131
  none: false
96
- requirements:
132
+ requirements:
97
133
  - - ~>
98
- - !ruby/object:Gem::Version
99
- version: '0.3'
134
+ - !ruby/object:Gem::Version
135
+ hash: 13
136
+ segments:
137
+ - 0
138
+ - 3
139
+ version: "0.3"
100
140
  type: :runtime
101
- prerelease: false
102
- version_requirements: *70171265189960
103
- - !ruby/object:Gem::Dependency
141
+ version_requirements: *id008
142
+ - !ruby/object:Gem::Dependency
104
143
  name: faraday_middleware
105
- requirement: &70171265189420 !ruby/object:Gem::Requirement
144
+ prerelease: false
145
+ requirement: &id009 !ruby/object:Gem::Requirement
106
146
  none: false
107
- requirements:
147
+ requirements:
108
148
  - - ~>
109
- - !ruby/object:Gem::Version
110
- version: '0.7'
149
+ - !ruby/object:Gem::Version
150
+ hash: 5
151
+ segments:
152
+ - 0
153
+ - 7
154
+ version: "0.7"
111
155
  type: :runtime
112
- prerelease: false
113
- version_requirements: *70171265189420
114
- - !ruby/object:Gem::Dependency
156
+ version_requirements: *id009
157
+ - !ruby/object:Gem::Dependency
115
158
  name: multi_json
116
- requirement: &70171265188760 !ruby/object:Gem::Requirement
159
+ prerelease: false
160
+ requirement: &id010 !ruby/object:Gem::Requirement
117
161
  none: false
118
- requirements:
162
+ requirements:
119
163
  - - ~>
120
- - !ruby/object:Gem::Version
121
- version: 1.0.3
164
+ - !ruby/object:Gem::Version
165
+ hash: 15
166
+ segments:
167
+ - 1
168
+ - 0
169
+ version: "1.0"
122
170
  type: :runtime
123
- prerelease: false
124
- version_requirements: *70171265188760
171
+ version_requirements: *id010
125
172
  description:
126
173
  email: me@garrettbjerkhoel.com
127
174
  executables: []
175
+
128
176
  extensions: []
129
- extra_rdoc_files:
177
+
178
+ extra_rdoc_files:
130
179
  - MIT-LICENSE
131
180
  - README.md
132
- files:
181
+ files:
133
182
  - .gemtest
134
183
  - .gitignore
135
184
  - .rspec
@@ -152,30 +201,38 @@ files:
152
201
  - spec/spec_helper.rb
153
202
  homepage: http://github.com/dewski/itunes
154
203
  licenses: []
204
+
155
205
  post_install_message:
156
- rdoc_options:
206
+ rdoc_options:
157
207
  - --charset=UTF-8
158
- require_paths:
208
+ require_paths:
159
209
  - lib
160
- required_ruby_version: !ruby/object:Gem::Requirement
210
+ required_ruby_version: !ruby/object:Gem::Requirement
161
211
  none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
- required_rubygems_version: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ hash: 3
216
+ segments:
217
+ - 0
218
+ version: "0"
219
+ required_rubygems_version: !ruby/object:Gem::Requirement
167
220
  none: false
168
- requirements:
169
- - - ! '>='
170
- - !ruby/object:Gem::Version
171
- version: '0'
221
+ requirements:
222
+ - - ">="
223
+ - !ruby/object:Gem::Version
224
+ hash: 3
225
+ segments:
226
+ - 0
227
+ version: "0"
172
228
  requirements: []
229
+
173
230
  rubyforge_project: itunes
174
- rubygems_version: 1.8.10
231
+ rubygems_version: 1.8.16
175
232
  signing_key:
176
233
  specification_version: 3
177
234
  summary: iTunes API
178
- test_files:
235
+ test_files:
179
236
  - spec/fixtures/ITunes.yml
180
237
  - spec/fixtures/ITunes_Client.yml
181
238
  - spec/itunes/client_spec.rb