appquery 0.4.0.rc1 → 0.5.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.
data/mise.toml CHANGED
@@ -3,4 +3,4 @@ ruby = "3.4"
3
3
 
4
4
  [env]
5
5
  _.path = ["bin"]
6
- PROJECT_ROOT = "{{config_root}}"
6
+ PROJECT_ROOT = "{{config_root}}"
data/rakelib/yard.rake ADDED
@@ -0,0 +1,17 @@
1
+ require "yard"
2
+
3
+ YARD::Rake::YardocTask.new(:docs) do |t|
4
+ # Options defined in `.yardopts` are read first, then merged with
5
+ # options defined here.
6
+ #
7
+ # It's recommended to define options in `.yardopts` instead of here,
8
+ # as `.yardopts` can be read by external YARD tools, like the
9
+ # hot-reload YARD server `yard server --reload`.
10
+
11
+ # Use APPQUERY_VERSION env var (set from git tag in CI), or fall back to git describe
12
+ version = ENV["APPQUERY_VERSION"] || `git describe --tags --abbrev=0 2>/dev/null`.strip
13
+ version = nil if version.empty?
14
+
15
+ title = ["AppQuery", version, "API Documentation"].compact.join(" ")
16
+ t.options += ["--title", title]
17
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.rc1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gert Goet
@@ -43,6 +43,7 @@ files:
43
43
  - ".irbrc"
44
44
  - ".rspec"
45
45
  - ".standard.yml"
46
+ - ".yardopts"
46
47
  - Appraisals
47
48
  - CHANGELOG.md
48
49
  - LICENSE.txt
@@ -50,6 +51,7 @@ files:
50
51
  - Rakefile
51
52
  - lib/app_query.rb
52
53
  - lib/app_query/base.rb
54
+ - lib/app_query/render_helpers.rb
53
55
  - lib/app_query/rspec.rb
54
56
  - lib/app_query/rspec/helpers.rb
55
57
  - lib/app_query/tokenizer.rb
@@ -63,6 +65,7 @@ files:
63
65
  - mise.local.toml.example
64
66
  - mise.toml
65
67
  - rakelib/gem.rake
68
+ - rakelib/yard.rake
66
69
  - sig/appquery.rbs
67
70
  homepage: https://github.com/eval/appquery
68
71
  licenses:
@@ -70,7 +73,7 @@ licenses:
70
73
  metadata:
71
74
  homepage_uri: https://github.com/eval/appquery
72
75
  source_code_uri: https://github.com/eval/appquery
73
- changelog_uri: https://github.com/eval/gem-try/blob/main/CHANGELOG.md
76
+ changelog_uri: https://github.com/eval/appquery/blob/main/CHANGELOG.md
74
77
  rdoc_options: []
75
78
  require_paths:
76
79
  - lib