forex_date 1.0.3 → 1.0.4
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.
- data/CHANGELOG +8 -0
- data/README.md +2 -2
- data/lib/forex_date/version.rb +1 -1
- metadata +4 -3
data/CHANGELOG
ADDED
data/README.md
CHANGED
|
@@ -16,12 +16,12 @@ In order to calculate daily OHCL bars, the around the clock forex week can be sp
|
|
|
16
16
|
|
|
17
17
|
For example, if current time is Thu May 24 06:38:34 UTC 2012:
|
|
18
18
|
|
|
19
|
-
> ForexDate.
|
|
19
|
+
> ForexDate.today
|
|
20
20
|
=> Thu, 24 May 2012
|
|
21
21
|
|
|
22
22
|
On saturdays and sundays it returns nil. If current time is Sat May 26 06:38:34 UTC 2012:
|
|
23
23
|
|
|
24
|
-
> ForexDate.
|
|
24
|
+
> ForexDate.today
|
|
25
25
|
=> nil
|
|
26
26
|
|
|
27
27
|
## Installation
|
data/lib/forex_date/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: forex_date
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 4
|
|
10
|
+
version: 1.0.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Javier Vidal
|
|
@@ -46,6 +46,7 @@ extra_rdoc_files: []
|
|
|
46
46
|
|
|
47
47
|
files:
|
|
48
48
|
- .gitignore
|
|
49
|
+
- CHANGELOG
|
|
49
50
|
- Gemfile
|
|
50
51
|
- LICENSE
|
|
51
52
|
- README.md
|