good_luck_wizard 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbc38af238a6cc80858a6e316e300aedff0c0fe0936a3bbd76856236c94881f1
4
- data.tar.gz: 7e709dcc1afb14905d4c33e07dd1781b228e2c9ec7e25433ff73e9f944b1a03c
3
+ metadata.gz: c0cb37ba935956a080d7e4f02a6f771d50c78396d9929d5424d1f9427f354bc1
4
+ data.tar.gz: 185370ffabbe5b7688304cb97cf8fa1a385e49e9461cff77e8f185763bec3434
5
5
  SHA512:
6
- metadata.gz: 847f1f7fa71a3bb0a213c25e69d8f30fd43419018977641d53a25f6bc87e88baaeb40ce90c0600eb3f097fb5d9bb39bfda4682e55d1f669f807050aa7720d8c4
7
- data.tar.gz: f84e32458ad72740728373a24318ae41fa87e3568a51f11a55e11c8be6570e6ecea8d1039408210177122bcba3f865c8bcefd6bed0030f86107e085943008a0a
6
+ metadata.gz: f03c3bdc66579466bad239ff5f04faaa4cfef2ea547364e083955ee8a43e371d4b33aa3652882088a6906193269f20b8136d496fb8454f11ab94231f2df60551
7
+ data.tar.gz: 1716b9749d7ec53582ab84234cdc9927ac49ec8f8a12b1d741fed7a3f436a89a392b74d5c3bd22b5d0bdd5233d74dafb817532ac4849b33a57c9172102651832
@@ -0,0 +1,27 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ pull_request:
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ name: Ruby ${{ matrix.ruby }}
14
+ strategy:
15
+ matrix:
16
+ ruby:
17
+ - "3.4.2"
18
+
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - name: Set up Ruby
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby }}
25
+ bundler-cache: true
26
+ - name: Run tests
27
+ run: bundle exec rspec
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  /Gemfile.lock
10
+ /.rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/Gemfile CHANGED
@@ -4,3 +4,7 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in good_luck_wizard.gemspec
6
6
  gemspec
7
+
8
+ gem "rake", "~> 13.2"
9
+ gem "rspec", "~> 3.4"
10
+ gem "standard", "~> 1.45"
data/README.md CHANGED
@@ -1,36 +1,26 @@
1
- # Good Luck, Wizard
1
+ **Good Luck, Wizard**. You're going to need it. Especially because this is an
2
+ _extremely_ unfinished game. It's hard to even call it a game at this point. You
3
+ should come back later when there's something worth playing.
2
4
 
3
- ## Installation
5
+ **If you absolutely must try it, you can install it** with `gem install
6
+ good_luck_wizard` and run it with `glw`. This assumes you have a working Ruby
7
+ environment and a new enough version of Ruby.
4
8
 
