voteable_hw 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/voteable_hw.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76b91bacda2df40959e8ff130477c88c57fe5863
4
- data.tar.gz: add5b8ce37e710362c83c23c039fd7075a8792b0
3
+ metadata.gz: 590e9bbec914e86019f0f87b3b60c4c3440f9233
4
+ data.tar.gz: a44a4b000c352bab2d706e7e1b850671f3116b69
5
5
  SHA512:
6
- metadata.gz: 04afafd79225c025f347ede5cd49f9d34984f28f5d3e59c18320e554848a56a90f1eecee5834c54d30aa31e2f490bfce37e1f38e6e2584baecc2d400b521e68f
7
- data.tar.gz: 18510bee5d2b43c508eb5d6aec5e3a87dc0f6a1550e96ec9d8e6d84d853eb962ee41eb0926c6694bf1ab4044028a53adb3fb3d126c4b8229205d9452bbb5d1b0
6
+ metadata.gz: 81fbf9218466c9e893f356532fe1cbe05a119eba18f41ddb7be8041bc007bf182ea590af4b539e31d69ed427fbd0312ab90ce76b4f50eae095c6ad1dc10635eb
7
+ data.tar.gz: a019b5703b7569bc672457970f1df697d61bafd1107c8995be8880869ee289aa92b7c3cff0337911c65197cfdcc9adfcf4b6e83471a107e16de46628162fe2c6
@@ -1,4 +1,4 @@
1
- # Using Concerns
1
+ # Using Concerns for module
2
2
 
3
3
  module Voteable
4
4
  extend ActiveSupport::Concern
@@ -19,4 +19,5 @@ module Voteable
19
19
  def down_votes
20
20
  self.votes.where(vote: false).size
21
21
  end
22
+
22
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voteable_hw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huawei Weng