ifmapper 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4e725648cd78cf3598d56661da5ddb4fabe8c6d1
4
- data.tar.gz: 0b2ed30452e651cb9b7a128eebb82d38d7c32bab
2
+ SHA256:
3
+ metadata.gz: 5f0ac6d08bfcf9578502d93d98ec250eeff47daab8de4b76eac2c09a4b383638
4
+ data.tar.gz: 91fe236f8aa875243ae6821eaf82c372a4d046d5345b6dffddfd76a839bbc1e4
5
5
  SHA512:
6
- metadata.gz: 6f15483dfa110f2665df47f0c3a259b85af791837cba587c59dcc2ab14bee296bc595c0247112fd1c44e8fb7bd63460cdf7e15664db65cd63c56949a0914100d
7
- data.tar.gz: c9e8a592ab7c627d14bb873acd44709b568e4ee0edd685da27da5f2f023397feeaf6552fe4e7c7141de746ae964d9582d730f8f869d8fc34060edd123205c654
6
+ metadata.gz: 0e2cec46f7877723d458891d79c692f95910459f929d00ce3b34f590377e46258bdd29cbe6bfb0d2b61aff75914ec7c99980b6f97fd8be99f9c98d0fd8a88abf
7
+ data.tar.gz: 20aaaea6fe22919eed46061762410cfa932b178ba12c28451059d1f7a899132cfacd058757f0890d874d74fe5b3a21ea2e0477c5e9a94305323886a8e101f16e
@@ -1,6 +1,6 @@
1
1
  require "rubygems"
2
2
 
3
- VERSION = '2.0.6'
3
+ VERSION = '2.0.7'
4
4
 
5
5
  gem = Gem::Specification.new do |s|
6
6
  s.name = "ifmapper"
@@ -25,7 +25,7 @@ gem = Gem::Specification.new do |s|
25
25
  EOF
26
26
  s.add_runtime_dependency("rake-compiler", "~> 0.7.1", ">= 0.7.1" )
27
27
  s.add_runtime_dependency("fxruby", "~> 1.6.0", ">= 1.6.0")
28
- s.add_runtime_dependency("pdf-writer", "~> 1.1.1", ">= 1.1.1")
28
+ s.add_runtime_dependency("pdf-writer", "~> 1.1.8", ">= 1.1.8")
29
29
  s.extra_rdoc_files = ["HISTORY.txt", "TODO.txt"] +
30
30
  Dir.glob("docs/*/*")
31
31
  s.has_rdoc = true
@@ -40,15 +40,25 @@ end
40
40
  get_fox
41
41
  include Fox
42
42
 
43
+ load "IFMapper.gemspec"
43
44
  require 'IFMapper/FXMap'
44
45
  require 'IFMapper/FXMapperSettings'
45
46
  require 'IFMapper/FXWarningBox'
46
47
 
48
+ #
49
+ # Bug fix in String class for PDF::Writer. Missing method each.
50
+ #
51
+ if Gem::Dependency.new('', '~> 2.0').match?( '', RUBY_VERSION )
52
+ class String
53
+ def each
54
+ each_line
55
+ end
56
+ end
57
+ end
47
58
 
48
59
  class FXMapperWindow < FXMainWindow
49
60
 
50
61
  PROGRAM_NAME = "Interactive Fiction Mapper"
51
- VERSION = '2.0.4'
52
62
  AUTHOR = "Gonzalo Garramuno"
53
63
 
54
64
  @@copy_buffer = nil
@@ -89,7 +89,7 @@ class TranscriptReader
89
89
  NAME_UNCAP = /^(?:of|on|to|with|by|a|in|the|at|under|through|near)$/i
90
90
 
91
91
  # Default room description recognition parameters.
92
- DESC_MINWORDS = 20
92
+ DESC_MINWORDS = 10
93
93
 
94
94
  # Ignore these words when matching words in description
95
95
  # To avoid cases, like: An open gate vs. A closed gate
@@ -1199,6 +1199,7 @@ class TranscriptReader
1199
1199
  # else, we really have a problem in the map
1200
1200
  debug "*** CANNOT AUTOMAP --- MAZE ***"
1201
1201
  dir = Room::DIRECTIONS[dir]
1202
+ debug "Maze detected.\n'#{from}' #{dir} leads to '#{c.roomB}',\nnot to this '#{to}'."
1202
1203
  @map.cannot_automap "Maze detected.\n'#{from}' #{dir} leads to '#{c.roomB}',\nnot to this '#{to}'."
1203
1204
  self.stop
1204
1205
  return nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ifmapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gonzalo Garramuno
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-28 00:00:00.000000000 Z
11
+ date: 2018-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -56,20 +56,20 @@ dependencies:
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: 1.1.1
59
+ version: 1.1.8
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 1.1.1
62
+ version: 1.1.8
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: 1.1.1
69
+ version: 1.1.8
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 1.1.1
72
+ version: 1.1.8
73
73
  description: "\tInteractive Fiction Mapping Tool.\n"
74
74
  email: ggarra13@gmail.com
75
75
  executables:
@@ -345,7 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
345
345
  version: '0'
346
346
  requirements: []
347
347
  rubyforge_project: ifmapper
348
- rubygems_version: 2.5.1
348
+ rubygems_version: 2.7.3
349
349
  signing_key:
350
350
  specification_version: 4
351
351
  summary: Interactive Fiction Mapping Tool.