edmunds_api 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ae958ac39b456dbb20b3453c8e314a13493994a8
4
- data.tar.gz: 18b5223b20ffdcc024ead92afaa1ed78c15656b1
2
+ SHA256:
3
+ metadata.gz: 2229c2f0fca22103282d7ac056c1ba42fc977e7895ed77abc70ccfc1597ce627
4
+ data.tar.gz: be92a2bdbcbc4f7116b861ea55eb242a766f13309c72a316e1788388b7ae6c2a
5
5
  SHA512:
6
- metadata.gz: 8c3623250a99f04a1d4f721f3b435352bb4876af2f09def9d14ace68f77f0e9b60beb8eb9051a944dfe8a4f412e005857e988b16a6104325fe98237d3ba755dd
7
- data.tar.gz: 0d31006e48ef3c95b0dc7390a725e80e17971f45a2ffcc2254d1b7c593bfcd5d59e7943531831b373fd87d2a043aac97644970aac63249602e38db47fa047062
6
+ metadata.gz: f386108c71a5df6db29f923ec13878c01dd6b96dd0fd511437fdb362a71a81cd9d6149b5bc1dd1591eab6733fba173d9f61f0beb18a89903ddd4ea10eb7b7cf1
7
+ data.tar.gz: 370765f93eed44fc75a26f8c62f14c29960d30217a9b25ac6657ee17388a0c64da2b9449d8d6730148c95a9412d040157bf24507ab049384dfbc876152e721fb
@@ -0,0 +1,34 @@
1
+ version: 2
2
+ jobs:
3
+ build:
4
+ working_directory: ~/webstreak/edmunds-api-ruby
5
+ parallelism: 1
6
+ shell: /bin/bash --login
7
+ environment:
8
+ CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
9
+ CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
10
+ docker:
11
+ - image: circleci/build-image:ubuntu-14.04-XXL-upstart-1189-5614f37
12
+ command: /sbin/init
13
+ steps:
14
+ - checkout
15
+ - run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
16
+ - restore_cache:
17
+ keys:
18
+ - v1-dep-master-
19
+ - run: echo -e "export RACK_ENV=test" >> $BASH_ENV
20
+ - run: bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3 --without=production staging
21
+ - save_cache:
22
+ key: v1-dep-{{ .Branch }}-{{ epoch }}
23
+ paths:
24
+ - vendor/bundle
25
+ - ~/virtualenvs
26
+ - ~/.bundle
27
+ - ~/.cache/bower
28
+ - run: bundle exec rspec
29
+ - store_test_results:
30
+ path: /tmp/circleci-test-results
31
+ - store_artifacts:
32
+ path: /tmp/circleci-artifacts
33
+ - store_artifacts:
34
+ path: /tmp/circleci-test-results
@@ -5,103 +5,103 @@
5
5
 
6
6
  | Endpoint | Description |
7
7
  |-----------|-------------|
8
- | `Edmunds::Api.new.vehicle.makes.count(options)` | Total Count of Car Makes |
9
- | `Edmunds::Api.new.vehicle.makes.all_makes(options)` | A List of Car Makes |
10
- | `Edmunds::Api.new.vehicle.makes.make("Make", options)` | Details on a Specific Car Make |
8
+ | `Edmunds::Api.new.vehicles.makes.count(options)` | Total Count of Car Makes |
9
+ | `Edmunds::Api.new.vehicles.makes.all_makes(options)` | A List of Car Makes |
10
+ | `Edmunds::Api.new.vehicles.makes.make("Make", options)` | Details on a Specific Car Make |
11
11
 
12
12
  ### Models
13
13
  [Models EdmundsApi docs](http://developer.edmunds.com/api-documentation/vehicle/spec_model/v2/)
14
14
 
15
15
  | Endpoint | Description |
16
16
  |-----------|-------------|
17
- | `Edmunds::Api.new.vehicle.models.count("Make", options)` | Total Count of Models for a Car Make |
18
- | `Edmunds::Api.new.vehicle.models.models("Make", options)` | Get a List of Car Models for a Specific Car Make |
19
- | `Edmunds::Api.new.vehicle.models.model("Make", "Model", options)` | Get Details on a Specific Car Model |
17
+ | `Edmunds::Api.new.vehicles.models.count("Make", options)` | Total Count of Models for a Car Make |
18
+ | `Edmunds::Api.new.vehicles.models.models("Make", options)` | Get a List of Car Models for a Specific Car Make |
19
+ | `Edmunds::Api.new.vehicles.models.model("Make", "Model", options)` | Get Details on a Specific Car Model |
20
20
 
21
21
  ### Styles
22
22
  [Styles EdmundsApi docs](http://developer.edmunds.com/api-documentation/vehicle/spec_style/v2/)
23
23
 
24
24
  | Endpoint | Description |
25
25
  |-----------|-------------|
26
- | `Edmunds::Api.new.vehicle.styles.count(options)` | Styles Count |
27
- | `Edmunds::Api.new.vehicle.styles.make_count("Make", options)` | Style Count by Car Make |
28
- | `Edmunds::Api.new.vehicle.styles.make_model_count("Make", "Model", options)` | Style Count by Car Make and Model |
29
- | `Edmunds::Api.new.vehicle.styles.make_model_year_count("Make", "Model", "Year", options)` | Style Count by Car Make/Model/Year |
30
- | `Edmunds::Api.new.vehicle.styles.id(style_id, options)` | Car Style Details by Car Style ID |
31
- | `Edmunds::Api.new.vehicle.styles.make_model_year("Make", "Model", "Year", options)` | Car Style Details by Car Make/Model/Year |
32
- | `Edmunds::Api.new.vehicle.styles.chrome_data(chrome_id, options)` | Car Style Details by Car Chrome Data ID |
26
+ | `Edmunds::Api.new.vehicles.styles.count(options)` | Styles Count |
27
+ | `Edmunds::Api.new.vehicles.styles.make_count("Make", options)` | Style Count by Car Make |
28
+ | `Edmunds::Api.new.vehicles.styles.make_model_count("Make", "Model", options)` | Style Count by Car Make and Model |
29
+ | `Edmunds::Api.new.vehicles.styles.make_model_year_count("Make", "Model", "Year", options)` | Style Count by Car Make/Model/Year |
30
+ | `Edmunds::Api.new.vehicles.styles.id(style_id, options)` | Car Style Details by Car Style ID |
31
+ | `Edmunds::Api.new.vehicles.styles.make_model_year("Make", "Model", "Year", options)` | Car Style Details by Car Make/Model/Year |
32
+ | `Edmunds::Api.new.vehicles.styles.chrome_data(chrome_id, options)` | Car Style Details by Car Chrome Data ID |
33
33
 
34
34
  ### Engines
35
35
  [Engines EdmundsApi docs](http://developer.edmunds.com/api-documentation/vehicle/spec_engine_and_transmission/v2/)
36
36
 
37
37
  | Endpoint | Description |
38
38
  |-----------|-------------|
39
- | `Edmunds::Api.new.vehicle.engines.details(engine_id)` | Engine Details by ID |
40
- | `Edmunds::Api.new.vehicle.engines.by_style_id(style_id, options)` | Engines for a Car Style |
39
+ | `Edmunds::Api.new.vehicles.engines.details(engine_id)` | Engine Details by ID |
40
+ | `Edmunds::Api.new.vehicles.engines.by_style_id(style_id, options)` | Engines for a Car Style |
41
41
 
42
42
  ### Transmissions
43
43
  [Transmissions EdmundsApi docs](http://developer.edmunds.com/api-documentation/vehicle/spec_engine_and_transmission/v2/)
44
44
 
45
45
  | Endpoint | Description |
46
46
  |-----------|-------------|
47
- | `Edmunds::Api.new.vehicle.transmissions.details(transmission_id)` | Transmission Details by ID |
48
- | `Edmunds::Api.new.vehicle.transmissions.by_style_id(style_id, options)` | Transmissions for a Car Style |
47
+ | `Edmunds::Api.new.vehicles.transmissions.details(transmission_id)` | Transmission Details by ID |
48
+ | `Edmunds::Api.new.vehicles.transmissions.by_style_id(style_id, options)` | Transmissions for a Car Style |
49
49
 
50
50
  ### Colors
51
51
  [Colors EdmundsApi docs](http://developer.edmunds.com/api-documentation/vehicle/spec_colors_and_options/v2/)
52
52
 
53
53
  | Endpoint | Description |
54
54
  |-----------|-------------|
55
- | `Edmunds::Api.new.vehicle.colors.details(color_id)` | Color Details by ID |
56
- | `Edmunds::Api.new.vehicle.colors.by_style_id(style_id, options)` | Colors for a Car Style |
55
+ | `Edmunds::Api.new.vehicles.colors.details(color_id)` | Color Details by ID |
56
+ | `Edmunds::Api.new.vehicles.colors.by_style_id(style_id, options)` | Colors for a Car Style |
57
57
 
58
58
  ### Options
59
59
  [Options EdmundsApi docs](http://developer.edmunds.com/api-documentation/vehicle/spec_colors_and_options/v2/)
60
60
 
61
61
  | Endpoint | Description |
62
62
  |-----------|-------------|
63
- | `Edmunds::Api.new.vehicle.options.details(option_id)` | Option Details by ID |
64
- | `Edmunds::Api.new.vehicle.options.by_style_id(style_id, options)` | Options for a Car Style |
63
+ | `Edmunds::Api.new.vehicles.options.details(option_id)` | Option Details by ID |
64
+ | `Edmunds::Api.new.vehicles.options.by_style_id(style_id, options)` | Options for a Car Style |
65
65
 
66
66
  ### Equipment
67
67
  [Equipment EdmundsApi docs](http://developer.edmunds.com/api-documentation/vehicle/spec_equipment/v2/)
68
68
 
69
69
  | Endpoint | Description |
70
70
  |-----------|-------------|
71
- | `Edmunds::Api.new.vehicle.equipment.details(equipment_id)` | Equipment Details by ID |
72
- | `Edmunds::Api.new.vehicle.equipment.by_style_id(style_id, options)` | Equipment for a Car Style |
71
+ | `Edmunds::Api.new.vehicles.equipment.details(equipment_id)` | Equipment Details by ID |
72
+ | `Edmunds::Api.new.vehicles.equipment.by_style_id(style_id, options)` | Equipment for a Car Style |
73
73
 
74
74
  ### Squish vin
75
75
  [Squish vin EdmundsApi docs](http://developer.edmunds.com/api-documentation/vehicle/spec_squishvin/v2/)
76
76
 
77
77
  | Endpoint | Description |
78
78
  |-----------|-------------|
79
- | `Edmunds::Api.new.vehicle.squishvins.decode(VIN)` | Vehicle Details by Squish VIN |
79
+ | `Edmunds::Api.new.vehicles.squishvins.decode(VIN)` | Vehicle Details by Squish VIN |
80
80
 
81
81
  ### VIN Decoding
82
82
  [VIN decoding EdmundsApi docs](http://developer.edmunds.com/api-documentation/vehicle/spec_vin_decoding/v2/)
83
83
 
84
84
  | Endpoint | Description |
85
85
  |-----------|-------------|
86
- | `Edmunds::Api.new.vehicle.vin.decode(VIN, options)` | Vehicle Details by VIN |
86
+ | `Edmunds::Api.new.vehicles.vin.decode(VIN, options)` | Vehicle Details by VIN |
87
87
 
88
88
  ### Safety
89
89
  [Safety EdmundsApi docs](http://developer.edmunds.com/api-documentation/vehicle/service_safety/v2/)
90
90
 
91
91
  | Endpoint | Description |
92
92
  |-----------|-------------|
93
- | `Edmunds::Api.new.vehicle.safety.ratings(style_id)` | Safety ratings by Style ID |
94
- | `Edmunds::Api.new.vehicle.safety.ratings("Make", "Model", "Year")` | Safety ratings by Make/Model/Year |
93
+ | `Edmunds::Api.new.vehicles.safety.ratings(style_id)` | Safety ratings by Style ID |
94
+ | `Edmunds::Api.new.vehicles.safety.ratings("Make", "Model", "Year")` | Safety ratings by Make/Model/Year |
95
95
 
96
96
  ### Letter Grade Rating
97
97
  [Grades rating EdmundsApi docs](http://developer.edmunds.com/api-documentation/vehicle/content_letter_grade/v2/)
98
98
 
99
99
  | Endpoint | Description |
100
100
  |-----------|-------------|
101
- | `Edmunds::Api.new.vehicle.grades.by_style_id(style_id)` | Rating Details by Style ID |
102
- | `Edmunds::Api.new.vehicle.grades.details("Make", "Model", "Year")` | All Rating Details Reviews by Make/Model/Year |
103
- | `Edmunds::Api.new.vehicle.grades.rating("Make", "Model", "Year")` | Letter Grade Rating by Make/Model/Year |
104
- | `Edmunds::Api.new.vehicle.grades.by_review_id("Make", "Model", "Year", review_id)` | Rating Details by Make/Model/Year and Review ID |
101
+ | `Edmunds::Api.new.vehicles.grades.by_style_id(style_id)` | Rating Details by Style ID |
102
+ | `Edmunds::Api.new.vehicles.grades.details("Make", "Model", "Year")` | All Rating Details Reviews by Make/Model/Year |
103
+ | `Edmunds::Api.new.vehicles.grades.rating("Make", "Model", "Year")` | Letter Grade Rating by Make/Model/Year |
104
+ | `Edmunds::Api.new.vehicles.grades.by_review_id("Make", "Model", "Year", review_id)` | Rating Details by Make/Model/Year and Review ID |
105
105
 
106
106
  ## Media API
107
107
 
@@ -6,7 +6,7 @@ module Edmunds
6
6
  send_request "/#{make}/models/count", options
7
7
  end
8
8
 
9
- def models(make, options={})
9
+ def all_models(make, options={})
10
10
  send_request "/#{make}/models", options
11
11
  end
12
12
 
@@ -1,3 +1,3 @@
1
1
  module Edmunds
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edmunds_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Belyaev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-13 00:00:00.000000000 Z
11
+ date: 2018-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -101,6 +101,7 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
+ - ".circleci/config.yml"
104
105
  - ".coveralls.yml"
105
106
  - ".gitignore"
106
107
  - ".rspec"
@@ -154,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
155
  version: '0'
155
156
  requirements: []
156
157
  rubyforge_project:
157
- rubygems_version: 2.6.12
158
+ rubygems_version: 2.7.3
158
159
  signing_key:
159
160
  specification_version: 4
160
161
  summary: Edmunds Api ruby client