vinbot 2.0.2-java → 2.0.3-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 157017b7abf7d9b47060edb0abecaf362e1bfb32
4
- data.tar.gz: fbddeaaa55b5db5174e99450dc5dd7aaa28cabf9
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MDAwMjlmYjllN2JjYThiZDhkNGU1MzFkNWY4YjY0ZTNiMDAyMGRlYg==
5
+ data.tar.gz: !binary |-
6
+ NTMwZGY3OGRhNzNhMDM5NTIwMDc0YTNjZmFhYWQwZGYwZmE5ODIyMQ==
5
7
  SHA512:
6
- metadata.gz: 6d6840c589dbf315e0da3ae86d50fc36f125cb4ceff601af8fb54dbf5723b9ec26f7f373a49053075150feb079700c8436c41637ff6fbb74ba62a58cbce4c4dd
7
- data.tar.gz: d1d584ad506f6dcb5b4870a617b973f30d55cc882950f44c04df3e5f817169d7e308d76bd29858756ddcaae51de4106ff72e62846012e5ba14e93f26a0105c7a
8
+ metadata.gz: !binary |-
9
+ ZGZiYzE3MzJiZThjMTBmYjc1YmVkMDRkNDcyZGM4Y2RhZTRhZDZmNTQwMjQ5
10
+ N2IzNzE1MzM4ZmFlNjQ1Njg5YzhhZDlkMDVjMzI5YWFjZGVjZGQ4ODg0OTE2
11
+ NTUzNDdmY2U4MWExMWU3ZDcwZDYzZTUwNzEwN2MzNjUwODMwY2E=
12
+ data.tar.gz: !binary |-
13
+ OGI1ZjA3MDA5ZjFiNWRlZjRmZDUwMjI3MjQzYTZiNWMwOWVmN2M1Mjk3ZTU2
14
+ YjhkNmNkYWU0Y2NjMjQ0NjE3NmQ4MjAwNGRjMGI5MDQwNjBjN2EzNjFjZWM4
15
+ Yzg4MDc1YjY4M2MyNDAyMjBmZDc4ODA0OGE1NDE1YjQ1MWJhZjU=
data/lib/data/vehicle.rb CHANGED
@@ -28,7 +28,8 @@ module Vinbot
28
28
  end
29
29
 
30
30
  def self.get_random_vehicle
31
- ::Vinbot::Data::Vehicle.order(Sequel.lit('RANDOM()')).limit(1).first
31
+ count = ::Vinbot::Data::Vehicle.count
32
+ ::Vinbot::Data::Vehicle.where(id: rand(count)).first
32
33
  end
33
34
  end
34
35
  end
@@ -1,3 +1,3 @@
1
1
  module Vinbot
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
metadata CHANGED
@@ -1,135 +1,135 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vinbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: java
6
6
  authors:
7
7
  - Jarod Adair, Umair Chagani
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-15 00:00:00.000000000 Z
11
+ date: 2016-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
- version_requirements: !ruby/object:Gem::Requirement
15
+ requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>'
17
+ - - ! '>'
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.8'
20
- requirement: !ruby/object:Gem::Requirement
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
21
23
  requirements:
22
- - - '>'
24
+ - - ! '>'
23
25
  - !ruby/object:Gem::Version
24
26
  version: '1.8'
25
- prerelease: false
26
- type: :development
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
- version_requirements: !ruby/object:Gem::Requirement
29
+ requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
- requirement: !ruby/object:Gem::Requirement
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
35
37
  requirements:
36
38
  - - ~>
37
39
  - !ruby/object:Gem::Version
38
40
  version: '10.0'
39
- prerelease: false
40
- type: :development
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
- version_requirements: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '>='
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
43
  requirement: !ruby/object:Gem::Requirement
49
44
  requirements:
50
- - - '>='
45
+ - - ! '>='
51
46
  - !ruby/object:Gem::Version
52
47
  version: '0'
53
- prerelease: false
54
48
  type: :development
55
- - !ruby/object:Gem::Dependency
56
- name: pry
49
+ prerelease: false
57
50
  version_requirements: !ruby/object:Gem::Requirement
58
51
  requirements:
59
- - - '>='
52
+ - - ! '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
62
57
  requirement: !ruby/object:Gem::Requirement
63
58
  requirements:
64
- - - '>='
59
+ - - ! '>='
65
60
  - !ruby/object:Gem::Version
66
61
  version: '0'
67
- prerelease: false
68
62
  type: :development
69
- - !ruby/object:Gem::Dependency
70
- name: pry-nav
63
+ prerelease: false
71
64
  version_requirements: !ruby/object:Gem::Requirement
