foodfitrecommandation 0.1.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bf63dfec106677acb9de071c59d3751c2627046f3753074fb66a7c3a20f2ac8
4
- data.tar.gz: ded37b543d1c4fafbad504cb7d65c2aaad704e7d88eadc50b34e4f2e57ea9b7a
3
+ metadata.gz: b8340b05422133212feead001d991c6e2072185282c9d0d2a827db508686c0bf
4
+ data.tar.gz: bf878ba91ee6c8fa1e6efdf362c5ae335714a7b47028fcec0afcbcd0df60067c
5
5
  SHA512:
6
- metadata.gz: 7187d9204d326a76667f11afed01969ad0a936877df75726f487bc7db727cd32f6577e1796f4e92dc19fb04b009ba5b410780e49b4f29192abb8a92bee9eaf12
7
- data.tar.gz: 35dc7aeb41125b7e4c1910e0556504b0999c39dece5483b43dbf131d9e65b356a245254d6938e1d68886f026162faaa9f2afd2acf27715b0273f0ef422e19fed
6
+ metadata.gz: 86c9210af37d70633e0235ac3c2bb28701a12c8c6aad33f903cd345d558623c031eef02111ef79e00055d0a7b93d31c2db354e01a1847084866b509d6c254276
7
+ data.tar.gz: b1e3c15ac623e704b7f2cfb53399cb06c0e832ff8cec95ec6cca34fec0a27952ed4e37192bcf0ea9b5916f528b34ff39bb252c23574098a4dca1c706b406868c
@@ -17,18 +17,9 @@ require "foodfitrecommandation/version"
17
17
  @tempObject = nil
18
18
 
19
19
  @resultArray = result
20
- #@resultArray.each do |t|
21
- # puts "#{t.person_id}===>#{t.category_id}===>#{t.count}"
22
- # if(t.count>@temp)
23
- # @temp = t.count
24
- # @tempObject = t
25
- # end
26
20
  result_count = Hash.new(0)
27
21
  resultArray.each {|pet| result_count[pet] += 1}
28
22
  return result_count.sort_by { |pet,number| number}.last[0]
29
- #end
30
- # puts @tempObject
31
- # return @tempObject
32
23
  end
33
24
  end
34
25
  # end
@@ -1,3 +1,3 @@
1
1
  module Foodfitrecommandation
2
- VERSION = "0.1.1"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foodfitrecommandation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nitin gupta