et-orbi 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/et-orbi.rb +5 -3
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4341ea1620f51e75acee26880d7c6dc60fb032db
|
4
|
+
data.tar.gz: 7a9ce637533a5d2568e4a918175f8d4ccd6996fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52837ad80880da6341a49108a9f7c23b60b12724a87872811f769071de34b1070dbb753bcb5ae59831b87cd4005397b21354d3a8b8536b5e5581ed77f9aff587
|
7
|
+
data.tar.gz: cca6da99499ae5a9da3aeda65e0931b2f2455966707d5e8d74d1762177d5f8d1224ca932651d94948f2d4c74929e9273fa2f4059d3f72a4ff83956965d147a92
|
data/CHANGELOG.md
CHANGED
data/lib/et-orbi.rb
CHANGED
@@ -7,7 +7,7 @@ require 'tzinfo'
|
|
7
7
|
|
8
8
|
module EtOrbi
|
9
9
|
|
10
|
-
VERSION = '1.0.
|
10
|
+
VERSION = '1.0.3'
|
11
11
|
|
12
12
|
#
|
13
13
|
# module methods
|
@@ -365,9 +365,11 @@ module EtOrbi
|
|
365
365
|
t.strftime('%Y-%m-%d %H:%M:%S') +
|
366
366
|
".#{(seconds % 1).to_s.split('.').last}"
|
367
367
|
z =
|
368
|
-
EtOrbi.local_tzone
|
368
|
+
EtOrbi.local_tzone ?
|
369
|
+
EtOrbi.local_tzone.period_for_local(t).abbreviation.to_s :
|
370
|
+
nil
|
369
371
|
|
370
|
-
"(secs:#{seconds},utc~:#{ts.inspect},
|
372
|
+
"(secs:#{seconds},utc~:#{ts.inspect},ltz~:#{z.inspect})"
|
371
373
|
end
|
372
374
|
|
373
375
|
def strfz(code)
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: et-orbi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Mettraux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tzinfo
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '3.4'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3.4'
|
41
41
|
description: Time zones for fugit and rufus-scheduler. Urbi et Orbi.
|
@@ -45,15 +45,15 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
+
- CHANGELOG.md
|
49
|
+
- CREDITS.md
|
50
|
+
- LICENSE.txt
|
48
51
|
- Makefile
|
52
|
+
- README.md
|
53
|
+
- et-orbi.gemspec
|
49
54
|
- lib/et-orbi.rb
|
50
55
|
- lib/et_orbi.rb
|
51
56
|
- lib/etorbi.rb
|
52
|
-
- et-orbi.gemspec
|
53
|
-
- LICENSE.txt
|
54
|
-
- CHANGELOG.md
|
55
|
-
- CREDITS.md
|
56
|
-
- README.md
|
57
57
|
homepage: http://github.com/floraison/et-orbi
|
58
58
|
licenses:
|
59
59
|
- MIT
|
@@ -64,17 +64,17 @@ require_paths:
|
|
64
64
|
- lib
|
65
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project:
|
77
|
-
rubygems_version: 2.
|
77
|
+
rubygems_version: 2.5.2
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: time with zones
|