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 +4 -4
- data/lib/conjoin.rb +0 -8
- data/lib/conjoin/active_record.rb +6 -4
- data/lib/conjoin/assets.rb +11 -8
- data/lib/conjoin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 229e76464d2937ce690fa5075ce902aad53608cb
|
4
|
+
data.tar.gz: 13d06698cca5d5458e68c6c81d214d45a6a127ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df179a6cfd7f050559624393a019f9f9a78e85d312a1c4e7bd2f97ab39d30ad982408451be92ef66c052a43bee0a0e50beac2135af43460aa720a88f7835e9d2
|
7
|
+
data.tar.gz: 33d6cd1540f0e3eae89488f050897dff69d135f0114694469601529eb91f28aa4e7c6dff02bb341e6e7cba9548eeb01ac77c85027849880b92fcca5bc42293cb
|
data/lib/conjoin.rb
CHANGED
@@ -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
|
data/lib/conjoin/assets.rb
CHANGED
@@ -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
|
data/lib/conjoin/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2014-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cuba
|