taupe 0.5.3
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 +7 -0
- data/.rubocop.yml +10 -0
- data/Gemfile +6 -0
- data/LICENSE +21 -0
- data/README.md +176 -0
- data/Rakefile +28 -0
- data/lib/taupe/cache/memcached.rb +40 -0
- data/lib/taupe/cache/redis.rb +41 -0
- data/lib/taupe/cache.rb +95 -0
- data/lib/taupe/core.rb +74 -0
- data/lib/taupe/database/mysql.rb +70 -0
- data/lib/taupe/database/postgresql.rb +89 -0
- data/lib/taupe/database/sqlite.rb +73 -0
- data/lib/taupe/database.rb +138 -0
- data/lib/taupe/model/table.rb +192 -0
- data/lib/taupe/model/validate.rb +50 -0
- data/lib/taupe/model.rb +47 -0
- data/lib/taupe.rb +26 -0
- data/spec/database_spec.rb +59 -0
- data/spec/model_spec.rb +56 -0
- data/spec/taupe_spec.rb +14 -0
- data/spec/validator_spec.rb +43 -0
- data/taupe.gemspec +22 -0
- metadata +66 -0
data/taupe.gemspec
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# File: taupe.gemspec
|
2
|
+
# Time-stamp: <2014-09-11 16:31:28 pierre>
|
3
|
+
# Copyright (C) 2014 Pierre Lecocq
|
4
|
+
# Description: Taupe library gemspec file
|
5
|
+
|
6
|
+
require File.expand_path('../lib/taupe', __FILE__)
|
7
|
+
|
8
|
+
Gem::Specification.new do |gem|
|
9
|
+
gem.name = 'taupe'
|
10
|
+
gem.require_paths = ['lib']
|
11
|
+
gem.version = Taupe::VERSION
|
12
|
+
gem.files =
|
13
|
+
%w(README.md Gemfile Rakefile LICENSE taupe.gemspec .rubocop.yml) +
|
14
|
+
`git ls-files lib spec`.split("\n")
|
15
|
+
|
16
|
+
gem.authors = ['Pierre Lecocq']
|
17
|
+
gem.email = ['pierre.lecocq@gmail.com']
|
18
|
+
gem.summary = 'A model manager with database and cache backends in ruby'
|
19
|
+
gem.description = 'Keep your database '
|
20
|
+
gem.homepage = 'https://github.com/pierre-lecocq/taupe'
|
21
|
+
gem.date = '2014-08-01'
|
22
|
+
end
|
metadata
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: taupe
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Pierre Lecocq
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-08-01 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: 'Keep your database '
|
14
|
+
email:
|
15
|
+
- pierre.lecocq@gmail.com
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- ".rubocop.yml"
|
21
|
+
- Gemfile
|
22
|
+
- LICENSE
|
23
|
+
- README.md
|
24
|
+
- Rakefile
|
25
|
+
- lib/taupe.rb
|
26
|
+
- lib/taupe/cache.rb
|
27
|
+
- lib/taupe/cache/memcached.rb
|
28
|
+
- lib/taupe/cache/redis.rb
|
29
|
+
- lib/taupe/core.rb
|
30
|
+
- lib/taupe/database.rb
|
31
|
+
- lib/taupe/database/mysql.rb
|
32
|
+
- lib/taupe/database/postgresql.rb
|
33
|
+
- lib/taupe/database/sqlite.rb
|
34
|
+
- lib/taupe/model.rb
|
35
|
+
- lib/taupe/model/table.rb
|
36
|
+
- lib/taupe/model/validate.rb
|
37
|
+
- spec/database_spec.rb
|
38
|
+
- spec/model_spec.rb
|
39
|
+
- spec/taupe_spec.rb
|
40
|
+
- spec/validator_spec.rb
|
41
|
+
- taupe.gemspec
|
42
|
+
homepage: https://github.com/pierre-lecocq/taupe
|
43
|
+
licenses: []
|
44
|
+
metadata: {}
|
45
|
+
post_install_message:
|
46
|
+
rdoc_options: []
|
47
|
+
require_paths:
|
48
|
+
- lib
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
requirements: []
|
60
|
+
rubyforge_project:
|
61
|
+
rubygems_version: 2.2.2
|
62
|
+
signing_key:
|
63
|
+
specification_version: 4
|
64
|
+
summary: A model manager with database and cache backends in ruby
|
65
|
+
test_files: []
|
66
|
+
has_rdoc:
|