forex_date 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG ADDED
@@ -0,0 +1,8 @@
1
+ 1.0.4 (2012-05-30)
2
+
3
+ * README fixed.
4
+
5
+ 1.0.3 (2012-05-30)
6
+
7
+ * ForexDate.now becomes ForexDate.today. It should be similar to Date.today because it returns a date,
8
+ * t.hour must be >= than 17, and not just >.
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.now
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.now
24
+ > ForexDate.today
25
25
  => nil
26
26
 
27
27
  ## Installation
@@ -1,3 +1,3 @@
1
1
  module ForexDate
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
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: 17
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 3
10
- version: 1.0.3
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