hairtrigger 0.2.15 → 0.2.16

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: 626460677ceaa19be59baad0532d142bb45ba072
4
- data.tar.gz: d2beebf4d2531400d04fa6ed545bebb2f849598a
3
+ metadata.gz: 18969e429296603449a65f1a4e0268482bf9d1b2
4
+ data.tar.gz: 5e6f494601e11d27f492f62b0839c01b943ea90a
5
5
  SHA512:
6
- metadata.gz: c3b9cfbee129c14b01d6cfa4d00b3e9ac8ea9a2fe9f20dcc1199c38e7ef8b7f92cbe2e0dd9148c0975f273b8870c80c25de28181754e888118cfd593a0617d86
7
- data.tar.gz: 9213b2f59bae5879c013db5194105cbffd93e2cebcdb77f0089a2cda69a09d965da320d08f3457dc1debae8107ab958e9928726d3345f3f22d1c4f355102cd86
6
+ metadata.gz: fa7550887ab90318ac0fc9ff37566a52f1e1c824ac6f71302146916cfbc13958bdb93bb1006df315d33c96ac24d1c5d52a7f5e177af273150b539a076f59d822
7
+ data.tar.gz: 12c2d95c29e9a45d1abbbe49b7796f319e832eecc3b6faaa070b9b2912ffff4a163528febf7304fafcb9bb5e9dbf348861a8c4ef2932be23861cded596d222ff
@@ -1,13 +1,16 @@
1
1
  require 'ostruct'
2
+ require 'active_record'
2
3
  require 'hair_trigger/base'
3
- require 'hair_trigger/builder'
4
- require 'hair_trigger/migration_reader'
5
4
  require 'hair_trigger/migrator'
6
5
  require 'hair_trigger/adapter'
7
6
  require 'hair_trigger/schema_dumper'
8
7
  require 'hair_trigger/railtie' if defined?(Rails::Railtie)
9
8
 
10
9
  module HairTrigger
10
+
11
+ autoload :Builder, 'hair_trigger/builder'
12
+ autoload :MigrationReader, 'hair_trigger/migration_reader'
13
+
11
14
  class << self
12
15
  attr_writer :model_path, :schema_rb_path, :migration_path
13
16
 
@@ -1,5 +1,5 @@
1
1
  module HairTrigger
2
- VERSION = "0.2.15"
2
+ VERSION = "0.2.16"
3
3
 
4
4
  def VERSION.<=>(other)
5
5
  split(/\./).map(&:to_i) <=> other.split(/\./).map(&:to_i)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hairtrigger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.15
4
+ version: 0.2.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Jensen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-21 00:00:00.000000000 Z
11
+ date: 2015-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord