playset 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 03c3936f07058cbed7db7890ad81dda67aee16475a90da6719d9e6b5a3303773
4
+ data.tar.gz: 86de12ad5229241584dc98ee9e4a46ec0d78fa626fe2a145ce70aef581610e76
5
+ SHA512:
6
+ metadata.gz: d3a70ff401ad2d6a606e13145986b0d657266e87943e7b532749f91ce68a6dbc254b8df15d651e9a53a12e353568246bbec191bd82ecb6cdcad7622d3da82217
7
+ data.tar.gz: d2b9bda59e956a8eb0afabfc8270bca86ebddec3070a9495b39e9f4c724b038f0672adb70fabbc8a76a85c5eca96b8d9b30139c62b05125608841bf3f20a0bb7
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## [0.0.1] - 2026-07-06
4
+
5
+ - Placeholder release reserving the gem name
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2026 Tad Thorley
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,65 @@
1
+ # Playset
2
+
3
+ OpenAPI document DSL for [action_figure](https://github.com/phaedryx/action_figure).
4
+
5
+ Playset composes action_figure actions into a reviewable OpenAPI document — the
6
+ document is the first artifact, and everything else grows out of it:
7
+
8
+ - **Document DSL** — author paths, operations, and named schemas in Ruby;
9
+ compile to `openapi.yaml`
10
+ - **Composition** — inline operations are designs; composing an action class
11
+ into the document is the claim "this is live"
12
+ - **Conformance assertions** — validate real responses against the document's
13
+ schemas in your tests
14
+ - **Coverage & route verification** — every operation accounted for, every
15
+ composed operation routed
16
+
17
+ > **Status:** placeholder release reserving the gem name. The design lives in
18
+ > the action_figure project; nothing here is usable yet.
19
+
20
+ ## Installation
21
+
22
+ ```bash
23
+ bundle add playset
24
+ ```
25
+
26
+ ## Usage
27
+
28
+ ```ruby
29
+ module AcmeApi
30
+ include Playset[:jsend]
31
+
32
+ info title: "Acme Public API", version: "1.0.0"
33
+
34
+ Project = Schema.define do
35
+ integer :id
36
+ string :name, max_length: 120
37
+ end
38
+
39
+ path "/projects" do
40
+ post createProject: Projects::CreateAction do
41
+ summary "Create a project"
42
+ tags :projects
43
+ response 201, Project
44
+ end
45
+ end
46
+ end
47
+ ```
48
+
49
+ (Aspirational — see status above.)
50
+
51
+ ## Development
52
+
53
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
54
+ `rake test` to run the tests. You can also run `bin/console` for an interactive
55
+ prompt that will allow you to experiment.
56
+
57
+ ## Contributing
58
+
59
+ Bug reports and pull requests are welcome on GitHub at
60
+ https://github.com/urug/playset.
61
+
62
+ ## License
63
+
64
+ The gem is available as open source under the terms of the
65
+ [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "minitest/test_task"
5
+
6
+ Minitest::TestTask.create
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[test rubocop]
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Playset
4
+ VERSION = "0.0.1"
5
+ end
data/lib/playset.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "playset/version"
4
+
5
+ module Playset
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
data/sig/playset.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Playset
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,52 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: playset
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Tad Thorley
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: 'Compose action_figure actions into reviewable OpenAPI documents: document
13
+ DSL, compile, conformance assertions, coverage, and route verification'
14
+ email:
15
+ - phaedryx@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - CHANGELOG.md
21
+ - LICENSE.txt
22
+ - README.md
23
+ - Rakefile
24
+ - lib/playset.rb
25
+ - lib/playset/version.rb
26
+ - sig/playset.rbs
27
+ homepage: https://github.com/urug/playset
28
+ licenses:
29
+ - MIT
30
+ metadata:
31
+ homepage_uri: https://github.com/urug/playset
32
+ source_code_uri: https://github.com/urug/playset
33
+ changelog_uri: https://github.com/urug/playset/blob/main/CHANGELOG.md
34
+ rubygems_mfa_required: 'true'
35
+ rdoc_options: []
36
+ require_paths:
37
+ - lib
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 3.2.0
43
+ required_rubygems_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ requirements: []
49
+ rubygems_version: 4.0.3
50
+ specification_version: 4
51
+ summary: OpenAPI document DSL for action_figure
52
+ test_files: []