epitools 0.5.108 → 0.5.109

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
- SHA1:
3
- metadata.gz: 9ab9478f3d24652d2ca54b4768f24905054ff7cf
4
- data.tar.gz: 867cc04fd03832c71c8bca9564dd5601b7202d35
2
+ SHA256:
3
+ metadata.gz: 1be8bda7f2bede55788c9d5309ee7f7445348b8615d2c6723935e3c3a03f5f11
4
+ data.tar.gz: ed327b33e0544409efcf4be4f146c8959a89b761de2f3fcece82920724534e27
5
5
  SHA512:
6
- metadata.gz: b08b663ff1e86dc4386c3e9dbb95d4a9251720a3cd4b24b10d82a0329a6128489604f50da8524b85e3a1a9ba3e6a36aa45b0e914986b95516cc7052aa2410c26
7
- data.tar.gz: c1e79ee112929443eeee1985c8fe24364a1981c3fce569135c141b4dc907c80dd5d0fad94692d16ca360a047abc38d20721f1a37f710e61b42bad80f5ce0b543
6
+ metadata.gz: 99796aca02a2b74082842ea4ad7465d12a3868f0b3f8e3d73c20e1727b02d8aea1cde6055e5955ad7baa4b0221db0186fc1fc60c42481ee6982da82c668357b0
7
+ data.tar.gz: aa7bd6b3d6cdfca86da9a007e5638a7c04c9ec45ca3a17d668d1e856d2faf25c712f2a9e99c0bde9701e5e5585b2da2781e1a64df51a52bcd03feefce1d50390
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.108
1
+ 0.5.109
@@ -447,6 +447,11 @@ class Path
447
447
  alias_method :readlink, :symlink_target
448
448
  alias_method :target, :symlink_target
449
449
 
450
+ def hidden?
451
+ thing = filename ? filename : dirs.last
452
+ !!thing[/^\../]
453
+ end
454
+
450
455
  def uri?
451
456
  false
452
457
  end
@@ -48,7 +48,7 @@ class Ratio
48
48
  # Returns a string representing the number in percent
49
49
  #
50
50
  def percent
51
- "%0.1f%" % (to_f * 100)
51
+ "%0.1f%%" % (to_f * 100)
52
52
  end
53
53
  alias_method :to_percent, :percent
54
54
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epitools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.108
4
+ version: 0.5.109
5
5
  platform: ruby
6
6
  authors:
7
7
  - epitron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-05 00:00:00.000000000 Z
11
+ date: 2018-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  requirements: []
132
132
  rubyforge_project:
133
- rubygems_version: 2.6.11
133
+ rubygems_version: 2.7.6
134
134
  signing_key:
135
135
  specification_version: 3
136
136
  summary: Not utils... METILS!