dbwrapper 0.2.0 → 0.2.1
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 +4 -4
- data/README.md +26 -1
- data/lib/dbwrapper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f762fabe31688b2ea19c7195bce37f4b7e2277a9
|
4
|
+
data.tar.gz: 654c0e196c2cf66f37943c7e29ca41a19154791c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c03f7f6e141fde9a8cae719a51557cd74803e438685cad9a9bd08d864215e6fdc4b1b60087c6fcc68d8e9c6b33b9c9c61c4f296b9e77e1d5a2c98276e4d06e02
|
7
|
+
data.tar.gz: 05648785fd134026b03b8c9cc5317fadb840381865193798fa27059e8eb0bfd5ed944c56574561b8aaa7d3095fc308ebed7d77e8ddae2e2d1868dc08fd45ad7d
|
data/README.md
CHANGED
@@ -10,13 +10,38 @@ Add this line to your application's Gemfile:
|
|
10
10
|
|
11
11
|
gem 'dbwrapper'
|
12
12
|
|
13
|
+
Add this line if you use sqlite3
|
14
|
+
|
15
|
+
gem 'sqlite3'
|
16
|
+
|
17
|
+
Add these lines if you use postgresql
|
18
|
+
|
19
|
+
gem 'pg'
|
20
|
+
gem 'pg_typecast'
|
21
|
+
|
22
|
+
Add these lines if you use mysql2
|
23
|
+
|
24
|
+
gem 'mysql2'
|
25
|
+
gem 'mysql2-cs-bind'
|
26
|
+
|
13
27
|
And then execute:
|
14
28
|
|
15
29
|
$ bundle
|
16
30
|
|
17
31
|
Or install it yourself as:
|
18
32
|
|
19
|
-
|
33
|
+
#with sqlite3
|
34
|
+
$ gem install dbwrapper sqlite3
|
35
|
+
|
36
|
+
#with postgresql
|
37
|
+
$ gem install dbwrapper pg pg_typecast
|
38
|
+
|
39
|
+
#with mysql2
|
40
|
+
$ gem install dbwrapper mysql2 mysql2-cs-bind
|
41
|
+
|
42
|
+
#or all
|
43
|
+
$ gem install dbwrapper sqlite3 pg pg_typecast mysql2 mysql2-cs-bind
|
44
|
+
|
20
45
|
|
21
46
|
## Usage
|
22
47
|
|
data/lib/dbwrapper/version.rb
CHANGED