chrome_data 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +22 -0
- data/README.md +114 -0
- data/Rakefile +8 -0
- data/chrome_data.gemspec +31 -0
- data/lib/chrome_data/base_request.rb +88 -0
- data/lib/chrome_data/caching.rb +31 -0
- data/lib/chrome_data/collection_request.rb +19 -0
- data/lib/chrome_data/division.rb +14 -0
- data/lib/chrome_data/model.rb +13 -0
- data/lib/chrome_data/model_year.rb +16 -0
- data/lib/chrome_data/style.rb +15 -0
- data/lib/chrome_data/vehicle.rb +43 -0
- data/lib/chrome_data/version.rb +3 -0
- data/lib/chrome_data.rb +32 -0
- data/test/chrome_data/caching_test.rb +74 -0
- data/test/chrome_data/division_test.rb +57 -0
- data/test/chrome_data/model_test.rb +57 -0
- data/test/chrome_data/model_year_test.rb +13 -0
- data/test/chrome_data/style_test.rb +49 -0
- data/test/chrome_data/vehicle_test.rb +78 -0
- data/test/chrome_data_test.rb +13 -0
- data/test/fixtures/vcr_cassettes/2013/divisions/13/models/24997/styles.yml +55 -0
- data/test/fixtures/vcr_cassettes/2013/divisions/13/models.yml +70 -0
- data/test/fixtures/vcr_cassettes/2013/divisions.yml +63 -0
- data/test/fixtures/vcr_cassettes/vehicles/WDDGF4HB1CR000000.yml +276 -0
- data/test/fixtures/vcr_cassettes/wsdl.yml +757 -0
- data/test/minitest_helper.rb +13 -0
- metadata +213 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
|
2
|
+
require 'chrome_data'
|
3
|
+
|
4
|
+
require 'minitest/spec'
|
5
|
+
require 'minitest/autorun'
|
6
|
+
require "mocha/setup"
|
7
|
+
require 'vcr'
|
8
|
+
|
9
|
+
VCR.configure do |c|
|
10
|
+
c.cassette_library_dir = 'test/fixtures/vcr_cassettes'
|
11
|
+
c.hook_into :webmock
|
12
|
+
c.default_cassette_options = { match_requests_on: [:method, :uri, :body] }
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,213 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chrome_data
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jim Ryan
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-06-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
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: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: vcr
|
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: webmock
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.10.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.10.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: mocha
|
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: symboltable
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
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: activesupport
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: lolsoap
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ~>
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.2.0
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ~>
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.2.0
|
139
|
+
description: 'Provides a ruby interface for Chrome Data''s API. Read more about it
|
140
|
+
here: http://www.chromedata.com/'
|
141
|
+
email:
|
142
|
+
- jim@room118solutions.com
|
143
|
+
executables: []
|
144
|
+
extensions: []
|
145
|
+
extra_rdoc_files: []
|
146
|
+
files:
|
147
|
+
- .gitignore
|
148
|
+
- Gemfile
|
149
|
+
- LICENSE.txt
|
150
|
+
- README.md
|
151
|
+
- Rakefile
|
152
|
+
- chrome_data.gemspec
|
153
|
+
- lib/chrome_data.rb
|
154
|
+
- lib/chrome_data/base_request.rb
|
155
|
+
- lib/chrome_data/caching.rb
|
156
|
+
- lib/chrome_data/collection_request.rb
|
157
|
+
- lib/chrome_data/division.rb
|
158
|
+
- lib/chrome_data/model.rb
|
159
|
+
- lib/chrome_data/model_year.rb
|
160
|
+
- lib/chrome_data/style.rb
|
161
|
+
- lib/chrome_data/vehicle.rb
|
162
|
+
- lib/chrome_data/version.rb
|
163
|
+
- test/chrome_data/caching_test.rb
|
164
|
+
- test/chrome_data/division_test.rb
|
165
|
+
- test/chrome_data/model_test.rb
|
166
|
+
- test/chrome_data/model_year_test.rb
|
167
|
+
- test/chrome_data/style_test.rb
|
168
|
+
- test/chrome_data/vehicle_test.rb
|
169
|
+
- test/chrome_data_test.rb
|
170
|
+
- test/fixtures/vcr_cassettes/2013/divisions.yml
|
171
|
+
- test/fixtures/vcr_cassettes/2013/divisions/13/models.yml
|
172
|
+
- test/fixtures/vcr_cassettes/2013/divisions/13/models/24997/styles.yml
|
173
|
+
- test/fixtures/vcr_cassettes/vehicles/WDDGF4HB1CR000000.yml
|
174
|
+
- test/fixtures/vcr_cassettes/wsdl.yml
|
175
|
+
- test/minitest_helper.rb
|
176
|
+
homepage: http://github.com/room118solutions/chrome_data
|
177
|
+
licenses:
|
178
|
+
- MIT
|
179
|
+
metadata: {}
|
180
|
+
post_install_message:
|
181
|
+
rdoc_options: []
|
182
|
+
require_paths:
|
183
|
+
- lib
|
184
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - '>='
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - '>='
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
requirements: []
|
195
|
+
rubyforge_project:
|
196
|
+
rubygems_version: 2.0.2
|
197
|
+
signing_key:
|
198
|
+
specification_version: 4
|
199
|
+
summary: A ruby interface for Chrome Data's API
|
200
|
+
test_files:
|
201
|
+
- test/chrome_data/caching_test.rb
|
202
|
+
- test/chrome_data/division_test.rb
|
203
|
+
- test/chrome_data/model_test.rb
|
204
|
+
- test/chrome_data/model_year_test.rb
|
205
|
+
- test/chrome_data/style_test.rb
|
206
|
+
- test/chrome_data/vehicle_test.rb
|
207
|
+
- test/chrome_data_test.rb
|
208
|
+
- test/fixtures/vcr_cassettes/2013/divisions.yml
|
209
|
+
- test/fixtures/vcr_cassettes/2013/divisions/13/models.yml
|
210
|
+
- test/fixtures/vcr_cassettes/2013/divisions/13/models/24997/styles.yml
|
211
|
+
- test/fixtures/vcr_cassettes/vehicles/WDDGF4HB1CR000000.yml
|
212
|
+
- test/fixtures/vcr_cassettes/wsdl.yml
|
213
|
+
- test/minitest_helper.rb
|