elektronaut-vector2d 0.5.2 → 1.0.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.
Files changed (4) hide show
  1. data/README.rdoc +10 -2
  2. data/VERSION +1 -1
  3. data/vector2d.gemspec +1 -1
  4. metadata +1 -1
@@ -1,4 +1,4 @@
1
- == Vector2d
1
+ = Vector2d
2
2
 
3
3
  Vector2d allows for easy handling of two-dimensionals coordinates and vectors.
4
4
  It's very flexible, most methods accepts arguments as strings, arrays, hashes
@@ -21,7 +21,7 @@ Install from GitHub:
21
21
 
22
22
  # These are equal
23
23
  v = Vector2d.new(50, 70)
24
- v = Vector2d.new('50x70') # These are equal
24
+ v = Vector2d.new('50x70')
25
25
 
26
26
  v.aspect_ratio # => 0.714285714285714
27
27
  v.length # => 86.0232526704263
@@ -32,6 +32,14 @@ Install from GitHub:
32
32
 
33
33
  v.constrain_both(64, 64) # => #<Vector2d:0x47e28 @y=64.0, @x=45.7142857142857>
34
34
 
35
+ == API Documentation
36
+
37
+ Is available at http://vector2d.rubyforge.org/
38
+
39
+ == Source code
40
+
41
+ Is available at http://github.com/elektronaut/vector2d
42
+
35
43
  == Licence
36
44
 
37
45
  (The MIT License)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.2
1
+ 1.0.0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{vector2d}
5
- s.version = "0.5.2"
5
+ s.version = "1.0.0"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Inge J\303\270rgensen"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elektronaut-vector2d
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Inge J\xC3\xB8rgensen"