sangaku-eyeball 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/{sangaku-eyeball.rb → sangaku-eyeball} +2 -3
- data/sangaku-eyeball.gemspec +4 -5
- data/spec/spec_helper.rb +14 -0
- metadata +5 -6
- data/test/helper.rb +0 -18
- data/test/test_sangaku-eyeball.rb +0 -7
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/sangaku-eyeball.gemspec
CHANGED
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "sangaku-eyeball"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jason Hutchens"]
|
12
12
|
s.date = "2013-03-15"
|
13
13
|
s.description = "Sangaku Eyeball uses Gosu, a 2D Game Library, to display lines, polygons and so on as defined by the Sangaku gem. It allows you to draw arbitrary polygons and then locate the Pole of Inaccessibility (usually the best place to display a label) using a fast, iterative algorithm."
|
14
14
|
s.email = "jason.hutchens@agworld.com.au"
|
15
|
-
s.executables = ["sangaku-eyeball
|
15
|
+
s.executables = ["sangaku-eyeball"]
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE.txt",
|
18
18
|
"README.md"
|
@@ -26,14 +26,13 @@ Gem::Specification.new do |s|
|
|
26
26
|
"README.md",
|
27
27
|
"Rakefile",
|
28
28
|
"VERSION",
|
29
|
-
"bin/sangaku-eyeball
|
29
|
+
"bin/sangaku-eyeball",
|
30
30
|
"lib/sangaku-eyeball.rb",
|
31
31
|
"lib/sangaku-eyeball/assets/cursor.png",
|
32
32
|
"lib/sangaku-eyeball/assets/target.png",
|
33
33
|
"lib/sangaku-eyeball/drawable.rb",
|
34
34
|
"sangaku-eyeball.gemspec",
|
35
|
-
"
|
36
|
-
"test/test_sangaku-eyeball.rb"
|
35
|
+
"spec/spec_helper.rb"
|
37
36
|
]
|
38
37
|
s.homepage = "http://github.com/agworld/sangaku-eyeball"
|
39
38
|
s.licenses = ["MIT"]
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
|
+
require 'rspec'
|
4
|
+
require 'sangaku-eyeball'
|
5
|
+
require 'debugger'
|
6
|
+
|
7
|
+
|
8
|
+
# Requires supporting files with custom matchers and macros, etc,
|
9
|
+
# in ./support/ and its subdirectories.
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
11
|
+
|
12
|
+
RSpec.configure do |config|
|
13
|
+
|
14
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sangaku-eyeball
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -65,7 +65,7 @@ description: Sangaku Eyeball uses Gosu, a 2D Game Library, to display lines, pol
|
|
65
65
|
label) using a fast, iterative algorithm.
|
66
66
|
email: jason.hutchens@agworld.com.au
|
67
67
|
executables:
|
68
|
-
- sangaku-eyeball
|
68
|
+
- sangaku-eyeball
|
69
69
|
extensions: []
|
70
70
|
extra_rdoc_files:
|
71
71
|
- LICENSE.txt
|
@@ -79,14 +79,13 @@ files:
|
|
79
79
|
- README.md
|
80
80
|
- Rakefile
|
81
81
|
- VERSION
|
82
|
-
- bin/sangaku-eyeball
|
82
|
+
- bin/sangaku-eyeball
|
83
83
|
- lib/sangaku-eyeball.rb
|
84
84
|
- lib/sangaku-eyeball/assets/cursor.png
|
85
85
|
- lib/sangaku-eyeball/assets/target.png
|
86
86
|
- lib/sangaku-eyeball/drawable.rb
|
87
87
|
- sangaku-eyeball.gemspec
|
88
|
-
-
|
89
|
-
- test/test_sangaku-eyeball.rb
|
88
|
+
- spec/spec_helper.rb
|
90
89
|
homepage: http://github.com/agworld/sangaku-eyeball
|
91
90
|
licenses:
|
92
91
|
- MIT
|
@@ -102,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
102
101
|
version: '0'
|
103
102
|
segments:
|
104
103
|
- 0
|
105
|
-
hash:
|
104
|
+
hash: -132707796036356467
|
106
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
106
|
none: false
|
108
107
|
requirements:
|
data/test/helper.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'bundler'
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
|
-
require 'test/unit'
|
11
|
-
require 'shoulda'
|
12
|
-
|
13
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
15
|
-
require 'sangaku-eyeball'
|
16
|
-
|
17
|
-
class Test::Unit::TestCase
|
18
|
-
end
|