elephrame 0.3.6 → 0.3.7
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/Gemfile.lock +2 -2
- data/lib/elephrame/bot.rb +3 -1
- data/lib/elephrame/mix/bots.rb +1 -0
- data/lib/elephrame/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a102472e567d49830d7440751ed69fe4eeffc08dbb155d39b792c56660653a91
|
|
4
|
+
data.tar.gz: 36c68839714a2edce6d370a005c6fddd33e85d3cf9ce7b736c7fbf16a142018b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 64ca939df0ef20b7727bfcbe799dee62f4614c7e955e8830035b4829640f80d6c12169e66038739deab3faa0c6c4fbaf9556790d7c5d4f6af1b3cabb66f4e732
|
|
7
|
+
data.tar.gz: 60971b59d7df12a7318ae2c03021b5cef2f4421af0d70678cb9696ecc3fc84beba0a7879e60fbf3333f9911b748063550b58d81549ce25d46c841334fe13d83c
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
elephrame (0.3.
|
|
4
|
+
elephrame (0.3.7)
|
|
5
5
|
moostodon (~> 0.2.0)
|
|
6
6
|
rufus-scheduler
|
|
7
7
|
|
|
@@ -33,7 +33,7 @@ GEM
|
|
|
33
33
|
buftok (~> 0)
|
|
34
34
|
http (~> 3.0)
|
|
35
35
|
oj (~> 3.3)
|
|
36
|
-
oj (3.7.
|
|
36
|
+
oj (3.7.4)
|
|
37
37
|
public_suffix (3.0.3)
|
|
38
38
|
raabro (1.1.6)
|
|
39
39
|
rake (10.5.0)
|
data/lib/elephrame/bot.rb
CHANGED
|
@@ -87,13 +87,15 @@ module Elephrame
|
|
|
87
87
|
|
|
88
88
|
##
|
|
89
89
|
# Checks to see if a user has some form of "#NoBot" in their bio
|
|
90
|
-
# (so we can make
|
|
90
|
+
# (so we can make making friendly bots easier!)
|
|
91
91
|
#
|
|
92
92
|
# @param account_id [String] id of account to check bio
|
|
93
93
|
#
|
|
94
94
|
# @return [Bool]
|
|
95
95
|
|
|
96
96
|
def no_bot? account_id
|
|
97
|
+
# TODO: check account fields for NoBot, too
|
|
98
|
+
# right now, limited by moostodon
|
|
97
99
|
@client.account(account_id).note =~ /#?NoBot/i
|
|
98
100
|
end
|
|
99
101
|
|
data/lib/elephrame/mix/bots.rb
CHANGED
data/lib/elephrame/version.rb
CHANGED