rupee 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/rupee/option.c +542 -46
- data/ext/rupee/rupee.h +18 -2
- data/ext/rupee/statistics.c +133 -0
- data/lib/rupee.rb +1 -0
- data/lib/rupee/calendar.rb +238 -0
- data/lib/rupee/calendar/japan.rb +54 -0
- data/lib/rupee/calendar/us.rb +59 -0
- data/lib/rupee/option.rb +8 -0
- data/lib/rupee/quote.rb +37 -8
- data/lib/rupee/version.rb +1 -1
- data/spec/native/option_spec.rb +118 -31
- data/spec/ruby/calendar_spec.rb +85 -0
- data/test_rubies +0 -0
- metadata +49 -49
data/test_rubies
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,60 +1,58 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rupee
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.2
|
4
5
|
prerelease:
|
5
|
-
version: 0.2.1
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Bryan McKelvey
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-09-30 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
16
15
|
name: bundler
|
17
|
-
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &79929690 !ruby/object:Gem::Requirement
|
19
17
|
none: false
|
20
|
-
requirements:
|
18
|
+
requirements:
|
21
19
|
- - ~>
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.0'
|
24
22
|
type: :development
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: rspec
|
28
23
|
prerelease: false
|
29
|
-
|
24
|
+
version_requirements: *79929690
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rspec
|
27
|
+
requirement: &79929290 !ruby/object:Gem::Requirement
|
30
28
|
none: false
|
31
|
-
requirements:
|
29
|
+
requirements:
|
32
30
|
- - ~>
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version:
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.0'
|
35
33
|
type: :development
|
36
|
-
version_requirements: *id002
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: sdoc
|
39
34
|
prerelease: false
|
40
|
-
|
35
|
+
version_requirements: *79929290
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: sdoc
|
38
|
+
requirement: &79928970 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
|
-
requirements:
|
40
|
+
requirements:
|
43
41
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version:
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0.3'
|
46
44
|
type: :development
|
47
|
-
|
48
|
-
|
49
|
-
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *79928970
|
47
|
+
description: ! " rupee aims to provide user-friendly tools for
|
48
|
+
use in\n financial gems and applications.\n"
|
49
|
+
email:
|
50
50
|
- bryan.mckelvey@gmail.com
|
51
51
|
executables: []
|
52
|
-
|
53
|
-
extensions:
|
52
|
+
extensions:
|
54
53
|
- ext/rupee/extconf.rb
|
55
54
|
extra_rdoc_files: []
|
56
|
-
|
57
|
-
files:
|
55
|
+
files:
|
58
56
|
- .autotest
|
59
57
|
- .gitignore
|
60
58
|
- .rspec
|
@@ -71,6 +69,9 @@ files:
|
|
71
69
|
- ext/rupee/util.c
|
72
70
|
- lib/rupee.rb
|
73
71
|
- lib/rupee/benchmark.rb
|
72
|
+
- lib/rupee/calendar.rb
|
73
|
+
- lib/rupee/calendar/japan.rb
|
74
|
+
- lib/rupee/calendar/us.rb
|
74
75
|
- lib/rupee/option.rb
|
75
76
|
- lib/rupee/quote.rb
|
76
77
|
- lib/rupee/quote/source.rb
|
@@ -81,41 +82,40 @@ files:
|
|
81
82
|
- spec/native/future_spec.rb
|
82
83
|
- spec/native/option_spec.rb
|
83
84
|
- spec/native/statistics_spec.rb
|
85
|
+
- spec/ruby/calendar_spec.rb
|
84
86
|
- spec/ruby/quote_spec.rb
|
85
87
|
- spec/spec_helper.rb
|
86
88
|
- tasks/benchmark.rake
|
87
89
|
- test_rubies
|
88
90
|
homepage: https://github.com/brymck/rupee
|
89
91
|
licenses: []
|
90
|
-
|
91
92
|
post_install_message:
|
92
93
|
rdoc_options: []
|
93
|
-
|
94
|
-
require_paths:
|
94
|
+
require_paths:
|
95
95
|
- lib
|
96
96
|
- ext
|
97
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
97
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
98
98
|
none: false
|
99
|
-
requirements:
|
100
|
-
- -
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version:
|
103
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ! '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
104
|
none: false
|
105
|
-
requirements:
|
106
|
-
- -
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version:
|
105
|
+
requirements:
|
106
|
+
- - ! '>='
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '0'
|
109
109
|
requirements: []
|
110
|
-
|
111
110
|
rubyforge_project: rupee
|
112
111
|
rubygems_version: 1.8.10
|
113
112
|
signing_key:
|
114
113
|
specification_version: 3
|
115
114
|
summary: Financial tools for Ruby
|
116
|
-
test_files:
|
115
|
+
test_files:
|
117
116
|
- spec/native/bond_spec.rb
|
118
117
|
- spec/native/future_spec.rb
|
119
118
|
- spec/native/option_spec.rb
|
120
119
|
- spec/native/statistics_spec.rb
|
120
|
+
- spec/ruby/calendar_spec.rb
|
121
121
|
- spec/ruby/quote_spec.rb
|