awesome_bot 1.3.1 → 1.3.2

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: 182cc44e0d7d187ee13363f3073b2c1c05f98b28
4
- data.tar.gz: 35e3cf5aface804f34379547b4f67e3e155daa53
3
+ metadata.gz: 1cbd86d2c0e280ee5f8188a55bbe13e4f080e6be
4
+ data.tar.gz: 53f41446728e187572b7d3db5e251c72578292a4
5
5
  SHA512:
6
- metadata.gz: 2cc1a1aed1145884249dee0490bf6bd8673247a1815f249404ebd450cc808c2b3f982d3c766234766c994223c0bdb9f9c9b4bb86987d9c5cbcf20a3ca2ae3ba7
7
- data.tar.gz: 529f3e1a47fab18995c435d38f31f5cee44aebb9b5543577558e0fa5d0fdeffc333d0e0041df22c131220732b628a15d02f36fa2460811addb9e51d564b08ecc
6
+ metadata.gz: 224ec2c045346aaa2aa65b8136fc4a6e46da0d79f12a30a6661e2ba26b598576baf75baea0c9c4acced34b050658ca3b3d22912ddb7902c50c9f58924089c152
7
+ data.tar.gz: 458b5859139743fb6b703e7e4ce2dade832689a8e175529ee094caea1c71be3eeb05f151428ba4f3974d20ae15c1a9b015370c30ce577a205e98877f35fc2c4d
@@ -39,9 +39,13 @@
39
39
 
40
40
  # 1.3.1
41
41
 
42
- - fix error with `)` in link parsing, reported by [Halim Qarroum](https://github.com/HQarroum)
42
+ - [fix] error with `)` in link parsing, reported by [Halim Qarroum](https://github.com/HQarroum)
43
43
  - minor improvement to output
44
44
 
45
+ # 1.3.2
46
+
47
+ - [fix] another error with ')' in link parsing, reported by [Julien Bisconti](https://github.com/veggiemonk)
48
+
45
49
  ## Contact
46
50
 
47
51
  - [github.com/dkhamsing](https://github.com/dkhamsing)
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ![](http://i.giphy.com/urvsFBDfR6N32.gif)
6
6
 
7
- `awesome_bot` checks for valid URLs in a file, it can be used to verify pull requests to update a README with [Travis](#travis).
7
+ `awesome_bot` checks for valid URLs in a file, it can be used to verify pull requests updating a README with [Travis](#travis).
8
8
 
9
9
  [![Build Status](https://travis-ci.org/dkhamsing/awesome_bot.svg)](https://travis-ci.org/dkhamsing/awesome_bot)
10
10
  [![Gem Version](https://badge.fury.io/rb/awesome_bot.svg)](https://badge.fury.io/rb/awesome_bot)
@@ -130,6 +130,16 @@ script:
130
130
  - awesome_bot README.md
131
131
  ```
132
132
 
133
+ `awesome_bot` is used by the following projects:
134
+
135
+ - https://github.com/prakhar1989/awesome-courses
136
+ - https://github.com/matteocrippa/awesome-swift
137
+ - https://github.com/iCHAIT/awesome-osx
138
+ - https://github.com/vsouza/awesome-ios
139
+ - https://github.com/ellisonleao/magictools
140
+ - https://github.com/christian-bromann/awesome-selenium
141
+ - https://github.com/sotayamashita/awesome-css
142
+
133
143
  ## Credits
134
144
 
135
145
  - `faraday`, `parallel` and [more](awesome_bot.gemspec)
@@ -9,9 +9,9 @@ module AwesomeBot
9
9
  x.gsub(/'.*/, '').gsub(/,.*/, '').gsub('/:', '/')
10
10
  end
11
11
  .map do |x|
12
- if x.scan(')').count == 2
12
+ if (x.scan(')').count == 2) && (x.scan('(').count == 1)
13
13
  x.gsub(/\)\).*/, ')')
14
- elsif x.scan(')').count == 1
14
+ elsif x.scan(')').count > 0
15
15
  x.gsub(/\).*/, '')
16
16
  else
17
17
  x
@@ -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.3.1'
8
+ VERSION = '1.3.2'
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesome_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Khamsing
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-18 00:00:00.000000000 Z
11
+ date: 2015-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday