ldclient-rb 0.7.0 → 0.8.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33eb7dda18b6978902b85844e4eeb2a6aeb78cbd
4
- data.tar.gz: a14cdb94a462d9ba7892dbaac4b98eb29977fca3
3
+ metadata.gz: 0c8a2f8c558a103c5d35bac43f65bcec2547c600
4
+ data.tar.gz: 2d99a0b8cf0c6a8c7132bad6b44d9f7608a19221
5
5
  SHA512:
6
- metadata.gz: f9ffd77abc85bd1275ed2a626a074d057a96648f29cd59c98ba59485dad33b552a9e1da1f7699f7c0ec909dca0447b6ac4098e48512e62ee955c2b0754fd5234
7
- data.tar.gz: 3c8f4cbdc179df8803da79cf76c0205af931908b79d9c043bc2115c77249e4a6816665f1d997a8fa148ea8d1f52b70d683cbff349a16b28489f91520999c03a6
6
+ metadata.gz: 76099078850fa826d91024c5d8b9909ec3b91169a4fb3718a97116bbbe89c27aa1a6dc555f45b153c739a83d11b2d62252200c7c66870ca476b9d2b0ae25df34
7
+ data.tar.gz: e8b0477b6e0355636b220f67fcc27e72ca14430a6c0750b0b7252ac040a362d6878854f0e78da4800102a7299bf258a6fdf0f10856cca8a4e608d79ca99fbc98
data/CONTRIBUTING.md CHANGED
@@ -3,8 +3,14 @@ Contributing to LaunchDarkly SDK for Ruby
3
3
 
4
4
  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.
5
5
 
6
+ Dependencies
7
+ ------------
8
+ [ld-em-eventsource](https://github.com/launchdarkly/em-eventsource)
9
+
10
+
6
11
  Style
7
12
  -----
8
13
 
9
14
  Our pull requests have [Hound CI](https://houndci.com/) set up to do style checking.
10
15
  We also run [Rubocop](https://github.com/bbatsov/rubocop).
16
+
data/ldclient-rb.gemspec CHANGED
@@ -25,10 +25,10 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.add_runtime_dependency "json", "~> 1.8"
27
27
  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"
29
29
  spec.add_runtime_dependency "thread_safe", "~> 0.3"
30
30
  spec.add_runtime_dependency "net-http-persistent", "~> 2.9"
31
31
  spec.add_runtime_dependency "concurrent-ruby", "~> 1.0.0"
32
32
  spec.add_runtime_dependency "hashdiff", "~> 0.2"
33
- spec.add_runtime_dependency "ld-em-eventsource", "~> 0.2"
33
+ spec.add_runtime_dependency "ld-em-eventsource", "~> 0.2" #https://github.com/launchdarkly/em-eventsource
34
34
  end
@@ -35,5 +35,12 @@ module LaunchDarkly
35
35
  def write(key, value)
36
36
  @cache[key] = value
37
37
  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
38
45
  end
39
46
  end
@@ -1,3 +1,3 @@
1
1
  module LaunchDarkly
2
- VERSION = "0.7.0"
2
+ VERSION = "0.8.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ldclient-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - LaunchDarkly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-27 00:00:00.000000000 Z
11
+ date: 2016-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - ~>
102
102
  - !ruby/object:Gem::Version
103
- version: '0.4'
103
+ version: 1.3.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ~>
109
109
  - !ruby/object:Gem::Version
110
- version: '0.4'
110
+ version: 1.3.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: thread_safe
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
236
236
  version: '0'
237
237
  requirements: []
238
238
  rubyforge_project:
239
- rubygems_version: 2.0.14
239
+ rubygems_version: 2.5.0
240
240
  signing_key:
241
241
  specification_version: 4
242
242
  summary: LaunchDarkly SDK for Ruby