pluggability 0.4.2 → 0.4.3
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.rdoc +7 -0
- data/Rakefile +1 -1
- data/lib/pluggability.rb +6 -2
- metadata +3 -3
- metadata.gz.sig +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74b416f4c7869bb0e92694c2cf9204934eb1c34e
|
4
|
+
data.tar.gz: afc7030991affa25440542dbcc8b2034d5b30a03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baa2b85007768cdcb9737f652b0bff158dfe8126b110894a0f534950ce4d8b0b428794d9567593f261856db5d3f7b64430f01429f03fd06fde016bbc9053c2d5
|
7
|
+
data.tar.gz: 3073b7764f21c6c25bbf272e5802dcdcf20ea6dcf2af4a14f8e42531c8e50d1d77e520afeee87c2319f40d94d678347654e4ab1c1e506ce89e0790640295443e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -21,7 +21,7 @@ hoespec = Hoe.spec 'pluggability' do
|
|
21
21
|
self.history_file = 'History.rdoc'
|
22
22
|
self.extra_rdoc_files = Rake::FileList[ '*.rdoc' ]
|
23
23
|
self.spec_extras[:rdoc_options] = ['-t', 'Pluggability Toolkit']
|
24
|
-
self.spec_extras[:required_rubygems_version] = '~> 2.1'
|
24
|
+
# self.spec_extras[:required_rubygems_version] = '~> 2.1'
|
25
25
|
|
26
26
|
# Hoops to avoid adding a formatting to the gem's spec, but still build
|
27
27
|
# with a custom formatter locally
|
data/lib/pluggability.rb
CHANGED
@@ -12,7 +12,7 @@ module Pluggability
|
|
12
12
|
|
13
13
|
|
14
14
|
# Library version
|
15
|
-
VERSION = '0.4.
|
15
|
+
VERSION = '0.4.3'
|
16
16
|
|
17
17
|
|
18
18
|
# An exception class for Pluggability specific errors.
|
@@ -268,7 +268,11 @@ module Pluggability
|
|
268
268
|
|
269
269
|
patterns.each do |glob|
|
270
270
|
Pluggability.log.debug " finding derivatives matching pattern %p" % [ glob ]
|
271
|
-
candidates = Gem.
|
271
|
+
candidates = if Gem.respond_to?( :find_latest_files )
|
272
|
+
Gem.find_latest_files( glob )
|
273
|
+
else
|
274
|
+
Gem.find_files( glob )
|
275
|
+
end
|
272
276
|
Pluggability.log.debug " found %d matching files" % [ candidates.length ]
|
273
277
|
next if candidates.empty?
|
274
278
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pluggability
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Chase
|
@@ -188,9 +188,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
188
188
|
version: '0'
|
189
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
|
-
- - "
|
191
|
+
- - ">="
|
192
192
|
- !ruby/object:Gem::Version
|
193
|
-
version: '
|
193
|
+
version: '0'
|
194
194
|
requirements: []
|
195
195
|
rubyforge_project:
|
196
196
|
rubygems_version: 2.4.5
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
�
|
2
|
-
|
3
|
-
���=cl�~D�ss`���B�)��R��>�� v��0�S�bU,���>qq~�ҕ�u<?��`���n���Q���J�G��g����������*!i�Mw'!'�����iN��&Ծ�n�a:[������̤�e?�-��j�$�:HA�]A��g�:��m*��ܶ^��?��Mk��ڇEL�;�kB�́:�Z��%��y���l��֪7z�~�]�"$� ��gv|
|
1
|
+
��;����+�é�[����v��(NV.�W�c������b�����לЊ�YW�m����K[�b2d>����5]n�y�-@<<� 9�0� ˆs��ӫ
|
2
|
+
����_(��Jȵ��i߆��P� ϣn!_T1_�M�ϻc�tDm H�0y�S�&�Rn��_-�O�����\�}�'��UN����
|