db_lock 0.1 → 0.2

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: a417593c5982747526ac5920330834da914b6738
4
- data.tar.gz: 4bb0bcb0d544ee9caa69898d2490d84236788674
3
+ metadata.gz: 6d6e7ea22f5605c0ff4757bd887d09e7476fb0c6
4
+ data.tar.gz: b6f3b247ca65f396f25500ef2fb5483d26a038dd
5
5
  SHA512:
6
- metadata.gz: 0845da08c077e9e781142b5933227918661b2865a18bc46f9f2b70702a86658556cf5124296ede7fa4d05b310f7b930805bce70942986683cc6e6e3f44209390
7
- data.tar.gz: 036c960adfe8d81385a1eeaac2cd8ccb8d696dab8b73fb18152adbc6169db9676954c5862682770db57c0695940030c1ef5960b30eaf4751ff07c4fd1f07ea86
6
+ metadata.gz: 3c36da7eec8ecbfce5d44180e04f09b0d647ec6d9c9279fa38f64d81d6e47e4e969abc17ddeeaa36a4268719df7f5f50a7ee5f92563e0726544946defdd3b37b
7
+ data.tar.gz: 36c3032bd368110e2fe002c75a2b4735bc262fd87ba6c1f34a55c8a3aad5d6854a380a880cc34e2e88a8f41d1492d8d6b462e73fe2c477a41edc12daba97daf4
data/lib/db_lock.rb CHANGED
@@ -28,7 +28,7 @@ module DBLock
28
28
 
29
29
  def prefixed_lock_name(name)
30
30
  if name[0] == "." and defined? Rails
31
- name = "#{Rails.application.class.parent_name}.#{name}"
31
+ name = "#{Rails.application.class.parent_name}#{name}"
32
32
  else
33
33
  name
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module DBLock
2
- VERSION = "0.1"
2
+ VERSION = "0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: db_lock
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - mkon