carsxe_api 0.1.0 → 0.1.1

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
2
  SHA256:
3
- metadata.gz: 772b4172d3b5d62ed495d7df5425a9b406c768c3eac13d11f9962321d3fc27e7
4
- data.tar.gz: 44d628c35bc5fa4243167c18945393b9cb47f1848fc04312fee373b0ce9bbea4
3
+ metadata.gz: fc96e5d7179a6972e4016626be810e6c2af513005a776fc3827fcfa68ab58331
4
+ data.tar.gz: feb2ed73709bff4380402e7bd3f2d120665df4e17347e26b7e8a730f6b78305d
5
5
  SHA512:
6
- metadata.gz: a770608822e3c69b813e280cbb72b54ef59419c489bac41a9edc284c837323305f259df48205731ee9b25edada1025a1c98de8f4f5266331dfbb31c57220bf8a
7
- data.tar.gz: 4ed981fbaf85ff326d7fe2d7d7f2d9e3ccd11439d8da91965468bac0d1f8225d5b67afecd80081c1076dcab7fbb4b25dbed4d13e3eb5c9f8c2aff3b1c9885b7b
6
+ metadata.gz: 4238b426824a401af41c2b31fe802fd7f29ff4b60bce7af06423f29a5d735593e21179d981d8f4df935c24ab832c695d6aa0caa7430f376339d115b657e64164
7
+ data.tar.gz: a14b147b253c58d1f75567c8550ab838870367bed76a1eabcefcc979adce26d97b2959bed15c1f9cf3f1a33496d83601936404f41a11e59a844e82770b1abadd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.1] - 2022-06-09
4
+
5
+ - Fixing issue with dotenv
6
+ - Updated module name to match styling of company
7
+ -
3
8
  ## [0.1.0] - 2022-06-09
4
9
 
5
10
  - Initial release
data/README.md CHANGED
@@ -17,7 +17,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
17
17
  #### Declare client
18
18
 
19
19
  ```ruby
20
- client = CarsxeApi::Client.new(ENV['CARS_XE_API_KEY'])
20
+ client = CarsXEApi::Client.new(ENV['CARS_XE_API_KEY'])
21
21
  ```
22
22
 
23
23
  #### Plate Decoder
@@ -30,15 +30,9 @@ data = client.plate_decoder('HOWDY12', 'TX')
30
30
  ```ruby
31
31
  data = client.market_value('ENTER_VIN_HERE')
32
32
  ```
33
- ## Development
34
-
35
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
36
-
37
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
38
-
39
33
  ## Contributing
40
34
 
41
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/carsxe_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/carsxe_api/blob/master/CODE_OF_CONDUCT.md).
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/jippylong12/carsxe_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/jippylong12/carsxe_api/blob/master/CODE_OF_CONDUCT.md).
42
36
 
43
37
  ## License
44
38
 
@@ -46,4 +40,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
46
40
 
47
41
  ## Code of Conduct
48
42
 
49
- Everyone interacting in the CarsxeApi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/carsxe_api/blob/master/CODE_OF_CONDUCT.md).
43
+ Everyone interacting in the CarsXEApi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/jippylong12/carsxe_api/blob/master/CODE_OF_CONDUCT.md).
data/carsxe_api.gemspec CHANGED
@@ -5,7 +5,7 @@ require 'net/http'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "carsxe_api"
8
- spec.version = CarsxeApi::VERSION
8
+ spec.version = CarsXEApi::VERSION
9
9
  spec.authors = ["marcus.salinas"]
10
10
  spec.email = ["12.marcus.salinas@gmail.com"]
11
11
 
@@ -1,4 +1,4 @@
1
- module CarsxeApi
1
+ module CarsXEApi
2
2
  class Client
3
3
  @@base_url = 'https://api.carsxe.com'
4
4
  @@api_key = ''
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module CarsxeApi
4
- VERSION = "0.1.0"
3
+ module CarsXEApi
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/carsxe_api.rb CHANGED
@@ -1,12 +1,16 @@
1
1
  # frozen_string_literal: true
2
2
  require 'json'
3
- require 'dotenv/load'
3
+
4
+ begin
5
+ require 'dotenv/load'
6
+ rescue
7
+ end
4
8
 
5
9
  require_relative "carsxe_api/version"
6
10
 
7
11
  require_relative "carsxe_api/client"
8
12
 
9
- module CarsxeApi
13
+ module CarsXEApi
10
14
  class Error < StandardError; end
11
15
 
12
16
  end
data/sig/carsxe_api.rbs CHANGED
@@ -1,4 +1,4 @@
1
- module CarsxeApi
1
+ module CarsXEApi
2
2
  VERSION: String
3
3
  # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carsxe_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - marcus.salinas