open_gemdocs 0.2.1 → 0.2.2

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: caa6b9319f8f30e6cd853d913be8d48cdbf7391795141d427f5a8fcbb281857c
4
- data.tar.gz: b7645ceac6e716e4cc04f5a4fc5e773246d461228c3573b7a0edc1765c50d56a
3
+ metadata.gz: b3b77411ddcdfaa696359a3fac6f61d78342a7137ad190b4ba9f9a0075717861
4
+ data.tar.gz: 7660e4c4ebc1d654cba3cf25348f6b05be92d62e3ef20e935d237a1fe5ddb692
5
5
  SHA512:
6
- metadata.gz: da408504c8dd77206dfe9b277887514e5c46ebe5004ef3e3b629c8163d4c3e119758c66e859a07a312150ec98013cdecc1a98bd042b25851429d9aa61cedd318
7
- data.tar.gz: 951fb401b1bc62bd133bb96bfe2cff936eef72acf3852ede3fc111892e8cd79b5a24088bc7465195d91b595e1bba93e5c02838f929041d1562a5b0d45653643e
6
+ metadata.gz: d8fd831a4cc43d04b5b07991de61549895d76da155a18c31035bd1b99bb773ab020b049e0dfddb5be07133e4ca2538c24a5cd939706f8675decc3835ff2ebaac
7
+ data.tar.gz: 607c5ef41e813a04f44f2fc6af9e3e1b19b81f2da366a5ff79906b95b79cd27c180b7c790c302e83400a29dd85b3d0963ebe8d5458ea89430e45f6c1dbec2b55
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.1] - 2025-04-26
4
+ ### Changed
5
+ - Fixed a bug where the `--local` option was not working correctly when a specific gem was specified. The command now correctly serves the documentation for the specified gem from the local server.
6
+
7
+ ## [0.2.0] - 2025-04-26
8
+ ### Added
9
+ - Added support for serving local documentation for all installed gems using the `--local` option. This allows users to view documentation for gems that are not available online.
10
+
3
11
  ## [0.1.0] - 2025-04-25
4
12
 
5
13
  - Initial release
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # OpenGemdocs
2
2
 
3
- This is a simple command line tool that helps open gem documentation. There are two documentation sources this gem supports.
3
+ This is ruby gem that provides a simple command line tool that helps open gem documentation. There are two documentation sources this gem supports.
4
4
 
5
- 1. local gems served with the yarn gem
5
+ 1. local gems served with the yard gem via `yard server --gems` or `yard server --gemfile` accessible at http://localhost:8808.
6
6
  2. [https://gemdocs.org](https://gemdocs.org) - a good ruby gem documentation host
7
7
 
8
8
  * If ran from a directory with a Gemfile.lock, it will open the documentation for the version specified in Gemfile.lock. When using the online source, you can specify `--latest` or `--version` options.
@@ -15,7 +15,7 @@ This is a simple command line tool that helps open gem documentation. There are
15
15
  Install the gem and add to the application's Gemfile by executing:
16
16
 
17
17
  ```bash
18
- bundle add open_gemdocs
18
+ bundle add open_gemdocs --group development
19
19
  ```
20
20
 
21
21
  If bundler is not being used to manage dependencies, install the gem by executing:
@@ -0,0 +1 @@
1
+ 9c01c65161cfae3c148eb7e00013337aa034e4b789ca062d87d038ba521ec452ec541fa8174db8c1f4dc53ae421aa6d05749f5d9d46111b82481dc9c6f938c87
data/exe/open-gem-docs CHANGED
@@ -28,7 +28,7 @@ OptionParser.new do |opts|
28
28
  exit
29
29
  end
30
30
 
31
- opts.on('-s', '--stop', 'stops the yarn server') do
31
+ opts.on('-s', '--stop', 'stops the yard server') do
32
32
  OpenGemdocs::Yard.stop_server
33
33
  exit
34
34
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenGemdocs
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_gemdocs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean McCleary
@@ -54,6 +54,7 @@ files:
54
54
  - checksums/open_gemdocs-0.1.0.gem.sha512
55
55
  - checksums/open_gemdocs-0.2.0.gem.sha512
56
56
  - checksums/open_gemdocs-0.2.1.gem.sha512
57
+ - checksums/open_gemdocs-0.2.2.gem.sha512
57
58
  - exe/open-gem-docs
58
59
  - lib/open_gemdocs.rb
59
60
  - lib/open_gemdocs/browser.rb
metadata.gz.sig CHANGED
Binary file