drumherum 0.1.33 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/drumherum/smart_init.rb +3 -3
- data/version.rb +1 -1
- metadata +2 -2
data/lib/drumherum/smart_init.rb
CHANGED
|
@@ -157,7 +157,7 @@ module SmartInit
|
|
|
157
157
|
|
|
158
158
|
def smart_init(__file__ = nil)
|
|
159
159
|
__file__ = caller[0] unless __file__
|
|
160
|
-
dir_caller =File.dirname(__file__)
|
|
160
|
+
dir_caller =File.expand_path(File.dirname(__file__))
|
|
161
161
|
|
|
162
162
|
#puts "smart_init " + dir_caller
|
|
163
163
|
|
|
@@ -199,13 +199,13 @@ module SmartInit
|
|
|
199
199
|
# end
|
|
200
200
|
|
|
201
201
|
# /projectname/lib
|
|
202
|
-
newpath = File.join(patharray,'lib')
|
|
202
|
+
newpath = File.join(patharray,'lib')
|
|
203
203
|
unless $:.include?(newpath)
|
|
204
204
|
$:.unshift(newpath)
|
|
205
205
|
end
|
|
206
206
|
|
|
207
207
|
# /projectname
|
|
208
|
-
newpath = File.join(patharray)
|
|
208
|
+
newpath = File.join(patharray)
|
|
209
209
|
unless $:.include?(newpath)
|
|
210
210
|
$:.unshift(newpath)
|
|
211
211
|
end
|
data/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: drumherum
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.34
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-11-
|
|
12
|
+
date: 2012-11-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: hoe
|