wordmove 3.1.2.pre → 3.1.2.pre2

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: 4583ad59e6713b61539d045e3bf1b4c440d128f9
4
- data.tar.gz: d53c532465fd7a50e24f8934d8f95b6b4d81cabe
3
+ metadata.gz: 0a0a8d2ce4e3dd407a40e10716d18d305c578c89
4
+ data.tar.gz: 066a4e4c3789e5ae60a101701ddf8e384b01999b
5
5
  SHA512:
6
- metadata.gz: 47ce4624bf1a27a08fecd10a825c61673797b039f7fb8c7518755cdffd3efe713b43e52721bd02f79ff38d44fa4b4386d9a56b8ee1ea7e9f2f60ca1f5064fa3b
7
- data.tar.gz: 3a9178bc844300e018c55123852f1cb4272a9dfd9a407c16cc76fb85e03f50820b7dbdd6b8796535f436760d72efecf0218da01da884e1963aff8e7e23631e8d
6
+ metadata.gz: 444a62cee062aa8fabd462e8f2586c93b29604670747be3f9460dc8e7c81fd543ea4a445e6c6ac165a69dd60895604ac09443a4e8f359f65366a3eb94862d4ef
7
+ data.tar.gz: cac0b9a65b2f0691efc766642067c8e2fdd16fb7313340dfb3668394ca1ebc97d73b0ea8bc7b53de8a810d978c82912cd7e6d70ca246b4562c1e219293caaf79
@@ -115,13 +115,13 @@ module Wordmove
115
115
 
116
116
  def push_inlcude_paths(task)
117
117
  Pathname.new(send(:"local_#{task}_dir").relative_path)
118
- .ascend
119
- .each_with_object([]) do |directory, array|
120
- path = directory.to_path
121
- path.prepend('/') unless path =~ %r{^/}
122
- path.concat('/') unless path =~ %r{/$}
123
- array << path
124
- end
118
+ .ascend
119
+ .each_with_object([]) do |directory, array|
120
+ path = directory.to_path
121
+ path.prepend('/') unless path.match? %r{^/}
122
+ path.concat('/') unless path.match? %r{/$}
123
+ array << path
124
+ end
125
125
  end
126
126
 
127
127
  def push_exclude_paths
@@ -1,3 +1,3 @@
1
1
  module Wordmove
2
- VERSION = "3.1.2.pre".freeze
2
+ VERSION = "3.1.2.pre2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wordmove
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2.pre
4
+ version: 3.1.2.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna