dcr 0.1.0 → 0.1.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: 69b65b81a3c586a753e7cbc1867a661b2f7202e8
4
- data.tar.gz: bba675b675dc2978b93d916df1cba5a10216956c
3
+ metadata.gz: f24f34baa8e9505bd517dbae9ce3554ab0e3cd34
4
+ data.tar.gz: d8b4d7909daf119efd5d98f10e634049c8cfc65c
5
5
  SHA512:
6
- metadata.gz: ddc9737e3d5aec4b2bb14bf946b545fe6960819ceb35767c0200ee0f2ddcca1daadc857341fbf7680d045e95ff474df9970f64dc90cce1f6e0c5069b36622c2e
7
- data.tar.gz: 774def2c4f30bdd542d9f14199ea7cecbee5056950df60afe5eb5f41dec0d305f768e477c2ed55e013900d16f6f453525c1a60ef938d5396f22d1e46f912a000
6
+ metadata.gz: ddb72de9e97a9622ac6992d7c62e115041b215996cb947efd4d1d689a66acc0f26e198a8c256921e70264f29afa23b8d93de21126d318b9e8721324ac77fc75d
7
+ data.tar.gz: e75bfec481bce900cc4227578bad60810003ea122325838e6b73785d2d1a0968918e92553334c9d05a153502855c7143627dc41db09ac362885ccc51b5555197
data/lib/dcr.rb CHANGED
@@ -53,5 +53,14 @@ module Dcr
53
53
  hist.rollback_all method_name
54
54
  end
55
55
 
56
+ alias_method :ins, :instance
57
+ alias_method :sin, :singleton
58
+ alias_method :ls_ins, :list_instance
59
+ alias_method :ls_sin, :list_singleton
60
+ alias_method :rb_ins, :rollback_instance
61
+ alias_method :rb_all_ins, :rollback_all_instance
62
+ alias_method :rb_sin, :rollback_singleton
63
+ alias_method :rb_all_sin, :rollback_all_singleton
64
+
56
65
  end
57
66
  end
@@ -30,7 +30,7 @@ module Dcr
30
30
 
31
31
  def caller_not_from_dcr
32
32
  caller.find do |file|
33
- file !~ /dcr\/lib/
33
+ file !~ /dcr-.*\/lib\/dcr/
34
34
  end
35
35
  end
36
36
 
@@ -1,3 +1,3 @@
1
1
  module Dcr
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dcr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ken