foodfitrecommandation 1.3.0 → 2.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: 719808f9ebfffac0b5ef012ee062b291febe3a8c1890e4c5152650287e970eca
4
- data.tar.gz: d34bb0efeb6ddb10d9b1a1d02789287465bac781e25c15b2de55829ca0672f11
3
+ metadata.gz: 6678570fd538540d1ed8ed4a67b1eb4a9eec88edc77479ce2037ff08b834283d
4
+ data.tar.gz: 29e9ed5a6fb36ff796933f098525bf2a5d953aa6ccd7f5c85f80bb6872cfac0a
5
5
  SHA512:
6
- metadata.gz: 4fce900be0f9cbcc987d073607f778ccebc766ac2637556f0180dfe49ba0159bd18801369c1d85da03d536b6c870186b7923a131f28bf810f827a1f5f94f2f70
7
- data.tar.gz: f969740f9efbbc8b92950383cb12dfc7a40e0f3ab2175e354d0a8bd6932a9bd8afc5500edb57db0dede76284211f2bb2d0af0f86b4a98027a44443339648df06
6
+ metadata.gz: bd6e17d195457ebb65327a15d6bd991535690a52b43f3d9259bf86cd45d098f7dca125e92947f5c8900aa64babb7ed84cb643a6b3f198c1e5fbb110fed35e04d
7
+ data.tar.gz: 007c43f7142802dec3a0eb0e83240da8a7b453ec80a8614bb9f3f36df7b4f3cab9d66b24123597d2f36b4fa66287f473833bd83937f5c17d5e9aeb7357a89135
@@ -22,22 +22,6 @@ require "foodfitrecommandation/version"
22
22
  return result_count.sort_by { |pet,number| number}.last[0]
23
23
  end
24
24
  end
25
-
26
- #recommandation based on number of quantity
27
- class FoodfitRecommendationClassBasedOnquantity < UserClass
28
- @resultArray = []
29
-
30
- def recommends(result,result2)
31
-
32
- @temp = 0
33
- @tempObject = nil
34
-
35
- @resultArray = result
36
- result_count = Hash.new(0)
37
- @resultArray.each {|pet| result_count[pet] += 1}
38
- return result_count.sort_by { |pet,number| number}.last[0]
39
- end
40
- end
41
25
  # end
42
26
 
43
27
  class FoodfitRecommendationClassCaller
@@ -1,3 +1,3 @@
1
1
  module Foodfitrecommandation
2
- VERSION = "1.3.0"
2
+ VERSION = "2.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: 1.3.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nitin gupta