Skip to content

Commit 4ab3d68

Browse files
committed
Merge master
2 parents 64f8c2e + 68ecbdf commit 4ab3d68

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@ Contributing to LaunchDarkly SDK for Ruby
33

44
We encourage pull-requests and other contributions from the community. We've also published an [SDK contributor's guide](http://docs.launchdarkly.com/v1.0/docs/sdk-contributors-guide) that provides a detailed explanation of how our SDKs work.
55

6+
Dependencies
7+
------------
8+
[ld-em-eventsource](https://github.com/launchdarkly/em-eventsource)
9+
10+
611
Style
712
-----
813

914
Our pull requests have [Hound CI](https://houndci.com/) set up to do style checking.
1015
We also run [Rubocop](https://github.com/bbatsov/rubocop).
16+

ldclient-rb.gemspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ Gem::Specification.new do |spec|
2525

2626
spec.add_runtime_dependency "json", "~> 1.8"
2727
spec.add_runtime_dependency "faraday", "~> 0.9"
28-
spec.add_runtime_dependency "faraday-http-cache", "~> 0.4"
28+
spec.add_runtime_dependency "faraday-http-cache", "~> 1.3.0"
2929
spec.add_runtime_dependency "thread_safe", "~> 0.3"
3030
spec.add_runtime_dependency "net-http-persistent", "~> 2.9"
3131
spec.add_runtime_dependency "concurrent-ruby", "~> 1.0.0"
3232
spec.add_runtime_dependency "hashdiff", "~> 0.2"
33-
#spec.add_runtime_dependency "ld-em-eventsource", "~> 0.2"
3433
spec.add_runtime_dependency "ld-celluloid-eventsource", "~> 0.4"
3534
end

lib/ldclient-rb/store.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,12 @@ def read(key)
3535
def write(key, value)
3636
@cache[key] = value
3737
end
38+
39+
#
40+
# Delete a value in the cache
41+
# @param key [Object] the cache key
42+
def delete(key)
43+
@cache.delete(key)
44+
end
3845
end
3946
end

lib/ldclient-rb/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module LaunchDarkly
2-
VERSION = "0.7.0"
2+
VERSION = "0.8.0"
33
end

0 commit comments

Comments
 (0)