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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rails-dsl/lib_mounter.rb +14 -5
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb475814640be0c5130ad6cb9702b8693c01d18b
4
- data.tar.gz: a673939081f26b3d5b5c55b04890f763c9806db3
3
+ metadata.gz: c11a6099be8bb535d8b94511192cbc49979073fc
4
+ data.tar.gz: ef715b0f719a1798802b0d4c2ce61de1b3ab26eb
5
5
  SHA512:
6
- metadata.gz: 8ea44a64484abf85e3e7245dd376f39c69fae5499905f344e4456caaeec4e4deb43af020b1959202e9c243d3870ccf74c8f16350a6dddcb9dd55777bfc81dec2
7
- data.tar.gz: ec9a57c0059fbe47f2803ae5f9386bc650e0c11c4aa72d27151a120b4d451510a0ee6b76569806b728edcc1551eda6bbc68c194eeb09de3b5970b661b0f75b56
6
+ metadata.gz: 571cc346d53d4cc82401ae00baea0fd78f338416357a3246cfbba80ce2f940c4a5d7212a73699f56aac44c3c40e5879413bf71fc4a54273f7afbe607770b3bde
7
+ data.tar.gz: 6b46ac78e52bdd021b66518b22ec2f80b478984a5f397fd9dcdd1b61643ac6c8be442ceb7feba4bdaddb353c455144bb34ab2ccd5610de6774b80b0f3d3782f1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.1
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
- sleep(0.5) while Rails.root.nil?
5
- if File.exist?(Rails.root.join('lib','boot.rb'))
6
- require Rails.root.join('lib','boot.rb')
7
- else
8
- Dir.glob( Rails.root.join('lib','*.{ru,rb}') ).each { |p| require(p) }
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.1
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-07-09 00:00:00.000000000 Z
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: