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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de76da294fa94858d5f9a5516f7b1354beb42bba
4
- data.tar.gz: cfcccf84eabc404d2543419f92188f5e7727a4b4
3
+ metadata.gz: 5ccfe2917f405224fad2b83698417452c1afb7ab
4
+ data.tar.gz: 031d2db4646f700e6c235622eff6a19309d14590
5
5
  SHA512:
6
- metadata.gz: b25a3dd3ae956cfbec0b483a23c0734cb1311f7be21f0c9ca6f854f3ff74fb8b10dda41aeb582bcfb5dc7c8ee069d3709215245712c64046197cabc9a5c45b76
7
- data.tar.gz: fe2b9046c5e9aebb0df56900e50d516c51223e65f370b6e54441775f274c7474a5abd025c0caceb361722478576133fa46a44ba474f2ffd3cc1b89e0abe7cfd7
6
+ metadata.gz: 16997a14b24225fb022d1589288a24171edcf8fb373a2012bcdf6ff8076521cc708ef13a7e5316330671016a2110e595a8847245544a967313703da2dfeb04ec
7
+ data.tar.gz: 9b23a0795c7cd40de14f48bc2bd5f6b7bfbde38d6cdfb4ab91c1ebe3e0295e3295a3d25aa247b1482faadd978ee76e9c5a3738318e9f10873211d016a6fa073c
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,3 @@
1
- UES������������ow�|����e�{�����0k`y<��;��Ȟ���< U��Z���Q7WV3��-�û,�H~c���)sT��&����/;썈��3���E���'AEk��*,�|y����өp��O ��� 6L�� <��;�'�Jz֦lB�V�s�$C����8�f���wՓ�(7��&a/F&�J]��D$� ���t���N����O��#�� K��nzN��d�:8$X��V[0m+,�C
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�����
@@ -1,3 +1,8 @@
1
+ == v0.8.0 [2016-06-01] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ - Update quality check class for Ruby 2.3.
4
+
5
+
1
6
  == v0.7.0 [2015-06-01] Michael Granger <ged@FaerieMUD.org>
2
7
 
3
8
  - Update deps, rename gemset import file RVM default.
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.0.0' )
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
 
@@ -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.7.0'
21
+ VERSION = '0.8.0'
20
22
 
21
23
  # Version-control revision constant
22
- REVISION = %q$Revision: 9d3b91f2aa14 $
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
- linegroups = lines.slice_before( [0] ) do |line, last_linenum|
427
- rval = line[1] > last_linenum.first.succ
428
- last_linenum[0] = line[1]
429
- rval
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.7.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: 2015-06-01 00:00:00.000000000 Z
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.0.0
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.4.6
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