active_record_inline_schema 0.5.0 → 0.5.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.
- data/CHANGELOG +6 -0
- data/README.md +1 -1
- data/lib/active_record_inline_schema.rb +3 -3
- data/lib/active_record_inline_schema/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/README.md
CHANGED
@@ -33,7 +33,7 @@ Lots and lots of use in the [`earth` library](https://github.com/brighterplanet/
|
|
33
33
|
Airport.auto_upgrade!
|
34
34
|
|
35
35
|
class ApiResponse < ActiveRecord::Base
|
36
|
-
# store with: self.
|
36
|
+
# store with: self.raw_body = Zlib::Deflate.deflate(body, Zlib::BEST_SPEED)
|
37
37
|
# retrieve with: Zlib::Inflate.inflate(raw_body).force_encoding 'UTF-8'
|
38
38
|
# just an idea!
|
39
39
|
col :raw_body, :type => 'varbinary(16384)'
|
@@ -1,12 +1,12 @@
|
|
1
1
|
require 'active_support/core_ext'
|
2
2
|
require 'active_record'
|
3
3
|
|
4
|
+
module ActiveRecordInlineSchema
|
5
|
+
end
|
6
|
+
|
4
7
|
require 'active_record_inline_schema/config'
|
5
8
|
require 'active_record_inline_schema/config/column'
|
6
9
|
require 'active_record_inline_schema/config/index'
|
7
10
|
require 'active_record_inline_schema/active_record_class_methods'
|
8
11
|
|
9
|
-
module ActiveRecordInlineSchema
|
10
|
-
end
|
11
|
-
|
12
12
|
ActiveRecord::Base.extend ActiveRecordInlineSchema::ActiveRecordClassMethods
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record_inline_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-04-
|
13
|
+
date: 2012-04-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: lock_method
|