mobilize-base 1.373 → 1.374
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mobilize-base.rb +2 -1
- data/lib/mobilize-base/version.rb +1 -1
- metadata +3 -3
data/lib/mobilize-base.rb
CHANGED
@@ -33,6 +33,7 @@ module Mobilize
|
|
33
33
|
raise "Could not find #{file}" unless ::File.exists?(file)
|
34
34
|
file
|
35
35
|
end
|
36
|
+
# Currently config_file_updated? is not used because it is too slow.
|
36
37
|
def Base.config_file_updated?(config_name)
|
37
38
|
@config_mtime ||= {}
|
38
39
|
mtime = File.mtime(Base.config_file(config_name))
|
@@ -45,7 +46,7 @@ module Mobilize
|
|
45
46
|
end
|
46
47
|
def Base.config(config_name)
|
47
48
|
@config ||= {}
|
48
|
-
if !@config[config_name]
|
49
|
+
if !@config[config_name]
|
49
50
|
yaml_path = Base.config_file(config_name)
|
50
51
|
puts "reload config #{yaml_path}"
|
51
52
|
if ::File.exists?(yaml_path)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobilize-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.374'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -234,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
234
234
|
version: '0'
|
235
235
|
segments:
|
236
236
|
- 0
|
237
|
-
hash:
|
237
|
+
hash: -1408079375065864218
|
238
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
239
|
none: false
|
240
240
|
requirements:
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
version: '0'
|
244
244
|
segments:
|
245
245
|
- 0
|
246
|
-
hash:
|
246
|
+
hash: -1408079375065864218
|
247
247
|
requirements: []
|
248
248
|
rubyforge_project: mobilize-base
|
249
249
|
rubygems_version: 1.8.23
|