dvla 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
  SHA1:
3
- metadata.gz: 9b7f4eb0e8f75863262ba2fc4d80e4d72aa013c5
4
- data.tar.gz: 8ff8be2fb4042d5f481ebacd9372947092014af4
3
+ metadata.gz: 4065a5d4c5e0dfee3fea4be8ade028c0dd5cc74b
4
+ data.tar.gz: 17d898855306b75c8be577efc2a25d7822e7e53a
5
5
  SHA512:
6
- metadata.gz: a37e9645ae9380ea7a38ddd60c3edceb2cd819f6db26aaaebf7920ccb7821c2ad12330167b9391a716e21fa55342552a4b035b933d738e3287ae82405334a20a
7
- data.tar.gz: fdbe75925b61065c17932e75213125d375cabe8d1c8bfefa1833050f030be82a3228ce0996562c3bde46d8f6859ed70915eae3d00a27dc9967df6c2c975970d1
6
+ metadata.gz: 6a13406d446dcaaccf2599a9d31e8771e75ff4b4dd1ccef50bd595b35232480811816efc56cee584e62c953cf327d7d4bdaf4399672f519672088fa59196b6d6
7
+ data.tar.gz: 3cf326273b1c254e7e214e607e79da0a4784d7a9556a2b4a50249321e49102ddbd53b06f6dd72f79c659c8ed95cabfce875c8ab4f92cf6ddefb5a1d025da919e
data/Gemfile CHANGED
@@ -1,4 +1,2 @@
1
1
  source "https://rubygems.org"
2
-
3
- gem 'capybara-webkit'
4
- gem 'rspec'
2
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,3 +1,9 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ dvla (0.1.0)
5
+ capybara-webkit
6
+
1
7
  GEM
2
8
  remote: https://rubygems.org/
3
9
  specs:
@@ -22,6 +28,7 @@ GEM
22
28
  rack (1.5.2)
23
29
  rack-test (0.6.2)
24
30
  rack (>= 1.0)
31
+ rake (10.0.4)
25
32
  rspec (2.13.0)
26
33
  rspec-core (~> 2.13.0)
27
34
  rspec-expectations (~> 2.13.0)
@@ -44,5 +51,7 @@ PLATFORMS
44
51
  ruby
45
52
 
46
53
  DEPENDENCIES
47
- capybara-webkit
54
+ bundler (~> 1.3)
55
+ dvla!
56
+ rake
48
57
  rspec
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # DVLA Data Extractor
2
2
 
3
- This gem allows you to extract data from the DVLA. It currently supports:
4
- - Vehicle Details
3
+ This gem is a present for Simon Jenner. It allows you to extract data from the DVLA. It currently supports retrieving data for vehicle details.
5
4
 
6
5
  ## Installation
7
6
 
@@ -22,10 +21,8 @@ Or install it yourself as:
22
21
  ### Vehicle Details
23
22
  ```ruby
24
23
  Dvla::VehicleDetails.retrieve("SP04 UYK", "Mazda")
25
- ```
26
24
 
27
- This should return
28
- ```json
25
+ # This will return:
29
26
  {
30
27
  car_data: {
31
28
  "Date of Liability"=>"01 11 2013",
data/dvla.gemspec CHANGED
@@ -18,6 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(spec)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
+ spec.add_dependency "capybara-webkit"
21
22
  spec.add_development_dependency "bundler", "~> 1.3"
22
23
  spec.add_development_dependency "rake"
24
+ spec.add_development_dependency "rspec"
23
25
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dvla
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dvla
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
  - Jeremy Walker
@@ -10,6 +10,20 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2013-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: capybara-webkit
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'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +52,20 @@ dependencies:
38
52
  - - '>='
39
53
  - !ruby/object:Gem::Version
40
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
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'
41
69
  description: A scraper to extract data from the DVLA
42
70
  email:
43
71
  - jez.walker@gmail.com