ftpd 0.12.0 → 0.13.0

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: fa02f983b7e202a26dbadeeb27d69e3c4448291a
4
- data.tar.gz: b55917ec573258184c199001142318131a10aab6
3
+ metadata.gz: 1c46a1e5c30c5ca7823a0e7c98af8e9f00b0a4c5
4
+ data.tar.gz: dbd5f96f47b5e92c7941878034a6f742653e64f3
5
5
  SHA512:
6
- metadata.gz: 7ca68334c5a362e25ce0b31cca42022a26a79e7050b1a5c3bc478316ef43996a75b7449503217c0436a64f2386e777b2b8b496814b53393dcacc49fc31ad93a6
7
- data.tar.gz: cc25d35c1ac3b9514e478012417d8ba43edc954027a9b3e43782a1ef6caecf0640f8f307f9ff427cfc0ce1d19e231d7860dbd63639771df4774a32bdccaf0376
6
+ metadata.gz: c7826a274b080ecc2ec62f0820f873cf0e6be32b8e44f195be214af3366bc3df368f6429448e0555562f91963e358e2e6d1cb4ba570aaadb838f985959cd34ec
7
+ data.tar.gz: 13a1f5c254e9a4099efe0a6d595e0a593d9458761f0b65bb329e54b4501b81311d471b7037673e5705e3abaa98a55676e07edd5b27ff1aa605d8cadd67bb0446
@@ -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.13.0
6
+
7
+ Administration
8
+
9
+ * Remove badges from package description
10
+
5
11
  ### 0.12.0
6
12
 
7
13
  Bug fixes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.0
1
+ 0.13.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.12.0 ruby lib
5
+ # stub: ftpd 0.13.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "ftpd"
9
- s.version = "0.12.0"
9
+ s.version = "0.13.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 = "[![Code Climate](https://codeclimate.com/github/wconrad/ftpd.png)](https://codeclimate.com/github/wconrad/ftpd) [![Build Status](https://travis-ci.org/wconrad/ftpd.png)](https://travis-ci.org/wconrad/ftpd) [![Gem Version](https://badge.fury.io/rb/ftpd.png)](http://badge.fury.io/rb/ftpd) 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][1]. It can be used as part of a test fixture 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 or embedded in a program."
16
16
  s.email = "wconrad@yagni.com"
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.md",
@@ -4,13 +4,21 @@ require 'jeweler'
4
4
 
5
5
  README_PATH = File.expand_path('../README.md', File.dirname(__FILE__))
6
6
 
7
+ def remove_badges(description)
8
+ description.gsub(/\[.*\n/, '')
9
+ end
10
+
11
+ def join_lines(description)
12
+ description.gsub(/\n/, ' ').strip
13
+ end
14
+
7
15
  def extract_description_from_readme
8
16
  readme = File.open(README_PATH, 'r', &:read)
9
- s = readme[/^# FTPD.*\n+((?:.*\n)+?)\n*##/i, 1]
10
- unless s
17
+ description = readme[/^# FTPD.*\n+((?:.*\n)+?)\n*##/i, 1]
18
+ unless description
11
19
  raise 'Unable to extract description from readme'
12
- end
13
- s.gsub(/\n/, ' ').strip
20
+ end
21
+ join_lines(remove_badges(description))
14
22
  end
15
23
 
16
24
  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.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wayne Conrad
@@ -136,12 +136,9 @@ dependencies:
136
136
  - - '>='
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
- description: '[![Code Climate](https://codeclimate.com/github/wconrad/ftpd.png)](https://codeclimate.com/github/wconrad/ftpd)
140
- [![Build Status](https://travis-ci.org/wconrad/ftpd.png)](https://travis-ci.org/wconrad/ftpd)
141
- [![Gem Version](https://badge.fury.io/rb/ftpd.png)](http://badge.fury.io/rb/ftpd) ftpd
142
- is a pure Ruby FTP server library. It supports implicit and explicit TLS, IPV6,
143
- passive and active mode, and is unconditionally compliant per [RFC-1123][1]. It
144
- can be used as part of a test fixture or embedded in a program.'
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.
145
142
  email: wconrad@yagni.com
146
143
  executables: []
147
144
  extensions: []