conquiro 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +22 -0
  3. data/.idea/.name +1 -0
  4. data/.idea/.rakeTasks +7 -0
  5. data/.idea/encodings.xml +5 -0
  6. data/.idea/itunes_search.iml +45 -0
  7. data/.idea/misc.xml +5 -0
  8. data/.idea/modules.xml +9 -0
  9. data/.idea/scopes/scope_settings.xml +5 -0
  10. data/.idea/vcs.xml +7 -0
  11. data/.idea/workspace.xml +384 -0
  12. data/.rspec +3 -0
  13. data/.ruby-version +1 -0
  14. data/.travis.yml +6 -0
  15. data/Gemfile +4 -0
  16. data/LICENSE +21 -0
  17. data/LICENSE.txt +22 -0
  18. data/README.md +94 -0
  19. data/Rakefile +10 -0
  20. data/conquiro.gemspec +29 -0
  21. data/lib/conquiro.rb +6 -0
  22. data/lib/conquiro/criteria.rb +24 -0
  23. data/lib/conquiro/search_api/adapter.rb +19 -0
  24. data/lib/conquiro/search_api/client.rb +21 -0
  25. data/lib/conquiro/search_api/result.rb +15 -0
  26. data/lib/conquiro/search_api/result_collection.rb +14 -0
  27. data/lib/conquiro/search_api/result_serializer.rb +15 -0
  28. data/lib/conquiro/search_api/software_serializer.rb +16 -0
  29. data/lib/conquiro/software.rb +12 -0
  30. data/lib/conquiro/software_repository.rb +25 -0
  31. data/lib/conquiro/version.rb +3 -0
  32. data/spec/fixtures/casettes/Conquiro_SearchAPI_Adapter/when_searching_for_yelp_app/should_find_50_search_results.yml +4266 -0
  33. data/spec/fixtures/casettes/Conquiro_SearchAPI_Adapter/when_searching_for_yelp_app/should_return_a_Conquiro_Software_entity.yml +4266 -0
  34. data/spec/fixtures/casettes/Conquiro_SearchAPI_Adapter/when_searching_for_yelp_app/should_return_valid_entities.yml +4266 -0
  35. data/spec/fixtures/casettes/Conquiro_SearchAPI_Client/when_searching_for_yelp_app/should_find_50_search_results.yml +4266 -0
  36. data/spec/fixtures/casettes/Conquiro_SoftwareRepository/should_find_two_instances_for_gasapp.yml +165 -0
  37. data/spec/lib/conquiro/search_api/adapter_spec.rb +23 -0
  38. data/spec/lib/conquiro/search_api/client_spec.rb +11 -0
  39. data/spec/lib/conquiro/software_repository_spec.rb +14 -0
  40. data/spec/spec_helper.rb +13 -0
  41. metadata +204 -0
