signal_tools 0.2.1 → 0.2.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.
Files changed (3) hide show
  1. data/README.rdoc +2 -5
  2. data/lib/signal_tools.rb +2 -4
  3. metadata +9 -9
data/README.rdoc CHANGED
@@ -27,13 +27,10 @@ Signal tools allows you to create technical analysis data for a given stock (lik
27
27
 
28
28
  * Fork the project.
29
29
  * Make your feature addition or bug fix.
30
- * Add tests for it. This is important so I don't break it in a
31
- future version unintentionally.
30
+ * Add tests for it. This is important so I don't break it in a future version unintentionally.
32
31
  * Commit, do not mess with rakefile, version, or history.
33
- (if you want to have your own version, that is fine but
34
- bump version in a commit by itself I can ignore when I pull)
35
32
  * Send me a pull request. Bonus points for topic branches.
36
33
 
37
34
  == Copyright
38
35
 
39
- Copyright (c) 2010 Matt White. See LICENSE for details.
36
+ Copyright (c) 2010 Matt White.
data/lib/signal_tools.rb CHANGED
@@ -1,9 +1,7 @@
1
- require File.expand_path("../signal_tools/stock_data", __FILE__)
2
- require File.expand_path("../signal_tools/stock", __FILE__)
1
+ require "signal_tools/stock_data"
2
+ require "signal_tools/stock"
3
3
 
4
4
  module SignalTools
5
- VERSION = '0.2.0'
6
-
7
5
  def self.sum(array)
8
6
  array.inject(0) {|accum, c| accum + c.to_f }
9
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signal_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-29 00:00:00.000000000Z
12
+ date: 2011-09-15 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: yahoofinance
16
- requirement: &81101670 !ruby/object:Gem::Requirement
16
+ requirement: &11998940 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *81101670
24
+ version_requirements: *11998940
25
25
  description: Gem to create technical analysis data for a given stock (like MACD, stochastic,
26
26
  and exponential moving averages).
27
27
  email: mattw922@gmail.com
@@ -30,14 +30,14 @@ extensions: []
30
30
  extra_rdoc_files: []
31
31
  files:
32
32
  - Rakefile
33
+ - lib/signal_tools.rb
33
34
  - lib/signal_tools/stock.rb
34
35
  - lib/signal_tools/stock_data.rb
35
- - lib/signal_tools.rb
36
- - test/test_signal_tools.rb
37
36
  - test/test_tickers
38
- - test/test_helper.rb
39
- - test/test_stock_data.rb
40
37
  - test/test_stock.rb
38
+ - test/test_signal_tools.rb
39
+ - test/test_stock_data.rb
40
+ - test/test_helper.rb
41
41
  - README.rdoc
42
42
  - LICENSE
43
43
  homepage: http://github.com/whitethunder/signal_tools
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  requirements: []
62
62
  rubyforge_project:
63
- rubygems_version: 1.8.6
63
+ rubygems_version: 1.8.8
64
64
  signing_key:
65
65
  specification_version: 3
66
66
  summary: Create technical analysis data for a given stock.