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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sanji.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f13d7a1af1f0d2edf708a58d578a712f907fee0
4
- data.tar.gz: c7bad2377c6be921fb2eebcb0be840dffe3cfb61
3
+ metadata.gz: a8ccbef365e1d8926e6e1f810cf031810b4902e3
4
+ data.tar.gz: dda25a1b7025459200c8403d1541bf5be56adc92
5
5
  SHA512:
6
- metadata.gz: 699d5133e49fd48fbe0fa8f5ea938e84edb50423503ce924ce8934c97c6cf4364ea138882d79cf0bbfb89fa1a1ffba36fea06237cd8d441947ba37a49bdcd3de
7
- data.tar.gz: 6261997f340b575fee6db4c7b1cbd2df0b4d148bd899eceab473c3583d7cce29d5c6d67d41a5e3fd1cdf52de1426464f70e4aa3191b81e441fd806c86976c370
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('.rb', '')
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('.rb', '')
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('.rb', '')
33
+ require filename.sub(/\.rb\z/, '')
34
34
  end
35
35
  end
36
36
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sanji
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.1
4
+ version: 1.0.0.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Paragua