kerbaldyn 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/.rspec +2 -0
  2. data/Gemfile +11 -0
  3. data/README.rdoc +57 -0
  4. data/Rakefile +23 -0
  5. data/kerbaldyn.gemspec +30 -0
  6. data/lib/kerbaldyn.rb +14 -0
  7. data/lib/kerbaldyn/body.rb +48 -0
  8. data/lib/kerbaldyn/constants.rb +12 -0
  9. data/lib/kerbaldyn/data.rb +56 -0
  10. data/lib/kerbaldyn/data/planet_data.json +249 -0
  11. data/lib/kerbaldyn/mixin.rb +2 -0
  12. data/lib/kerbaldyn/mixin/options_processor.rb +17 -0
  13. data/lib/kerbaldyn/mixin/parameter_attributes.rb +38 -0
  14. data/lib/kerbaldyn/orbit.rb +379 -0
  15. data/lib/kerbaldyn/orbital_maneuver.rb +6 -0
  16. data/lib/kerbaldyn/orbital_maneuver/base.rb +159 -0
  17. data/lib/kerbaldyn/orbital_maneuver/bielliptic.rb +61 -0
  18. data/lib/kerbaldyn/orbital_maneuver/burn_event.rb +57 -0
  19. data/lib/kerbaldyn/orbital_maneuver/hohmann.rb +48 -0
  20. data/lib/kerbaldyn/orbital_maneuver/inclination_change.rb +0 -0
  21. data/lib/kerbaldyn/part.rb +15 -0
  22. data/lib/kerbaldyn/part/base.rb +154 -0
  23. data/lib/kerbaldyn/part/fuel_tank.rb +11 -0
  24. data/lib/kerbaldyn/part/generic.rb +10 -0
  25. data/lib/kerbaldyn/part/liquid_fuel_engine.rb +69 -0
  26. data/lib/kerbaldyn/part/mixin.rb +1 -0
  27. data/lib/kerbaldyn/part/mixin/fuel_tank.rb +35 -0
  28. data/lib/kerbaldyn/part/rcs_fuel_tank.rb +10 -0
  29. data/lib/kerbaldyn/part/solid_rocket.rb +30 -0
  30. data/lib/kerbaldyn/part_library.rb +55 -0
  31. data/lib/kerbaldyn/planetoid.rb +214 -0
  32. data/lib/kerbaldyn/version.rb +13 -0
  33. data/spec/bielliptic_orbital_maneuver_spec.rb +60 -0
  34. data/spec/constants_spec.rb +9 -0
  35. data/spec/hohmann_orbital_maneuver_spec.rb +385 -0
  36. data/spec/options_processor_spec.rb +33 -0
  37. data/spec/orbit_spec.rb +357 -0
  38. data/spec/orbital_maneuver_base_spec.rb +74 -0
  39. data/spec/parameter_attributes_spec.rb +82 -0
  40. data/spec/part_library_spec.rb +21 -0
  41. data/spec/part_spec.rb +218 -0
  42. data/spec/planetoid_spec.rb +117 -0
  43. data/spec/spec_helper.rb +110 -0
  44. data/spec/support/parts/RCSFuelTank/part.cfg +42 -0
  45. data/spec/support/parts/fuelTank/part.cfg +48 -0
  46. data/spec/support/parts/liquidEngine1/part.cfg +60 -0
  47. data/spec/support/parts/liquidEngine2/part.cfg +64 -0
  48. data/spec/support/parts/solidBooster/part.cfg +67 -0
  49. data/spec/support/planet_test_data.json +340 -0
  50. metadata +95 -0
metadata ADDED
@@ -0,0 +1,95 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kerbaldyn
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Jeff Reinecke
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-10-03 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: A library for Kerbal Space Program (KSP) calculation and simulation tools.
15
+ email: jeff@paploo.net
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files:
19
+ - README.rdoc
20
+ files:
21
+ - README.rdoc
22
+ - Rakefile
23
+ - Gemfile
24
+ - lib/kerbaldyn/body.rb
25
+ - lib/kerbaldyn/constants.rb
26
+ - lib/kerbaldyn/data/planet_data.json
27
+ - lib/kerbaldyn/data.rb
28
+ - lib/kerbaldyn/mixin/options_processor.rb
29
+ - lib/kerbaldyn/mixin/parameter_attributes.rb
30
+ - lib/kerbaldyn/mixin.rb
31
+ - lib/kerbaldyn/orbit.rb
32
+ - lib/kerbaldyn/orbital_maneuver/base.rb
33
+ - lib/kerbaldyn/orbital_maneuver/bielliptic.rb
34
+ - lib/kerbaldyn/orbital_maneuver/burn_event.rb
35
+ - lib/kerbaldyn/orbital_maneuver/hohmann.rb
36
+ - lib/kerbaldyn/orbital_maneuver/inclination_change.rb
37
+ - lib/kerbaldyn/orbital_maneuver.rb
38
+ - lib/kerbaldyn/part/base.rb
39
+ - lib/kerbaldyn/part/fuel_tank.rb
40
+ - lib/kerbaldyn/part/generic.rb
41
+ - lib/kerbaldyn/part/liquid_fuel_engine.rb
42
+ - lib/kerbaldyn/part/mixin/fuel_tank.rb
43
+ - lib/kerbaldyn/part/mixin.rb
44
+ - lib/kerbaldyn/part/rcs_fuel_tank.rb
45
+ - lib/kerbaldyn/part/solid_rocket.rb
46
+ - lib/kerbaldyn/part.rb
47
+ - lib/kerbaldyn/part_library.rb
48
+ - lib/kerbaldyn/planetoid.rb
49
+ - lib/kerbaldyn/version.rb
50
+ - lib/kerbaldyn.rb
51
+ - spec/bielliptic_orbital_maneuver_spec.rb
52
+ - spec/constants_spec.rb
53
+ - spec/hohmann_orbital_maneuver_spec.rb
54
+ - spec/options_processor_spec.rb
55
+ - spec/orbit_spec.rb
56
+ - spec/orbital_maneuver_base_spec.rb
57
+ - spec/parameter_attributes_spec.rb
58
+ - spec/part_library_spec.rb
59
+ - spec/part_spec.rb
60
+ - spec/planetoid_spec.rb
61
+ - spec/spec_helper.rb
62
+ - spec/support/parts/fuelTank/part.cfg
63
+ - spec/support/parts/liquidEngine1/part.cfg
64
+ - spec/support/parts/liquidEngine2/part.cfg
65
+ - spec/support/parts/RCSFuelTank/part.cfg
66
+ - spec/support/parts/solidBooster/part.cfg
67
+ - spec/support/planet_test_data.json
68
+ - .rspec
69
+ - kerbaldyn.gemspec
70
+ homepage: http://www.github.com/paploo/kerbal-dyn
71
+ licenses:
72
+ - BSD
73
+ post_install_message:
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ none: false
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: 1.9.0
83
+ required_rubygems_version: !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ requirements: []
90
+ rubyforge_project:
91
+ rubygems_version: 1.8.24
92
+ signing_key:
93
+ specification_version: 3
94
+ summary: A library for Kerbal Space Program (KSP) calculation and simulation tools.
95
+ test_files: []