aweplug 1.0.0.a13 → 1.0.0.a14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  require 'yaml/store'
2
+ require 'fileutils'
2
3
 
3
4
  module Aweplug::Cache
4
5
  # Public: A simple caching implementation.
@@ -23,6 +24,7 @@ module Aweplug::Cache
23
24
  # Returns a new instance of the cache.
24
25
  def initialize(opts = {})
25
26
  opts.merge!({filename: 'tmp/cache.store'})
27
+ FileUtils.mkdir_p(File.dirname opts[:filename])
26
28
  @file_store = YAML::Store.new opts[:filename]
27
29
  @memory_store = {}
28
30
  end
@@ -1,4 +1,4 @@
1
1
  module Aweplug
2
- VERSION='1.0.0.a13'
2
+ VERSION='1.0.0.a14'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aweplug
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.a13
4
+ version: 1.0.0.a14
5
5
  prerelease: 6
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: 2014-02-05 00:00:00.000000000 Z
12
+ date: 2014-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: octokit
@@ -190,7 +190,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
190
190
  version: '0'
191
191
  segments:
192
192
  - 0
193
- hash: 1610229825518981693
193
+ hash: 3719202893213681335
194
194
  required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  none: false
196
196
  requirements: