activeldap 6.0.3 → 6.0.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
  SHA256:
3
- metadata.gz: 671ebd65e9137cf2ec38a775a132613c5449488b3b4a3aa9e41a75cf139409ed
4
- data.tar.gz: 7f85f67f45bb076a68708ba5254f1594762f5d064218354e9e28e8a23e0e36b8
3
+ metadata.gz: 7bdc1319a140296bc755ac9a1e31d7ae7a956264aa3337ab6bb3db73eaef888b
4
+ data.tar.gz: cd7d1693a4fd6a780ebb63e54bf19ef931b07dfe7a562b573c49d3f058514235
5
5
  SHA512:
6
- metadata.gz: 5896d1b97e081ec36d8ca8839391dea136ecf5a6cf49c71cf712095919364e6a6928405e4b63ed8bd96b36a9e2720604447713ccb610471b229b191d70a4f32a
7
- data.tar.gz: 1d0c88a095252b8adec8df38aa4192ece39ef39ddbf741e38927685a4dd603b62f0d30a0d4c30137bc7a8f66c3b296cfb8214b7343a839949a0c51b04abd3247
6
+ metadata.gz: 99f404fb97a7f7ff38968bf87a139357b47dab9256650a94a19ce57ed497ef0b912de733fefe0b735129419372347b4c9d2a47b4a23a12a31fd640d132e609a2
7
+ data.tar.gz: 2301f0daa6859cc647fb36c50b506c75d5e5161ba247ebb27e0c5e9aeae8f951c4aedff538bcd0d0241ee43a2e0806d0ee764e8779ec5c6f566f681f05cc50bf
@@ -1,5 +1,16 @@
1
1
  # News
2
2
 
3
+ ## 6.0.4: 2020-12-06 {#release-6-0-4}
4
+
5
+ ### Improvements
6
+
7
+ * Enabled concurrency by default.
8
+ [GitHub#188][Reported by Kevin McCormack]
9
+
10
+ ### Thanks
11
+
12
+ * Kevin McCormack
13
+
3
14
  ## 6.0.3: 2020-08-17 {#release-6-0-3}
4
15
 
5
16
  ### Improvements
@@ -60,6 +60,15 @@ to skip `active_ldap prefix` in `config/application.rb`:
60
60
  config.app_generators.orm :active_ldap
61
61
  ```
62
62
 
63
+ Concurrency is now enabled by default to ensure thread safe searches and modifications. This can
64
+ still be disabled if desired.
65
+
66
+ ```ruby
67
+ # config/initializers/active_ldap.rb
68
+
69
+ ActiveLdap::Base.allow_concurrency = false
70
+ ```
71
+
63
72
  ## Model
64
73
 
65
74
  You can generate a User model that represents entries under
@@ -6,7 +6,7 @@ module ActiveLdap
6
6
 
7
7
  module ClassMethods
8
8
  @@active_connections = {}
9
- @@allow_concurrency = false
9
+ @@allow_concurrency = true
10
10
 
11
11
  def thread_safe_active_connections
12
12
  @@active_connections[Thread.current.object_id] ||= {}
@@ -1,3 +1,3 @@
1
1
  module ActiveLdap
2
- VERSION = "6.0.3"
2
+ VERSION = "6.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeldap
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.3
4
+ version: 6.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Drewry
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-08-16 00:00:00.000000000 Z
12
+ date: 2020-12-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel
@@ -345,7 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
345
345
  - !ruby/object:Gem::Version
346
346
  version: '0'
347
347
  requirements: []
348
- rubygems_version: 3.2.0.rc.1
348
+ rubygems_version: 3.2.0.rc.2
349
349
  signing_key:
350
350
  specification_version: 4
351
351
  summary: ActiveLdap is a object-oriented API to LDAP