ruco 0.2.0.beta5 → 0.2.0.beta6

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0.beta5
1
+ 0.2.0.beta6
@@ -80,7 +80,7 @@ module Ruco
80
80
  end
81
81
 
82
82
  def download_into_file(url)
83
- theme_store = FileStore.new(File.expand_path('~/.ruco/themes'), :keep => 5, :pure => true)
83
+ theme_store = FileStore.new(File.expand_path('~/.ruco/themes'), :keep => 5, :string => true)
84
84
  theme_store.cache(url) do
85
85
  require 'open-uri'
86
86
  require 'openssl'
data/ruco.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ruco}
8
- s.version = "0.2.0.beta5"
8
+ s.version = "0.2.0.beta6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
@@ -86,4 +86,10 @@ describe Ruco::FileStore do
86
86
  store.clear
87
87
  store.get('x').should == nil
88
88
  end
89
+
90
+ it "can store pure strings" do
91
+ store = Ruco::FileStore.new(@folder, :keep => 3, :string => true)
92
+ store.set('xxx','yyy')
93
+ File.read(store.file('xxx')).should == 'yyy'
94
+ end
89
95
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruco
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196361
4
+ hash: 62196367
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
9
  - 0
10
10
  - beta
11
- - 5
12
- version: 0.2.0.beta5
11
+ - 6
12
+ version: 0.2.0.beta6
13
13
  platform: ruby
14
14
  authors:
15
15
  - Michael Grosser