ventana 0.9.1 → 0.9.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1cc9ba7bdc9bb44ed8b7374b290a2643e024af2e
4
- data.tar.gz: 1247de10f967bad71e21b89ef66dce4cfb4668a9
3
+ metadata.gz: e8ea6ae61b3094a51b943cff3b2d8e162858e1fe
4
+ data.tar.gz: 986bb34cf21c6fee0bb7937d6281bf5b9177cd94
5
5
  SHA512:
6
- metadata.gz: c94b23a28ed85007dd1dc073ba6033c330a9c5654868099f40181f603e619761d18692ff31e6555b67711417166ebf738933f0a101ae45f715c0677f8dd3cc09
7
- data.tar.gz: 2e2ce8348587931a8b90214eab2bb9e5b1ba03c3a72e9c7dc142598aaebe1583aea24b3be865fed012ade23620a08afbcf4cfb83f6c5500b7707901929938d42
6
+ metadata.gz: 691400d5fcdbe4a661d2e6b6f96d92d7c618ed1a6f4dcd3731eaba57b3dc4b20175a507388feecb4fac166fd5fb2cf0cdbd76265d2b1cb8a96ea98fe207baf87
7
+ data.tar.gz: 663531cacf3e7d958cc93b8aa98e8de40a85d98ed4c38c725893e66f31cb3cc5095fcf4ab895982cc270acd3b59d0c6d47cbbddfdef9cb3dfd87e388b96b8af6
@@ -45,13 +45,7 @@ module Ventana
45
45
  end
46
46
 
47
47
  def time_format(date)
48
- str = date.strftime "%l"
49
- if date.min > 0
50
- str << ":" << date.strftime("%M")
51
- end
52
- str << "" << date.strftime("%p")
53
-
54
- str.strip
48
+ date.strftime("%l:%M %P").strip
55
49
  end
56
50
 
57
51
  def show_time?(from,to)
@@ -1,3 +1,3 @@
1
1
  module Ventana
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.2"
3
3
  end
@@ -1,11 +1,11 @@
1
1
  locale,from,to,expectation
2
- en,2014-06-06 12:00:00,2014-06-06 15:00:00,"June 6, 2014 from 12PM to 3PM"
3
- en,2014-06-05 12:00:00,2014-06-10 15:00:00,"June 5 to 10, 2014 from 12PM to 3PM"
4
- en,2014-06-01 12:00:00,2014-06-30 15:00:00,"June 2014 from 12PM to 3PM"
5
- en,2014-06-01 12:00:00,2014-07-31 15:00:00,"June to July 2014 from 12PM to 3PM"
6
- en,2014-06-05 12:00:00,2014-07-10 15:00:00,"June 5 to July 10, 2014 from 12PM to 3PM"
7
- es,2014-06-06 12:00:00,2014-06-06 15:00:00,"6 de junio del 2014 entre 12PM y 3PM"
8
- es,2014-06-05 12:00:00,2014-06-10 15:00:00,"5 al 10 de junio del 2014 entre 12PM y 3PM"
9
- es,2014-06-01 12:00:00,2014-06-30 15:00:00,"junio del 2014 entre 12PM y 3PM"
10
- es,2014-06-01 12:00:00,2014-07-31 15:00:00,"junio a julio del 2014 entre 12PM y 3PM"
11
- es,2014-06-05 12:00:00,2014-07-10 15:00:00,"5 de junio al 10 de julio del 2014 entre 12PM y 3PM"
2
+ en,2014-06-06 12:00:00,2014-06-06 15:00:00,"June 6, 2014 from 12:00 pm to 3:00 pm"
3
+ en,2014-06-05 12:00:00,2014-06-10 15:00:00,"June 5 to 10, 2014 from 12:00 pm to 3:00 pm"
4
+ en,2014-06-01 12:00:00,2014-06-30 15:00:00,"June 2014 from 12:00 pm to 3:00 pm"
5
+ en,2014-06-01 12:00:00,2014-07-31 15:00:00,"June to July 2014 from 12:00 pm to 3:00 pm"
6
+ en,2014-06-05 12:00:00,2014-07-10 15:00:00,"June 5 to July 10, 2014 from 12:00 pm to 3:00 pm"
7
+ es,2014-06-06 12:00:00,2014-06-06 15:00:00,"6 de junio del 2014 entre 12:00 pm y 3:00 pm"
8
+ es,2014-06-05 12:00:00,2014-06-10 15:00:00,"5 al 10 de junio del 2014 entre 12:00 pm y 3:00 pm"
9
+ es,2014-06-01 12:00:00,2014-06-30 15:00:00,"junio del 2014 entre 12:00 pm y 3:00 pm"
10
+ es,2014-06-01 12:00:00,2014-07-31 15:00:00,"junio a julio del 2014 entre 12:00 pm y 3:00 pm"
11
+ es,2014-06-05 12:00:00,2014-07-10 15:00:00,"5 de junio al 10 de julio del 2014 entre 12:00 pm y 3:00 pm"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ventana
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seba Gamboa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
11
+ date: 2014-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n