migration-spec 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +0 -0
- data/.gitignore +0 -0
- data/.rspec +0 -0
- data/LICENSE +0 -0
- data/README.markdown +0 -0
- data/Rakefile +0 -0
- data/VERSION +1 -1
- data/lib/migration-spec/main.rb +0 -0
- data/lib/migration-spec/matchers/content/have_column.rb +0 -0
- data/lib/migration-spec/matchers/content/have_index.rb +0 -0
- data/lib/migration-spec/matchers/content/have_table.rb +0 -0
- data/lib/migration-spec/matchers/content/have_tbl_column.rb +0 -0
- data/lib/migration-spec/matchers/content/have_up_down.rb +0 -0
- data/lib/migration-spec/matchers/generate_migration.rb +0 -0
- data/lib/migration-spec.rb +0 -0
- data/migration-spec.gemspec +2 -2
- data/spec/migration-spec/fixtures/db/migrations/001_do_columns.rb +0 -0
- data/spec/migration-spec/fixtures/db/migrations/002_do_index.rb +0 -0
- data/spec/migration-spec/fixtures/db/migrations/003_do_tables.rb +0 -0
- data/spec/migration-spec/fixtures/db/migrations/004_do_tbl_columns.rb +0 -0
- data/spec/migration-spec/fixtures/db/migrations/005_do_up_down.rb +0 -0
- data/spec/migration-spec/matchers/content/have_column_spec.rb +0 -0
- data/spec/migration-spec/matchers/content/have_index_spec.rb +0 -0
- data/spec/migration-spec/matchers/content/have_table_spec.rb +0 -0
- data/spec/migration-spec/matchers/content/have_tbl_column_spec.rb +0 -0
- data/spec/migration-spec/matchers/content/have_up_down_spec.rb +1 -1
- data/spec/migration-spec/matchers/generate_migration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +3 -3
data/.document
CHANGED
File without changes
|
data/.gitignore
CHANGED
File without changes
|
data/.rspec
CHANGED
File without changes
|
data/LICENSE
CHANGED
File without changes
|
data/README.markdown
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/lib/migration-spec/main.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/migration-spec.rb
CHANGED
File without changes
|
data/migration-spec.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{migration-spec}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kristian Mandrup"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-09-11}
|
13
13
|
s.description = %q{Migration RSpec 2 matchers to spec migration files, fx as generated by a Thor generator}
|
14
14
|
s.email = %q{kmandrup@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -4,7 +4,7 @@ Rails::Migration::Assist.orm = :active_record
|
|
4
4
|
|
5
5
|
describe 'migration' do
|
6
6
|
# use_orm :active_record
|
7
|
-
use_helpers :
|
7
|
+
use_helpers :migration
|
8
8
|
|
9
9
|
it "should have an create_account_migration file that contains an index method and two inserted comments" do
|
10
10
|
puts read_migration(:do_columns)
|
data/spec/spec_helper.rb
CHANGED
@@ -34,7 +34,7 @@ end
|
|
34
34
|
|
35
35
|
RSpec.configure do |config|
|
36
36
|
config.before do
|
37
|
-
rails_root_dir =
|
37
|
+
rails_root_dir = Rails3::Assist::Directory.rails_root = fixtures_dir #temp_dir('tmp_rails')
|
38
38
|
end
|
39
39
|
|
40
40
|
config.after do
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Kristian Mandrup
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-09-11 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|