gamefic-overlookable 1.0.0 → 1.1.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/LICENSE +20 -0
- data/Rakefile +1 -0
- data/gamefic-overlookable.gemspec +4 -2
- data/lib/gamefic/overlookable/version.rb +1 -1
- data/lib/gamefic/overlookable.rb +5 -3
- metadata +36 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f18707cb9f5d06f07b4e621f6fb436a2b340404c6ff53efecfc96c254de22342
|
|
4
|
+
data.tar.gz: 015cab85b8ac760024c87143b33653baf021ca1da1520a9438e60cdc5f6174d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 833f6e584510668d0d3cc271b9e4249559f016496b5f24f9dfad9a7318233d79c7758c4ce1e3f6309ded776980b0099531466222a964afc329a1aafd8edfbd9a
|
|
7
|
+
data.tar.gz: 0caf5d7919e95944a59277439dd027502ea1f910788434a33b8e7c28d4cbda98daf3ac7ecc2376e4f4714e2010c53e992b6a630684d13fcc256969e81a480a71
|
data/CHANGELOG.md
CHANGED
data/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
gamefic-overlookable
|
|
2
|
+
Copyright (c) 2024 by Fred Snyder for Castwide Technologies
|
|
3
|
+
|
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
in the Software without restriction, including without limitation the rights
|
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
furnished to do so, subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in
|
|
12
|
+
all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
+
THE SOFTWARE.
|
data/Rakefile
CHANGED
|
@@ -33,11 +33,13 @@ Gem::Specification.new do |spec|
|
|
|
33
33
|
|
|
34
34
|
# Uncomment to register a new dependency of your gem
|
|
35
35
|
# spec.add_dependency "example-gem", "~> 1.0"
|
|
36
|
-
spec.add_dependency 'gamefic', '~>
|
|
37
|
-
spec.add_dependency 'gamefic-standard', '~>
|
|
36
|
+
spec.add_dependency 'gamefic', '~> 4.0'
|
|
37
|
+
spec.add_dependency 'gamefic-standard', '~> 4.0'
|
|
38
38
|
|
|
39
39
|
spec.add_development_dependency 'opal-rspec', '~> 1.0'
|
|
40
40
|
spec.add_development_dependency 'opal-sprockets', '~> 1.0'
|
|
41
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
|
42
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
|
41
43
|
spec.add_development_dependency 'simplecov', '~> 0.22'
|
|
42
44
|
|
|
43
45
|
# For more information and examples about making a new gem, check out our
|
data/lib/gamefic/overlookable.rb
CHANGED
|
@@ -35,7 +35,7 @@ module Gamefic
|
|
|
35
35
|
# @param names [Array<String>] Names or name/synonym arrays
|
|
36
36
|
# @param type [Class<Entity>] The type of overlookable entity (default is Scenery)
|
|
37
37
|
# @return [Array<Entity>]
|
|
38
|
-
def overlook *names, type: Scenery
|
|
38
|
+
def overlook *names, type: Gamefic::Standard::Scenery
|
|
39
39
|
names.map do |input|
|
|
40
40
|
parts = input.split('//')
|
|
41
41
|
name = parts[0].to_s.strip
|
|
@@ -44,6 +44,8 @@ module Gamefic
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
+
protected
|
|
48
|
+
|
|
47
49
|
# A shortcut to overlookable Scenery that can be called from `make` parameters.
|
|
48
50
|
#
|
|
49
51
|
# @example
|
|
@@ -54,7 +56,7 @@ module Gamefic
|
|
|
54
56
|
# @param [Array<String>]
|
|
55
57
|
# @return [void]
|
|
56
58
|
def scenery= names
|
|
57
|
-
overlook(*names, type: Scenery)
|
|
59
|
+
overlook(*names, type: Gamefic::Standard::Scenery)
|
|
58
60
|
end
|
|
59
61
|
|
|
60
62
|
# A shortcut to overlookable Rubble that can be called from `make` parameters.
|
|
@@ -67,7 +69,7 @@ module Gamefic
|
|
|
67
69
|
# @param [Array<String>]
|
|
68
70
|
# @return [void]
|
|
69
71
|
def rubble= names
|
|
70
|
-
overlook(*names, type: Rubble)
|
|
72
|
+
overlook(*names, type: Gamefic::Standard::Rubble)
|
|
71
73
|
end
|
|
72
74
|
end
|
|
73
75
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gamefic-overlookable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fred Snyder
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: gamefic
|
|
@@ -16,28 +15,28 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - "~>"
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
18
|
+
version: '4.0'
|
|
20
19
|
type: :runtime
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
23
|
- - "~>"
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '
|
|
25
|
+
version: '4.0'
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
27
|
name: gamefic-standard
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
30
29
|
requirements:
|
|
31
30
|
- - "~>"
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
32
|
+
version: '4.0'
|
|
34
33
|
type: :runtime
|
|
35
34
|
prerelease: false
|
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
37
|
- - "~>"
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
39
|
+
version: '4.0'
|
|
41
40
|
- !ruby/object:Gem::Dependency
|
|
42
41
|
name: opal-rspec
|
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -66,6 +65,34 @@ dependencies:
|
|
|
66
65
|
- - "~>"
|
|
67
66
|
- !ruby/object:Gem::Version
|
|
68
67
|
version: '1.0'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: rake
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - "~>"
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '13.0'
|
|
75
|
+
type: :development
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - "~>"
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '13.0'
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: rspec
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - "~>"
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '3.0'
|
|
89
|
+
type: :development
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - "~>"
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '3.0'
|
|
69
96
|
- !ruby/object:Gem::Dependency
|
|
70
97
|
name: simplecov
|
|
71
98
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -80,7 +107,6 @@ dependencies:
|
|
|
80
107
|
- - "~>"
|
|
81
108
|
- !ruby/object:Gem::Version
|
|
82
109
|
version: '0.22'
|
|
83
|
-
description:
|
|
84
110
|
email:
|
|
85
111
|
- fsnyder@castwide.com
|
|
86
112
|
executables: []
|
|
@@ -89,6 +115,7 @@ extra_rdoc_files: []
|
|
|
89
115
|
files:
|
|
90
116
|
- ".rspec"
|
|
91
117
|
- CHANGELOG.md
|
|
118
|
+
- LICENSE
|
|
92
119
|
- README.md
|
|
93
120
|
- Rakefile
|
|
94
121
|
- gamefic-overlookable.gemspec
|
|
@@ -101,7 +128,6 @@ metadata:
|
|
|
101
128
|
homepage_uri: https://gamefic.com
|
|
102
129
|
source_code_uri: https://github.com/castwide/gamefic-overlookable
|
|
103
130
|
changelog_uri: https://github.com/castwide/gamefic-overlookable/blob/master/CHANGELOG.md
|
|
104
|
-
post_install_message:
|
|
105
131
|
rdoc_options: []
|
|
106
132
|
require_paths:
|
|
107
133
|
- lib
|
|
@@ -116,8 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
116
142
|
- !ruby/object:Gem::Version
|
|
117
143
|
version: '0'
|
|
118
144
|
requirements: []
|
|
119
|
-
rubygems_version:
|
|
120
|
-
signing_key:
|
|
145
|
+
rubygems_version: 4.0.6
|
|
121
146
|
specification_version: 4
|
|
122
147
|
summary: A Gamefic library for easy implementation of insignificant entities.
|
|
123
148
|
test_files: []
|