72
65
  requirements:
73
- - - '>='
66
+ - - ! '>='
74
67
  - !ruby/object:Gem::Version
75
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry-nav
76
71
  requirement: !ruby/object:Gem::Requirement
77
72
  requirements:
78
- - - '>='
73
+ - - ! '>='
79
74
  - !ruby/object:Gem::Version
80
75
  version: '0'
81
- prerelease: false
82
76
  type: :development
83
- - !ruby/object:Gem::Dependency
84
- name: jdbc-sqlite3
77
+ prerelease: false
85
78
  version_requirements: !ruby/object:Gem::Requirement
86
79
  requirements:
87
- - - '>='
80
+ - - ! '>='
88
81
  - !ruby/object:Gem::Version
89
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jdbc-sqlite3
90
85
  requirement: !ruby/object:Gem::Requirement
91
86
  requirements:
92
- - - '>='
87
+ - - ! '>='
93
88
  - !ruby/object:Gem::Version
94
89
  version: '0'
95
- prerelease: false
96
90
  type: :runtime
97
- - !ruby/object:Gem::Dependency
98
- name: sequel
91
+ prerelease: false
99
92
  version_requirements: !ruby/object:Gem::Requirement
100
93
  requirements:
101
- - - '>='
94
+ - - ! '>='
102
95
  - !ruby/object:Gem::Version
103
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: sequel
104
99
  requirement: !ruby/object:Gem::Requirement
105
100
  requirements:
106
- - - '>='
101
+ - - ! '>='
107
102
  - !ruby/object:Gem::Version
108
103
  version: '0'
109
- prerelease: false
110
104
  type: :runtime
111
- - !ruby/object:Gem::Dependency
112
- name: vin_bank
105
+ prerelease: false
113
106
  version_requirements: !ruby/object:Gem::Requirement
114
107
  requirements:
115
- - - '>='
108
+ - - ! '>='
116
109
  - !ruby/object:Gem::Version
117
- version: 3.1.0
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: vin_bank
118
113
  requirement: !ruby/object:Gem::Requirement
119
114
  requirements:
120
- - - '>='
115
+ - - ! '>='
121
116
  - !ruby/object:Gem::Version
122
117
  version: 3.1.0
123
- prerelease: false
124
118
  type: :runtime
125
- description: Vinbot generates decodeable vins and provides a vehicle object that includes real vehicle data.
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: 3.1.0
125
+ description: Vinbot generates decodeable vins and provides a vehicle object that includes
126
+ real vehicle data.
126
127
  email:
127
128
  - jarod.adair@manheim.com, umair.chagani@manheim.com
128
129
  executables: []
129
130
  extensions: []
130
131
  extra_rdoc_files: []
131
132
  files:
132
- - lib/vinbot.rb
133
133
  - lib/data/body_type.rb
134
134
  - lib/data/constants.rb
135
135
  - lib/data/drivetrain.rb
@@ -143,6 +143,7 @@ files:
143
143
  - lib/data/vehicle.rb
144
144
  - lib/data/vehicle_type.rb
145
145
  - lib/data/year.rb
146
+ - lib/vinbot.rb
146
147
  - lib/vinbot/vehicle.rb
147
148
  - lib/vinbot/version.rb
148
149
  - lib/vinbot/vin.rb
@@ -150,24 +151,25 @@ homepage: https://github.com/manheim/vinbot
150
151
  licenses:
151
152
  - MIT
152
153
  metadata: {}
153
- post_install_message:
154
+ post_install_message:
154
155
  rdoc_options: []
155
156
  require_paths:
156
157
  - lib
157
158
  required_ruby_version: !ruby/object:Gem::Requirement
158
159
  requirements:
159
- - - '>='
160
+ - - ! '>='
160
161
  - !ruby/object:Gem::Version
161
162
  version: '0'
162
163
  required_rubygems_version: !ruby/object:Gem::Requirement
163
164
  requirements:
164
- - - '>='
165
+ - - ! '>='
165
166
  - !ruby/object:Gem::Version
166
167
  version: '0'
167
168
  requirements: []
168
- rubyforge_project:
169
- rubygems_version: 2.1.9
170
- signing_key:
169
+ rubyforge_project:
170
+ rubygems_version: 2.5.1
171
+ signing_key:
171
172
  specification_version: 4
172
- summary: Vinbot generates decodeable vins and provides a vehicle object that includes real vehicle data.
173
+ summary: Vinbot generates decodeable vins and provides a vehicle object that includes
174
+ real vehicle data.
173
175
  test_files: []