italian-ruby 1.5.13 → 1.5.14

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
2
  SHA256:
3
- metadata.gz: ad5f58a038e1c1a49d80f930226e0532733347e8a21a91ccc93176f458f1145f
4
- data.tar.gz: eb29928d6b35bc773b5af41b5ab7f58fa0bf066654982da9621dfeec8ce1e670
3
+ metadata.gz: be5d5d79621b453d71b832c0d09cf8a04b60c2b79a4be65d8ad0778ff5f3bd4e
4
+ data.tar.gz: daf19d9ac81828facf5415bfdcaac729a87a059bcf652255d471204dde250356
5
5
  SHA512:
6
- metadata.gz: bd2b41f47a773e24f948e558daf8b119d7a2f8c0e6846161541be49565df88ce3005431f9d0ce70385eaf604550d5a40f134c937df763edfb893f7dc554d65ce
7
- data.tar.gz: c6678a6fe557e3ed377309324e71bddf8b6942c7a03e131cdc05beb6d6bf2a28ae076a92ab145ce98962b05fb2b37f766be437d9bb5e775a9786bac1f9d2a430
6
+ metadata.gz: 33c0e90e5cf18333962756c18c96fb2761b0fdee4defe06c9987e123faeee9a2a965a4bf1bb79400ca42861248e6b7a12e9c85af7ca23bb86fef0f2f857a17f8
7
+ data.tar.gz: 112c929041aed348b5ce32b4ff290fe0fa5851e28e386f7fcb58db4f0ccb20e24b3bd6093228a945198147676d4cc7a200fef9053f5b9c959c9b55c18621fa4e
@@ -100,6 +100,22 @@ class String
100
100
  def in_data
101
101
  return unless defined? Date
102
102
  Date.parse self
103
+ .gsub(/gennaio/i, "JAN")
104
+ .gsub(/maggio/i, "MAY")
105
+ .gsub(/giugno/i, "JUN")
106
+ .gsub(/luglio/i, "JUL")
107
+ .gsub(/agosto/i, "AUG")
108
+ .gsub(/settembre/i, "SEP")
109
+ .gsub(/ottobre/i, "OCT")
110
+ .gsub(/dicembre/i, "DEC")
111
+ .gsub(/GEN/i, "JAN")
112
+ .gsub(/MAG/i, "MAY")
113
+ .gsub(/GIU/i, "JUN")
114
+ .gsub(/LUG/i, "JUL")
115
+ .gsub(/AGO/i, "AUG")
116
+ .gsub(/SET/i, "SEP")
117
+ .gsub(/OTT/i, "OCT")
118
+ .gsub(/DIC/i, "DEC")
103
119
  end
104
120
 
105
121
  ##
@@ -107,6 +123,22 @@ class String
107
123
  def in_tempo
108
124
  return unless defined? Time
109
125
  Time.parse self
126
+ .gsub(/gennaio/i, "JAN")
127
+ .gsub(/maggio/i, "MAY")
128
+ .gsub(/giugno/i, "JUN")
129
+ .gsub(/luglio/i, "JUL")
130
+ .gsub(/agosto/i, "AUG")
131
+ .gsub(/settembre/i, "SEP")
132
+ .gsub(/ottobre/i, "OCT")
133
+ .gsub(/dicembre/i, "DEC")
134
+ .gsub(/GEN/i, "JAN")
135
+ .gsub(/MAG/i, "MAY")
136
+ .gsub(/GIU/i, "JUN")
137
+ .gsub(/LUG/i, "JUL")
138
+ .gsub(/AGO/i, "AUG")
139
+ .gsub(/SET/i, "SEP")
140
+ .gsub(/OTT/i, "OCT")
141
+ .gsub(/DIC/i, "DEC")
110
142
  end
111
143
 
112
144
  ##
@@ -1,5 +1,5 @@
1
1
  module Italian
2
2
  module Ruby
3
- VERSIONE = "1.5.13"
3
+ VERSIONE = "1.5.14"
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: 1.5.13
4
+ version: 1.5.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Ballardin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-20 00:00:00.000000000 Z
11
+ date: 2022-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler