active_cabinet 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 774c19d270fc5767611ad0b42eaa06f7b98c3bae2bdfa2e4f8f0e382629daf59
4
- data.tar.gz: 4d48778ba0cd2294b047d0292c87e963c4c16823a1effe6f93a207afeb182713
3
+ metadata.gz: 9adb36f6d291c160a960599e7de79f3f9d08afb3f1536364dfc57c103d81254f
4
+ data.tar.gz: 5a4bfd4907203cb963f1b7102b14701dcfbcefe44fb8dc2e7f0d4ab87af2f03b
5
5
  SHA512:
6
- metadata.gz: 9e9e84e8ae733967cee88489b45020c68609ef67172d5a0c8b9e3540d946d8a0a9d32e139362f95a3d0aa3f545c1a612c1993f3a4327f67559506d98c3ab8620
7
- data.tar.gz: 3a9a02b9f0c0df27479db9ba4f6ae8c6e17cd3f10caad24fe00e669c7402f19b3dddc4461553d25e9b7cf61588b4bf668cf9b194bbf3cce27a319de7c2bb297f
6
+ metadata.gz: b4df4f37043c8285d3333e21161d4a681f375a8a80e63a57f1c0f797bbd6669617e95d4ccdee653aac9ed7bd488dfe4f10ebe00477c147f0c47c4185415e7a42
7
+ data.tar.gz: f76c0f806f6aa0d14c392243cea42585ef108daf8a059659344893a21eee7044d0420bc39045eb39c20effe6ebccdfde9d59b664a5393209598837fa08c7eb45
data/README.md CHANGED
@@ -1,14 +1,20 @@
1
1
  ActiveCabinet
2
2
  ==================================================
3
3
 
4
+ [![Gem Version](https://badge.fury.io/rb/active_cabinet.svg)](https://badge.fury.io/rb/active_cabinet)
5
+ [![Build Status](https://github.com/DannyBen/active_cabinet/workflows/Test/badge.svg)](https://github.com/DannyBen/active_cabinet/actions?query=workflow%3ATest)
6
+ [![Maintainability](https://api.codeclimate.com/v1/badges/a4302349baf2d20e2af8/maintainability)](https://codeclimate.com/github/DannyBen/active_cabinet/maintainability)
7
+
4
8
  ---
5
9
 
6
- ActiveCabinet is an ActiveRecord-inspired interface for HashCabinet, the
10
+ An ActiveRecord-inspired interface for [HashCabinet], the
7
11
  file-basd key-object store.
8
12
 
9
13
  It allows you to create models that are stored in a file-based key-value
10
14
  store, backed by Ruby's built in [SDBM].
11
15
 
16
+ ActiveCabinet is a tiny library, with only [HashCabinet] as a dependency.
17
+
12
18
  ---
13
19
 
14
20
  Installation
@@ -83,7 +89,7 @@ song.valid? # => true
83
89
 
84
90
  You can also restrict the allowed optional attributes
85
91
 
86
- ```
92
+ ```ruby
87
93
  class Song < ActiveCabinet
88
94
  required_attributes :title
89
95
  optional_attributes :artist
@@ -125,12 +131,18 @@ class Song < ActiveCabinet
125
131
  end
126
132
  ```
127
133
 
128
- For the full documentation, see the [Documentation on RubyDoc][docs]
134
+ ## Documentation
129
135
 
136
+ [Documentation on RubyDoc][docs]
130
137
 
131
- [SDBM]: https://ruby-doc.org/stdlib-2.6.3/libdoc/sdbm/rdoc/SDBM.html
132
- [docs]: https://rubydoc.info/gems/active_cabinet
138
+ ## Contributing / Support
139
+
140
+ If you experience any issue, have a question or a suggestion, or if you wish
141
+ to contribute, feel free to [open an issue][issues].
133
142
 
134
143
  ---
135
144
 
136
- [SDBM]: https://ruby-doc.org/stdlib-2.7.1/libdoc/sdbm/rdoc/SDBM.html
145
+ [SDBM]: https://ruby-doc.org/stdlib-2.7.1/libdoc/sdbm/rdoc/SDBM.html
146
+ [docs]: https://rubydoc.info/gems/active_cabinet
147
+ [issues]: https://github.com/DannyBen/active_cabinet/issues
148
+ [HashCabinet]: https://github.com/DannyBen/hash_cabinet
@@ -1,3 +1,3 @@
1
1
  class ActiveCabinet
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_cabinet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
@@ -39,7 +39,10 @@ files:
39
39
  homepage: https://github.com/dannyben/active_cabinet
40
40
  licenses:
41
41
  - MIT
42
- metadata: {}
42
+ metadata:
43
+ bug_tracker_uri: https://github.com/DannyBen/active_cabinet/issues
44
+ documentation_uri: https://rubydoc.info/gems/active_cabinet
45
+ source_code_uri: https://github.com/dannyben/active_cabinet
43
46
  post_install_message:
44
47
  rdoc_options: []
45
48
  require_paths: