daemon-ogre 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.md +3 -3
  2. data/README.rdoc +2 -2
  3. data/VERSION +1 -1
  4. data/lib/daemon-ogre.rb +4 -4
  5. metadata +3 -3
data/README.md CHANGED
@@ -104,9 +104,9 @@ Example:
104
104
  or
105
105
 
106
106
  require_directory "some_dir_name_from_here_where_are_multi_dir_levels",
107
- :delayed => ["files","to","be","delayed","in","load"],
108
- :exclude => ["files","to","be","exclude","in","load"],
109
- :type => "rb"
107
+ :delayed => ["files","to","be","delayed","in","load"],
108
+ :excluded => ["files","to","be","excluded","in","load"],
109
+ :type => "rb"
110
110
 
111
111
  remember, you can use any of those modifier hash-tag by it self only! :)
112
112
  by default the type will be .rb files
data/README.rdoc CHANGED
@@ -104,8 +104,8 @@ Example:
104
104
  or
105
105
 
106
106
  require_directory "some_dir_name_from_here_where_are_multi_dir_levels",
107
- :delayed => ["files","to","be","delayed","in","load"],
108
- :exclude => ["files","to","be","exclude","in","load"],
107
+ :delay => ["files","to","be","delayed","in","load"],
108
+ :exclude => ["files","to","be","excluded","in","load"],
109
109
  :type => "rb"
110
110
 
111
111
  remember, you can use any of those modifier hash-tag by it self only! :)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.1
1
+ 1.4.2
data/lib/daemon-ogre.rb CHANGED
@@ -15,9 +15,9 @@ begin
15
15
  "Array! Example:\n:delayed => ['abc']" if arg[:delayed].class != Array
16
16
  end
17
17
 
18
- if !arg[:exclude].nil?
18
+ if !arg[:excluded].nil?
19
19
  raise ArgumentError, "Exclude items must be in an "+\
20
- "Array! Example:\n:exclude => ['abc']" if arg[:exclude].class != Array
20
+ "Array! Example:\n:exclude => ['abc']" if arg[:excluded].class != Array
21
21
  end
22
22
 
23
23
  arg[:type]= "rb" if arg[:type].nil?
@@ -30,9 +30,9 @@ begin
30
30
  Dir["#{directory}/**/*.#{arg[:type]}"].each do |file|
31
31
 
32
32
  arg[:delayed]= [nil] if arg[:delayed].nil?
33
- arg[:exclude]= [nil] if arg[:exclude].nil?
33
+ arg[:excluded]= [nil] if arg[:excluded].nil?
34
34
 
35
- arg[:exclude].each do |except|
35
+ arg[:excluded].each do |except|
36
36
  if file.split('/').last.split('.').first == except.to_s.split('.').first
37
37
  puts file.to_s + " cant be loaded because it's an exception" if $DEBUG
38
38
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daemon-ogre
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
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: 2013-06-06 00:00:00.000000000 Z
12
+ date: 2013-07-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc
@@ -112,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  segments:
114
114
  - 0
115
- hash: -913428925438343889
115
+ hash: -3029381201478773022
116
116
  required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements: