vindetta 0.1.0 → 0.2.0

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: dc43b2384f31f6ecd51661f9be23b2771fd0cd2c
4
- data.tar.gz: 3740269895ab385d779024e2ef6656f9cba8b41b
3
+ metadata.gz: a3426595ef6a36b2a799c5a49f6bd2a90d1c4b25
4
+ data.tar.gz: b0750dfcdef93410be41cb22d4bd659c17a2d7c8
5
5
  SHA512:
6
- metadata.gz: 58d9ec5b6eb78297360efadc16fa4ee8c10f96516f9a3fa84e418a76cb3fab6f52f23bd09afcf7522eaa83c91e4dec4b2fcf2be738ae296b7b9c830b8f217258
7
- data.tar.gz: be7709b9a8c7162a4b965c572ed83d6490ec54181b4659f881e15d3eec58b3f8e21ad74c644dc4c9061115c0923e32aa9d370fd0210fed59ef82a5498116b6e8
6
+ metadata.gz: a171d80c139cf2aba1cde57b44f09480bf64c2caed28929a083c549f8c91b1d0a850a2de630e480effd424649e49da7e2bb7756f3d822818511af6567bae85d5
7
+ data.tar.gz: 4efd8cd755f810cb63c8ec5f9ffa530443e2662f875c31124176c50bf0bace21a4f9679c1667567672ff057af8a667c153d155224a516680ef809adbb9da5d32
data/.gitignore CHANGED
@@ -8,5 +8,8 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
 
11
+ # byebug
12
+ .byebug_history
13
+
11
14
  # rspec failure tracking
12
15
  .rspec_status
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "vindetta"
4
+
5
+ puts Vindetta.random
@@ -1,5 +1,14 @@
1
1
  require "vindetta/version"
2
2
 
3
3
  module Vindetta
4
- # Your code goes here...
4
+ VINS = [
5
+ "KNAFX4A67E5095888",
6
+ "1FTRX12W18KE97487",
7
+ "2HGFA1F38BH525824",
8
+ "1C4GP64L5YB667678"
9
+ ].freeze
10
+
11
+ def self.random
12
+ VINS.sample
13
+ end
5
14
  end
@@ -1,3 +1,3 @@
1
1
  module Vindetta
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -24,4 +24,5 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "bundler", "~> 1.14"
25
25
  spec.add_development_dependency "rake", "~> 10.0"
26
26
  spec.add_development_dependency "rspec", "~> 3.0"
27
+ spec.add_development_dependency "byebug", "~> 9.0"
27
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vindetta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Decot
@@ -52,10 +52,25 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: byebug
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '9.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '9.0'
55
69
  description: Ruby gem for generating VINs
56
70
  email:
57
71
  - kyle@joinroot.com
58
- executables: []
72
+ executables:
73
+ - vindetta
59
74
  extensions: []
60
75
  extra_rdoc_files: []
61
76
  files:
@@ -68,6 +83,7 @@ files:
68
83
  - Rakefile
69
84
  - bin/console
70
85
  - bin/setup
86
+ - exe/vindetta
71
87
  - lib/vindetta.rb
72
88
  - lib/vindetta/version.rb
73
89
  - vindetta.gemspec