data_migrator 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MTBjZTc3Yzg3ODIyMTE1NjM1NzRiYmYzZDVkYmEyYTNlYzAwNzUxMw==
5
+ data.tar.gz: !binary |-
6
+ NjEyNDI4MmY3MDU4ZTI2ZDQ3ZWNiYzE4ZTZjNzAxYmQyYThjODM3Yw==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ MDVmYTllNTQwNjljNDUyNzZhMDA1MTY5MzM3MmJhMzY5YWEwZDVkM2QyY2Rm
10
+ NDI5ZjRjOTQ1NWU0MWY2MDZmYTZjM2M1MmRjYjM1YzBmOWZhNDM0NWUyZTI1
11
+ NzEyYzRmNjFhMjcyZjFkNDA2ZjJlMTlkN2NjOWU5MjRjODQ0NDg=
12
+ data.tar.gz: !binary |-
13
+ YjY1MTAzMjFhMDU0OGI5NDI0YjZlOWZlM2UxNDlhYmRhZmIyYjQwZmM4YmVl
14
+ N2NhMzQyMTMwYjg4ODliODFjMmJhNjAxZTkyNWIxMDY5ZWZkOWY1NzJhMjQ5
15
+ MmFkNmI3MjhjNDUzODdlZGYwNzZiMmYzYzhiOWE1NTU2ZDVkNWQ=
@@ -2,7 +2,7 @@ module DataMigrator
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
@@ -4,6 +4,9 @@ namespace :db do
4
4
  passed_version = ENV["VERSION"] ? ENV["VERSION"].to_i : nil
5
5
 
6
6
  RussellEdge::DataMigrator.new.migrate(nil, passed_version)
7
+
8
+ Rake::Task["db:schema:dump"].reenable
9
+ Rake::Task["db:schema:dump"].invoke
7
10
  end#end migrate_data task
8
11
 
9
12
  namespace :migrate_data do
@@ -24,6 +27,9 @@ namespace :db do
24
27
  raise "VERSION is required" unless passed_version
25
28
 
26
29
  RussellEdge::DataMigrator.new.run_up(passed_version)
30
+
31
+ Rake::Task["db:schema:dump"].reenable
32
+ Rake::Task["db:schema:dump"].invoke
27
33
  end#end up task
28
34
 
29
35
  task :down => :environment do
@@ -31,6 +37,9 @@ namespace :db do
31
37
  raise "VERSION is required" unless passed_version
32
38
 
33
39
  RussellEdge::DataMigrator.new.run_down(passed_version)
40
+
41
+ Rake::Task["db:schema:dump"].reenable
42
+ Rake::Task["db:schema:dump"].invoke
34
43
  end#end down task
35
44
  end#end namespace
36
45
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_migrator
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
5
- prerelease:
4
+ version: 2.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Russell Holmes, Adam Hull
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-11 00:00:00.000000000 Z
11
+ date: 2013-10-20 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -49,27 +46,26 @@ files:
49
46
  - test/test_helper.rb
50
47
  homepage: https://github.com/portablemind/data_migrator
51
48
  licenses: []
49
+ metadata: {}
52
50
  post_install_message:
53
51
  rdoc_options: []
54
52
  require_paths:
55
53
  - lib
56
54
  required_ruby_version: !ruby/object:Gem::Requirement
57
- none: false
58
55
  requirements:
59
56
  - - ! '>='
60
57
  - !ruby/object:Gem::Version
61
58
  version: '0'
62
59
  required_rubygems_version: !ruby/object:Gem::Requirement
63
- none: false
64
60
  requirements:
65
61
  - - ! '>='
66
62
  - !ruby/object:Gem::Version
67
63
  version: '0'
68
64
  requirements: []
69
65
  rubyforge_project:
70
- rubygems_version: 1.8.24
66
+ rubygems_version: 2.0.7
71
67
  signing_key:
72
- specification_version: 3
68
+ specification_version: 4
73
69
  summary: Creates Data Migrations for data similar to schema migrations.
74
70
  test_files:
75
71
  - test/data_migrator_test.rb