peek 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -34,3 +34,8 @@
34
34
  # 0.1.1
35
35
 
36
36
  - Fix bug with how `peek:render` was passing arguments around.
37
+
38
+ # 0.1.2
39
+
40
+ - Fix path to memcache adapter - [#34](https://github.com/peek/peek/pull/34) [@grk](https://github.com/grk)
41
+ - Prevent namespace collision when using [peek-dalli](https://github.com/peek/peek-dalli) - [#34](https://github.com/peek/peek/pull/34) [@grk](https://github.com/grk)
data/README.md CHANGED
@@ -30,7 +30,7 @@ file:
30
30
 
31
31
  ```ruby
32
32
  Some::Application.routes.draw do
33
- mount Peek::Engine => '/peek'
33
+ mount Peek::Railtie => '/peek'
34
34
  root :to => 'home#show'
35
35
  end
36
36
  ```
@@ -71,7 +71,7 @@ It will look like:
71
71
 
72
72
  Peek fetches the data collected throughout your requests by using the unique request id
73
73
  that was assigned to the request by Rails. It will call out to its own controller at
74
- [Peek::ResultsController](https://github.com/peek/peek/blob/master/app/assets/controllers/peek/results_controller.rb) which will render the data and be inserted into the bar.
74
+ [Peek::ResultsController](https://github.com/peek/peek/blob/master/app/controllers/peek/results_controller.rb) which will render the data and be inserted into the bar.
75
75
 
76
76
  Now that you have the partials in your application, you will need to include the
77
77
  CSS and JS that help make Peek :sparkles:
@@ -5,7 +5,7 @@ module Peek
5
5
  module Adapters
6
6
  class Memcache < Base
7
7
  def initialize(options = {})
8
- @client = options.fetch(:client, Dalli::Client.new)
8
+ @client = options.fetch(:client, ::Dalli::Client.new)
9
9
  @expires_in = options.fetch(:expires_in, 60 * 30)
10
10
  end
11
11
 
data/lib/peek/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Peek
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peek
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
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: 2013-05-09 00:00:00.000000000 Z
12
+ date: 2013-05-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -85,7 +85,7 @@ files:
85
85
  - config/routes.rb
86
86
  - lib/peek.rb
87
87
  - lib/peek/adapters/base.rb
88
- - lib/peek/adapters/memcached.rb
88
+ - lib/peek/adapters/memcache.rb
89
89
  - lib/peek/adapters/memory.rb
90
90
  - lib/peek/adapters/redis.rb
91
91
  - lib/peek/controller_helpers.rb