sack 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: 05c1077acfb574736f385455422765770d7ce410
4
- data.tar.gz: 166b0b3ceadbc85cb367ec2f76040931c475d15e
3
+ metadata.gz: c2490d6fa06201302120d44d10dcb76b33dddb82
4
+ data.tar.gz: 86e72e9b5d1979e083b83df349fc2f724a225748
5
5
  SHA512:
6
- metadata.gz: 06d99a6eb86667409de43670c958d1d204beec9f05e7ac7f8d54ecbcfce9961c3818afe3b88cd79115724e972ff2d79feeb019f98dac7f4c4435714488219f4c
7
- data.tar.gz: 1879ce43a4b7386fa56ad248118939bf0fd40716538a3fead642ce681c6035eeb81d5cb8c48742be50e7e852cc230619e453d863d75aed4df85a6c6521f3b4d0
6
+ metadata.gz: be1234cb58d2e5ab49090118fb8a53f6841f9073bf2cbe8462226579674a97025ea679aeaa2cb0c7b875dd96a117681205b5e65c54f9b78c1ce2dd57c83a5299
7
+ data.tar.gz: 7b58c7bbc84c2531e76f35b4b7fca2ff732db9443d027789b25186b5c94ac657a162ff06948a12cc0b526fa35db401f6078df9b0bf3c5a67999e3404acdab396
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Sack
2
2
 
3
- Minimalistic Database Layer based on SQLite3
3
+ Minimalistic Database Layer providing Models, Validation and Relationships
4
4
 
5
5
  ## Presentation
6
6
 
7
- This library provides a lightweight an easy-to-use database interface.
7
+ This library provides a small persistence framework, including models (programmatic description of entities), validation rules and relationships between models.
8
8
 
9
9
  ## Installation
10
10
 
@@ -34,7 +34,7 @@ SCHEMA = {
34
34
  # 'user' Table
35
35
  user: {
36
36
 
37
- # ID - Auto-Increment (:ai) Primary-Key (:pk) Integer (:int)
37
+ # ID - Integer (:int) Primary-Key (:pk) Auto-Increment (:ai)
38
38
  id: [:int, :pk, :ai],
39
39
 
40
40
  # Name - String
@@ -218,7 +218,7 @@ u = User.find db, id
218
218
  articles = u.articles(db)
219
219
  u = articles.first.author(db)
220
220
 
221
- # we can recurse as many levels as we want
221
+ # We can recurse as many levels as we want
222
222
  articles = u.articles(db).first.author(db).articles(db).first.author(db).articles(db)
223
223
  ```
224
224
 
@@ -5,5 +5,5 @@
5
5
  module Sack
6
6
 
7
7
  # Version
8
- VERSION = '1.0.1'
8
+ VERSION = '1.0.2'
9
9
  end
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ['Eresse']
10
10
  spec.email = ['eresse@eresse.net']
11
11
 
12
- spec.summary = 'Minimalistic Database Layer based on SQLite3'
12
+ spec.summary = 'Minimalistic Database Layer providing Models, Validation and Relationships'
13
13
  spec.description = 'Provides a lightweight an easy-to-use database interface.'
14
14
  spec.homepage = 'http://redmine.eresse.net/projects/sack'
15
15
  spec.license = 'MIT'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-24 00:00:00.000000000 Z
11
+ date: 2017-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -133,5 +133,5 @@ rubyforge_project:
133
133
  rubygems_version: 2.5.1
134
134
  signing_key:
135
135
  specification_version: 4
136
- summary: Minimalistic Database Layer based on SQLite3
136
+ summary: Minimalistic Database Layer providing Models, Validation and Relationships
137
137
  test_files: []