ftpd 0.13.0 → 0.14.0

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: 1c46a1e5c30c5ca7823a0e7c98af8e9f00b0a4c5
4
- data.tar.gz: dbd5f96f47b5e92c7941878034a6f742653e64f3
3
+ metadata.gz: 2602b3cd4cd61682d02f3467f93a720ad7bbcd88
4
+ data.tar.gz: 4f321e26b94a6929432c1824ecd9330f189b4c19
5
5
  SHA512:
6
- metadata.gz: c7826a274b080ecc2ec62f0820f873cf0e6be32b8e44f195be214af3366bc3df368f6429448e0555562f91963e358e2e6d1cb4ba570aaadb838f985959cd34ec
7
- data.tar.gz: 13a1f5c254e9a4099efe0a6d595e0a593d9458761f0b65bb329e54b4501b81311d471b7037673e5705e3abaa98a55676e07edd5b27ff1aa605d8cadd67bb0446
6
+ metadata.gz: 0ff32a1f439d0b14d159a99dd10b79763c34912f4e9ff1b531851c205dbaf54f4bcea18893ae04b0016adc7ca23ce61211612f4d061e1fc246fe4e8cda6e5b36
7
+ data.tar.gz: b615abaef9b4d803e0378331c1d3a24332157da882256f3c19cb6ea5fb98145b312667f2ed8e98564de751ec931a3f30ef7fc822602ae26e4e6079aa71b5a0a3
@@ -2,6 +2,12 @@ This is the change log for the main branch of ftpd, which supports
2
2
  Ruby 1.9 and greater. For ruby 1.8.7, please use the latest version
3
3
  before 0.8.0.
4
4
 
5
+ ### 0.14.0
6
+
7
+ Administration
8
+
9
+ * Remove markdown link (but leave its text) in package description
10
+
5
11
  ### 0.13.0
6
12
 
7
13
  Administration
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.13.0
1
+ 0.14.0
@@ -2,17 +2,17 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: ftpd 0.13.0 ruby lib
5
+ # stub: ftpd 0.14.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "ftpd"
9
- s.version = "0.13.0"
9
+ s.version = "0.14.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Wayne Conrad"]
14
14
  s.date = "2014-05-11"
15
- s.description = "ftpd is a pure Ruby FTP server library. It supports implicit and explicit TLS, IPV6, passive and active mode, and is unconditionally compliant per or embedded in a program."
15
+ s.description = "ftpd is a pure Ruby FTP server library. It supports implicit and explicit TLS, IPV6, passive and active mode, and is unconditionally compliant per RFC-1123. It can be used as part of a test fixture or embedded in a program."
16
16
  s.email = "wconrad@yagni.com"
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.md",
@@ -4,8 +4,21 @@ require 'jeweler'
4
4
 
5
5
  README_PATH = File.expand_path('../README.md', File.dirname(__FILE__))
6
6
 
7
+ def remove_markdown_link(description)
8
+ regex = %r{
9
+ \[
10
+ ([^\]]+)
11
+ \]
12
+ (
13
+ \[\d+\] |
14
+ \([^)]+\)
15
+ )
16
+ }x
17
+ description = description.gsub(regex, '\1')
18
+ end
19
+
7
20
  def remove_badges(description)
8
- description.gsub(/\[.*\n/, '')
21
+ description.gsub(/^\[!.*\n/, '')
9
22
  end
10
23
 
11
24
  def join_lines(description)
@@ -18,7 +31,10 @@ def extract_description_from_readme
18
31
  unless description
19
32
  raise 'Unable to extract description from readme'
20
33
  end
21
- join_lines(remove_badges(description))
34
+ description = remove_badges(description)
35
+ description = remove_markdown_link(description)
36
+ description = join_lines(description)
37
+ description
22
38
  end
23
39
 
24
40
  Jeweler::Tasks.new do |gem|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ftpd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wayne Conrad
@@ -137,8 +137,8 @@ dependencies:
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  description: ftpd is a pure Ruby FTP server library. It supports implicit and explicit
140
- TLS, IPV6, passive and active mode, and is unconditionally compliant per or embedded
141
- in a program.
140
+ TLS, IPV6, passive and active mode, and is unconditionally compliant per RFC-1123. It
141
+ can be used as part of a test fixture or embedded in a program.
142
142
  email: wconrad@yagni.com
143
143
  executables: []
144
144
  extensions: []