finexclub 0.3.2 → 0.3.3
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/VERSION +1 -1
- data/finexclub.gemspec +2 -2
- data/lib/finexclub/chart.rb +1 -0
- data/spec/finexclub/chart_spec.rb +4 -5
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.3
|
data/finexclub.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{finexclub}
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Alex Levin"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-12-03}
|
|
13
13
|
s.default_executable = %q{finexclub_updater}
|
|
14
14
|
s.description = %q{Finexclub gem stores and retrieves Forex signals and screenshots. It is the heart of the http://trendsonforex.com and http://finexclub.net}
|
|
15
15
|
s.email = %q{clubfinex@gmail.com}
|
data/lib/finexclub/chart.rb
CHANGED
|
@@ -27,11 +27,6 @@ describe 'Finexclub::Chart' do
|
|
|
27
27
|
@chart.date.should == '2010-09-08'
|
|
28
28
|
@chart.updated.should == @ts
|
|
29
29
|
end
|
|
30
|
-
|
|
31
|
-
it 'should return latest zeta signals as Zeta' do
|
|
32
|
-
Finexclub::Signal.should.receive(:build).with(@core, :zeta, @z2).and_return(z = mock('zeta'))
|
|
33
|
-
@chart.zeta.should == z
|
|
34
|
-
end
|
|
35
30
|
end
|
|
36
31
|
|
|
37
32
|
[
|
|
@@ -55,6 +50,10 @@ describe 'Finexclub::Chart' do
|
|
|
55
50
|
@chart.send(indicator).should == a
|
|
56
51
|
end
|
|
57
52
|
end
|
|
53
|
+
|
|
54
|
+
it "should return nil as latest if no #{indicator} signals available" do
|
|
55
|
+
@chart.send(indicator).should == nil
|
|
56
|
+
end
|
|
58
57
|
end
|
|
59
58
|
|
|
60
59
|
end
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 3
|
|
8
|
-
-
|
|
9
|
-
version: 0.3.
|
|
8
|
+
- 3
|
|
9
|
+
version: 0.3.3
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Alex Levin
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-
|
|
17
|
+
date: 2010-12-03 00:00:00 +07:00
|
|
18
18
|
default_executable: finexclub_updater
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|