rubyhexagon 3.0.0 → 3.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.
- checksums.yaml +4 -4
- data/lib/rubyhexagon.rb +2 -1
- data/lib/rubyhexagon/post.rb +2 -1
- data/lib/rubyhexagon/post/score.rb +0 -1
- 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: 0a93d32c0c504927187f74c00abd15b7e5684f1ad28bd5eac5ec3ed59a85d3e9
|
|
4
|
+
data.tar.gz: d607158f0e92d76c6d56e9956016f43d4c2609ab43f2a63df5cb2acd6da9c3d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9efd4457aa6f139c28e6d5c93aa3f8e7d4e819a55edc2bc99e0b06fc5d1dd344fa4f4bceb65b2f44f91ae212bd7c8e5810b1324f82c9a32ffdda2a9344d9b2dc
|
|
7
|
+
data.tar.gz: e894e1cb54766a108cc3bfc84743d4fe2532633c3c1c896c814235cbbdcc7745de1a54b81b55abe7c03847456464087739436a2b0d2841f73da2d34788a06174
|
data/lib/rubyhexagon.rb
CHANGED
|
@@ -21,6 +21,7 @@ require 'net/http'
|
|
|
21
21
|
require 'uri'
|
|
22
22
|
require 'json'
|
|
23
23
|
require 'cgi'
|
|
24
|
+
require 'time'
|
|
24
25
|
require 'tempfile'
|
|
25
26
|
|
|
26
27
|
require_relative 'rubyhexagon/error'
|
|
@@ -40,7 +41,7 @@ module Rubyhexagon
|
|
|
40
41
|
# Minor version part
|
|
41
42
|
MINOR = 0
|
|
42
43
|
# Patch version part
|
|
43
|
-
PATCH =
|
|
44
|
+
PATCH = 1
|
|
44
45
|
# Name of gem
|
|
45
46
|
NAME = 'rubyhexagon'
|
|
46
47
|
# Full version string
|
data/lib/rubyhexagon/post.rb
CHANGED
|
@@ -163,6 +163,7 @@ module Rubyhexagon
|
|
|
163
163
|
def favorited?
|
|
164
164
|
@is_favorited
|
|
165
165
|
end
|
|
166
|
+
|
|
166
167
|
private
|
|
167
168
|
|
|
168
169
|
# @author Maxine Michalski
|
|
@@ -233,7 +234,7 @@ module Rubyhexagon
|
|
|
233
234
|
def setup_preview(preview)
|
|
234
235
|
@preview = E621::Post::Preview.new(preview)
|
|
235
236
|
end
|
|
236
|
-
|
|
237
|
+
|
|
237
238
|
# @author Maxine Michalski
|
|
238
239
|
#
|
|
239
240
|
# Set score information
|
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: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Maxine Michalski
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-04-
|
|
11
|
+
date: 2020-04-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|