5
- Assuming you Ruby set up, you can run `gem install good_luck_wizard` to install the game.
9
+ **This project is not seeking contributions,** but bug reports are accepted [on
10
+ GitHub](https://github.com/jarednorman/good_luck_wizard).
6
11
 
7
- ## Usage
8
-
9
- Start the game by running `glw`.
12
+ **This project is intended to be a safe, welcoming space for collaboration.**
13
+ Everyone interacting in the _Good Luck, Wizard_ project’s codebases, issue
14
+ trackers, chat rooms and mailing lists is expected to follow the [code of
15
+ conduct](https://github.com/jarednorman/good_luck_wizard/blob/master/CODE_OF_CONDUCT.md).
10
16
 
11
- ## Development
17
+ ---
12
18
 
13
- After checking out the repo, run `bin/setup` to install dependencies. Then, run
14
- `rake test` to run the tests. You can also run `bin/console` for an interactive
15
- prompt that will allow you to experiment.
19
+ **To run thep roject locally,** checck out the repo and run `bin/setup` to
20
+ install dependencies. The tests are run with `bundle exec rspec`. You can also
21
+ run `bin/console` for an interactive prompt that will allow you to experiment.
16
22
 
17
- To install this gem onto your local machine, run `bundle exec rake install`. To
18
- release a new version, update the version number in `version.rb`, and then run
19
- `bundle exec rake release`, which will create a git tag for the version, push
20
- git commits and tags, and push the `.gem` file to
23
+ To release a new version, update the version number in `version.rb`, and then
24
+ run `bundle exec rake release`, which will create a git tag for the version,
25
+ push git commits and tags, and push the `.gem` file to
21
26
  [rubygems.org](https://rubygems.org).
22
-
23
- ## Contributing
24
-
25
- This project is not seeking code contributions, but bug reports and pull
26
- requests are accepted [on
27
- GitHub](https://github.com/jarednorman/good_luck_wizard). This project is
28
- intended to be a safe, welcoming space for collaboration, and contributors are
29
- expected to adhere to the [Contributor
30
- Covenant](http://contributor-covenant.org) code of conduct.
31
-
32
- ## Code of Conduct
33
-
34
- Everyone interacting in the _Good Luck, Wizard_ project’s codebases, issue trackers,
35
- chat rooms and mailing lists is expected to follow the [code of
36
- conduct](https://github.com/jarednorman/good_luck_wizard/blob/master/CODE_OF_CONDUCT.md).
data/bin/console CHANGED
@@ -3,5 +3,5 @@
3
3
  require "bundler/setup"
4
4
  require "glw"
5
5
 
6
- require "pry"
7
- Pry.start
6
+ require "irb"
7
+ IRB.start(__FILE__)
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = "An unfinished terminal-based roguelike game"
13
13
  spec.description = spec.summary
14
- spec.homepage = "http://github.com/jarednorman/glw"
14
+ spec.homepage = "http://github.com/jarednorman/good_luck_wizard"
15
15
 
16
16
  # Specify which files should be added to the gem when it is released.
17
17
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -22,12 +22,8 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
+ spec.required_ruby_version = ">= 3.4.0"
26
+
25
27
  spec.add_dependency "curses", "~> 1.4.0"
26
28
  spec.add_dependency "zeitwerk", "~> 2.4"
27
-
28
- spec.add_development_dependency "bundler", "~> 1.17"
29
- spec.add_development_dependency "rake", "~> 10.0"
30
- spec.add_development_dependency "minitest", "~> 5.0"
31
- spec.add_development_dependency "pry"
32
- spec.add_development_dependency "pry-stack_explorer"
33
29
  end
data/lib/glw/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module GLW
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: good_luck_wizard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared Norman
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2021-01-05 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: curses
@@ -38,76 +37,6 @@ dependencies:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
39
  version: '2.4'
41
- - !ruby/object:Gem::Dependency
42
- name: bundler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '1.17'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '1.17'
55
- - !ruby/object:Gem::Dependency
56
- name: rake
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '10.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '10.0'
69
- - !ruby/object:Gem::Dependency
70
- name: minitest
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '5.0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '5.0'
83
- - !ruby/object:Gem::Dependency
84
- name: pry
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: pry-stack_explorer
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
40
  description: An unfinished terminal-based roguelike game
112
41
  email:
113
42
  - jared@super.gd
@@ -116,8 +45,9 @@ executables:
116
45
  extensions: []
117
46
  extra_rdoc_files: []
118
47
  files:
48
+ - ".github/workflows/main.yml"
119
49
  - ".gitignore"
120
- - ".travis.yml"
50
+ - ".rspec"
121
51
  - CODE_OF_CONDUCT.md
122
52
  - Gemfile
123
53
  - README.md
@@ -133,10 +63,9 @@ files:
133
63
  - lib/glw/term.rb
134
64
  - lib/glw/term_colors.rb
135
65
  - lib/glw/version.rb
136
- homepage: http://github.com/jarednorman/glw
66
+ homepage: http://github.com/jarednorman/good_luck_wizard
137
67
  licenses: []
138
68
  metadata: {}
139
- post_install_message:
140
69
  rdoc_options: []
141
70
  require_paths:
142
71
  - lib
@@ -144,15 +73,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
144
73
  requirements:
145
74
  - - ">="
146
75
  - !ruby/object:Gem::Version
147
- version: '0'
76
+ version: 3.4.0
148
77
  required_rubygems_version: !ruby/object:Gem::Requirement
149
78
  requirements:
150
79
  - - ">="
151
80
  - !ruby/object:Gem::Version
152
81
  version: '0'
153
82
  requirements: []
154
- rubygems_version: 3.0.3
155
- signing_key:
83
+ rubygems_version: 3.6.2
156
84
  specification_version: 4
157
85
  summary: An unfinished terminal-based roguelike game
158
86
  test_files: []
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.6.6
7
- before_install: gem install bundler -v 1.17.2