ruby-geometry 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  module Geometry
2
2
  class PointInPolygon < Struct.new(:point, :polygon)
3
- extend ActiveSupport::Memoizable
3
+ extend Memoist
4
4
 
5
5
  def inside?
6
6
  point_location == :inside
data/lib/geometry.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require "active_support/core_ext/module/delegation"
2
- require "active_support/memoizable"
2
+ require "memoist"
3
3
 
4
4
  require 'point'
5
5
  require 'segment'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-geometry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,41 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-04 00:00:00.000000000Z
13
- dependencies: []
12
+ date: 2012-06-30 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: activesupport
16
+ requirement: &2160900040 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2160900040
25
+ - !ruby/object:Gem::Dependency
26
+ name: memoist
27
+ requirement: &2160898360 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *2160898360
36
+ - !ruby/object:Gem::Dependency
37
+ name: rake
38
+ requirement: &2160896440 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *2160896440
14
47
  description:
15
48
  email: daniel.vartanov@gmail.com
16
49
  executables: []
@@ -77,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
110
  version: '0'
78
111
  requirements: []
79
112
  rubyforge_project:
80
- rubygems_version: 1.8.10
113
+ rubygems_version: 1.8.15
81
114
  signing_key:
82
115
  specification_version: 3
83
116
  summary: Implementation of basic 2D geometry algorithms in Ruby