picky-client 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,7 +50,7 @@ HTML
50
50
  # Returns a cached version if you always use a single language.
51
51
  #
52
52
  def self.cached_interface options = {}
53
- @interface ||= interface.freeze
53
+ @interface ||= interface(options).freeze
54
54
  end
55
55
 
56
56
  end
@@ -6,6 +6,9 @@ describe Picky::Helper do
6
6
  it "should return good html" do
7
7
  Picky::Helper.cached_interface.should == Picky::Helper.interface
8
8
  end
9
+ it "should respect the options" do
10
+ Picky::Helper.cached_interface(:more => 'bla').should_not == Picky::Helper.interface(:more => 'blu')
11
+ end
9
12
  it "should return the cached interface" do
10
13
  Picky::Helper.cached_interface.object_id.should == Picky::Helper.cached_interface.object_id
11
14
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 4
9
- version: 0.0.4
8
+ - 5
9
+ version: 0.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Florian Hanke
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-02 00:00:00 +02:00
17
+ date: 2010-10-03 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies: []
20
20