rails-dsl 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rails-dsl/lib_mounter.rb +14 -5
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c11a6099be8bb535d8b94511192cbc49979073fc
|
4
|
+
data.tar.gz: ef715b0f719a1798802b0d4c2ce61de1b3ab26eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 571cc346d53d4cc82401ae00baea0fd78f338416357a3246cfbba80ce2f940c4a5d7212a73699f56aac44c3c40e5879413bf71fc4a54273f7afbe607770b3bde
|
7
|
+
data.tar.gz: 6b46ac78e52bdd021b66518b22ec2f80b478984a5f397fd9dcdd1b61643ac6c8be442ceb7feba4bdaddb353c455144bb34ab2ccd5610de6774b80b0f3d3782f1
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.2
|
@@ -1,11 +1,20 @@
|
|
1
1
|
# in most of my project i use a boot.rb file in the libs folder for 3. party libs
|
2
2
|
Thread.new do
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
4
|
+
#> wait for 60 sec try else give up, no inf loop chance!
|
5
|
+
120.times do
|
6
|
+
if Rails.root.nil?
|
7
|
+
sleep(0.5)
|
8
|
+
else
|
9
|
+
|
10
|
+
if File.exist?(File.join(Rails.root,'lib','boot.rb'))
|
11
|
+
require File.join(Rails.root,'lib','boot.rb')
|
12
|
+
else
|
13
|
+
Dir.glob( File.join(Rails.root,'lib','*.{ru,rb}') ).each { |p| require(p) }
|
14
|
+
end
|
15
|
+
break
|
16
|
+
|
17
|
+
end
|
9
18
|
end
|
10
19
|
|
11
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Luzsi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -107,3 +107,4 @@ signing_key:
|
|
107
107
|
specification_version: 4
|
108
108
|
summary: Provide Rails with some extra tools for easier life
|
109
109
|
test_files: []
|
110
|
+
has_rdoc:
|