hoe-deveiate 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +3 -1
- data/History.rdoc +5 -0
- data/Rakefile +2 -2
- data/lib/hoe/deveiate.rb +10 -7
- metadata +5 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ccfe2917f405224fad2b83698417452c1afb7ab
|
4
|
+
data.tar.gz: 031d2db4646f700e6c235622eff6a19309d14590
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16997a14b24225fb022d1589288a24171edcf8fb373a2012bcdf6ff8076521cc708ef13a7e5316330671016a2110e595a8847245544a967313703da2dfeb04ec
|
7
|
+
data.tar.gz: 9b23a0795c7cd40de14f48bc2bd5f6b7bfbde38d6cdfb4ab91c1ebe3e0295e3295a3d25aa247b1482faadd978ee76e9c5a3738318e9f10873211d016a6fa073c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1 +1,3 @@
|
|
1
|
-
|
1
|
+
���G��~Ie��D�|�~���X������Q\>���`ze���W�]�(�Q�����]�:�V���H���KT����ٟ������f[��>L^=q���>�~
|
2
|
+
J�/�R��h
|
3
|
+
�`8buKh���)��h��.0�T��@���A�Y�/\i�wLa��v�6C|I���(����x�t@)�����c�l���p����r�'������y�����
|
data/History.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -30,8 +30,8 @@ $hoespec = Hoe.spec 'hoe-deveiate' do
|
|
30
30
|
self.dependency 'rspec', '~> 3.2'
|
31
31
|
self.dependency 'rdoc', '~> 4.2'
|
32
32
|
|
33
|
-
self.license 'BSD'
|
34
|
-
self.require_ruby_version( '>=2.
|
33
|
+
self.license 'BSD-3-Clause'
|
34
|
+
self.require_ruby_version( '>=2.2.0' )
|
35
35
|
# self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}"
|
36
36
|
end
|
37
37
|
|
data/lib/hoe/deveiate.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
#encoding: utf-8
|
3
3
|
|
4
|
+
require 'pp'
|
5
|
+
|
4
6
|
require 'hoe'
|
5
7
|
require 'mail'
|
6
8
|
require 'net/smtp'
|
@@ -16,10 +18,10 @@ Hoe.plugin( :highline, :mercurial )
|
|
16
18
|
module Hoe::Deveiate
|
17
19
|
|
18
20
|
# Library version constant
|
19
|
-
VERSION = '0.
|
21
|
+
VERSION = '0.8.0'
|
20
22
|
|
21
23
|
# Version-control revision constant
|
22
|
-
REVISION = %q$Revision:
|
24
|
+
REVISION = %q$Revision: 1b62f1fd2706 $
|
23
25
|
|
24
26
|
# Regexp to match trailing whitespace
|
25
27
|
TRAILING_WHITESPACE_RE = /[ \t]+$/
|
@@ -423,13 +425,14 @@ module Hoe::Deveiate
|
|
423
425
|
by_file = tuples.group_by {|tuple| tuple.first }
|
424
426
|
|
425
427
|
return by_file.each_with_object({}) do |(filename, lines), hash|
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
428
|
+
last_linenum = 0
|
429
|
+
linegroups = lines.slice_before do |filename, linenum|
|
430
|
+
gap = linenum > last_linenum + 1
|
431
|
+
last_linenum = linenum
|
432
|
+
gap
|
430
433
|
end
|
431
434
|
|
432
|
-
hash[filename] = linegroups.map do |group|
|
435
|
+
hash[ filename ] = linegroups.map do |group|
|
433
436
|
rng = group.first[1] .. group.last[1]
|
434
437
|
grouplines = group.transpose.last
|
435
438
|
[ rng, grouplines ]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-deveiate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
G8LHR7EjtPPmqCCunfyecJ6MmCNaiJCBxq2NYzyNmluPyHT8+0fuB5kccUVZm6CD
|
31
31
|
xn3DzOkDE6NYbk8gC9rTsA==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
33
|
+
date: 2016-06-02 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: hoe
|
@@ -137,7 +137,7 @@ files:
|
|
137
137
|
- lib/hoe/deveiate.rb
|
138
138
|
homepage: http://deveiate.org/hoe-deveiate
|
139
139
|
licenses:
|
140
|
-
- BSD
|
140
|
+
- BSD-3-Clause
|
141
141
|
metadata: {}
|
142
142
|
post_install_message:
|
143
143
|
rdoc_options:
|
@@ -149,7 +149,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 2.
|
152
|
+
version: 2.2.0
|
153
153
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
155
|
- - ">="
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
version: '0'
|
158
158
|
requirements: []
|
159
159
|
rubyforge_project:
|
160
|
-
rubygems_version: 2.
|
160
|
+
rubygems_version: 2.6.2
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: A collection of Rake tasks and utility functions I use to maintain my Open
|
metadata.gz.sig
CHANGED
Binary file
|