lemondrop 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc2a5a5b680253c65240e9deb0d9ecb4b240cbed
4
- data.tar.gz: f4a1ef007651c229d397692e029efcd92bdf4e4a
3
+ metadata.gz: d5997d77f1b1d98604ffb647c26e4582da676a3a
4
+ data.tar.gz: fec5f195c1697ae8c52ab27f1e28b4c9fd67673b
5
5
  SHA512:
6
- metadata.gz: 71b17c7dcf92741b4726e0dfb7b6bbd6ff5c637649b9f7bca330a14b1eda3d29768a69044a1f5c4e00ca43a5047e2f62ae02d7fbf8a762e2113d28735aec7026
7
- data.tar.gz: 7bfe5270a03a107d9889896369c7ec089420fd0442abaa803e064e87b3d564562c7440a15745ddb962309df42e0bb8d252d696302bc5c2c430960191b7b1c15f
6
+ metadata.gz: ff30f6f96a44b7606af7117d20891a2a8c2b2854b0029e2b43609842923cd45886894f415ca46f1f3ce3e33ef6a825b72f441f6b30c1f7340ecb379f604f2ab7
7
+ data.tar.gz: de9126f978dcf3fa5dbbed92c3e6d5ae45d7bd15d92dd0c32341a74b577ac021dc2a08f7cbda83e046050dafe566a1dd6c2a24866577971a05620da1114b9da6
@@ -1,3 +1,6 @@
1
+ # [0.1.1](https://github.com/bklang/lemondrop/compare/v0.1.0...v0.1.1) - [2013-12-11](https://rubygems.org/gems/lemondrop/versions/0.1.1)
2
+ * Fix Redis accessors on Lemondrop constant
3
+
1
4
  # [0.1.0](https://github.com/bklang/lemondrop/compare/v0.0.1...v0.1.0) - [2013-11-30](https://rubygems.org/gems/lemondrop/versions/0.1.0)
2
5
  * Allow accessing Redis keys on the Lemondrop constant directly
3
6
  * Logging & comment tweaks by Justin Aiken
@@ -32,8 +32,8 @@ class Lemondrop::Plugin::Service
32
32
  #
33
33
  # @param params [Hash] Options to establish the Redis connection
34
34
  def establish_connection(params)
35
- ::Redis.new params
36
35
  logger.info "Lemondrop connected to Redis at #{params[:host]}:#{params[:port]}"
36
+ ::Redis.new params
37
37
  end
38
38
  end # class << self
39
39
  end # Service
@@ -1,3 +1,3 @@
1
1
  module Lemondrop
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -27,6 +27,13 @@ describe Lemondrop::Plugin::Service do
27
27
  subject.should_receive(:establish_connection).once.with(expected_params)
28
28
  subject.start config
29
29
  end
30
+ end
31
+
32
+ describe '#establish_connection' do
33
+ let(:params) { {} }
30
34
 
35
+ it "returns a Redis instance" do
36
+ subject.establish_connection(params).should be_a Redis
37
+ end
31
38
  end
32
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lemondrop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Klang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-30 00:00:00.000000000 Z
11
+ date: 2013-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: adhearsion