https://github.com/dkubb/axiom-types
Define types with optional constraints
https://github.com/dkubb/axiom-types
Keywords from Contributors
dry-rb ruby-syntax unparser
Last synced: about 6 hours ago
JSON representation
Repository metadata
Define types with optional constraints
- Host: GitHub
- URL: https://github.com/dkubb/axiom-types
- Owner: dkubb
- License: mit
- Created: 2013-01-27T06:51:29.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2021-04-12T00:39:59.000Z (over 4 years ago)
- Last Synced: 2025-11-28T02:58:59.426Z (12 days ago)
- Language: Ruby
- Homepage:
- Size: 300 KB
- Stars: 38
- Watchers: 4
- Forks: 7
- Open Issues: 4
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
README.md
axiom-types
Define types with optional constraints for use within axiom and other libraries.
Examples
# Setup constraints for all defined types
Axiom::Types.finalize
# Create Name subtype
Name = Axiom::Types::String.new do
minimum_length 1
maximum_length 30
end
# Test if the string is a member of the type
Name.include?('a') # => true
Name.include?('a' * 30) # => true
Name.include?('') # => false
Name.include?('a' * 31) # => false
Contributing
See CONTRIBUTING.md for details.
Copyright
Copyright © 2013 Dan Kubb. See LICENSE for details.
Owner metadata
- Name: Dan Kubb
- Login: dkubb
- Email:
- Kind: user
- Description:
- Website:
- Location: Mission, BC, Canada
- Twitter: dkubb
- Company: Betterment
- Icon url: https://avatars.githubusercontent.com/u/133?v=4
- Repositories: 42
- Last ynced at: 2023-04-10T00:16:29.799Z
- Profile URL: https://github.com/dkubb
GitHub Events
Total
Last Year
Committers metadata
Last synced: 3 days ago
Total Commits: 318
Total Committers: 6
Avg Commits per committer: 53.0
Development Distribution Score (DDS): 0.035
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Dan Kubb | d****b@g****m | 307 |
| Markus Schirp | m****j@s****m | 5 |
| Piotr Solnica | p****a@g****m | 3 |
| snusnu | g****a@g****m | 1 |
| Nico Rieck | n****k@g****m | 1 |
| Ken Dreyer | k****r@k****m | 1 |
Committer domains:
- ktdreyer.com: 1
- schirp-dso.com: 1
Issue and Pull Request metadata
Last synced: about 1 month ago
Total issues: 12
Total pull requests: 6
Average time to close issues: 29 days
Average time to close pull requests: about 2 months
Total issue authors: 10
Total pull request authors: 4
Average comments per issue: 2.83
Average comments per pull request: 2.33
Merged pull request: 3
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- solnic (3)
- ktdreyer (1)
- karlfreeman (1)
- smortex (1)
- jlecour (1)
- swistaczek (1)
- cored (1)
- hggh (1)
- dkubb (1)
- terlar (1)
Top Pull Request Authors
- dkubb (3)
- gix (1)
- ktdreyer (1)
- kalleth (1)
Top Issue Labels
- question (2)
- bug (1)
Top Pull Request Labels
- enhancement (2)
Package metadata
- Total packages: 3
-
Total downloads:
- rubygems: 238,284,926 total
- Total docker downloads: 1,104,910,656
- Total dependent packages: 5 (may contain duplicates)
- Total dependent repositories: 9,396 (may contain duplicates)
- Total versions: 20
- Total maintainers: 3
gem.coop: axiom-types
Define types with optional constraints for use within axiom and other libraries.
- Homepage: https://github.com/dkubb/axiom-types
- Documentation: http://www.rubydoc.info/gems/axiom-types/
- Licenses: MIT
- Latest release: 0.1.1 (published over 11 years ago)
- Last Synced: 2025-12-09T02:02:39.537Z (1 day ago)
- Versions: 7
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 119,142,463 Total
- Docker Downloads: 552,455,328
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.08%
- Docker downloads count: 0.117%
- Downloads: 0.205%
- Maintainers (3)
rubygems.org: axiom-types
Define types with optional constraints for use within axiom and other libraries.
- Homepage: https://github.com/dkubb/axiom-types
- Documentation: http://www.rubydoc.info/gems/axiom-types/
- Licenses: MIT
- Latest release: 0.1.1 (published over 11 years ago)
- Last Synced: 2025-12-09T02:02:39.536Z (1 day ago)
- Versions: 7
- Dependent Packages: 5
- Dependent Repositories: 9,396
- Downloads: 119,142,463 Total
- Docker Downloads: 552,455,328
-
Rankings:
- Downloads: 0.198%
- Docker downloads count: 0.209%
- Dependent repos count: 0.341%
- Dependent packages count: 2.811%
- Average: 4.059%
- Stargazers count: 8.681%
- Forks count: 12.112%
- Maintainers (3)
proxy.golang.org: github.com/dkubb/axiom-types
- Homepage:
- Documentation: https://pkg.go.dev/github.com/dkubb/axiom-types#section-documentation
- Licenses: mit
- Latest release: v0.1.1 (published over 11 years ago)
- Last Synced: 2025-12-09T02:02:40.930Z (1 day ago)
- Versions: 6
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 6.413%
- Forks count: 8.176%
- Average: 8.742%
- Dependent packages count: 9.576%
- Dependent repos count: 10.802%
Dependencies
- devtools = 0.0.2 development
- rubysl-bigdecimal ~> 2.0.2
- bundler >= 0 development
- descendants_tracker ~> 0.0, >= 0.0.4
- ice_nine ~> 0.11, >= 0.11.0
- thread_safe ~> 0.3, >= 0.3.1
Score: 26.547753741701587




