sqlite3_json_rails4 1.0.0 → 1.0.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 +13 -8
- data/lib/sqlite3_json_rails4/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1077812a4194bdbb92928440420c303e9c28267695b526db6646c3114f2d4645
|
|
4
|
+
data.tar.gz: 7b3d4c11ae4ae6e76dda168a82f426cf89ae47c1e9fbd21d4049175c738cbe03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ca18fba46034aa7bc892e58fd04fcf5568c0d29a758129fdba83bf876277cfff3150a87eddc9a6b4a53583904a29be7f062f58df733ae3cb08b35ee16138462
|
|
7
|
+
data.tar.gz: 1b9c37df3cc5c3bd50786b1297c5fac077eaaa453b9c3b0a8da323bba43916c6fb5168bbf53fbe9dfa5dc8de3adc7be809571423dc542231e690f97546076909
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Get JSON columns in SQLite on Rails 4
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
The SQLite3 adapter in Rails doesn't include JSON support until Rails 5. If
|
|
4
|
+
you're one of the poor saps wanting to use JSON columns but needing to
|
|
5
|
+
support Rails 4 in your gems or apps, this gem is for you.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -22,14 +22,19 @@ Or install it yourself as:
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
This gem integrates with the Rails loading process by way of a railtie. All you
|
|
26
|
+
need to do is make sure it's `require`d, whether that's by adding it to your
|
|
27
|
+
Gemfile, or having `require 'sqlite3_json_rails4'` somewhere else.
|
|
26
28
|
|
|
27
29
|
## Development
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
To obtain this gem's dependencies, run `bundle install`.
|
|
32
|
+
|
|
33
|
+
To run static tests, run `bundle exec rake static`.
|
|
30
34
|
|
|
31
|
-
To
|
|
35
|
+
To run Ruby tests, run `bundle exec rake test`.
|
|
32
36
|
|
|
33
37
|
## Contributing
|
|
34
38
|
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at
|
|
39
|
+
Bug reports and pull requests are welcome on GitHub at
|
|
40
|
+
https://github.com/miriamtech/sqlite3_json_rails4.
|