schema_monkey 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c612663f6a1e5c31627f6ef0024e75531f533579
4
- data.tar.gz: 551f3b30c99fc9e738626ce487b1ee3cf68a4f4d
3
+ metadata.gz: ed3dab4edfea62a3b257c74ee6a1dbf073eccaae
4
+ data.tar.gz: 401761ac3271ad840abd0df3da2e3260487688ee
5
5
  SHA512:
6
- metadata.gz: 420799780c8ef28be34d220991414ad9cdd95452eba3d9a3e5968b24401387b22b987e729c2f3d594555a72ccd9824c273f4574363306b01071be86a2aad4cfb
7
- data.tar.gz: 9748a23a82e7ea643747f6f00c6aa5ba474c4f7cdf3e183abd1c7c9244106b00eaa1db5cd7611afe95d7337e89b5044cb2ad13be59db400ade524484e9061be9
6
+ metadata.gz: 8548b6671077e6415af86d914f953e177a872d266c5080bb99a1f2f23d6cb92e7a6a8d279f672da2957fb643da56202f7ee6276e0adb080cf47fe0bb741eb139
7
+ data.tar.gz: 51e70f4c17c995572d86749dacfe9601ab38aa6642eef9457a4f7b7aa50a1aa5f258d03992b156bc692b91686cda5e96e8a88d2c682b18c2a73695c78ad5ec36
data/README.md CHANGED
@@ -232,7 +232,7 @@ SchemaMonkey is tested on:
232
232
  <!-- SCHEMA_DEV: MATRIX - end -->
233
233
 
234
234
  ## Release Notes
235
-
235
+ * 2.1.2 -- Insert self earlier; don't wait for connection adapter to be instantiated. Fixes #6 re `db:schema:load`
236
236
  * 2.1.1 -- Bug fix: don't choke if a module contains a BasicObject const
237
237
  * 2.1.0 -- First version to support all of schema_plus's needs for the 1.8.7 -> 2.0 upgrade
238
238
 
@@ -1,3 +1,3 @@
1
1
  module SchemaMonkey
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
data/lib/schema_monkey.rb CHANGED
@@ -27,6 +27,7 @@ module SchemaMonkey
27
27
 
28
28
  def self.register(mod)
29
29
  monkey.register(mod)
30
+ self.insert
30
31
  end
31
32
 
32
33
  def self.insert(opts={})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_monkey
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ronen barzel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-24 00:00:00.000000000 Z
11
+ date: 2015-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord