quality_extensions 1.3.1 → 1.3.2

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.
@@ -104,8 +104,11 @@ class Pathname
104
104
  #
105
105
  # FileUtils.touch 'timestamp'
106
106
  # FileUtils.touch Dir.glob('*.c'); system 'make'
107
+ #
108
+ # Returns self. This is different from FileUtils.touch, which returns an array of filenames.
109
+ #
107
110
  def touch
108
- FileUtils.touch self.to_s
111
+ tap {|file| FileUtils.touch file.to_s }
109
112
  end
110
113
 
111
114
  # Moves self to +new_path+ using FileUtils.mv.
@@ -1,3 +1,3 @@
1
1
  module QualityExtensions
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quality_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-06-08 00:00:00.000000000 Z
13
+ date: 2012-08-20 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: A collection of reusable Ruby methods which are not (yet) in Facets.
16
16
  email:
@@ -302,3 +302,4 @@ signing_key:
302
302
  specification_version: 3
303
303
  summary: A collection of reusable Ruby methods which are not (yet) in Facets.
304
304
  test_files: []
305
+ has_rdoc: