amee-analytics 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.txt CHANGED
@@ -1,4 +1,10 @@
1
1
  = Changelog
2
2
 
3
+ == 2.1.1
4
+ * Add module namespace to TermsList in TermsList sort_by method
5
+ == 2.1.0
6
+ * Update to support new handling of calculation sets (amee-data-abstraction v2.2)
7
+ == 2.0.0
8
+ * Upgrade to support Rails 3
3
9
  == 1.0.0
4
10
  * Initial public release
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source "http://rubygems.org"
2
2
 
3
3
  # Dependencies
4
4
  gem "amee-data-abstraction","~> 2.2"
5
- gem "amee-data-persistence","~> 2.1"
5
+ gem "amee-data-persistence","~> 2.2"
6
6
 
7
7
  group :development do
8
8
  gem "bundler", "~> 1.0.0"
data/Gemfile.lock CHANGED
@@ -37,7 +37,7 @@ GEM
37
37
  amee (~> 4.1.5)
38
38
  quantify (~> 2.0.0)
39
39
  uuidtools (= 2.1.2)
40
- amee-data-persistence (2.1.0)
40
+ amee-data-persistence (2.2.0)
41
41
  activerecord (~> 3.0.10)
42
42
  amee-data-abstraction (~> 2.2.0)
43
43
  arel (2.0.10)
@@ -108,7 +108,7 @@ PLATFORMS
108
108
 
109
109
  DEPENDENCIES
110
110
  amee-data-abstraction (~> 2.2)
111
- amee-data-persistence (~> 2.1)
111
+ amee-data-persistence (~> 2.2)
112
112
  bundler (~> 1.0.0)
113
113
  flexmock (~> 0.9.0)
114
114
  jeweler (~> 1.6.4)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.1.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{amee-analytics}
8
- s.version = "2.1.0"
8
+ s.version = "2.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{James Hetherington}, %q{Andrew Berkeley}, %q{James Smith}, %q{George Palmer}]
12
- s.date = %q{2011-10-19}
11
+ s.authors = ["James Hetherington", "Andrew Berkeley", "James Smith", "George Palmer"]
12
+ s.date = %q{2011-10-21}
13
13
  s.description = %q{Part of the AMEE AppKit, this gem provides the ability to do mathmatical operations over a set of calculations}
14
14
  s.email = %q{help@amee.com}
15
15
  s.extra_rdoc_files = [
@@ -39,9 +39,9 @@ Gem::Specification.new do |s|
39
39
  "spec/spec_helper.rb"
40
40
  ]
