infopark_reactor_migrations 1.7.2 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,6 +21,12 @@ module Reactor
21
21
  end
22
22
  end
23
23
 
24
+ def self.load(id)
25
+ obj = Obj.new
26
+ obj.instance_variable_set('@obj_id', id)
27
+ obj
28
+ end
29
+
24
30
  def self.get(path_or_id)
25
31
  obj = Obj.new
26
32
  obj.send(:load, path_or_id)
@@ -204,6 +210,10 @@ module Reactor
204
210
  simple_command("reject")
205
211
  end
206
212
 
213
+ def revert!
214
+ simple_command("revert")
215
+ end
216
+
207
217
  def sign!
208
218
  simple_command("sign")
209
219
  end
@@ -1,6 +1,6 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Reactor
3
3
  module Migrations
4
- VERSION = "1.7.2"
4
+ VERSION = "1.8.0"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_reactor_migrations
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 7
9
- - 2
10
- version: 1.7.2
8
+ - 8
9
+ - 0
10
+ version: 1.8.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tomasz Przedmojski
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-03-14 00:00:00 +01:00
18
+ date: 2013-03-25 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency