rdgc-dm 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/Gemfile +4 -0
- data/Rakefile +10 -50
- data/lib/rdgc-dm/version.rb +5 -0
- data/rdgc-dm.gemspec +20 -87
- data/spec/spec_helper.rb +1 -5
- metadata +29 -27
- data/VERSION +0 -1
data/Gemfile
ADDED
data/Rakefile
CHANGED
@@ -1,50 +1,10 @@
|
|
1
|
-
require
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
RDGC is core of random dungeon game (like rogue), make dungeon, manage monsters etc.
|
12
|
-
TXT
|
13
|
-
gem.email = "parrot@users.sourceforge.jp"
|
14
|
-
gem.homepage = "http://github.com/parrot-studio/rdgc-dm"
|
15
|
-
gem.authors = ["parrot_studio"]
|
16
|
-
gem.required_ruby_version = ">= 1.8.7"
|
17
|
-
#gem.add_development_dependency "rspec", ">= 1.2.9"
|
18
|
-
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
19
|
-
end
|
20
|
-
Jeweler::GemcutterTasks.new
|
21
|
-
rescue LoadError
|
22
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
23
|
-
end
|
24
|
-
|
25
|
-
require 'spec/rake/spectask'
|
26
|
-
Spec::Rake::SpecTask.new(:spec) do |spec|
|
27
|
-
spec.libs << 'lib' << 'spec'
|
28
|
-
spec.spec_files = FileList['spec/**/*_spec.rb']
|
29
|
-
end
|
30
|
-
|
31
|
-
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
32
|
-
spec.libs << 'lib' << 'spec'
|
33
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
34
|
-
spec.rcov = true
|
35
|
-
end
|
36
|
-
|
37
|
-
task :spec => :check_dependencies
|
38
|
-
|
39
|
-
task :default => :spec
|
40
|
-
|
41
|
-
require 'rake/rdoctask'
|
42
|
-
Rake::RDocTask.new do |rdoc|
|
43
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
44
|
-
|
45
|
-
rdoc.rdoc_dir = 'rdoc'
|
46
|
-
rdoc.title = "rdgc-dm #{version}"
|
47
|
-
rdoc.rdoc_files.include('README*')
|
48
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
49
|
-
rdoc.options << '-S' << '-N' << '-c UTF8'
|
50
|
-
end
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
|
3
|
+
require 'rspec/core'
|
4
|
+
require 'rspec/core/rake_task'
|
5
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
6
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
7
|
+
end
|
8
|
+
|
9
|
+
task :default => :spec
|
10
|
+
|
data/rdgc-dm.gemspec
CHANGED
@@ -1,94 +1,27 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "rdgc-dm/version"
|
5
4
|
|
6
5
|
Gem::Specification.new do |s|
|
7
|
-
s.name
|
8
|
-
s.version
|
9
|
-
|
10
|
-
s.
|
11
|
-
s.
|
12
|
-
s.
|
13
|
-
s.description = %q{
|
6
|
+
s.name = "rdgc-dm"
|
7
|
+
s.version = Rdgc::Dm::VERSION
|
8
|
+
s.authors = ["parrot_studio", "parrot-studio"]
|
9
|
+
s.email = ["parrot@users.sourceforge.jp", "parrot.studio.dev@gmail.com"]
|
10
|
+
s.homepage = "http://github.com/parrot-studio/rdgc-dm"
|
11
|
+
s.summary = %q{Random Dungeon Maker from RDGC}
|
12
|
+
s.description = %q{
|
13
|
+
This gem is part of RDGC - Ruby(Random) Dungeon Game Core.
|
14
14
|
RDGC is core of random dungeon game (like rogue), make dungeon, manage monsters etc.
|
15
|
-
}
|
16
|
-
s.email = %q{parrot@users.sourceforge.jp}
|
17
|
-
s.extra_rdoc_files = [
|
18
|
-
"LICENSE",
|
19
|
-
"README.rdoc"
|
20
|
-
]
|
21
|
-
s.files = [
|
22
|
-
".document",
|
23
|
-
"LICENSE",
|
24
|
-
"README.rdoc",
|
25
|
-
"Rakefile",
|
26
|
-
"VERSION",
|
27
|
-
"lib/rdgc-dm.rb",
|
28
|
-
"lib/rdgc/maker/divide_dungeon_maker.rb",
|
29
|
-
"lib/rdgc/maker/divide_temp_block.rb",
|
30
|
-
"lib/rdgc/maker/dungeon_maker.rb",
|
31
|
-
"lib/rdgc/maker/temp_block.rb",
|
32
|
-
"lib/rdgc/map/area.rb",
|
33
|
-
"lib/rdgc/map/blind_area.rb",
|
34
|
-
"lib/rdgc/map/block.rb",
|
35
|
-
"lib/rdgc/map/board.rb",
|
36
|
-
"lib/rdgc/map/direction.rb",
|
37
|
-
"lib/rdgc/map/road.rb",
|
38
|
-
"lib/rdgc/map/room.rb",
|
39
|
-
"lib/rdgc/map/tile.rb",
|
40
|
-
"lib/rdgc/map/tile_type.rb",
|
41
|
-
"lib/rdgc/util/config.rb",
|
42
|
-
"lib/rdgc/util/random_util.rb",
|
43
|
-
"rdgc-dm.gemspec",
|
44
|
-
"spec/rdgc/maker/01_temp_block_spec.rb",
|
45
|
-
"spec/rdgc/maker/02_divide_temp_block_spec.rb",
|
46
|
-
"spec/rdgc/maker/03_divide_dungeon_maker_divide_spec.rb",
|
47
|
-
"spec/rdgc/maker/04_divide_dungeon_maker_create_spec.rb",
|
48
|
-
"spec/rdgc/map/01_tile_spec.rb",
|
49
|
-
"spec/rdgc/map/02_area_spec.rb",
|
50
|
-
"spec/rdgc/map/03_road_spec.rb",
|
51
|
-
"spec/rdgc/map/04_room_spec.rb",
|
52
|
-
"spec/rdgc/map/05_block_spec.rb",
|
53
|
-
"spec/rdgc/map/06_board_spec.rb",
|
54
|
-
"spec/rdgc/map/07_direction_spec.rb",
|
55
|
-
"spec/rdgc/map/08_blind_area_spec.rb",
|
56
|
-
"spec/rdgc/util/01_config_spec.rb",
|
57
|
-
"spec/rdgc/util/02_random_util_spec.rb",
|
58
|
-
"spec/spec.opts",
|
59
|
-
"spec/spec_helper.rb"
|
60
|
-
]
|
61
|
-
s.homepage = %q{http://github.com/parrot-studio/rdgc-dm}
|
62
|
-
s.require_paths = ["lib"]
|
63
|
-
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
|
64
|
-
s.rubygems_version = %q{1.3.7}
|
65
|
-
s.summary = %q{Random Dungeon Maker from RDGC}
|
66
|
-
s.test_files = [
|
67
|
-
"spec/rdgc/maker/01_temp_block_spec.rb",
|
68
|
-
"spec/rdgc/maker/02_divide_temp_block_spec.rb",
|
69
|
-
"spec/rdgc/maker/03_divide_dungeon_maker_divide_spec.rb",
|
70
|
-
"spec/rdgc/maker/04_divide_dungeon_maker_create_spec.rb",
|
71
|
-
"spec/rdgc/map/01_tile_spec.rb",
|
72
|
-
"spec/rdgc/map/02_area_spec.rb",
|
73
|
-
"spec/rdgc/map/03_road_spec.rb",
|
74
|
-
"spec/rdgc/map/04_room_spec.rb",
|
75
|
-
"spec/rdgc/map/05_block_spec.rb",
|
76
|
-
"spec/rdgc/map/06_board_spec.rb",
|
77
|
-
"spec/rdgc/map/07_direction_spec.rb",
|
78
|
-
"spec/rdgc/map/08_blind_area_spec.rb",
|
79
|
-
"spec/rdgc/util/01_config_spec.rb",
|
80
|
-
"spec/rdgc/util/02_random_util_spec.rb",
|
81
|
-
"spec/spec_helper.rb"
|
82
|
-
]
|
15
|
+
}
|
83
16
|
|
84
|
-
|
85
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
86
|
-
s.specification_version = 3
|
17
|
+
s.rubyforge_project = "rdgc-dm"
|
87
18
|
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
end
|
93
|
-
end
|
19
|
+
s.files = `git ls-files`.split("\n")
|
20
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
21
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
22
|
+
s.require_paths = ["lib"]
|
94
23
|
|
24
|
+
# specify any dependencies here; for example:
|
25
|
+
s.add_development_dependency "rspec"
|
26
|
+
# s.add_runtime_dependency "rest-client"
|
27
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,11 +1,7 @@
|
|
1
1
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
2
2
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
3
3
|
require 'rdgc-dm'
|
4
|
-
require '
|
5
|
-
require 'spec/autorun'
|
4
|
+
require 'rspec'
|
6
5
|
|
7
6
|
include RDGC
|
8
7
|
|
9
|
-
Spec::Runner.configure do |config|
|
10
|
-
|
11
|
-
end
|
metadata
CHANGED
@@ -1,40 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdgc-dm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 2
|
10
|
-
version: 0.2.2
|
4
|
+
prerelease:
|
5
|
+
version: 0.2.3
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- parrot_studio
|
9
|
+
- parrot-studio
|
14
10
|
autorequire:
|
15
11
|
bindir: bin
|
16
12
|
cert_chain: []
|
17
13
|
|
18
|
-
date:
|
14
|
+
date: 2012-01-26 00:00:00 +09:00
|
19
15
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
|
23
|
-
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
|
+
name: rspec
|
19
|
+
prerelease: false
|
20
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
21
|
+
none: false
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: "0"
|
26
|
+
type: :development
|
27
|
+
version_requirements: *id001
|
28
|
+
description: "\n This gem is part of RDGC - Ruby(Random) Dungeon Game Core.\n RDGC is core of random dungeon game (like rogue), make dungeon, manage monsters etc.\n "
|
29
|
+
email:
|
30
|
+
- parrot@users.sourceforge.jp
|
31
|
+
- parrot.studio.dev@gmail.com
|
24
32
|
executables: []
|
25
33
|
|
26
34
|
extensions: []
|
27
35
|
|
28
|
-
extra_rdoc_files:
|
29
|
-
|
30
|
-
- README.rdoc
|
36
|
+
extra_rdoc_files: []
|
37
|
+
|
31
38
|
files:
|
32
39
|
- .document
|
40
|
+
- .gitignore
|
41
|
+
- Gemfile
|
33
42
|
- LICENSE
|
34
43
|
- README.rdoc
|
35
44
|
- Rakefile
|
36
|
-
- VERSION
|
37
45
|
- lib/rdgc-dm.rb
|
46
|
+
- lib/rdgc-dm/version.rb
|
38
47
|
- lib/rdgc/maker/divide_dungeon_maker.rb
|
39
48
|
- lib/rdgc/maker/divide_temp_block.rb
|
40
49
|
- lib/rdgc/maker/dungeon_maker.rb
|
@@ -81,25 +90,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
90
|
requirements:
|
82
91
|
- - ">="
|
83
92
|
- !ruby/object:Gem::Version
|
84
|
-
|
85
|
-
segments:
|
86
|
-
- 1
|
87
|
-
- 8
|
88
|
-
- 7
|
89
|
-
version: 1.8.7
|
93
|
+
version: "0"
|
90
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
95
|
none: false
|
92
96
|
requirements:
|
93
97
|
- - ">="
|
94
98
|
- !ruby/object:Gem::Version
|
95
|
-
hash: 3
|
96
|
-
segments:
|
97
|
-
- 0
|
98
99
|
version: "0"
|
99
100
|
requirements: []
|
100
101
|
|
101
|
-
rubyforge_project:
|
102
|
-
rubygems_version: 1.
|
102
|
+
rubyforge_project: rdgc-dm
|
103
|
+
rubygems_version: 1.6.2
|
103
104
|
signing_key:
|
104
105
|
specification_version: 3
|
105
106
|
summary: Random Dungeon Maker from RDGC
|
@@ -118,4 +119,5 @@ test_files:
|
|
118
119
|
- spec/rdgc/map/08_blind_area_spec.rb
|
119
120
|
- spec/rdgc/util/01_config_spec.rb
|
120
121
|
- spec/rdgc/util/02_random_util_spec.rb
|
122
|
+
- spec/spec.opts
|
121
123
|
- spec/spec_helper.rb
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.2.2
|