tumblr_autofixer 0.1.1 → 0.1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/autofixer/commands/show_help.rb +12 -4
- data/lib/autofixer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eca3a824c754b22cc56257bdb311be84bdfa8308
|
4
|
+
data.tar.gz: de486b08e84534b588630656b7e205e58d71a755
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c35aac5375a8584d4023544881d1807e0b0b8d5a6d30fe00361662aad4d1a07abcb47ff5d7a8ef570e591c0c7c71ead81731a4c45dacdb408be624f38ad6c088
|
7
|
+
data.tar.gz: 62753dc310e7f43e78689abb2aa44c705b4a1aad88c9f54e6634d2e7c58aeb2362e010f920f17816d9c3978858e0b4764729423d8dcb5776b39cf9f25b2293c3
|
data/README.md
CHANGED
@@ -3,11 +3,12 @@
|
|
3
3
|
\- Generated files are stored in ~/config_md/taf/
|
4
4
|
\- Careful when editing configuration files, as with all YAML files, indentation is crucial!
|
5
5
|
|
6
|
-
# Version 0.1.
|
6
|
+
# Version 0.1.1
|
7
7
|
- New: [Tag Matcher](#using-the-tag-matcher)! Use a whitelist of tags to improve Autofixer's ability to
|
8
8
|
- Ability to include DK::Autofixer in your programs
|
9
9
|
- Started building out the test suite
|
10
10
|
- Extensive refactoring
|
11
|
+
- Correctly requires tumblr_draftking ~> 0.10.0
|
11
12
|
- Please report any [issues](https://github.com/meissadia/tumblr_autofix/issues)
|
12
13
|
|
13
14
|
# Using the Tag Matcher
|
@@ -3,12 +3,13 @@ module DK
|
|
3
3
|
def show_help
|
4
4
|
return unless (@options.include?('help') || @options.find_index('-h'))
|
5
5
|
puts 'Usage: '
|
6
|
-
puts ' $ taf
|
6
|
+
puts ' $ taf [options*]'
|
7
|
+
puts ' $ taf <command> [command-options*]'
|
7
8
|
puts
|
8
9
|
puts ' Commands:'
|
9
|
-
puts ' help
|
10
|
-
puts ' open
|
11
|
-
puts ' g:tags
|
10
|
+
puts ' help Show this menu.'
|
11
|
+
puts ' open Open a webpage with the latest taf results.'
|
12
|
+
puts ' g:tags Generate a list of tags from your latest posts to serve as a whitelist for the Tag Matcher.'
|
12
13
|
puts
|
13
14
|
puts ' Options:'
|
14
15
|
puts ' -s Simulate Run (no changes saved)'
|
@@ -19,6 +20,13 @@ module DK
|
|
19
20
|
puts ' --clear Clear unprocessible Drafts by adding the given prefix (-p [STRING])'
|
20
21
|
puts ' causing these posts to show as "Already Processed" in future runs.'
|
21
22
|
puts ' --show Open the results webpage after processing is complete.'
|
23
|
+
puts
|
24
|
+
puts ' Command Options:'
|
25
|
+
puts ' g:tags'
|
26
|
+
puts ' -l [INTEGER] Number of Drafts to select for processing.'
|
27
|
+
puts ' -b [STRING] Blog name, only needed if targeting secondary blog.'
|
28
|
+
puts ' --source [STRING] draft | queue | published '
|
29
|
+
puts
|
22
30
|
exit(0)
|
23
31
|
end
|
24
32
|
end
|
data/lib/autofixer/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tumblr_autofixer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.1
|
4
|
+
version: 0.1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Meissa Dia
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.10.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.10.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sanitize
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|