gemwarrior 0.15.11 → 0.15.13

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
2
  SHA256:
3
- metadata.gz: 994ca3f7d106260f639e8cac066623c6222b509b0bdea5c42fbe53c96a85e97a
4
- data.tar.gz: '05638ad1416e4da010f1fad072bec2be6695d7a1eca1d6fc03517dfcac8f1c2b'
3
+ metadata.gz: 32da6152f4ce6dccf6acc5ef3c9a66dec1c1a1b851751f9d28efffba5accc17e
4
+ data.tar.gz: 8dcc14d6abd6378750629309d7e52d02c1f932c0cd950f8b59d7970d77a996e4
5
5
  SHA512:
6
- metadata.gz: a4802863c09897f4731a4594aaf36ead9c7b77c85d64c4648e09309b6761842bada17e090b46f1e072e62aa75e60b9f378284bd46f9e2a46d6edc0f4e8b2ca94
7
- data.tar.gz: 9032c9afd863ab9c14bd287a0efae3be4d308183df8b3c298665c0971a7e6a20ffcfa61b8f4cff9e4dfd6f752ab7a23b59d6e4e9fe79d34cb5701f5b31bcaa75
6
+ metadata.gz: 0bcdafec3b61d634cee410aa8a96b15c6aa6a4aed4fee124319d827cacc3b3117538d114d063d1a1e4ebe14054faa6792465ced5962f3aafca712da640c4df46
7
+ data.tar.gz: afcea73e004084bca9c10d50b19c90a292a684ce033b571a0ade436dbdbb243edf5bd0ac1963199142c297fd938fb66ac0682b5b5ad25c0f6f7688cb8514d174
data/README.md CHANGED
@@ -15,30 +15,40 @@ Start in your poor, super lame cottage, where you live alone, subsisting off the
15
15
 
16
16
  As you travel you will discover sights and sounds of the land, all of which are new to you because you don't really get out much. Visit towns with merchants willing to trade coin for wares they bought off of other adventurers who didn't last the previous attempts at thwartion. Sleep in a tent (or on the ground, if that's all that's available) to regain your enumerated status points, which are conveniently located in your peripheral vision (i.e. the console window). Eventually, if you're skilled, you'll reach **Emerald's Sky Tower**, part him from his **ShinyThing<sup>tm</sup>**, and then do what is "right".
17
17
 
18
- ## How to Get to Jool
18
+ ## PLAY
19
+
20
+ ### How to Get to Jool
19
21
 
