threadlock 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/threadlock.rb +7 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22ab60659c189ff0003cbec95e7db3237fa68d1b
4
- data.tar.gz: 26819e3a35e1df3250b9fec0d1a366638dc0794a
3
+ metadata.gz: 5572ec2bfc12ce846c7ebedc66bd8e072dd7d96f
4
+ data.tar.gz: 49bae1342466bab33abec0830b028bb10cf1a4cd
5
5
  SHA512:
6
- metadata.gz: d9c114c9c29918383d994d1898a1f8c03bd3a148a95497eb988ce24c4e2ee0a3de75a4e4b5f4e295f2e3719fa02c7b54d8b3d045444200316dcecc469e20286e
7
- data.tar.gz: 053c3e0b3972a3d3553bd669eb3002afe2458157b2175f90fdd01ee7ed2678d1e91022244b79544cf3350d6559248ef5a1dd4cbd26ba2e85fe3841e6cddc668f
6
+ metadata.gz: 7cbc19433166cb2688d8fb2b5562bbde9a844371e0c477692a1fbeaf232872c8092c2847ce3d75698ffb0dc11d80897d3cb65bf32519efddd94c17c0f4fb5bbe
7
+ data.tar.gz: b9796a59a4b08e96f3534cc56320c716ae39cf2ca6e028068d7de0a3898e198af7b109d8c2a569b6dab275aef26d82d9c560d2f07d9cd19a39f58250b74d6e80
@@ -12,7 +12,13 @@ def threadlock(*funcs, lock: :@___threadlock___)
12
12
  .gsub(/\-/, "_sUB")
13
13
  .gsub(/\*/, "_mULT")
14
14
  .gsub(/\//, "_dIV")
15
- .gsub(/\//, "_mOD")
15
+ .gsub(/\%/, "_mOD")
16
+ .gsub(/\[/, "_bRACKO")
17
+ .gsub(/\]/, "_bRACKC")
18
+ .gsub(/\@/, "_aTTR")
19
+ .gsub(/\&/, "_aMPER")
20
+ .gsub(/\|/, "_pIPE")
21
+ .gsub(/\^/, "_cARET")
16
22
  .gsub(/^/, "___")
17
23
 
18
24
  class_eval\
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: threadlock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe McIlvain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-07 00:00:00.000000000 Z
11
+ date: 2013-07-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: "Use the threadlock function in your class definition to automatically
14
14
  run instance methods inside of an instance-wide re-entrant lock (Monitor). All