dry-configurable 0.1.3 → 0.1.4

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: 46579bd4de4bb1af8dde20589fb0d47d3b41935e
4
- data.tar.gz: fa9e7b2e214c41414d343c6318bb96417f8bc934
3
+ metadata.gz: 65f5085650f4224a4fa296d566c9398c6f5c1ad9
4
+ data.tar.gz: 44a4c304b3f29abf1d32a723f3157a0e9d96e4f3
5
5
  SHA512:
6
- metadata.gz: 0c8ba92eaf7f53656a1b7249c215a8ec489803e83ee989e9714b56e3863a46e972b07851265cee6435b1e5772d8b731b191a3d5357b42430114c16b2e5000be5
7
- data.tar.gz: 9c2ccdc38093402a7d6660b3c7380f133837f69f4a743312bca62623a9190f49b571398bf8f64a73d3c6744cdca9432b8bbbe981b27eb672de92943bef92ebc8
6
+ metadata.gz: 3e4695f6a9bc16c73be7c6d4ae32ec9515a1557bab89c9e221a17362daee704d3cc28c9cb5910b33e2068789913c1101c03daed4b7819159dca032ddb4981ea1
7
+ data.tar.gz: d5536ac352bf96afd96e0d5f8ad25362ec21276e2a171121f385e4ed7685402baa2e6d6e98e6d52333a9cc03cab2c2c8c4d6ad8b7fd170b996d2418925ad40a7
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # dry-configurable <a href="https://gitter.im/dryrb/chat" target="_blank">![Join the chat at https://gitter.im/dryrb/chat](https://badges.gitter.im/Join%20Chat.svg)</a>
1
+ # dry-configurable <a href="https://gitter.im/dry-rb/chat" target="_blank">![Join the chat at https://gitter.im/dry-rb/chat](https://badges.gitter.im/Join%20Chat.svg)</a>
2
2
 
3
3
  <a href="https://rubygems.org/gems/dry-configurable" target="_blank">![Gem Version](https://badge.fury.io/rb/dry-configurable.svg)</a>
4
- <a href="https://travis-ci.org/dryrb/dry-configurable" target="_blank">![Build Status](https://travis-ci.org/dryrb/dry-configurable.svg?branch=master)</a>
5
- <a href="https://gemnasium.com/dryrb/dry-configurable" target="_blank">![Dependency Status](https://gemnasium.com/dryrb/dry-configurable.svg)</a>
6
- <a href="https://codeclimate.com/github/dryrb/dry-configurable" target="_blank">![Code Climate](https://codeclimate.com/github/dryrb/dry-configurable/badges/gpa.svg)</a>
7
- <a href="http://inch-ci.org/github/dryrb/dry-configurable" target="_blank">![Documentation Status](http://inch-ci.org/github/dryrb/dry-configurable.svg?branch=master&style=flat)</a>
4
+ <a href="https://travis-ci.org/dry-rb/dry-configurable" target="_blank">![Build Status](https://travis-ci.org/dry-rb/dry-configurable.svg?branch=master)</a>
5
+ <a href="https://gemnasium.com/dry-rb/dry-configurable" target="_blank">![Dependency Status](https://gemnasium.com/dry-rb/dry-configurable.svg)</a>
6
+ <a href="https://codeclimate.com/github/dry-rb/dry-configurable" target="_blank">![Code Climate](https://codeclimate.com/github/dry-rb/dry-configurable/badges/gpa.svg)</a>
7
+ <a href="http://inch-ci.org/github/dry-rb/dry-configurable" target="_blank">![Documentation Status](http://inch-ci.org/github/dry-rb/dry-configurable.svg?branch=master&style=flat)</a>
8
8
 
9
9
 
10
10
  ## Synopsis
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
16
  spec.require_paths = ['lib']
17
17
 
18
- spec.add_runtime_dependency 'thread_safe'
18
+ spec.add_runtime_dependency 'concurrent-ruby', '~> 1.0'
19
19
 
20
20
  spec.add_development_dependency 'bundler'
21
21
  spec.add_development_dependency 'rake'
@@ -1,6 +1,6 @@
1
1
  module Dry
2
2
  module Configurable
3
3
  # @api public
4
- VERSION = '0.1.3'.freeze
4
+ VERSION = '0.1.4'.freeze
5
5
  end
6
6
  end
@@ -1,4 +1,4 @@
1
- require 'thread_safe'
1
+ require 'concurrent'
2
2
  require 'dry/configurable/config'
3
3
  require 'dry/configurable/version'
4
4
 
@@ -32,7 +32,7 @@ module Dry
32
32
 
33
33
  base.class_eval do
34
34
  @_config_mutex = Mutex.new
35
- @_settings = ThreadSafe::Cache.new
35
+ @_settings = Concurrent::Map.new
36
36
  end
37
37
  end
38
38
 
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-configurable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Holland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-19 00:00:00.000000000 Z
11
+ date: 2016-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: thread_safe
14
+ name: concurrent-ruby
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  version: '0'
112
112
  requirements: []
113
113
  rubyforge_project:
114
- rubygems_version: 2.5.1
114
+ rubygems_version: 2.4.5.1
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: A mixin to add configuration functionality to your classes