engine-tune 0.4.1 → 0.5.0

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.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009 Guts & Bolts LLC
1
+ Copyright (c) 2012 tmills LLC
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.rdoc CHANGED
@@ -78,4 +78,4 @@ Convenience methods to convert between metric and English units are provided as
78
78
 
79
79
  == Copyright
80
80
 
81
- Copyright (c) 2010 Guts & Bolts LLC. See LICENSE for details.
81
+ Copyright (c) 2012 twmills LLC. See LICENSE for details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
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 the gemspec command
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 = %q{engine-tune}
8
- s.version = "0.4.1"
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 = %q{2010-07-07}
13
- s.description = %q{Determine how well your engine will run under certain meteorological and geological conditions.}
14
- s.email = %q{theo@gutsbolts.com}
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
- "README.rdoc"
17
+ "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "engine-tune.gemspec",
27
- "lib/engine-tune.rb",
28
- "lib/engine-tune/calculations.rb",
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
- "test/test_calculations.rb",
44
- "test/test_calculator.rb",
45
- "test/test_engine_tune.rb",
46
- "test/test_suite.rb"
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 including temperature,
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 such as
10
- # altitude and temperature. EngineForecast first collects environmental data
11
- # based on the supplied latitude and longitude and then returns a set of calculations
12
- # to determine how great that impact is.
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
@@ -1,5 +1,3 @@
1
1
  require 'test_calculations'
2
2
  require 'test_calculator'
3
- require 'test_engine_tune'
4
-
5
- puts EngineTune::Calculator.inches_to_millibars 1223
3
+ require 'test_engine_tune'
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
- hash: 13
5
- prerelease: false
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
- description: Determine how well your engine will run under certain meteorological and geological conditions.
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
- - --charset=UTF-8
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
- hash: 3
62
- segments:
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
- hash: 3
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.3.7
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 geological conditions.
81
- test_files:
82
- - test/helper.rb
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: []
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC