standalone_migrations 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +6 -0
- data/Gemfile +1 -11
- data/Gemfile.lock +35 -28
- data/README.markdown +1 -0
- data/Rakefile +1 -2
- data/VERSION +1 -1
- data/lib/standalone_migrations/tasks/db/new_migration.rake +1 -0
- data/standalone_migrations.gemspec +15 -11
- metadata +29 -12
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,29 +1,37 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
standalone_migrations (2.0.3)
|
5
|
+
activerecord (~> 3.2.11)
|
6
|
+
railties (~> 3.2.11)
|
7
|
+
rake
|
8
|
+
|
1
9
|
GEM
|
2
10
|
remote: http://rubygems.org/
|
3
11
|
specs:
|
4
|
-
actionpack (3.2.
|
5
|
-
activemodel (= 3.2.
|
6
|
-
activesupport (= 3.2.
|
12
|
+
actionpack (3.2.11)
|
13
|
+
activemodel (= 3.2.11)
|
14
|
+
activesupport (= 3.2.11)
|
7
15
|
builder (~> 3.0.0)
|
8
16
|
erubis (~> 2.7.0)
|
9
17
|
journey (~> 1.0.4)
|
10
18
|
rack (~> 1.4.0)
|
11
19
|
rack-cache (~> 1.2)
|
12
20
|
rack-test (~> 0.6.1)
|
13
|
-
sprockets (~> 2.1
|
14
|
-
activemodel (3.2.
|
15
|
-
activesupport (= 3.2.
|
21
|
+
sprockets (~> 2.2.1)
|
22
|
+
activemodel (3.2.11)
|
23
|
+
activesupport (= 3.2.11)
|
16
24
|
builder (~> 3.0.0)
|
17
|
-
activerecord (3.2.
|
18
|
-
activemodel (= 3.2.
|
19
|
-
activesupport (= 3.2.
|
25
|
+
activerecord (3.2.11)
|
26
|
+
activemodel (= 3.2.11)
|
27
|
+
activesupport (= 3.2.11)
|
20
28
|
arel (~> 3.0.2)
|
21
29
|
tzinfo (~> 0.3.29)
|
22
|
-
activesupport (3.2.
|
30
|
+
activesupport (3.2.11)
|
23
31
|
i18n (~> 0.6)
|
24
32
|
multi_json (~> 1.0)
|
25
33
|
arel (3.0.2)
|
26
|
-
builder (3.0.
|
34
|
+
builder (3.0.4)
|
27
35
|
diff-lcs (1.1.3)
|
28
36
|
erubis (2.7.0)
|
29
37
|
git (1.2.5)
|
@@ -34,18 +42,18 @@ GEM
|
|
34
42
|
git (>= 1.2.5)
|
35
43
|
rake
|
36
44
|
journey (1.0.4)
|
37
|
-
json (1.7.
|
38
|
-
multi_json (1.
|
39
|
-
rack (1.4.
|
45
|
+
json (1.7.6)
|
46
|
+
multi_json (1.5.0)
|
47
|
+
rack (1.4.4)
|
40
48
|
rack-cache (1.2)
|
41
49
|
rack (>= 0.4)
|
42
|
-
rack-ssl (1.3.
|
50
|
+
rack-ssl (1.3.3)
|
43
51
|
rack
|
44
|
-
rack-test (0.6.
|
52
|
+
rack-test (0.6.2)
|
45
53
|
rack (>= 1.0)
|
46
|
-
railties (3.2.
|
47
|
-
actionpack (= 3.2.
|
48
|
-
activesupport (= 3.2.
|
54
|
+
railties (3.2.11)
|
55
|
+
actionpack (= 3.2.11)
|
56
|
+
activesupport (= 3.2.11)
|
49
57
|
rack-ssl (~> 1.3.2)
|
50
58
|
rake (>= 0.8.7)
|
51
59
|
rdoc (~> 3.4)
|
@@ -61,22 +69,21 @@ GEM
|
|
61
69
|
rspec-expectations (2.7.0)
|
62
70
|
diff-lcs (~> 1.1.2)
|
63
71
|
rspec-mocks (2.7.0)
|
64
|
-
sprockets (2.
|
72
|
+
sprockets (2.2.2)
|
65
73
|
hike (~> 1.2)
|
74
|
+
multi_json (~> 1.0)
|
66
75
|
rack (~> 1.0)
|
67
76
|
tilt (~> 1.1, != 1.3.0)
|
68
77
|
sqlite3 (1.3.6)
|
69
|
-
thor (0.
|
78
|
+
thor (0.17.0)
|
70
79
|
tilt (1.3.3)
|
71
|
-
tzinfo (0.3.
|
80
|
+
tzinfo (0.3.35)
|
72
81
|
|
73
82
|
PLATFORMS
|
74
83
|
ruby
|
75
84
|
|
76
85
|
DEPENDENCIES
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
rspec (~> 2)
|
82
|
-
sqlite3
|
86
|
+
jeweler (~> 1.6.4)
|
87
|
+
rspec (~> 2.7.0)
|
88
|
+
sqlite3 (~> 1.3.6)
|
89
|
+
standalone_migrations!
|
data/README.markdown
CHANGED
@@ -196,5 +196,6 @@ Contributors
|
|
196
196
|
- [Gazler](http://blog.gazler.com/)
|
197
197
|
- [Yuu Yamashita](https://github.com/yyuu)
|
198
198
|
- [Koen Punt](http://www.koen.pt/)
|
199
|
+
- [Parker Moore](http://www.parkermoore.de/)
|
199
200
|
|
200
201
|
This work is originally based on [Lincoln Stoll's blog post](http://lstoll.net/2008/04/stand-alone-activerecord-migrations/) and [David Welton's post](http://journal.dedasys.com/2007/01/28/using-migrations-outside-of-rails).
|
data/Rakefile
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
require 'rubygems'
|
3
2
|
require 'bundler/setup'
|
4
3
|
|
@@ -20,7 +19,7 @@ namespace :specs do
|
|
20
19
|
t.pattern = "spec/standalone_migrations/**/*_spec.rb"
|
21
20
|
end
|
22
21
|
|
23
|
-
desc "run
|
22
|
+
desc "run all specs including those which uses database"
|
24
23
|
task :all => [:default, :nodb]
|
25
24
|
end
|
26
25
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.4
|
@@ -5,16 +5,17 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "standalone_migrations"
|
8
|
-
s.version = "2.0.
|
8
|
+
s.version = "2.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Todd Huss", "Michael Grosser"]
|
12
|
-
s.date = "2013-
|
12
|
+
s.date = "2013-02-25"
|
13
13
|
s.email = "thuss@gabrito.com"
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"README.markdown"
|
16
16
|
]
|
17
17
|
s.files = [
|
18
|
+
".travis.yml",
|
18
19
|
"Gemfile",
|
19
20
|
"Gemfile.lock",
|
20
21
|
"MIT-LICENSE",
|
@@ -52,18 +53,21 @@ Gem::Specification.new do |s|
|
|
52
53
|
s.specification_version = 3
|
53
54
|
|
54
55
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
55
|
-
s.add_runtime_dependency(%q<
|
56
|
-
s.
|
57
|
-
s.
|
56
|
+
s.add_runtime_dependency(%q<standalone_migrations>, [">= 0"])
|
57
|
+
s.add_development_dependency(%q<sqlite3>, ["~> 1.3.6"])
|
58
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.7.0"])
|
59
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
58
60
|
else
|
59
|
-
s.add_dependency(%q<
|
60
|
-
s.add_dependency(%q<
|
61
|
-
s.add_dependency(%q<
|
61
|
+
s.add_dependency(%q<standalone_migrations>, [">= 0"])
|
62
|
+
s.add_dependency(%q<sqlite3>, ["~> 1.3.6"])
|
63
|
+
s.add_dependency(%q<rspec>, ["~> 2.7.0"])
|
64
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
62
65
|
end
|
63
66
|
else
|
64
|
-
s.add_dependency(%q<
|
65
|
-
s.add_dependency(%q<
|
66
|
-
s.add_dependency(%q<
|
67
|
+
s.add_dependency(%q<standalone_migrations>, [">= 0"])
|
68
|
+
s.add_dependency(%q<sqlite3>, ["~> 1.3.6"])
|
69
|
+
s.add_dependency(%q<rspec>, ["~> 2.7.0"])
|
70
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
67
71
|
end
|
68
72
|
end
|
69
73
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standalone_migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,10 +10,10 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-02-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: standalone_migrations
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
@@ -29,37 +29,53 @@ dependencies:
|
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '0'
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
|
-
name:
|
32
|
+
name: sqlite3
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
none: false
|
35
35
|
requirements:
|
36
36
|
- - ~>
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: 3.
|
39
|
-
type: :
|
38
|
+
version: 1.3.6
|
39
|
+
type: :development
|
40
40
|
prerelease: false
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
46
|
+
version: 1.3.6
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
48
|
+
name: rspec
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
type: :
|
54
|
+
version: 2.7.0
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ~>
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 2.7.0
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: jeweler
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 1.6.4
|
71
|
+
type: :development
|
56
72
|
prerelease: false
|
57
73
|
version_requirements: !ruby/object:Gem::Requirement
|
58
74
|
none: false
|
59
75
|
requirements:
|
60
76
|
- - ~>
|
61
77
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
78
|
+
version: 1.6.4
|
63
79
|
description:
|
64
80
|
email: thuss@gabrito.com
|
65
81
|
executables: []
|
@@ -67,6 +83,7 @@ extensions: []
|
|
67
83
|
extra_rdoc_files:
|
68
84
|
- README.markdown
|
69
85
|
files:
|
86
|
+
- .travis.yml
|
70
87
|
- Gemfile
|
71
88
|
- Gemfile.lock
|
72
89
|
- MIT-LICENSE
|
@@ -108,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
125
|
version: '0'
|
109
126
|
segments:
|
110
127
|
- 0
|
111
|
-
hash: -
|
128
|
+
hash: -3251316170468096025
|
112
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
130
|
none: false
|
114
131
|
requirements:
|