20
22
  1. `ruby -v` should return `ruby 2.something`; else install [Ruby](https://www.ruby-lang.org)
21
23
  2. `gem -v` should return `2.something`; else install [RubyGems](https://rubygems.org)
22
- 2. `(sudo) gem install gemwarrior`
24
+ 2. `(sudo) gem install gemwarrior`
23
25
  3. `gemwarrior`
24
26
 
25
27
  Run the commands above and you'll be whisked away to Jool, ready to start or continue your quest to defeat Emerald and take back the coveted Shiny Thing(tm) that you will bring back to Queen Ruby (or will you...?).
26
28
 
27
- ## Main Commands
28
-
29
- `> character` - character check for visual identity
30
- `> inventory [object]` - check your inventory (or an individual item within)
31
- `> rest` - take a load off and replenish hp
32
- `> look [object]` - look at current location and its items and monsters
33
- `> take [object]` - take an item from a location
34
- `> use [object]` - use an item from your inventory or current location
35
- `> drop [object]` - drop an item from your inventory
36
- `> equip [object]` - designate an item in your inventory your weapon
37
- `> unequip [object]` - stop using an item in your inventory as your weapon
38
- `> go [direction]` - go in a direction, if possible (north|east|south|west work as shortcuts)
39
- `> attack [monster]` - attack a monster
40
- `> change [attribute]` - change some things about yourself
41
- `> help` - display available commands
42
- `> version` - display current game version
43
- `> quit` - quit this nonsense w/ prompt
44
- `> quit!` - quit this nonsense w/o prompt
29
+ ### Main Commands
30
+
31
+ `> character` - character check for visual identity
32
+ `> inventory [object]` - check your inventory (or an individual item within)
33
+ `> rest` - take a load off and replenish hp
34
+ `> look [object]` - look at current location and its items and monsters
35
+ `> take [object]` - take an item from a location
36
+ `> use [object]` - use an item from your inventory or current location
37
+ `> drop [object]` - drop an item from your inventory
38
+ `> equip [object]` - designate an item in your inventory your weapon
39
+ `> unequip [object]` - stop using an item in your inventory as your weapon
40
+ `> go [direction]` - go in a direction, if possible (north|east|south|west work as shortcuts)
41
+ `> attack [monster]` - attack a monster
42
+ `> change [attribute]` - change some things about yourself
43
+ `> help` - display available commands
44
+ `> version` - display current game version
45
+ `> quit` - quit this nonsense w/ prompt
46
+ `> quit!` - quit this nonsense w/o prompt
47
+
48
+ ## CONTRIBUTE
49
+
50
+ 1. `git clone https://github.com/michaelchadwick/gemwarrior.git`
51
+ 2. `cd /path/to/gemwarrior`
52
+ 3. `vi /file/you/want/to/change.rb`
53
+ 4. `gem build`
54
+ 5. `gem install --local /path/to/gemwarrior/pkg/gemwarrior.VERSION.gem`
data/Rakefile CHANGED
@@ -7,4 +7,12 @@ RSpec::Core::RakeTask.new(:spec) do |task|
7
7
  task.rspec_opts = ['--color', '--format', 'documentation']
8
8
  end
9
9
 
10
- task :default => :spec
10
+ task :deploy do |t|
11
+ file = Dir.glob("pkg/*").max_by {|f| File.mtime(f)}
12
+
13
+ sh "git push origin master"
14
+ sh "rake build"
15
+ sh "gem push #{file}"
16
+ end
17
+
18
+ task :default => :spec
data/gemwarrior.gemspec CHANGED
@@ -1,46 +1,55 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
4
5
  require 'gemwarrior/version'
5
6
 
6
7
  Gem::Specification.new do |spec|
7
- spec.name = 'gemwarrior'
8
- spec.version = Gemwarrior::VERSION
9
- spec.platform = Gem::Platform::RUBY
10
- spec.authors = ['Michael Chadwick']
11
- spec.email = 'mike@neb.host'
12
- spec.homepage = 'http://rubygems.org/gems/gemwarrior'
13
- spec.summary = 'RubyGem text adventure'
14
- spec.description = 'A fun text adventure in the form of a RubyGem!'
15
-
16
- spec.files = `git ls-files`.split("\n")
17
- spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
- spec.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
19
- spec.require_paths = ['lib']
20
- spec.license = 'MIT'
8
+ # required
9
+ spec.name = 'gemwarrior'
10
+ spec.summary = 'RubyGem text adventure'
11
+ spec.version = Gemwarrior::VERSION
12
+ spec.authors = ['Michael Chadwick']
13
+ spec.files = `git ls-files`.split("\n")
21
14
 
22
- spec.required_ruby_version = '~> 2.0'
15
+ # recommended
16
+ spec.description = 'A fun text adventure in the form of a RubyGem!'
17
+ spec.email = 'mike@neb.host'
18
+ spec.homepage = 'https://github.com/michaelchadwick/gemwarrior'
19
+ spec.license = 'MIT'
20
+ spec.metadata = {
21
+ "documentation_uri" => "https://github.com/michaelchadwick/gemwarrior",
22
+ "homepage_uri" => "https://github.com/michaelchadwick/gemwarrior",
23
+ "source_code_uri" => "https://github.com/michaelchadwick/gemwarrior"
24
+ }
25
+ spec.required_ruby_version = '~> 2.0'
23
26
 
24
- spec.add_runtime_dependency 'os', '~> 0.9', '>= 0.9.6'
25
- spec.add_runtime_dependency 'http', '~> 0.8.10'
26
- spec.add_runtime_dependency 'json', '~> 2.3.0'
27
- spec.add_runtime_dependency 'colorize', '~> 0.8'
28
- spec.add_runtime_dependency 'matrext', '~> 1'
27
+ # additional
28
+ ## runtime deps
29
29
  spec.add_runtime_dependency 'clocker', '~> 0.1.6'
30
- spec.add_runtime_dependency 'gems', '~> 0.8.3'
31
-
32
- # sound systems
33
- #spec.add_runtime_dependency 'feep', '~> 0.1.3'
34
- #spec.add_runtime_dependency 'win32-sound', '~> 0.6.0'
35
- #spec.add_runtime_dependency 'bloopsaphone', '>= 0.4'
36
-
37
- spec.add_development_dependency 'bundler', '~> 2.1'
38
- spec.add_development_dependency 'rake', '~> 12.3.3'
39
- spec.add_development_dependency 'rubocop', '~> 0.52.1'
40
- spec.add_development_dependency 'rspec', '~> 3.9.0'
41
- spec.add_development_dependency 'rspec-nc', '~> 0.3'
42
- spec.add_development_dependency 'guard', '~> 2.16'
30
+ spec.add_runtime_dependency 'colorize', '~> 0.8'
31
+ spec.add_runtime_dependency 'gems', '~> 1.2'
32
+ spec.add_runtime_dependency 'http', '~> 5.1'
33
+ spec.add_runtime_dependency 'json', '~> 2.6'
34
+ spec.add_runtime_dependency 'matrext', '~> 1.0'
35
+ spec.add_runtime_dependency 'os', '~> 0.9', '>= 0.9.6'
36
+ spec.add_runtime_dependency 'psych', '~> 5.1'
37
+ ## sound systems
38
+ #spec.add_runtime_dependency 'feep', '~> 0.1.3'
39
+ #spec.add_runtime_dependency 'win32-sound', '~> 0.6.0'
40
+ #spec.add_runtime_dependency 'bloopsaphone', '>= 0.4'
41
+ # spec.platform = Gem::Platform::RUBY
42
+ spec.post_install_message = "Type 'gemwarrior' to start adventuring!"
43
+ # spec.require_paths = ['lib']
44
+ ## development deps
45
+ spec.add_development_dependency 'awesome_print', '~> 1.9'
46
+ spec.add_development_dependency 'bundler', '~> 2.4'
47
+ spec.add_development_dependency 'bundler-audit', '~> 0.9'
48
+ spec.add_development_dependency 'guard', '~> 2.18'
43
49
  spec.add_development_dependency 'guard-rspec', '~> 4.7'
44
- spec.add_development_dependency 'pry-byebug', '~> 3.9'
45
- spec.add_development_dependency 'awesome_print', '~> 1.8'
50
+ spec.add_development_dependency 'pry-byebug', '~> 3.10'
51
+ spec.add_development_dependency 'rake', '~> 13.0'
52
+ spec.add_development_dependency 'rspec', '~> 3.12.0'
53
+ spec.add_development_dependency 'rspec-nc', '~> 0.3'
54
+ spec.add_development_dependency 'rubocop', '~> 1.50'
46
55
  end
@@ -2,5 +2,5 @@
2
2
  # Version of Gem Warrior
3
3
 
4
4
  module Gemwarrior
5
- VERSION = '0.15.11'
5
+ VERSION = '0.15.13'
6
6
  end
metadata CHANGED
@@ -1,249 +1,276 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemwarrior
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.11
4
+ version: 0.15.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Chadwick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-05 00:00:00.000000000 Z
11
+ date: 2023-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: os
14
+ name: clocker
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.9'
20
- - - ">="
19
+ version: 0.1.6
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
21
25
  - !ruby/object:Gem::Version
22
- version: 0.9.6
26
+ version: 0.1.6
27
+ - !ruby/object:Gem::Dependency
28
+ name: colorize
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.8'
23
34
  type: :runtime
24
35
  prerelease: false
25
36
  version_requirements: !ruby/object:Gem::Requirement
26
37
  requirements:
27
38
  - - "~>"
28
39
  - !ruby/object:Gem::Version
29
- version: '0.9'
30
- - - ">="
40
+ version: '0.8'
41
+ - !ruby/object:Gem::Dependency
42
+ name: gems
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
31
46
  - !ruby/object:Gem::Version
32
- version: 0.9.6
47
+ version: '1.2'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.2'
33
55
  - !ruby/object:Gem::Dependency
34
56
  name: http
35
57
  requirement: !ruby/object:Gem::Requirement
36
58
  requirements:
37
59
  - - "~>"
38
60
  - !ruby/object:Gem::Version
39
- version: 0.8.10
61
+ version: '5.1'
40
62
  type: :runtime
41
63
  prerelease: false
42
64
  version_requirements: !ruby/object:Gem::Requirement
43
65
  requirements:
44
66
  - - "~>"
45
67
  - !ruby/object:Gem::Version
46
- version: 0.8.10
68
+ version: '5.1'
47
69
  - !ruby/object:Gem::Dependency
48
70
  name: json
49
71
  requirement: !ruby/object:Gem::Requirement
50
72
  requirements:
51
73
  - - "~>"
52
74
  - !ruby/object:Gem::Version
53
- version: 2.3.0
75
+ version: '2.6'
54
76
  type: :runtime
55
77
  prerelease: false
56
78
  version_requirements: !ruby/object:Gem::Requirement
57
79
  requirements:
58
80
  - - "~>"
59
81
  - !ruby/object:Gem::Version
60
- version: 2.3.0
82
+ version: '2.6'
61
83
  - !ruby/object:Gem::Dependency
62
- name: colorize
84
+ name: matrext
63
85
  requirement: !ruby/object:Gem::Requirement
64
86
  requirements:
65
87
  - - "~>"
66
88
  - !ruby/object:Gem::Version
67
- version: '0.8'
89
+ version: '1.0'
68
90
  type: :runtime
69
91
  prerelease: false
70
92
  version_requirements: !ruby/object:Gem::Requirement
71
93
  requirements:
72
94
  - - "~>"
73
95
  - !ruby/object:Gem::Version
74
- version: '0.8'
96
+ version: '1.0'
75
97
  - !ruby/object:Gem::Dependency
76
- name: matrext
98
+ name: os
77
99
  requirement: !ruby/object:Gem::Requirement
78
100
  requirements:
79
101
  - - "~>"
80
102
  - !ruby/object:Gem::Version
81
- version: '1'
103
+ version: '0.9'
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 0.9.6
82
107
  type: :runtime
83
108
  prerelease: false
84
109
  version_requirements: !ruby/object:Gem::Requirement
85
110
  requirements:
86
111
  - - "~>"
87
112
  - !ruby/object:Gem::Version
88
- version: '1'
113
+ version: '0.9'
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: 0.9.6
89
117
  - !ruby/object:Gem::Dependency
90
- name: clocker
118
+ name: psych
91
119
  requirement: !ruby/object:Gem::Requirement
92
120
  requirements:
93
121
  - - "~>"
94
122
  - !ruby/object:Gem::Version
95
- version: 0.1.6
123
+ version: '5.1'
96
124
  type: :runtime
97
125
  prerelease: false
98
126
  version_requirements: !ruby/object:Gem::Requirement
99
127
  requirements:
100
128
  - - "~>"
101
129
  - !ruby/object:Gem::Version
102
- version: 0.1.6
130
+ version: '5.1'
103
131
  - !ruby/object:Gem::Dependency
104
- name: gems
132
+ name: awesome_print
105
133
  requirement: !ruby/object:Gem::Requirement
106
134
  requirements:
107
135
  - - "~>"
108
136
  - !ruby/object:Gem::Version
109
- version: 0.8.3
110
- type: :runtime
137
+ version: '1.9'
138
+ type: :development
111
139
  prerelease: false
112
140
  version_requirements: !ruby/object:Gem::Requirement
113
141
  requirements:
114
142
  - - "~>"
115
143
  - !ruby/object:Gem::Version
116
- version: 0.8.3
144
+ version: '1.9'
117
145
  - !ruby/object:Gem::Dependency
118
146
  name: bundler
119
147
  requirement: !ruby/object:Gem::Requirement
120
148
  requirements:
121
149
  - - "~>"
122
150
  - !ruby/object:Gem::Version
123
- version: '2.1'
151
+ version: '2.4'
124
152
  type: :development
125
153
  prerelease: false
126
154
  version_requirements: !ruby/object:Gem::Requirement
127
155
  requirements:
128
156
  - - "~>"
129
157
  - !ruby/object:Gem::Version
130
- version: '2.1'
158
+ version: '2.4'
131
159
  - !ruby/object:Gem::Dependency
132
- name: rake
160
+ name: bundler-audit
133
161
  requirement: !ruby/object:Gem::Requirement
134
162
  requirements:
135
163
  - - "~>"
136
164
  - !ruby/object:Gem::Version
137
- version: 12.3.3
165
+ version: '0.9'
138
166
  type: :development
139
167
  prerelease: false
140
168
  version_requirements: !ruby/object:Gem::Requirement
141
169
  requirements:
142
170
  - - "~>"
143
171
  - !ruby/object:Gem::Version
144
- version: 12.3.3
172
+ version: '0.9'
145
173
  - !ruby/object:Gem::Dependency
146
- name: rubocop
174
+ name: guard
147
175
  requirement: !ruby/object:Gem::Requirement
148
176
  requirements:
149
177
  - - "~>"
150
178
  - !ruby/object:Gem::Version
151
- version: 0.52.1
179
+ version: '2.18'
152
180
  type: :development
153
181
  prerelease: false
154
182
  version_requirements: !ruby/object:Gem::Requirement
155
183
  requirements:
156
184
  - - "~>"
157
185
  - !ruby/object:Gem::Version
158
- version: 0.52.1
186
+ version: '2.18'
159
187
  - !ruby/object:Gem::Dependency
160
- name: rspec
188
+ name: guard-rspec
161
189
  requirement: !ruby/object:Gem::Requirement
162
190
  requirements:
163
191
  - - "~>"
164
192
  - !ruby/object:Gem::Version
165
- version: 3.9.0
193
+ version: '4.7'
166
194
  type: :development
167
195
  prerelease: false
168
196
  version_requirements: !ruby/object:Gem::Requirement
169
197
  requirements:
170
198
  - - "~>"
171
199
  - !ruby/object:Gem::Version
172
- version: 3.9.0
200
+ version: '4.7'
173
201
  - !ruby/object:Gem::Dependency
174
- name: rspec-nc
202
+ name: pry-byebug
175
203
  requirement: !ruby/object:Gem::Requirement
176
204
  requirements:
177
205
  - - "~>"
178
206
  - !ruby/object:Gem::Version
179
- version: '0.3'
207
+ version: '3.10'
180
208
  type: :development
181
209
  prerelease: false
182
210
  version_requirements: !ruby/object:Gem::Requirement
183
211
  requirements:
184
212
  - - "~>"
185
213
  - !ruby/object:Gem::Version
186
- version: '0.3'
214
+ version: '3.10'
187
215
  - !ruby/object:Gem::Dependency
188
- name: guard
216
+ name: rake
189
217
  requirement: !ruby/object:Gem::Requirement
190
218
  requirements:
191
219
  - - "~>"
192
220
  - !ruby/object:Gem::Version
193
- version: '2.16'
221
+ version: '13.0'
194
222
  type: :development
195
223
  prerelease: false
196
224
  version_requirements: !ruby/object:Gem::Requirement
197
225
  requirements:
198
226
  - - "~>"
199
227
  - !ruby/object:Gem::Version
200
- version: '2.16'
228
+ version: '13.0'
201
229
  - !ruby/object:Gem::Dependency
202
- name: guard-rspec
230
+ name: rspec
203
231
  requirement: !ruby/object:Gem::Requirement
204
232
  requirements:
205
233
  - - "~>"
206
234
  - !ruby/object:Gem::Version
207
- version: '4.7'
235
+ version: 3.12.0
208
236
  type: :development
209
237
  prerelease: false
210
238
  version_requirements: !ruby/object:Gem::Requirement
211
239
  requirements:
212
240
  - - "~>"
213
241
  - !ruby/object:Gem::Version
214
- version: '4.7'
242
+ version: 3.12.0
215
243
  - !ruby/object:Gem::Dependency
216
- name: pry-byebug
244
+ name: rspec-nc
217
245
  requirement: !ruby/object:Gem::Requirement
218
246
  requirements:
219
247
  - - "~>"
220
248
  - !ruby/object:Gem::Version
221
- version: '3.9'
249
+ version: '0.3'
222
250
  type: :development
223
251
  prerelease: false
224
252
  version_requirements: !ruby/object:Gem::Requirement
225
253
  requirements:
226
254
  - - "~>"
227
255
  - !ruby/object:Gem::Version
228
- version: '3.9'
256
+ version: '0.3'
229
257
  - !ruby/object:Gem::Dependency
230
- name: awesome_print
258
+ name: rubocop
231
259
  requirement: !ruby/object:Gem::Requirement
232
260
  requirements:
233
261
  - - "~>"
234
262
  - !ruby/object:Gem::Version
235
- version: '1.8'
263
+ version: '1.50'
236
264
  type: :development
237
265
  prerelease: false
238
266
  version_requirements: !ruby/object:Gem::Requirement
239
267
  requirements:
240
268
  - - "~>"
241
269
  - !ruby/object:Gem::Version
242
- version: '1.8'
270
+ version: '1.50'
243
271
  description: A fun text adventure in the form of a RubyGem!
244
272
  email: mike@neb.host
245
- executables:
246
- - gemwarrior
273
+ executables: []
247
274
  extensions: []
248
275
  extra_rdoc_files: []
249
276
  files:
@@ -369,11 +396,14 @@ files:
369
396
  - tests/test-save-load/save.conf
370
397
  - tests/test-singleton/game.rb
371
398
  - tests/test-singleton/game_options.rb
372
- homepage: http://rubygems.org/gems/gemwarrior
399
+ homepage: https://github.com/michaelchadwick/gemwarrior
373
400
  licenses:
374
401
  - MIT
375
- metadata: {}
376
- post_install_message:
402
+ metadata:
403
+ documentation_uri: https://github.com/michaelchadwick/gemwarrior
404
+ homepage_uri: https://github.com/michaelchadwick/gemwarrior
405
+ source_code_uri: https://github.com/michaelchadwick/gemwarrior
406
+ post_install_message: Type 'gemwarrior' to start adventuring!
377
407
  rdoc_options: []
378
408
  require_paths:
379
409
  - lib
@@ -392,6 +422,4 @@ rubygems_version: 3.4.12
392
422
  signing_key:
393
423
  specification_version: 4
394
424
  summary: RubyGem text adventure
395
- test_files:
396
- - spec/gemwarrior_spec.rb
397
- - spec/spec_helper.rb
425
+ test_files: []