41
41
  s.homepage = %q{http://github.com/AMEE/amee-analytics}
42
- s.licenses = [%q{MIT}]
43
- s.require_paths = [%q{lib}]
44
- s.rubygems_version = %q{1.8.6}
42
+ s.licenses = ["MIT"]
43
+ s.require_paths = ["lib"]
44
+ s.rubygems_version = %q{1.5.3}
45
45
  s.summary = %q{Analytics module for use with AMEE AppKit}
46
46
 
47
47
  if s.respond_to? :specification_version then
@@ -49,7 +49,7 @@ Gem::Specification.new do |s|
49
49
 
50
50
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
51
  s.add_runtime_dependency(%q<amee-data-abstraction>, ["~> 2.2"])
52
- s.add_runtime_dependency(%q<amee-data-persistence>, ["~> 2.1"])
52
+ s.add_runtime_dependency(%q<amee-data-persistence>, ["~> 2.2"])
53
53
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
54
54
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
55
55
  s.add_development_dependency(%q<rails>, ["~> 3.0.10"])
@@ -59,7 +59,7 @@ Gem::Specification.new do |s|
59
59
  s.add_development_dependency(%q<rdoc>, [">= 0"])
60
60
  else
61
61
  s.add_dependency(%q<amee-data-abstraction>, ["~> 2.2"])
62
- s.add_dependency(%q<amee-data-persistence>, ["~> 2.1"])
62
+ s.add_dependency(%q<amee-data-persistence>, ["~> 2.2"])
63
63
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
64
64
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
65
65
  s.add_dependency(%q<rails>, ["~> 3.0.10"])
@@ -70,7 +70,7 @@ Gem::Specification.new do |s|
70
70
  end
71
71
  else
72
72
  s.add_dependency(%q<amee-data-abstraction>, ["~> 2.2"])
73
- s.add_dependency(%q<amee-data-persistence>, ["~> 2.1"])
73
+ s.add_dependency(%q<amee-data-persistence>, ["~> 2.2"])
74
74
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
75
75
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
76
76
  s.add_dependency(%q<rails>, ["~> 3.0.10"])
@@ -313,11 +313,11 @@ module AMEE
313
313
  # 5. Return map of original (now sorted) Terms
314
314
 
315
315
  unset_terms, set_terms = self.partition { |term| term.unset? || term.value.nil? }
316
- standardized_set_terms = TermsList.new(set_terms).standardize_units
316
+ standardized_set_terms = AMEE::DataAbstraction::TermsList.new(set_terms).standardize_units
317
317
  ordered_set_terms = set_terms.zip(standardized_set_terms).sort! do |term,other_term|
318
318
  term[1].send(attr) <=> other_term[1].send(attr)
319
319
  end.map {|term_array| term_array[0]}
320
- TermsList.new(ordered_set_terms + unset_terms)
320
+ AMEE::DataAbstraction::TermsList.new(ordered_set_terms + unset_terms)
321
321
  end
322
322
 
323
323
  # Return an instance of <i>TermsList</i> containing only terms labelled
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amee-analytics
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 0
10
- version: 2.1.0
9
+ - 1
10
+ version: 2.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - James Hetherington
@@ -18,11 +18,12 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2011-10-19 00:00:00 Z
21
+ date: 2011-10-21 00:00:00 +01:00
22
+ default_executable:
22
23
  dependencies:
23
24
  - !ruby/object:Gem::Dependency
24
- type: :runtime
25
- requirement: &id001 !ruby/object:Gem::Requirement
25
+ name: amee-data-abstraction
26
+ version_requirements: &id001 !ruby/object:Gem::Requirement
26
27
  none: false
27
28
  requirements:
28
29
  - - ~>
@@ -32,27 +33,27 @@ dependencies:
32
33
  - 2
33
34
  - 2
34
35
  version: "2.2"
35
- version_requirements: *id001
36
- name: amee-data-abstraction
37
36
  prerelease: false
38
- - !ruby/object:Gem::Dependency
39
37
  type: :runtime
40
- requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirement: *id001
39
+ - !ruby/object:Gem::Dependency
40
+ name: amee-data-persistence
41
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
42
  none: false
42
43
  requirements:
43
44
  - - ~>
44
45
  - !ruby/object:Gem::Version
45
- hash: 1
46
+ hash: 7
46
47
  segments:
47
48
  - 2
48
- - 1
49
- version: "2.1"
50
- version_requirements: *id002
51
- name: amee-data-persistence
49
+ - 2
50
+ version: "2.2"
52
51
  prerelease: false
52
+ type: :runtime
53
+ requirement: *id002
53
54
  - !ruby/object:Gem::Dependency
54
- type: :development
55
- requirement: &id003 !ruby/object:Gem::Requirement
55
+ name: bundler
56
+ version_requirements: &id003 !ruby/object:Gem::Requirement
56
57
  none: false
57
58
  requirements:
58
59
  - - ~>
@@ -63,12 +64,12 @@ dependencies:
63
64
  - 0
64
65
  - 0
65
66
  version: 1.0.0
66
- version_requirements: *id003
67
- name: bundler
68
67
  prerelease: false
69
- - !ruby/object:Gem::Dependency
70
68
  type: :development
71
- requirement: &id004 !ruby/object:Gem::Requirement
69
+ requirement: *id003
70
+ - !ruby/object:Gem::Dependency
71
+ name: jeweler
72
+ version_requirements: &id004 !ruby/object:Gem::Requirement
72
73
  none: false
73
74
  requirements:
74
75
  - - ~>
@@ -79,12 +80,12 @@ dependencies:
79
80
  - 6
80
81
  - 4
81
82
  version: 1.6.4
82
- version_requirements: *id004
83
- name: jeweler
84
83
  prerelease: false
85
- - !ruby/object:Gem::Dependency
86
84
  type: :development
87
- requirement: &id005 !ruby/object:Gem::Requirement
85
+ requirement: *id004
86
+ - !ruby/object:Gem::Dependency
87
+ name: rails
88
+ version_requirements: &id005 !ruby/object:Gem::Requirement
88
89
  none: false
89
90
  requirements:
90
91
  - - ~>
@@ -95,12 +96,12 @@ dependencies:
95
96
  - 0
96
97
  - 10
97
98
  version: 3.0.10
98
- version_requirements: *id005
99
- name: rails
100
99
  prerelease: false
101
- - !ruby/object:Gem::Dependency
102
100
  type: :development
103
- requirement: &id006 !ruby/object:Gem::Requirement
101
+ requirement: *id005
102
+ - !ruby/object:Gem::Dependency
103
+ name: rspec
104
+ version_requirements: &id006 !ruby/object:Gem::Requirement
104
105
  none: false
105
106
  requirements:
106
107
  - - "="
@@ -111,12 +112,12 @@ dependencies:
111
112
  - 6
112
113
  - 0
113
114
  version: 2.6.0
114
- version_requirements: *id006
115
- name: rspec
116
115
  prerelease: false
117
- - !ruby/object:Gem::Dependency
118
116
  type: :development
119
- requirement: &id007 !ruby/object:Gem::Requirement
117
+ requirement: *id006
118
+ - !ruby/object:Gem::Dependency
119
+ name: flexmock
120
+ version_requirements: &id007 !ruby/object:Gem::Requirement
120
121
  none: false
121
122
  requirements:
122
123
  - - ~>
@@ -127,12 +128,12 @@ dependencies:
127
128
  - 9
128
129
  - 0
129
130
  version: 0.9.0
130
- version_requirements: *id007
131
- name: flexmock
132
131
  prerelease: false
133
- - !ruby/object:Gem::Dependency
134
132
  type: :development
135
- requirement: &id008 !ruby/object:Gem::Requirement
133
+ requirement: *id007
134
+ - !ruby/object:Gem::Dependency
135
+ name: rcov
136
+ version_requirements: &id008 !ruby/object:Gem::Requirement
136
137
  none: false
137
138
  requirements:
138
139
  - - ">="
@@ -141,12 +142,12 @@ dependencies:
141
142
  segments:
142
143
  - 0
143
144
  version: "0"
144
- version_requirements: *id008
145
- name: rcov
146
145
  prerelease: false
147
- - !ruby/object:Gem::Dependency
148
146
  type: :development
149
- requirement: &id009 !ruby/object:Gem::Requirement
147
+ requirement: *id008
148
+ - !ruby/object:Gem::Dependency
149
+ name: rdoc
150
+ version_requirements: &id009 !ruby/object:Gem::Requirement
150
151
  none: false
151
152
  requirements:
152
153
  - - ">="
@@ -155,9 +156,9 @@ dependencies:
155
156
  segments:
156
157
  - 0
157
158
  version: "0"
158
- version_requirements: *id009
159
- name: rdoc
160
159
  prerelease: false
160
+ type: :development
161
+ requirement: *id009
161
162
  description: Part of the AMEE AppKit, this gem provides the ability to do mathmatical operations over a set of calculations
162
163
  email: help@amee.com
163
164
  executables: []
@@ -188,6 +189,7 @@ files:
188
189
  - spec/fixtures/config/calculations/calcs.rb
189
190
  - spec/spec.opts
190
191
  - spec/spec_helper.rb
192
+ has_rdoc: true
191
193
  homepage: http://github.com/AMEE/amee-analytics
192
194
  licenses:
193
195
  - MIT
@@ -217,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
219
  requirements: []
218
220
 
219
221
  rubyforge_project:
220
- rubygems_version: 1.8.6
222
+ rubygems_version: 1.5.3
221
223
  signing_key:
222
224
  specification_version: 3
223
225
  summary: Analytics module for use with AMEE AppKit