asimov-config 25.0.0.dev.4

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: c351689c639014bc205b62cc461168615bb96fff24fc04cc12c159bee337da05
4
+ data.tar.gz: fc548852831067f419573cfad1cd5a0ec8b4caaff3d3d7d97745746b47db3a0b
5
+ SHA512:
6
+ metadata.gz: 8293d3b1b4d6939bb5cbe15badcc5cff890e0a37d187dd66caa235133e53c7ba358c986dfba1219949a666664ad833d78aea62040234a61719239b4b974cc4e5
7
+ data.tar.gz: c45d421b80c1511e27840489c628c287c26bf85dd5133ea09546381559594fecbd907bac6d675f3fc93cee1fef954aeff8650163162f4190fd633037cd3a8bc1
data/AUTHORS ADDED
@@ -0,0 +1 @@
1
+ * Arto Bendiken <arto@asimov.so>
data/CHANGES.md ADDED
@@ -0,0 +1,18 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## 25.0.0.dev.4 - 2025-02-15
9
+
10
+ ## 25.0.0.dev.3 - 2025-02-15
11
+
12
+ ## 25.0.0.dev.2 - 2025-02-15
13
+
14
+ ## 25.0.0.dev.1 - 2025-02-12
15
+
16
+ ## 25.0.0.dev.0 - 2025-02-11
17
+
18
+ ## 24.0.0.dev.0 - 2024-06-26
data/README.md ADDED
@@ -0,0 +1,53 @@
1
+ # ASIMOV Software Development Kit (SDK) for Ruby
2
+
3
+ [![License](https://img.shields.io/badge/license-Public%20Domain-blue.svg)](https://unlicense.org)
4
+ [![Compatibility](https://img.shields.io/badge/ruby-3.2%2B-blue)](https://rubygems.org/gems/asimov.rb)
5
+ [![Package](https://img.shields.io/gem/v/asimov.rb)](https://rubygems.org/gems/asimov.rb)
6
+ [![Documentation](https://img.shields.io/badge/rubydoc-latest-blue)](https://rubydoc.info/gems/asimov.rb)
7
+
8
+ 🚧 _We are building in public. This is presently under heavy construction._
9
+
10
+ ## ✨ Features
11
+
12
+ - 100% free and unencumbered public domain software.
13
+
14
+ ## 🛠️ Prerequisites
15
+
16
+ - [Ruby] 3.2+
17
+
18
+ ## ⬇️ Installation
19
+
20
+ ### Installation via RubyGems
21
+
22
+ ```bash
23
+ gem install asimov.rb --pre
24
+ ```
25
+
26
+ ## 👉 Examples
27
+
28
+ - [Importing the SDK](#importing-the-sdk)
29
+
30
+ ### Importing the SDK
31
+
32
+ ```ruby
33
+ require 'asimov'
34
+ ```
35
+
36
+ ## 📚 Reference
37
+
38
+ https://rubydoc.info/gems/asimov.rb
39
+
40
+ ## 👨‍💻 Development
41
+
42
+ ```bash
43
+ git clone https://github.com/asimov-platform/asimov.rb.git
44
+ ```
45
+
46
+ - - -
47
+
48
+ [![Share on Twitter](https://img.shields.io/badge/share%20on-twitter-03A9F4?logo=twitter)](https://twitter.com/share?url=https://github.com/asimov-platform/asimov.rb&text=ASIMOV%20Software%20Development%20Kit%20%28SDK%29%20for%20Ruby)
49
+ [![Share on Reddit](https://img.shields.io/badge/share%20on-reddit-red?logo=reddit)](https://reddit.com/submit?url=https://github.com/asimov-platform/asimov.rb&title=ASIMOV%20Software%20Development%20Kit%20%28SDK%29%20for%20Ruby)
50
+ [![Share on Hacker News](https://img.shields.io/badge/share%20on-hacker%20news-orange?logo=ycombinator)](https://news.ycombinator.com/submitlink?u=https://github.com/asimov-platform/asimov.rb&t=ASIMOV%20Software%20Development%20Kit%20%28SDK%29%20for%20Ruby)
51
+ [![Share on Facebook](https://img.shields.io/badge/share%20on-facebook-1976D2?logo=facebook)](https://www.facebook.com/sharer/sharer.php?u=https://github.com/asimov-platform/asimov.rb)
52
+
53
+ [Ruby]: https://ruby-lang.org
data/UNLICENSE ADDED
@@ -0,0 +1,24 @@
1
+ This is free and unencumbered software released into the public domain.
2
+
3
+ Anyone is free to copy, modify, publish, use, compile, sell, or
4
+ distribute this software, either in source code form or as a compiled
5
+ binary, for any purpose, commercial or non-commercial, and by any
6
+ means.
7
+
8
+ In jurisdictions that recognize copyright laws, the author or authors
9
+ of this software dedicate any and all copyright interest in the
10
+ software to the public domain. We make this dedication for the benefit
11
+ of the public at large and to the detriment of our heirs and
12
+ successors. We intend this dedication to be an overt act of
13
+ relinquishment in perpetuity of all present and future rights to this
14
+ software under copyright law.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ For more information, please refer to <https://unlicense.org/>
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 25.0.0.dev.4
@@ -0,0 +1,63 @@
1
+ # This is free and unencumbered software released into the public domain.
2
+
3
+ require "pathname"
4
+
5
+ module ASIMOV; end
6
+
7
+ module ASIMOV::Config
8
+ ##
9
+ # @return [Pathname]
10
+ def self.path
11
+ Pathname(ENV["ASIMOV_HOME"] || "~/.asimov").expand_path
12
+ end
13
+
14
+ ##
15
+ # @return [Pathname]
16
+ def self.constructs_dir
17
+ self.path.join("constructs")
18
+ end
19
+
20
+ ##
21
+ # @return [Pathname]
22
+ def self.modules_dir
23
+ self.path.join("modules")
24
+ end
25
+
26
+ ##
27
+ # @yield [path]
28
+ # @yieldparam [Pathname] path
29
+ # @yieldreturn [void]
30
+ # @return [Enumerator]
31
+ def self.each_construct_dir(&block)
32
+ return enum_for(__method__) unless block_given?
33
+ self.each_dir(self.constructs_dir, &block)
34
+ end
35
+
36
+ ##
37
+ # @yield [path]
38
+ # @yieldparam [Pathname] path
39
+ # @yieldreturn [void]
40
+ # @return [Enumerator]
41
+ def self.each_module_dir(&block)
42
+ return enum_for(__method__) unless block_given?
43
+ self.each_dir(self.modules_dir, &block)
44
+ end
45
+
46
+ protected
47
+
48
+ ##
49
+ # @param [Pathname, #to_s] parent
50
+ # @yield [path]
51
+ # @yieldparam [Pathname] path
52
+ # @yieldreturn [void]
53
+ # @return [Enumerator]
54
+ def self.each_dir(parent, &block)
55
+ return enum_for(__method__, parent) unless block_given?
56
+ Pathname(parent).each_child do |path|
57
+ next if path.basename.to_s[0] == '.'
58
+ next if path.symlink? # omit aliases
59
+ next unless path.directory?
60
+ block.call(path)
61
+ end
62
+ end
63
+ end # ASIMOV::Config
@@ -0,0 +1,3 @@
1
+ # This is free and unencumbered software released into the public domain.
2
+
3
+ require_relative "asimov/config"
metadata ADDED
@@ -0,0 +1,107 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: asimov-config
3
+ version: !ruby/object:Gem::Version
4
+ version: 25.0.0.dev.4
5
+ platform: ruby
6
+ authors:
7
+ - ASIMOV Protocol
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 2025-02-15 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: rake
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '13'
19
+ type: :development
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '13'
26
+ - !ruby/object:Gem::Dependency
27
+ name: rspec
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '3.12'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '3.12'
40
+ - !ruby/object:Gem::Dependency
41
+ name: yard
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0.9'
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0.9'
54
+ - !ruby/object:Gem::Dependency
55
+ name: pathname
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0.4'
61
+ type: :runtime
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0.4'
68
+ description: ''
69
+ email: support@asimov.so
70
+ executables: []
71
+ extensions: []
72
+ extra_rdoc_files: []
73
+ files:
74
+ - AUTHORS
75
+ - CHANGES.md
76
+ - README.md
77
+ - UNLICENSE
78
+ - VERSION
79
+ - lib/asimov-config.rb
80
+ - lib/asimov/config.rb
81
+ homepage: https://sdk.asimov.so
82
+ licenses:
83
+ - Unlicense
84
+ metadata:
85
+ bug_tracker_uri: https://github.com/asimov-platform/asimov.rb/issues
86
+ changelog_uri: https://github.com/asimov-platform/asimov.rb/blob/master/CHANGES.md
87
+ documentation_uri: https://rubydoc.info/gems/asimov-config
88
+ homepage_uri: https://sdk.asimov.so
89
+ source_code_uri: https://github.com/asimov-platform/asimov.rb
90
+ rdoc_options: []
91
+ require_paths:
92
+ - lib
93
+ required_ruby_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '3.2'
98
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ requirements: []
104
+ rubygems_version: 3.6.2
105
+ specification_version: 4
106
+ summary: ASIMOV Software Development Kit (SDK) for Ruby
107
+ test_files: []