RubyApp 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/ruby_app/response.rb +2 -2
- data/lib/ruby_app/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/ruby_app/response.rb
CHANGED
@@ -33,13 +33,13 @@ module RubyApp
|
|
33
33
|
if RubyApp::Response.configuration.cache.formats.include?(format)
|
34
34
|
cache = element.cache(format)
|
35
35
|
if RubyApp::Response.configuration.cache.read? && File.exists?(cache)
|
36
|
-
RubyApp::Log.debug("#{RubyApp::Log.prefix(self, __method__)} READ #{cache.inspect}")
|
36
|
+
#RubyApp::Log.debug("#{RubyApp::Log.prefix(self, __method__)} READ #{cache.inspect}")
|
37
37
|
self.write(File.read(cache))
|
38
38
|
else
|
39
39
|
content = element.render(format)
|
40
40
|
if RubyApp::Response.configuration.cache.write? && !File.exists?(cache)
|
41
41
|
FileUtils.mkdir_p(File.dirname(cache))
|
42
|
-
RubyApp::Log.debug("#{RubyApp::Log.prefix(self, __method__)} WRITE #{cache.inspect}")
|
42
|
+
#RubyApp::Log.debug("#{RubyApp::Log.prefix(self, __method__)} WRITE #{cache.inspect}")
|
43
43
|
File.open(cache, 'w') do |file|
|
44
44
|
file.write(content)
|
45
45
|
file.flush
|
data/lib/ruby_app/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RubyApp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 7
|
10
|
+
version: 0.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Frank G. Ficnar
|