automaze 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -4,6 +4,10 @@
4
4
  == description
5
5
  automazerb is maze generator library for ruby.
6
6
 
7
+ == installation
8
+
9
+ gem install automaze
10
+
7
11
  == usage
8
12
 
9
13
  require "automaze"
@@ -19,6 +23,7 @@ automazerb is maze generator library for ruby.
19
23
  else
20
24
  print " "
21
25
  end
26
+ puts if x == 0
22
27
  end
23
28
 
24
29
  specifying generation algorithm
data/Rakefile CHANGED
@@ -25,6 +25,12 @@ begin
25
25
  gemspec.homepage = "http://github.com/tosik/automazerb"
26
26
  gemspec.description = "maze generator"
27
27
  gemspec.authors = ["Toshiyuki Hirooka"]
28
+
29
+ gemspec.add_dependency("activesupport", ">= 3.0.1")
28
30
  end
31
+ Jeweler::GemcutterTasks.new
32
+ rescue LoadError
33
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
29
34
  end
30
35
 
36
+
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
data/automaze.gemspec ADDED
@@ -0,0 +1,56 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{automaze}
8
+ s.version = "0.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Toshiyuki Hirooka"]
12
+ s.date = %q{2010-10-31}
13
+ s.description = %q{maze generator}
14
+ s.email = %q{toshi.hirooka@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ "LICENSE",
21
+ "README.rdoc",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "automaze.gemspec",
25
+ "lib/algorithms/boutaoshi.rb",
26
+ "lib/algorithms/dug_tunnels.rb",
27
+ "lib/automaze.rb",
28
+ "lib/panel.rb",
29
+ "sample.rb",
30
+ "spec/automaze_spec.rb",
31
+ "spec/panel_spec.rb"
32
+ ]
33
+ s.homepage = %q{http://github.com/tosik/automazerb}
34
+ s.rdoc_options = ["--charset=UTF-8"]
35
+ s.require_paths = ["lib"]
36
+ s.rubygems_version = %q{1.3.7}
37
+ s.summary = %q{maze generator}
38
+ s.test_files = [
39
+ "spec/automaze_spec.rb",
40
+ "spec/panel_spec.rb"
41
+ ]
42
+
43
+ if s.respond_to? :specification_version then
44
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
45
+ s.specification_version = 3
46
+
47
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
48
+ s.add_runtime_dependency(%q<activesupport>, [">= 3.0.1"])
49
+ else
50
+ s.add_dependency(%q<activesupport>, [">= 3.0.1"])
51
+ end
52
+ else
53
+ s.add_dependency(%q<activesupport>, [">= 3.0.1"])
54
+ end
55
+ end
56
+
data/lib/automaze.rb CHANGED
@@ -23,7 +23,7 @@
23
23
  # THE SOFTWARE.
24
24
 
25
25
  require "active_support/inflector"
26
- require_relative "panel"
26
+ require "panel"
27
27
 
28
28
  module Automaze
29
29
  class Automaze
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 0
9
- version: 0.0.0
8
+ - 1
9
+ version: 0.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Toshiyuki Hirooka
@@ -16,8 +16,22 @@ cert_chain: []
16
16
 
17
17
  date: 2010-10-31 00:00:00 +09:00
18
18
  default_executable:
19
- dependencies: []
20
-
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: activesupport
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 3
30
+ - 0
31
+ - 1
32
+ version: 3.0.1
33
+ type: :runtime
34
+ version_requirements: *id001
21
35
  description: maze generator
22
36
  email: toshi.hirooka@gmail.com
23
37
  executables: []
@@ -32,6 +46,7 @@ files:
32
46
  - README.rdoc
33
47
  - Rakefile
34
48
  - VERSION
49
+ - automaze.gemspec
35
50
  - lib/algorithms/boutaoshi.rb
36
51
  - lib/algorithms/dug_tunnels.rb
37
52
  - lib/automaze.rb