amee 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/amee.gemspec +7 -8
- data/lib/amee.rb +2 -2
- metadata +31 -33
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.1.
|
1
|
+
4.1.1
|
data/amee.gemspec
CHANGED
@@ -4,14 +4,13 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "4.1.
|
7
|
+
s.name = "amee"
|
8
|
+
s.version = "4.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["James Smith", "James Hetherington", "Andrew Hill", "Andrew Berkeley"]
|
12
|
-
s.date =
|
13
|
-
s.
|
14
|
-
s.email = %q{james@floppy.org.uk}
|
12
|
+
s.date = "2011-09-29"
|
13
|
+
s.email = "james@floppy.org.uk"
|
15
14
|
s.executables = ["ameesh"]
|
16
15
|
s.extra_rdoc_files = [
|
17
16
|
"LICENSE.txt",
|
@@ -123,11 +122,11 @@ Gem::Specification.new do |s|
|
|
123
122
|
"spec/v3/item_value_definition_spec.rb",
|
124
123
|
"spec/v3/return_value_definition_spec.rb"
|
125
124
|
]
|
126
|
-
s.homepage =
|
125
|
+
s.homepage = "http://github.com/AMEE/amee-ruby"
|
127
126
|
s.licenses = ["BSD 3-Clause"]
|
128
127
|
s.require_paths = ["lib"]
|
129
|
-
s.rubygems_version =
|
130
|
-
s.summary =
|
128
|
+
s.rubygems_version = "1.8.10"
|
129
|
+
s.summary = "Ruby interface to the AMEE carbon calculator"
|
131
130
|
|
132
131
|
if s.respond_to? :specification_version then
|
133
132
|
s.specification_version = 3
|
data/lib/amee.rb
CHANGED
@@ -59,8 +59,8 @@ require 'amee/config'
|
|
59
59
|
if defined?(Rails)
|
60
60
|
require 'amee/rails'
|
61
61
|
ActiveRecord::Base.send :include, AMEE::Rails
|
62
|
-
|
63
|
-
|
62
|
+
|
63
|
+
amee_config = "config/amee.yml"
|
64
64
|
if File.exist? amee_config
|
65
65
|
$AMEE_CONFIG = AMEE::Config.setup(amee_config, Rails.env)
|
66
66
|
else
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 57
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 4
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 4.1.
|
9
|
+
- 1
|
10
|
+
version: 4.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- James Smith
|
@@ -18,12 +18,9 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2011-09-29 00:00:00
|
22
|
-
default_executable: ameesh
|
21
|
+
date: 2011-09-29 00:00:00 Z
|
23
22
|
dependencies:
|
24
23
|
- !ruby/object:Gem::Dependency
|
25
|
-
prerelease: false
|
26
|
-
type: :runtime
|
27
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
28
25
|
none: false
|
29
26
|
requirements:
|
@@ -35,11 +32,11 @@ dependencies:
|
|
35
32
|
- 0
|
36
33
|
- 10
|
37
34
|
version: 3.0.10
|
38
|
-
name: activesupport
|
39
35
|
version_requirements: *id001
|
40
|
-
|
36
|
+
name: activesupport
|
41
37
|
prerelease: false
|
42
38
|
type: :runtime
|
39
|
+
- !ruby/object:Gem::Dependency
|
43
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
44
41
|
none: false
|
45
42
|
requirements:
|
@@ -49,11 +46,11 @@ dependencies:
|
|
49
46
|
segments:
|
50
47
|
- 0
|
51
48
|
version: "0"
|
52
|
-
name: json
|
53
49
|
version_requirements: *id002
|
54
|
-
|
50
|
+
name: json
|
55
51
|
prerelease: false
|
56
52
|
type: :runtime
|
53
|
+
- !ruby/object:Gem::Dependency
|
57
54
|
requirement: &id003 !ruby/object:Gem::Requirement
|
58
55
|
none: false
|
59
56
|
requirements:
|
@@ -63,11 +60,11 @@ dependencies:
|
|
63
60
|
segments:
|
64
61
|
- 0
|
65
62
|
version: "0"
|
66
|
-
name: log4r
|
67
63
|
version_requirements: *id003
|
68
|
-
|
64
|
+
name: log4r
|
69
65
|
prerelease: false
|
70
66
|
type: :runtime
|
67
|
+
- !ruby/object:Gem::Dependency
|
71
68
|
requirement: &id004 !ruby/object:Gem::Requirement
|
72
69
|
none: false
|
73
70
|
requirements:
|
@@ -80,11 +77,11 @@ dependencies:
|
|
80
77
|
- 3
|
81
78
|
- 1
|
82
79
|
version: 1.4.3.1
|
83
|
-
name: nokogiri
|
84
80
|
version_requirements: *id004
|
85
|
-
|
81
|
+
name: nokogiri
|
86
82
|
prerelease: false
|
87
|
-
type: :
|
83
|
+
type: :runtime
|
84
|
+
- !ruby/object:Gem::Dependency
|
88
85
|
requirement: &id005 !ruby/object:Gem::Requirement
|
89
86
|
none: false
|
90
87
|
requirements:
|
@@ -96,11 +93,11 @@ dependencies:
|
|
96
93
|
- 0
|
97
94
|
- 0
|
98
95
|
version: 1.0.0
|
99
|
-
name: bundler
|
100
96
|
version_requirements: *id005
|
101
|
-
|
97
|
+
name: bundler
|
102
98
|
prerelease: false
|
103
99
|
type: :development
|
100
|
+
- !ruby/object:Gem::Dependency
|
104
101
|
requirement: &id006 !ruby/object:Gem::Requirement
|
105
102
|
none: false
|
106
103
|
requirements:
|
@@ -112,11 +109,11 @@ dependencies:
|
|
112
109
|
- 6
|
113
110
|
- 4
|
114
111
|
version: 1.6.4
|
115
|
-
name: jeweler
|
116
112
|
version_requirements: *id006
|
117
|
-
|
113
|
+
name: jeweler
|
118
114
|
prerelease: false
|
119
115
|
type: :development
|
116
|
+
- !ruby/object:Gem::Dependency
|
120
117
|
requirement: &id007 !ruby/object:Gem::Requirement
|
121
118
|
none: false
|
122
119
|
requirements:
|
@@ -128,11 +125,11 @@ dependencies:
|
|
128
125
|
- 6
|
129
126
|
- 0
|
130
127
|
version: 2.6.0
|
131
|
-
name: rspec
|
132
128
|
version_requirements: *id007
|
133
|
-
|
129
|
+
name: rspec
|
134
130
|
prerelease: false
|
135
131
|
type: :development
|
132
|
+
- !ruby/object:Gem::Dependency
|
136
133
|
requirement: &id008 !ruby/object:Gem::Requirement
|
137
134
|
none: false
|
138
135
|
requirements:
|
@@ -144,11 +141,11 @@ dependencies:
|
|
144
141
|
- 8
|
145
142
|
- 6
|
146
143
|
version: 0.8.6
|
147
|
-
name: flexmock
|
148
144
|
version_requirements: *id008
|
149
|
-
|
145
|
+
name: flexmock
|
150
146
|
prerelease: false
|
151
147
|
type: :development
|
148
|
+
- !ruby/object:Gem::Dependency
|
152
149
|
requirement: &id009 !ruby/object:Gem::Requirement
|
153
150
|
none: false
|
154
151
|
requirements:
|
@@ -158,11 +155,11 @@ dependencies:
|
|
158
155
|
segments:
|
159
156
|
- 0
|
160
157
|
version: "0"
|
161
|
-
name: memcache-client
|
162
158
|
version_requirements: *id009
|
163
|
-
|
159
|
+
name: memcache-client
|
164
160
|
prerelease: false
|
165
161
|
type: :development
|
162
|
+
- !ruby/object:Gem::Dependency
|
166
163
|
requirement: &id010 !ruby/object:Gem::Requirement
|
167
164
|
none: false
|
168
165
|
requirements:
|
@@ -172,11 +169,11 @@ dependencies:
|
|
172
169
|
segments:
|
173
170
|
- 0
|
174
171
|
version: "0"
|
175
|
-
name: rcov
|
176
172
|
version_requirements: *id010
|
177
|
-
|
173
|
+
name: rcov
|
178
174
|
prerelease: false
|
179
175
|
type: :development
|
176
|
+
- !ruby/object:Gem::Dependency
|
180
177
|
requirement: &id011 !ruby/object:Gem::Requirement
|
181
178
|
none: false
|
182
179
|
requirements:
|
@@ -186,11 +183,11 @@ dependencies:
|
|
186
183
|
segments:
|
187
184
|
- 0
|
188
185
|
version: "0"
|
189
|
-
name: rdoc
|
190
186
|
version_requirements: *id011
|
191
|
-
|
187
|
+
name: rdoc
|
192
188
|
prerelease: false
|
193
189
|
type: :development
|
190
|
+
- !ruby/object:Gem::Dependency
|
194
191
|
requirement: &id012 !ruby/object:Gem::Requirement
|
195
192
|
none: false
|
196
193
|
requirements:
|
@@ -202,8 +199,10 @@ dependencies:
|
|
202
199
|
- 0
|
203
200
|
- 10
|
204
201
|
version: 3.0.10
|
205
|
-
name: activerecord
|
206
202
|
version_requirements: *id012
|
203
|
+
name: activerecord
|
204
|
+
prerelease: false
|
205
|
+
type: :development
|
207
206
|
description:
|
208
207
|
email: james@floppy.org.uk
|
209
208
|
executables:
|
@@ -318,7 +317,6 @@ files:
|
|
318
317
|
- spec/v3/item_definition_spec.rb
|
319
318
|
- spec/v3/item_value_definition_spec.rb
|
320
319
|
- spec/v3/return_value_definition_spec.rb
|
321
|
-
has_rdoc: true
|
322
320
|
homepage: http://github.com/AMEE/amee-ruby
|
323
321
|
licenses:
|
324
322
|
- BSD 3-Clause
|
@@ -348,7 +346,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
348
346
|
requirements: []
|
349
347
|
|
350
348
|
rubyforge_project:
|
351
|
-
rubygems_version: 1.
|
349
|
+
rubygems_version: 1.8.10
|
352
350
|
signing_key:
|
353
351
|
specification_version: 3
|
354
352
|
summary: Ruby interface to the AMEE carbon calculator
|