conjoin 0.0.25 → 0.0.26

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: 26372a3315431bf1e314994038c933d7a759ff67
4
- data.tar.gz: d611e4998d57335d97c25c0dea5a17946ff15b3d
3
+ metadata.gz: 229e76464d2937ce690fa5075ce902aad53608cb
4
+ data.tar.gz: 13d06698cca5d5458e68c6c81d214d45a6a127ed
5
5
  SHA512:
6
- metadata.gz: e50b133909a1cc983ab66eb1fd5a77aede90a9d9662eee0ca5592574d02a4ca003287aba75f233267f0e30e0bf385359b10a7576f17cd64402c5148c31ef2d65
7
- data.tar.gz: fb544c0868d8e915c4bb89a2fe0767238b6fd6d94da0a3a5b9ead017e038644c99384d19ad5e64d4a78a46bde61fc4dadc71a98f817e2e7374942f957dd6bf0a
6
+ metadata.gz: df179a6cfd7f050559624393a019f9f9a78e85d312a1c4e7bd2f97ab39d30ad982408451be92ef66c052a43bee0a0e50beac2135af43460aa720a88f7835e9d2
7
+ data.tar.gz: 33d6cd1540f0e3eae89488f050897dff69d135f0114694469601529eb91f28aa4e7c6dff02bb341e6e7cba9548eeb01ac77c85027849880b92fcca5bc42293cb
@@ -9,14 +9,6 @@ require "conjoin/seeds"
9
9
  module Conjoin
10
10
  extend ClassMethods
11
11
 
12
- if not env.mounted?
13
- require 'active_record'
14
- require 'action_mailer'
15
- require 'slim'
16
- require "tilt/coffee"
17
- require "tilt/sass"
18
- end
19
-
20
12
  autoload :ActiveRecord, "conjoin/active_record"
21
13
  autoload :Assets , "conjoin/assets"
22
14
  autoload :Auth , "conjoin/auth"
@@ -1,3 +1,9 @@
1
+ require 'active_record'
2
+ require 'enumerize'
3
+ require 'protector'
4
+ require 'mini_record'
5
+ Protector::Adapters::ActiveRecord.activate!
6
+
1
7
  module Conjoin
2
8
  module ActiveRecord
3
9
  include ::ActiveRecord
@@ -7,14 +13,10 @@ module Conjoin
7
13
  end
8
14
 
9
15
  def self.setup app
10
- require 'mini_record'
11
16
  self.app = app
12
17
  ActiveRecord::Base.send :include, Form
13
18
 
14
19
  if not Conjoin.env.mounted?
15
- require 'enumerize'
16
- require 'protector'
17
- Protector::Adapters::ActiveRecord.activate!
18
20
  start_active_record
19
21
  ActiveRecord::Base.default_timezone = Time.zone
20
22
  end
@@ -1,3 +1,14 @@
1
+ require 'mimemagic'
2
+ require 'base64'
3
+ require 'slim'
4
+ require 'sass'
5
+ require 'ostruct'
6
+ require 'stylus'
7
+ require 'stylus/tilt/stylus'
8
+ require 'slim'
9
+ require "tilt/coffee"
10
+ require "tilt/sass"
11
+
1
12
  module Conjoin
2
13
  module Assets
3
14
  class << self
@@ -7,14 +18,6 @@ module Conjoin
7
18
  def self.setup app
8
19
  self.app = app
9
20
 
10
- require 'mimemagic'
11
- require 'base64'
12
- require 'slim'
13
- require 'sass'
14
- require 'ostruct'
15
- require 'stylus'
16
- require 'stylus/tilt/stylus'
17
-
18
21
  # if ENV['RACK_ENV'] != 'production'
19
22
  # require 'rugged'
20
23
  # end
@@ -1,3 +1,3 @@
1
1
  module Conjoin
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conjoin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-29 00:00:00.000000000 Z
11
+ date: 2014-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cuba