migration_assist 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +7 -3
  2. data/Gemfile.lock +117 -0
  3. data/Rakefile +49 -14
  4. data/VERSION +1 -1
  5. data/migration_assist.gemspec +14 -4
  6. metadata +56 -21
data/Gemfile CHANGED
@@ -7,9 +7,13 @@ gem 'rails_assist', "~> 0.5.0"
7
7
  gem 'rails_artifactor', "~> 0.4.0"
8
8
 
9
9
  group :development do
10
- gem "rspec", ">= 2.4.1"
11
- gem "mocha", ">= 0.9.8"
12
- gem "generator-spec", "~> 0.7.5"
10
+ gem "jeweler", "~> 1.6.4"
11
+ gem "bundler", "~> 1.0.10"
12
+ gem "rcov", ">= 0.9"
13
+
14
+ gem "rspec", ">= 2.4.1"
15
+ gem "mocha", ">= 0.9.8"
16
+ gem "generator-spec", "~> 0.7.5"
13
17
  end
14
18
 
15
19
 
data/Gemfile.lock ADDED
@@ -0,0 +1,117 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ abstract (1.0.0)
5
+ actionmailer (3.0.9)
6
+ actionpack (= 3.0.9)
7
+ mail (~> 2.2.19)
8
+ actionpack (3.0.9)
9
+ activemodel (= 3.0.9)
10
+ activesupport (= 3.0.9)
11
+ builder (~> 2.1.2)
12
+ erubis (~> 2.6.6)
13
+ i18n (~> 0.5.0)
14
+ rack (~> 1.2.1)
15
+ rack-mount (~> 0.6.14)
16
+ rack-test (~> 0.5.7)
17
+ tzinfo (~> 0.3.23)
18
+ activemodel (3.0.9)
19
+ activesupport (= 3.0.9)
20
+ builder (~> 2.1.2)
21
+ i18n (~> 0.5.0)
22
+ activerecord (3.0.9)
23
+ activemodel (= 3.0.9)
24
+ activesupport (= 3.0.9)
25
+ arel (~> 2.0.10)
26
+ tzinfo (~> 0.3.23)
27
+ activeresource (3.0.9)
28
+ activemodel (= 3.0.9)
29
+ activesupport (= 3.0.9)
30
+ activesupport (3.0.9)
31
+ arel (2.0.10)
32
+ builder (2.1.2)
33
+ diff-lcs (1.1.2)
34
+ erubis (2.6.6)
35
+ abstract (>= 1.0.0)
36
+ generator-spec (0.7.6)
37
+ rails (>= 3.0.1)
38
+ rails_artifactor (>= 0.3.6)
39
+ rake (>= 0.8.7)
40
+ require_all (~> 1.2.0)
41
+ rspec (>= 2.4.1)
42
+ sugar-high (~> 0.5.0)
43
+ test-unit (>= 2.0.1)
44
+ git (1.2.5)
45
+ i18n (0.5.0)
46
+ jeweler (1.6.4)
47
+ bundler (~> 1.0)
48
+ git (>= 1.2.5)
49
+ rake
50
+ mail (2.2.19)
51
+ activesupport (>= 2.3.6)
52
+ i18n (>= 0.4.0)
53
+ mime-types (~> 1.16)
54
+ treetop (~> 1.4.8)
55
+ mime-types (1.16)
56
+ mocha (0.9.12)
57
+ polyglot (0.3.1)
58
+ rack (1.2.3)
59
+ rack-mount (0.6.14)
60
+ rack (>= 1.0.0)
61
+ rack-test (0.5.7)
62
+ rack (>= 1.0)
63
+ rails (3.0.9)
64
+ actionmailer (= 3.0.9)
65
+ actionpack (= 3.0.9)
66
+ activerecord (= 3.0.9)
67
+ activeresource (= 3.0.9)
68
+ activesupport (= 3.0.9)
69
+ bundler (~> 1.0)
70
+ railties (= 3.0.9)
71
+ rails_artifactor (0.4.0)
72
+ rails_assist (>= 0.4.0)
73
+ sugar-high (>= 0.4.0)
74
+ rails_assist (0.5.0)
75
+ activesupport (>= 3.0.1)
76
+ require_all (~> 1.2.0)
77
+ sugar-high (~> 0.5.0)
78
+ railties (3.0.9)
79
+ actionpack (= 3.0.9)
80
+ activesupport (= 3.0.9)
81
+ rake (>= 0.8.7)
82
+ rdoc (~> 3.4)
83
+ thor (~> 0.14.4)
84
+ rake (0.9.2)
85
+ rcov (0.9.9)
86
+ rdoc (3.8)
87
+ require_all (1.2.0)
88
+ rspec (2.6.0)
89
+ rspec-core (~> 2.6.0)
90
+ rspec-expectations (~> 2.6.0)
91
+ rspec-mocks (~> 2.6.0)
92
+ rspec-core (2.6.4)
93
+ rspec-expectations (2.6.0)
94
+ diff-lcs (~> 1.1.2)
95
+ rspec-mocks (2.6.0)
96
+ sugar-high (0.5.0)
97
+ test-unit (2.3.0)
98
+ thor (0.14.6)
99
+ treetop (1.4.9)
100
+ polyglot (>= 0.3.1)
101
+ tzinfo (0.3.29)
102
+
103
+ PLATFORMS
104
+ ruby
105
+
106
+ DEPENDENCIES
107
+ bundler (~> 1.0.10)
108
+ generator-spec (~> 0.7.5)
109
+ jeweler (~> 1.6.4)
110
+ mocha (>= 0.9.8)
111
+ rails (>= 3.0.1)
112
+ rails_artifactor (~> 0.4.0)
113
+ rails_assist (~> 0.5.0)
114
+ rcov (>= 0.9)
115
+ require_all (~> 1.2.0)
116
+ rspec (>= 2.4.1)
117
+ sugar-high (~> 0.5.0)
data/Rakefile CHANGED
@@ -1,18 +1,53 @@
1
- require 'psych'
1
+ # encoding: utf-8
2
2
 
3
+ require 'rubygems'
4
+ require 'bundler'
3
5
  begin
4
- require 'jeweler'
5
- Jeweler::Tasks.new do |gem|
6
- gem.name = "migration_assist"
7
- gem.summary = %Q{Assists in handling migrations}
8
- gem.description = %Q{Assists in handling migrations, including generating migration files from a Thor Generator}
9
- gem.email = "kmandrup@gmail.com"
10
- gem.homepage = "http://github.com/kristianmandrup/migration_assist"
11
- gem.authors = ["Kristian Mandrup"]
12
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
13
- end
14
- Jeweler::GemcutterTasks.new
15
- rescue LoadError
16
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
17
11
  end
12
+ require 'rake'
18
13
 
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ gem.name = "migration_assist"
17
+ gem.summary = %Q{Assists in handling migrations}
18
+ gem.description = %Q{Assists in handling migrations, including generating migration files from a Thor Generator}
19
+ gem.email = "kmandrup@gmail.com"
20
+ gem.homepage = "http://github.com/kristianmandrup/migration_assist"
21
+ gem.authors = ["Kristian Mandrup"]
22
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
23
+ # dependencies defined in Gemfile
24
+ end
25
+
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rake/testtask'
29
+ Rake::TestTask.new(:test) do |test|
30
+ test.libs << 'lib' << 'test'
31
+ test.pattern = 'test/**/test_*.rb'
32
+ test.verbose = true
33
+ end
34
+
35
+ require 'rcov/rcovtask'
36
+ Rcov::RcovTask.new do |test|
37
+ test.libs << 'test'
38
+ test.pattern = 'test/**/test_*.rb'
39
+ test.verbose = true
40
+ test.rcov_opts << '--exclude "gems/*"'
41
+ end
42
+
43
+ task :default => :test
44
+
45
+ require 'rake/rdoctask'
46
+ Rake::RDocTask.new do |rdoc|
47
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
+
49
+ rdoc.rdoc_dir = 'rdoc'
50
+ rdoc.title = "cantango #{version}"
51
+ rdoc.rdoc_files.include('README*')
52
+ rdoc.rdoc_files.include('lib/**/*.rb')
53
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -5,10 +5,10 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{migration_assist}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Kristian Mandrup"]
11
+ s.authors = [%q{Kristian Mandrup}]
12
12
  s.date = %q{2011-07-21}
13
13
  s.description = %q{Assists in handling migrations, including generating migration files from a Thor Generator}
14
14
  s.email = %q{kmandrup@gmail.com}
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
20
20
  ".document",
21
21
  ".rspec",
22
22
  "Gemfile",
23
+ "Gemfile.lock",
23
24
  "LICENSE",
24
25
  "README.markdown",
25
26
  "Rakefile",
@@ -44,8 +45,8 @@ Gem::Specification.new do |s|
44
45
  "spec/spec_helper.rb"
45
46
  ]
46
47
  s.homepage = %q{http://github.com/kristianmandrup/migration_assist}
47
- s.require_paths = ["lib"]
48
- s.rubygems_version = %q{1.6.2}
48
+ s.require_paths = [%q{lib}]
49
+ s.rubygems_version = %q{1.8.5}
49
50
  s.summary = %q{Assists in handling migrations}
50
51
 
51
52
  if s.respond_to? :specification_version then
@@ -57,6 +58,9 @@ Gem::Specification.new do |s|
57
58
  s.add_runtime_dependency(%q<sugar-high>, ["~> 0.5.0"])
58
59
  s.add_runtime_dependency(%q<rails_assist>, ["~> 0.5.0"])
59
60
  s.add_runtime_dependency(%q<rails_artifactor>, ["~> 0.4.0"])
61
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
62
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.10"])
63
+ s.add_development_dependency(%q<rcov>, [">= 0.9"])
60
64
  s.add_development_dependency(%q<rspec>, [">= 2.4.1"])
61
65
  s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
62
66
  s.add_development_dependency(%q<generator-spec>, ["~> 0.7.5"])
@@ -66,6 +70,9 @@ Gem::Specification.new do |s|
66
70
  s.add_dependency(%q<sugar-high>, ["~> 0.5.0"])
67
71
  s.add_dependency(%q<rails_assist>, ["~> 0.5.0"])
68
72
  s.add_dependency(%q<rails_artifactor>, ["~> 0.4.0"])
73
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
74
+ s.add_dependency(%q<bundler>, ["~> 1.0.10"])
75
+ s.add_dependency(%q<rcov>, [">= 0.9"])
69
76
  s.add_dependency(%q<rspec>, [">= 2.4.1"])
70
77
  s.add_dependency(%q<mocha>, [">= 0.9.8"])
71
78
  s.add_dependency(%q<generator-spec>, ["~> 0.7.5"])
@@ -76,6 +83,9 @@ Gem::Specification.new do |s|
76
83
  s.add_dependency(%q<sugar-high>, ["~> 0.5.0"])
77
84
  s.add_dependency(%q<rails_assist>, ["~> 0.5.0"])
78
85
  s.add_dependency(%q<rails_artifactor>, ["~> 0.4.0"])
86
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
87
+ s.add_dependency(%q<bundler>, ["~> 1.0.10"])
88
+ s.add_dependency(%q<rcov>, [">= 0.9"])
79
89
  s.add_dependency(%q<rspec>, [">= 2.4.1"])
80
90
  s.add_dependency(%q<mocha>, [">= 0.9.8"])
81
91
  s.add_dependency(%q<generator-spec>, ["~> 0.7.5"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: migration_assist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-07-21 00:00:00.000000000 +02:00
13
- default_executable:
12
+ date: 2011-07-21 00:00:00.000000000Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: require_all
17
- requirement: &2151833040 !ruby/object:Gem::Requirement
16
+ requirement: &2160308540 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ~>
@@ -22,10 +21,10 @@ dependencies:
22
21
  version: 1.2.0
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *2151833040
24
+ version_requirements: *2160308540
26
25
  - !ruby/object:Gem::Dependency
27
26
  name: rails
28
- requirement: &2151831540 !ruby/object:Gem::Requirement
27
+ requirement: &2160307320 !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
31
30
  - - ! '>='
@@ -33,10 +32,10 @@ dependencies:
33
32
  version: 3.0.1
34
33
  type: :runtime
35
34
  prerelease: false
36
- version_requirements: *2151831540
35
+ version_requirements: *2160307320
37
36
  - !ruby/object:Gem::Dependency
38
37
  name: sugar-high
39
- requirement: &2151830380 !ruby/object:Gem::Requirement
38
+ requirement: &2160305380 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
42
41
  - - ~>
@@ -44,10 +43,10 @@ dependencies:
44
43
  version: 0.5.0
45
44
  type: :runtime
46
45
  prerelease: false
47
- version_requirements: *2151830380
46
+ version_requirements: *2160305380
48
47
  - !ruby/object:Gem::Dependency
49
48
  name: rails_assist
50
- requirement: &2151828880 !ruby/object:Gem::Requirement
49
+ requirement: &2160303380 !ruby/object:Gem::Requirement
51
50
  none: false
52
51
  requirements:
53
52
  - - ~>
@@ -55,10 +54,10 @@ dependencies:
55
54
  version: 0.5.0
56
55
  type: :runtime
57
56
  prerelease: false
58
- version_requirements: *2151828880
57
+ version_requirements: *2160303380
59
58
  - !ruby/object:Gem::Dependency
60
59
  name: rails_artifactor
61
- requirement: &2151827880 !ruby/object:Gem::Requirement
60
+ requirement: &2160300400 !ruby/object:Gem::Requirement
62
61
  none: false
63
62
  requirements:
64
63
  - - ~>
@@ -66,10 +65,43 @@ dependencies:
66
65
  version: 0.4.0
67
66
  type: :runtime
68
67
  prerelease: false
69
- version_requirements: *2151827880
68
+ version_requirements: *2160300400
69
+ - !ruby/object:Gem::Dependency
70
+ name: jeweler
71
+ requirement: &2160299240 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: 1.6.4
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *2160299240
80
+ - !ruby/object:Gem::Dependency
81
+ name: bundler
82
+ requirement: &2160298060 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ~>
86
+ - !ruby/object:Gem::Version
87
+ version: 1.0.10
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *2160298060
91
+ - !ruby/object:Gem::Dependency
92
+ name: rcov
93
+ requirement: &2160296700 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0.9'
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: *2160296700
70
102
  - !ruby/object:Gem::Dependency
71
103
  name: rspec
72
- requirement: &2151827020 !ruby/object:Gem::Requirement
104
+ requirement: &2160291420 !ruby/object:Gem::Requirement
73
105
  none: false
74
106
  requirements:
75
107
  - - ! '>='
@@ -77,10 +109,10 @@ dependencies:
77
109
  version: 2.4.1
78
110
  type: :development
79
111
  prerelease: false
80
- version_requirements: *2151827020
112
+ version_requirements: *2160291420
81
113
  - !ruby/object:Gem::Dependency
82
114
  name: mocha
83
- requirement: &2151825960 !ruby/object:Gem::Requirement
115
+ requirement: &2160290160 !ruby/object:Gem::Requirement
84
116
  none: false
85
117
  requirements:
86
118
  - - ! '>='
@@ -88,10 +120,10 @@ dependencies:
88
120
  version: 0.9.8
89
121
  type: :development
90
122
  prerelease: false
91
- version_requirements: *2151825960
123
+ version_requirements: *2160290160
92
124
  - !ruby/object:Gem::Dependency
93
125
  name: generator-spec
94
- requirement: &2151825280 !ruby/object:Gem::Requirement
126
+ requirement: &2160287580 !ruby/object:Gem::Requirement
95
127
  none: false
96
128
  requirements:
97
129
  - - ~>
@@ -99,7 +131,7 @@ dependencies:
99
131
  version: 0.7.5
100
132
  type: :development
101
133
  prerelease: false
102
- version_requirements: *2151825280
134
+ version_requirements: *2160287580
103
135
  description: Assists in handling migrations, including generating migration files
104
136
  from a Thor Generator
105
137
  email: kmandrup@gmail.com
@@ -112,6 +144,7 @@ files:
112
144
  - .document
113
145
  - .rspec
114
146
  - Gemfile
147
+ - Gemfile.lock
115
148
  - LICENSE
116
149
  - README.markdown
117
150
  - Rakefile
@@ -134,7 +167,6 @@ files:
134
167
  - spec/migration_assist/fixtures/004_migration_c.rb
135
168
  - spec/migration_assist/implementation_spec.rb
136
169
  - spec/spec_helper.rb
137
- has_rdoc: true
138
170
  homepage: http://github.com/kristianmandrup/migration_assist
139
171
  licenses: []
140
172
  post_install_message:
@@ -147,6 +179,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
179
  - - ! '>='
148
180
  - !ruby/object:Gem::Version
149
181
  version: '0'
182
+ segments:
183
+ - 0
184
+ hash: 1329342993550471056
150
185
  required_rubygems_version: !ruby/object:Gem::Requirement
151
186
  none: false
152
187
  requirements:
@@ -155,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
190
  version: '0'
156
191
  requirements: []
157
192
  rubyforge_project:
158
- rubygems_version: 1.6.2
193
+ rubygems_version: 1.8.5
159
194
  signing_key:
160
195
  specification_version: 3
161
196
  summary: Assists in handling migrations