italian-ruby 0.7.7 → 0.7.8

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
  SHA256:
3
- metadata.gz: 8b310c7d130d7ad5995a56a634e32a0feb1c3643e8d1a64e04b890a3208ffe45
4
- data.tar.gz: 67d00de81602c11d24bff7f99d900e39adf1635d140dc8ced8bdc52d4c63bd61
3
+ metadata.gz: db94c4fdebc873de37ee6c25df7c332498b395fb49eaa7927dc9407d55c718ae
4
+ data.tar.gz: 342b56a07bc259b6ad3ffb1bfd7cd0c0da2681fc0d38d7baaa34e45f5df0ed30
5
5
  SHA512:
6
- metadata.gz: 6b59e75386751558d5f3bb667c8c8beca1a99fe218a394ffd67ed5e5f99d6163587cfb11cbef54607bad1767e92b7c1337ffea1f04e3beaa2dc28ce0b4cc2ba2
7
- data.tar.gz: a7e73748bc86a2ebf33d8359faef4a47275715c2b5a9798751ff658710c4d0ff066d93b07bcbe02fe75505625c0b8befe406f5ad94b9cd5096515778ed69bbbb
6
+ metadata.gz: 57856bc3289204ac11603bb40a9a7dd00577edf263d38a8eb18978477d8f332d49004383716314889bf2a324bf27adbe4f28879c5555dd45697b99f6ff559836
7
+ data.tar.gz: 9936648d6bb241253472d892d71c56774fdc4d3d9bb2a703d5d3a3d817b4017b4d792d545e60e2336944b1118d56fd7da6d32dd6870d16bdb12befb83dc1ea1a
@@ -17,7 +17,7 @@ class File
17
17
  alias :stampa :puts
18
18
 
19
19
  def self.percorso_non_tradotto(path)
20
- return path unless path.respond_to? :gsub
21
- path.gsub("/Users/fballardin/.italian-ruby/translations", "")
20
+ return path unless path.respond_to? :partition
21
+ path.partition(".italian-ruby/translations").last
22
22
  end
23
23
  end
@@ -1,5 +1,5 @@
1
1
  module Italian
2
2
  module Ruby
3
- VERSION = "0.7.7"
3
+ VERSION = "0.7.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: italian-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.7
4
+ version: 0.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Ballardin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-03 00:00:00.000000000 Z
11
+ date: 2020-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler