sangaku-eyeball 0.1.0 → 0.2.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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -1,8 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'logger'
4
- require 'rubygems'
5
- Bundler.require(:default, :development)
3
+ require 'gosu'
4
+ require 'sangaku'
6
5
 
7
6
  PATH = File.join(File.dirname(__FILE__), '..', 'lib', 'sangaku-eyeball')
8
7
 
@@ -5,14 +5,14 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "sangaku-eyeball"
8
- s.version = "0.1.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.rb"]
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.rb",
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
- "test/helper.rb",
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"]
@@ -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.1.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.rb
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.rb
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
- - test/helper.rb
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: 3731154873292989781
104
+ hash: -132707796036356467
106
105
  required_rubygems_version: !ruby/object:Gem::Requirement
107
106
  none: false
108
107
  requirements:
@@ -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
@@ -1,7 +0,0 @@
1
- require 'helper'
2
-
3
- class TestSangakuEyeball < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end