mini_record 0.3.7 → 0.3.8
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/lib/mini_record/auto_schema.rb +3 -0
- data/lib/mini_record/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bbc6265309e053275dc3dd32840f6b5ed878d950
|
|
4
|
+
data.tar.gz: 66a0d5716fa446d1583533c7d29bd716cbac5e33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 06634731e1e072c1d8894560d6f547ea0759513cc8d25f88afabb673789ef84dfe858ac99d21082237b41f9242db850d70e3a0747c9bde8bd0d2f4ba5a9bb708
|
|
7
|
+
data.tar.gz: e9316a2df43aaeafdf191d4a592e7e27ea2ad009417d61070458db204cd804a811b1f5ea24316aafa05caa5c27a726415579f07fdefc9c48a876fe0700b3ad69
|
|
@@ -15,6 +15,9 @@ module MiniRecord
|
|
|
15
15
|
when 4
|
|
16
16
|
# Rails 4
|
|
17
17
|
ActiveRecord::ConnectionAdapters::TableDefinition.new(connection.native_database_types, table_name, false, {})
|
|
18
|
+
when -5
|
|
19
|
+
# Rails 4.1
|
|
20
|
+
ActiveRecord::ConnectionAdapters::TableDefinition.new(connection.native_database_types, table_name, false, {}, nil)
|
|
18
21
|
else
|
|
19
22
|
raise ArgumentError,
|
|
20
23
|
"Unsupported number of args for ActiveRecord::ConnectionAdapters::TableDefinition.new()"
|
data/lib/mini_record/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mini_record
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Davide D'Agostino
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-04-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: 3.2.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: 3.2.0
|
|
27
27
|
description: "\nWith it you can add the ability to create columns outside the default
|
|
@@ -33,8 +33,8 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- .gitignore
|
|
37
|
-
- .travis.yml
|
|
36
|
+
- ".gitignore"
|
|
37
|
+
- ".travis.yml"
|
|
38
38
|
- Gemfile
|
|
39
39
|
- README.md
|
|
40
40
|
- Rakefile
|
|
@@ -54,17 +54,17 @@ require_paths:
|
|
|
54
54
|
- lib
|
|
55
55
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
56
56
|
requirements:
|
|
57
|
-
- -
|
|
57
|
+
- - ">="
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
59
|
version: '0'
|
|
60
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
61
|
requirements:
|
|
62
|
-
- -
|
|
62
|
+
- - ">="
|
|
63
63
|
- !ruby/object:Gem::Version
|
|
64
64
|
version: '0'
|
|
65
65
|
requirements: []
|
|
66
66
|
rubyforge_project: mini_record
|
|
67
|
-
rubygems_version: 2.
|
|
67
|
+
rubygems_version: 2.2.2
|
|
68
68
|
signing_key:
|
|
69
69
|
specification_version: 4
|
|
70
70
|
summary: MiniRecord is a micro gem that allow you to write schema inside your model
|