RubyApp 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.2.6)
4
+ RubyApp (0.2.7)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -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
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 6
10
- version: 0.2.6
9
+ - 7
10
+ version: 0.2.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frank G. Ficnar