@@ -0,0 +1,165 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://itunes.apple.com/search?entity=software&term=gasapp
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ X-Apple-Jingle-Correlation-Key:
16
+ - GLGPDC5PCGI6S
17
+ X-Apple-Translated-Wo-Url:
18
+ - "/WebObjects/MZStoreServices.woa/ws/wsSearch?term=gasapp&entity=software&urlDesc="
19
+ X-Apple-Orig-Url:
20
+ - https://itunes.apple.com/search?term=gasapp&entity=software
21
+ X-Apple-Application-Site:
22
+ - ST11
23
+ Apple-Timing-App:
24
+ - 50 ms
25
+ Content-Type:
26
+ - text/javascript; charset=utf-8
27
+ X-Apple-Application-Instance:
28
+ - '2089907'
29
+ X-Webobjects-Loadaverage:
30
+ - '0'
31
+ Server:
32
+ - ATS/4.1.0
33
+ X-Apple-Ats-Cache-Key:
34
+ - "/17.173.38.169/80/search/iDevice/https?entity=software&term=gasapp"
35
+ Cache-Control:
36
+ - no-transform, max-age=60
37
+ Date:
38
+ - Tue, 05 Aug 2014 02:32:36 GMT
39
+ Transfer-Encoding:
40
+ - chunked
41
+ Connection:
42
+ - Transfer-Encoding
43
+ - keep-alive
44
+ X-Apple-Partner:
45
+ - origin.0
46
+ body:
47
+ encoding: ASCII-8BIT
48
+ string: !binary |-
49
+ CgoKewogInJlc3VsdENvdW50IjoyLAogInJlc3VsdHMiOiBbCnsia2luZCI6
50
+ InNvZnR3YXJlIiwgImZlYXR1cmVzIjpbXSwgCiJzdXBwb3J0ZWREZXZpY2Vz
51
+ IjpbImlQYWR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plcyBlbiBhbGd1bm9zIGNhc29zLlxuLSBFbCBpY29ubyBl
149
+ cyBudWV2by4gOilcblxuSGFwcHkgaHVudGluZyEiLCAibWluaW11bU9zVmVy
150
+ c2lvbiI6IjcuMCIsICJmb3JtYXR0ZWRQcmljZSI6IkZyZWUiLCAid3JhcHBl
151
+ clR5cGUiOiJzb2Z0d2FyZSIsICJ0cmFja0NlbnNvcmVkTmFtZSI6Ikdhc0Fw
152
+ cCIsICJsYW5ndWFnZUNvZGVzSVNPMkEiOlsiRU4iLCAiRVMiXSwgImZpbGVT
153
+ aXplQnl0ZXMiOiI0NTA1NjY2IiwgInNlbGxlclVybCI6Imh0dHA6Ly9haG9y
154
+ cmFyYWxyZXBvc3Rhci5jb20vIiwgImNvbnRlbnRBZHZpc29yeVJhdGluZyI6
155
+ IjQrIiwgImF2ZXJhZ2VVc2VyUmF0aW5nRm9yQ3VycmVudFZlcnNpb24iOjUu
156
+ MCwgInVzZXJSYXRpbmdDb3VudEZvckN1cnJlbnRWZXJzaW9uIjoyLCAiYXJ0
157
+ d29ya1VybDEwMCI6Imh0dHA6Ly9hMTMwNi5waG9ib3MuYXBwbGUuY29tL3Vz
158
+ L3IzMC9QdXJwbGU0L3Y0LzhiLzBlL2E4LzhiMGVhODY4LWZiNDYtNDRhZC1k
159
+ MzM0LWE3NjU1MTg0YzhkMS9temwucHdja3lkaXUucG5nIiwgInRyYWNrVmll
160
+ d1VybCI6Imh0dHBzOi8vaXR1bmVzLmFwcGxlLmNvbS91cy9hcHAvZ2FzYXBw
161
+ L2lkODgyMjgwMjk2P210PTgmdW89NCIsICJ0cmFja0NvbnRlbnRSYXRpbmci
162
+ OiI0KyJ9XQp9CgoK
163
+ http_version:
164
+ recorded_at: Tue, 05 Aug 2014 02:34:04 GMT
165
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,23 @@
1
+ require 'spec_helper'
2
+
3
+ describe Conquiro::SearchAPI::Adapter, vcr: {match_requests_on: [:method, :uri]} do
4
+ let(:adapter) { described_class.new }
5
+ let(:criteria) { Conquiro::Criteria.new('yelp', 'us', 'software') }
6
+ let(:results) { adapter.query(criteria) }
7
+ let(:first_result) { results.first }
8
+ let(:result_types) { results.map(&:class).uniq }
9
+ describe 'when searching for yelp app' do
10
+ it 'should find 50 search results' do
11
+ expect(results.size).to eq(50)
12
+ end
13
+
14
+ it 'should return a Conquiro::Software entity' do
15
+ expect(result_types).to eq([Conquiro::Software])
16
+ end
17
+
18
+ it 'should return valid entities' do
19
+ expect(first_result.seller_name).to eq('Yelp, Inc.')
20
+ expect(first_result.track_name).to eq('Yelp')
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe Conquiro::SearchAPI::Client, vcr: {match_requests_on: [:method, :uri]} do
4
+ let(:client) { described_class.new }
5
+ describe 'when searching for yelp app' do
6
+ it 'should find 50 search results' do
7
+ response = client.query(term: 'yelp', country: 'us', entity: 'software')
8
+ expect(response[:results].size).to eq(50)
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,14 @@
1
+ require 'spec_helper'
2
+
3
+ describe Conquiro::SoftwareRepository, vcr: {match_requests_on: [:method, :uri]} do
4
+ let(:repo) { described_class.new }
5
+
6
+ it "should respond to query" do
7
+ expect(repo).to respond_to(:query)
8
+ end
9
+
10
+ it "should find two instances for gasapp" do
11
+ apps = repo.query(term: 'gasapp')
12
+ expect(apps.size).to eq(2)
13
+ end
14
+ end
@@ -0,0 +1,13 @@
1
+ $:.unshift(File.expand_path('../lib', __FILE__))
2
+
3
+ require 'rspec'
4
+ require 'byebug'
5
+ require 'conquiro'
6
+ require 'vcr'
7
+ require 'webmock'
8
+
9
+ VCR.configure do |c|
10
+ c.configure_rspec_metadata!
11
+ c.cassette_library_dir = 'spec/fixtures/casettes'
12
+ c.hook_into :webmock
13
+ end
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: conquiro
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Vicente Reig Rincon de Arellano
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-08-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: activemodel
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.6'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.6'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: webmock
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: byebug
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: vcr
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: ''
126
+ email:
127
+ - vicente.reig@gmail.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - ".gitignore"
133
+ - ".idea/.name"
134
+ - ".idea/.rakeTasks"
135
+ - ".idea/encodings.xml"
136
+ - ".idea/itunes_search.iml"
137
+ - ".idea/misc.xml"
138
+ - ".idea/modules.xml"
139
+ - ".idea/scopes/scope_settings.xml"
140
+ - ".idea/vcs.xml"
141
+ - ".idea/workspace.xml"
142
+ - ".rspec"
143
+ - ".ruby-version"
144
+ - ".travis.yml"
145
+ - Gemfile
146
+ - LICENSE
147
+ - LICENSE.txt
148
+ - README.md
149
+ - Rakefile
150
+ - conquiro.gemspec
151
+ - lib/conquiro.rb
152
+ - lib/conquiro/criteria.rb
153
+ - lib/conquiro/search_api/adapter.rb
154
+ - lib/conquiro/search_api/client.rb
155
+ - lib/conquiro/search_api/result.rb
156
+ - lib/conquiro/search_api/result_collection.rb
157
+ - lib/conquiro/search_api/result_serializer.rb
158
+ - lib/conquiro/search_api/software_serializer.rb
159
+ - lib/conquiro/software.rb
160
+ - lib/conquiro/software_repository.rb
161
+ - lib/conquiro/version.rb
162
+ - spec/fixtures/casettes/Conquiro_SearchAPI_Adapter/when_searching_for_yelp_app/should_find_50_search_results.yml
163
+ - spec/fixtures/casettes/Conquiro_SearchAPI_Adapter/when_searching_for_yelp_app/should_return_a_Conquiro_Software_entity.yml
164
+ - spec/fixtures/casettes/Conquiro_SearchAPI_Adapter/when_searching_for_yelp_app/should_return_valid_entities.yml
165
+ - spec/fixtures/casettes/Conquiro_SearchAPI_Client/when_searching_for_yelp_app/should_find_50_search_results.yml
166
+ - spec/fixtures/casettes/Conquiro_SoftwareRepository/should_find_two_instances_for_gasapp.yml
167
+ - spec/lib/conquiro/search_api/adapter_spec.rb
168
+ - spec/lib/conquiro/search_api/client_spec.rb
169
+ - spec/lib/conquiro/software_repository_spec.rb
170
+ - spec/spec_helper.rb
171
+ homepage: ''
172
+ licenses:
173
+ - MIT
174
+ metadata: {}
175
+ post_install_message:
176
+ rdoc_options: []
177
+ require_paths:
178
+ - lib
179
+ required_ruby_version: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: '0'
184
+ required_rubygems_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ requirements: []
190
+ rubyforge_project:
191
+ rubygems_version: 2.2.2
192
+ signing_key:
193
+ specification_version: 4
194
+ summary: Simple interface to iTunes Search API
195
+ test_files:
196
+ - spec/fixtures/casettes/Conquiro_SearchAPI_Adapter/when_searching_for_yelp_app/should_find_50_search_results.yml
197
+ - spec/fixtures/casettes/Conquiro_SearchAPI_Adapter/when_searching_for_yelp_app/should_return_a_Conquiro_Software_entity.yml
198
+ - spec/fixtures/casettes/Conquiro_SearchAPI_Adapter/when_searching_for_yelp_app/should_return_valid_entities.yml
199
+ - spec/fixtures/casettes/Conquiro_SearchAPI_Client/when_searching_for_yelp_app/should_find_50_search_results.yml
200
+ - spec/fixtures/casettes/Conquiro_SoftwareRepository/should_find_two_instances_for_gasapp.yml
201
+ - spec/lib/conquiro/search_api/adapter_spec.rb
202
+ - spec/lib/conquiro/search_api/client_spec.rb
203
+ - spec/lib/conquiro/software_repository_spec.rb
204
+ - spec/spec_helper.rb