tumblr_autofixer 0.1.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eca3a824c754b22cc56257bdb311be84bdfa8308
4
- data.tar.gz: de486b08e84534b588630656b7e205e58d71a755
3
+ metadata.gz: 6dc74bc18a584076386c401fd1a96d8d51d6c9a0
4
+ data.tar.gz: 49932a2c0b035ca80f8880941f612500bd44eff3
5
5
  SHA512:
6
- metadata.gz: c35aac5375a8584d4023544881d1807e0b0b8d5a6d30fe00361662aad4d1a07abcb47ff5d7a8ef570e591c0c7c71ead81731a4c45dacdb408be624f38ad6c088
7
- data.tar.gz: 62753dc310e7f43e78689abb2aa44c705b4a1aad88c9f54e6634d2e7c58aeb2362e010f920f17816d9c3978858e0b4764729423d8dcb5776b39cf9f25b2293c3
6
+ metadata.gz: 2ef8a443ea7a9ef50856063d5f22a9264d82f3b432800b5c377d9290aceeb247009fc2fd37b029655b1cad59611b59785847073cbb60a09e436c43cabe7d57d2
7
+ data.tar.gz: 7ce4305cc69d110d170903a0ffe554b2e63d441ce6169e38dc2ec1b1a43aeb895f36b0c94f69d09bc2f994125067c743397da86e2ac025014a51d4e245ae3cca
data/README.md CHANGED
@@ -3,7 +3,7 @@
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.1
6
+ # Version 0.1.2
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
@@ -1,5 +1,5 @@
1
1
  module DK
2
- class Autofixer
2
+ class Autofixer
3
3
  ERROR = '**'
4
4
  POSTS = '/Users/meis/coding/rails/autofixer/db/test.posts'
5
5
  CONFIGDIR = '/config_md/taf/'
@@ -153,7 +153,6 @@ module DK
153
153
  b = binding
154
154
  commands.each{ |x| eval(x, b) }
155
155
  normalize(res)
156
- endormalize(res)
157
156
  end
158
157
 
159
158
  def clear(posts)
@@ -180,7 +179,7 @@ module DK
180
179
 
181
180
  def log(type, msg)
182
181
  @messages << "#{type.capitalize}: #{msg}"
183
- end
182
+ end
184
183
 
185
184
  # **************************************************************************
186
185
  # Filtration Methods
@@ -25,13 +25,13 @@ module DK
25
25
  @tstore = YAML::Store.new("#{confile('tags.yml')}")
26
26
  # Preserve existing
27
27
  existing = restore(@tstore, :good)
28
- puts "Found #{existing.size} tags." if existing
28
+ # puts "Found #{existing.size} tags." if existing
29
29
  @tags += existing if existing
30
30
  @tags = @tags.map(&:downcase)
31
31
  @tags.uniq!
32
32
  @tags.sort!
33
33
  # Save
34
- puts "Saving #{@tags.size} tags"
34
+ # puts "Saving #{@tags.size} tags"
35
35
  store(@tstore, :good, @tags)
36
36
 
37
37
  end
@@ -1,5 +1,5 @@
1
1
  module DK
2
2
  class Autofixer
3
- VERSION = '0.1.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tumblr_autofixer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Meissa Dia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-15 00:00:00.000000000 Z
11
+ date: 2018-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tumblr_draftking