bidgem 0.1.4 → 0.1.5

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: f2b812dcd7992728b0dd3b31968ffc7519088817
4
- data.tar.gz: 8faa7eb25dee071a8e1d32fddad31b83bd9c9948
3
+ metadata.gz: 27e6ac4917bca3cf2261634fe12f631ef908bc60
4
+ data.tar.gz: 8b99e55c2191ff26463572be471ae48c368e7f64
5
5
  SHA512:
6
- metadata.gz: d9d99abd71ee46c27ea9e7d800c495ae2a9fe0cbc104472b02483bda7d41a31a450cbed0d20611b80a229fa778b58e8de2f439322eb366d204220a67da523570
7
- data.tar.gz: 4fdaf7e7a1e36224bf990024525a4738b7795d601054bf500ffec1bb4f8a0334ba143c0847b5be5ba57af233f4fc1764bc08e32c42c9130d2df5c5a59d7b29ed
6
+ metadata.gz: 86facd06dd7a3edd70f9b1700d3df5b13695c0a8d4bc8daca6436b8dfcdb5c869532943d35bcd043cae772401571cb7c235d7ec017be243e703de5426d57fa97
7
+ data.tar.gz: '0289eb314df5c2dce8cf758d0b2a71301d6bdf18b869ce524a9cf5e4f7f7de8b14e1f393932158813de48e3cb4851ad28de7ae4013d8416031f5b71ffa675621'
@@ -13,14 +13,14 @@ module Bidgem
13
13
 
14
14
  def setBids()
15
15
  puts "Current time #{Time.now} and time value is #{$time}"
16
- sleep(3600)
16
+ sleep(10)
17
17
  $time += 1
18
18
  puts "Current time now #{Time.now} and time value is #{$time}"
19
19
 
20
- ary << sort(bids)
21
- $min_bid = ary.at(ary.length) + 1
22
- $max_bid = ary.at(0)
23
- $cur_bid = ary.at(ary.length)
20
+ $ary << sort($bids)
21
+ $min_bid = $ary.at($ary.length + 1)
22
+ $max_bid = $ary.at(0)
23
+ $cur_bid = $ary.at($ary.length)
24
24
 
25
25
  chooseWinningBidder($min_bid,$max_bid,$cur_bid)
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module Bidgem
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bidgem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bhavna Thakur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-06 00:00:00.000000000 Z
11
+ date: 2019-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler