engine-tune 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/README.rdoc +1 -1
- data/VERSION +1 -1
- data/engine-tune.gemspec +23 -33
- data/lib/engine-tune/calculations.rb +1 -1
- data/lib/engine-tune.rb +6 -4
- data/test/test_suite.rb +1 -3
- metadata +26 -50
- data/.gitignore +0 -21
data/LICENSE
CHANGED
data/README.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.5.0
|
data/engine-tune.gemspec
CHANGED
@@ -1,53 +1,43 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.
|
7
|
+
s.name = "engine-tune"
|
8
|
+
s.version = "0.5.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Theodore Mills"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2012-03-30"
|
13
|
+
s.description = "Determine how well your engine will run under certain meteorological and geological conditions."
|
14
|
+
s.email = "theo@gutsbolts.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
|
17
|
+
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
"lib/engine-tune/calculator.rb",
|
30
|
-
"test/helper.rb",
|
31
|
-
"test/test_calculations.rb",
|
32
|
-
"test/test_calculator.rb",
|
33
|
-
"test/test_engine_tune.rb",
|
34
|
-
"test/test_suite.rb"
|
35
|
-
]
|
36
|
-
s.homepage = %q{http://github.com/gutsbolts/engine-tune}
|
37
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
38
|
-
s.require_paths = ["lib"]
|
39
|
-
s.rubygems_version = %q{1.3.7}
|
40
|
-
s.summary = %q{Determine how well your engine will run under certain meteorological and geological conditions.}
|
41
|
-
s.test_files = [
|
21
|
+
"LICENSE",
|
22
|
+
"README.rdoc",
|
23
|
+
"Rakefile",
|
24
|
+
"VERSION",
|
25
|
+
"engine-tune.gemspec",
|
26
|
+
"lib/engine-tune.rb",
|
27
|
+
"lib/engine-tune/calculations.rb",
|
28
|
+
"lib/engine-tune/calculator.rb",
|
42
29
|
"test/helper.rb",
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
30
|
+
"test/test_calculations.rb",
|
31
|
+
"test/test_calculator.rb",
|
32
|
+
"test/test_engine_tune.rb",
|
33
|
+
"test/test_suite.rb"
|
47
34
|
]
|
35
|
+
s.homepage = "http://github.com/gutsbolts/engine-tune"
|
36
|
+
s.require_paths = ["lib"]
|
37
|
+
s.rubygems_version = "1.8.15"
|
38
|
+
s.summary = "Determine how well your engine will run under certain meteorological and geological conditions."
|
48
39
|
|
49
40
|
if s.respond_to? :specification_version then
|
50
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
51
41
|
s.specification_version = 3
|
52
42
|
|
53
43
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
@@ -14,7 +14,7 @@ module EngineTune
|
|
14
14
|
attr_writer :metric
|
15
15
|
|
16
16
|
#
|
17
|
-
# Instantiates a new instance with a hash of observations
|
17
|
+
# Instantiates a new instance with a hash of observations that must include temperature,
|
18
18
|
# dew_point, altimeter and altitude. These observations are the only required data
|
19
19
|
# to calculate all the engine tuning metrics exposed in this object.
|
20
20
|
#
|
data/lib/engine-tune.rb
CHANGED
@@ -6,10 +6,12 @@ require "engine-tune/calculations"
|
|
6
6
|
require "engine-tune/calculator"
|
7
7
|
|
8
8
|
#
|
9
|
-
# An engine's efficiency can be impacted by environmental factors
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
9
|
+
# An engine's efficiency can be impacted by environmental factors. Supply EngineTune
|
10
|
+
# with a hash of the following observations to return a set of calculations:
|
11
|
+
# temperature (C)
|
12
|
+
# dew point (C)
|
13
|
+
# altitude (meters)
|
14
|
+
# altimeter ()
|
13
15
|
#
|
14
16
|
module EngineTune
|
15
17
|
|
data/test/test_suite.rb
CHANGED
metadata
CHANGED
@@ -1,36 +1,26 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: engine-tune
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 1
|
10
|
-
version: 0.4.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.0
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Theodore Mills
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2010-07-07 00:00:00 -05:00
|
19
|
-
default_executable:
|
12
|
+
date: 2012-03-30 00:00:00.000000000 Z
|
20
13
|
dependencies: []
|
21
|
-
|
22
|
-
|
14
|
+
description: Determine how well your engine will run under certain meteorological
|
15
|
+
and geological conditions.
|
23
16
|
email: theo@gutsbolts.com
|
24
17
|
executables: []
|
25
|
-
|
26
18
|
extensions: []
|
27
|
-
|
28
|
-
extra_rdoc_files:
|
19
|
+
extra_rdoc_files:
|
29
20
|
- LICENSE
|
30
21
|
- README.rdoc
|
31
|
-
files:
|
22
|
+
files:
|
32
23
|
- .document
|
33
|
-
- .gitignore
|
34
24
|
- LICENSE
|
35
25
|
- README.rdoc
|
36
26
|
- Rakefile
|
@@ -44,43 +34,29 @@ files:
|
|
44
34
|
- test/test_calculator.rb
|
45
35
|
- test/test_engine_tune.rb
|
46
36
|
- test/test_suite.rb
|
47
|
-
has_rdoc: true
|
48
37
|
homepage: http://github.com/gutsbolts/engine-tune
|
49
38
|
licenses: []
|
50
|
-
|
51
39
|
post_install_message:
|
52
|
-
rdoc_options:
|
53
|
-
|
54
|
-
require_paths:
|
40
|
+
rdoc_options: []
|
41
|
+
require_paths:
|
55
42
|
- lib
|
56
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
43
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
57
44
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
|
63
|
-
- 0
|
64
|
-
version: "0"
|
65
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ! '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
50
|
none: false
|
67
|
-
requirements:
|
68
|
-
- -
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
|
71
|
-
segments:
|
72
|
-
- 0
|
73
|
-
version: "0"
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
74
55
|
requirements: []
|
75
|
-
|
76
56
|
rubyforge_project:
|
77
|
-
rubygems_version: 1.
|
57
|
+
rubygems_version: 1.8.15
|
78
58
|
signing_key:
|
79
59
|
specification_version: 3
|
80
|
-
summary: Determine how well your engine will run under certain meteorological and
|
81
|
-
|
82
|
-
|
83
|
-
- test/test_calculations.rb
|
84
|
-
- test/test_calculator.rb
|
85
|
-
- test/test_engine_tune.rb
|
86
|
-
- test/test_suite.rb
|
60
|
+
summary: Determine how well your engine will run under certain meteorological and
|
61
|
+
geological conditions.
|
62
|
+
test_files: []
|