sanji 1.0.0.pre.1 → 1.0.0.pre.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sanji.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8ccbef365e1d8926e6e1f810cf031810b4902e3
|
4
|
+
data.tar.gz: dda25a1b7025459200c8403d1541bf5be56adc92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eebbdcbb71c15b38304520fd5f52ab6364ba4077970561c13c31164da906f93950b23f87a7daaf3b5fb71a96c1e1f4a159705dd87198ede6cb341534503417a4
|
7
|
+
data.tar.gz: 9b391f4dde2a74501a461aff548e6c78c16ca5b05943b5de53b17daaaf8571208bae8d8a5522218d8466aec3b91154354ad1b02256e31f86338074b4a6d784e0
|
data/lib/sanji.rb
CHANGED
@@ -14,7 +14,7 @@ require 'sanji/options'
|
|
14
14
|
|
15
15
|
# Require all utilities
|
16
16
|
Dir["#{File.dirname(__FILE__)}/sanji/utilities/*.rb"].each do |filename|
|
17
|
-
require filename.sub(
|
17
|
+
require filename.sub(/\.rb\z/, '')
|
18
18
|
end
|
19
19
|
|
20
20
|
require 'sanji/assistant'
|
@@ -24,13 +24,13 @@ require 'sanji/app_builder'
|
|
24
24
|
|
25
25
|
# Require all recipes
|
26
26
|
Dir["#{File.dirname(__FILE__)}/sanji/recipes/*.rb"].each do |filename|
|
27
|
-
require filename.sub(
|
27
|
+
require filename.sub(/\.rb\z/, '')
|
28
28
|
end
|
29
29
|
|
30
30
|
# Require user recipes
|
31
31
|
if Sanji::Options.instance.user_recipes_path
|
32
32
|
Dir["#{Sanji::Options.instance.user_recipes_path}/*.rb"].each do |filename|
|
33
|
-
require filename.sub(
|
33
|
+
require filename.sub(/\.rb\z/, '')
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|