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 +4 -4
- data/CHANGELOG.md +5 -1
- data/README.md +11 -1
- data/lib/awesome_bot/links.rb +2 -2
- data/lib/awesome_bot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1cbd86d2c0e280ee5f8188a55bbe13e4f080e6be
|
|
4
|
+
data.tar.gz: 53f41446728e187572b7d3db5e251c72578292a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 224ec2c045346aaa2aa65b8136fc4a6e46da0d79f12a30a6661e2ba26b598576baf75baea0c9c4acced34b050658ca3b3d22912ddb7902c50c9f58924089c152
|
|
7
|
+
data.tar.gz: 458b5859139743fb6b703e7e4ce2dade832689a8e175529ee094caea1c71be3eeb05f151428ba4f3974d20ae15c1a9b015370c30ce577a205e98877f35fc2c4d
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|

|
|
6
6
|
|
|
7
|
-
`awesome_bot` checks for valid URLs in a file, it can be used to verify pull requests
|
|
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
|
[](https://travis-ci.org/dkhamsing/awesome_bot)
|
|
10
10
|
[](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)
|
data/lib/awesome_bot/links.rb
CHANGED
|
@@ -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
|
|
14
|
+
elsif x.scan(')').count > 0
|
|
15
15
|
x.gsub(/\).*/, '')
|
|
16
16
|
else
|
|
17
17
|
x
|
data/lib/awesome_bot/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2015-12-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|