favouriteshandler 2.0.0 → 2.0.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/favorites.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a51d903cf1f0efa8df8e7ff42533fffb8482b5cd986a68fe0dd5667e2a9faab
4
- data.tar.gz: c51740c9f10f3605086db87854a945930734b568eb69310951da52da03971e74
3
+ metadata.gz: 98f2b452843f38bb36c68fd2f59e16c7afd239c15e399b5862223f354083b91c
4
+ data.tar.gz: 10a14ff952cc43fc3e789c5e0126634ba8ac07c5dfe223dccc906749142146fd
5
5
  SHA512:
6
- metadata.gz: 6d720899e89dc9ac33a8ef36080385ace0c69038790582ac6b2fd532c4c3bd001e2d754292dc0fab44f1edd8fa1954dc3544034db8cf0b4ad60c8f10bfe99d8c
7
- data.tar.gz: eabd2f0e4272faa3e18106be4295e672285fb2e073d43269db643b49e477efa7385abc3b012d98739f74451c07574383294cf00d79936f121656ccc7b7b9eeeb
6
+ metadata.gz: 7a8a9118300e81139e67c17c4587033111964b400a2629ef4e6f39f9bcc6c64a8971769b95f8678627b26318653863ea17bfeec215bf8151df4f7e0d1d43d40a
7
+ data.tar.gz: 477c06ea188b9148dc2454760d54583c34cc22ee8b4fdd4b3042bd879f3100c1d3620eb89deecdff18b7a9d9976dde271f7a4b8ecc629dfd22c403559c7f9104
@@ -2,7 +2,7 @@
2
2
  module Favorites
3
3
 
4
4
 
5
- def addtofav(userclmnname,userid, itemclmnname,itemid, tablename) # will add the item to the favorites list
5
+ def addtofavorite(userclmnname,userid, itemclmnname,itemid, tablename) # will add the item to the favorites list
6
6
 
7
7
  likeit = Hash.new
8
8
  columntype = userclmnname
@@ -16,7 +16,7 @@ module Favorites
16
16
 
17
17
  end
18
18
 
19
- def removefav(likedid, tablename)# will remove the item from the favorites list
19
+ def removefavotire(likedid, tablename)# will remove the item from the favorites list
20
20
 
21
21
  tablename.destroy(likedid)
22
22
  redirect_back fallback_location: root_path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: favouriteshandler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sarath Ravichandran