rubyhexagon 1.6.3 → 1.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubyhexagon.rb +1 -1
- data/lib/rubyhexagon/post.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2917bb296b7de0e3037e5d5bcc42c35453f07a9857e06e317b2612164b3e216
|
4
|
+
data.tar.gz: f6af1287f5c4a38251b3e47656655e45d677f40a0d2aefab0cdadf54525aac74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f15e5974d2fbefb56b0a509dd34e55611e8209a1aab23b4ef84dfd24c0f5f5d3d3abacf0bd1c462ab66c653886c0970974fc31097d140e0804d72b5ee49e8e6d
|
7
|
+
data.tar.gz: 08e271ac11e45c9430d39047a0a25d335a3bdf3ce18cab4d2170334842c8c23e1645ed0c418934af1005709e1a01ef17ed5542bb5296e7610c43669337d1c4c2
|
data/lib/rubyhexagon.rb
CHANGED
data/lib/rubyhexagon/post.rb
CHANGED
@@ -140,14 +140,14 @@ module Rubyhexagon
|
|
140
140
|
#
|
141
141
|
# Upvotes this post
|
142
142
|
def voteup!
|
143
|
-
vote(1)
|
143
|
+
vote!(1)
|
144
144
|
end
|
145
145
|
|
146
146
|
# @author Maxine Michalski
|
147
147
|
#
|
148
148
|
# Downvotes this post
|
149
149
|
def votedown!
|
150
|
-
vote(-1)
|
150
|
+
vote!(-1)
|
151
151
|
end
|
152
152
|
|
153
153
|
# @author Maxine Michalski
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyhexagon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maxine Michalski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|