awesome_bot 1.2.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c6768985f4950e9e02cd32463e1f160b9dc0900
4
- data.tar.gz: b32f892d1dcbb164b14a91a860000c39dd23cd44
3
+ metadata.gz: c08200401ef702a5a776f23dc0d3027c9b3d29f1
4
+ data.tar.gz: 4f775d12f5803fa6649f7170d4a94f038563f197
5
5
  SHA512:
6
- metadata.gz: 758801b59a894c8f59f6b11238b7b73e302202a32991b924d9c20bc884a0355197c5a969454e731e8c5559df2b109837cb66f5dcd319e6e1706add98ee1c6355
7
- data.tar.gz: 1d5ba3c19898eae9e252bdcc2344798f5af89400d0f7c79f528b86eed88f16e9fe4b573830dbe5ad95b296d3dbc819a41f79635a1b453c7019f36416fbbce779
6
+ metadata.gz: 934cc16ad7cc48a663a2c8ea4360958bd9359901d3ce22c79240f775fca3ff8cfa5d8df97de5276b0dcb81f2601ae2d3c9c3ed0ccd13cf3ef9eb84a25550c2e4
7
+ data.tar.gz: 8cdfd7a4235d947f0248255ef9ce8bf49c9a72f89a4649a1479b768ca2462008230df68d14a02d39dd06960cf338d3b918aa423cff485b9ad70494fa1b337a4d
@@ -27,6 +27,10 @@
27
27
  - use `result`
28
28
  - use `logger`
29
29
 
30
+ # 1.2.1
31
+
32
+ - correct logic for displaying white list status
33
+
30
34
  ## Contact
31
35
 
32
36
  - [github.com/dkhamsing](https://github.com/dkhamsing)
@@ -38,7 +38,7 @@ module AwesomeBot
38
38
  end
39
39
  log.add ''
40
40
 
41
- return r if !r.white_listing || (r.rejected.count > 0)
41
+ return r if !r.white_listing || (r.rejected.count == 0)
42
42
 
43
43
  log.addp 'Checking white listed URLs: '
44
44
  r.white_listed =
@@ -5,5 +5,5 @@ module AwesomeBot
5
5
  'Great for "awesome" projects.'
6
6
  PROJECT_URL = 'https://github.com/dkhamsing/awesome_bot'
7
7
 
8
- VERSION = '1.2.0'
8
+ VERSION = '1.2.1'
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesome_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Khamsing