applicationrecommendation 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: fb14882ef1d8ab69bd007f966a0f62b6a9c04f31
4
- data.tar.gz: df40119c3a5e8a42c83b26d449511e5183be5c3d
3
+ metadata.gz: 2a4099142b390eab28aa6db4638b0792b0ae12d2
4
+ data.tar.gz: 62ae463adc09db7107690fd24ae95d061d1dcf48
5
5
  SHA512:
6
- metadata.gz: 43efd99133ee4ad45e05ba0777c32205eef476949d922d132227348f4c0fde88c2ffe733fa88e54584a9e34e31aa33e81c513bdcb952f9f016313a79ba79cf1f
7
- data.tar.gz: 8ff201656672439b19c159d58b6a6e4961a6f20ef8c429be670456497fd0c56ac4c8ff3a1e04af360810dd796337bac268b02c8fa16b9945b8f44441633186d1
6
+ metadata.gz: aaf4326f2e23e8ee864f0d9345db40679a368cf9d55e25928d7a182412440715c45dae95bce82ea06c9f32d26713d6fcb7c293bb9088a81e108016fd753d3af9
7
+ data.tar.gz: be60eb119fd9554f5a6df12192736ac83676b2e39861ff36dc39220faafef43ff6bfcdf400bccdf76b690d8c4d8b40a4e131e44f4b4b66c52ea5c223349c7d0c
@@ -31,13 +31,15 @@
31
31
 
32
32
  class ApplicationRecommendationClass < UserClass
33
33
  @resultArray = []
34
- @temp = 0
35
- @tempObject = nil
36
34
 
37
35
  def recommends(result,result2)
36
+
37
+ @temp = 0
38
+ @tempObject = nil
39
+
38
40
  @resultArray = result
39
41
  @resultArray.each do |t|
40
- #puts "#{t.person_id}===>#{t.category_id}===>#{t.count}"
42
+ puts "#{t.person_id}===>#{t.category_id}===>#{t.count}"
41
43
  if(t.count>@temp)
42
44
  # puts @temp
43
45
  @temp = t.count
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: applicationrecommendation
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
  - Surabhi Javkar