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 ADDED
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 1.9.2
5
+ - 1.8.7
6
+ script: bundle exec rake specs:all
data/Gemfile CHANGED
@@ -1,12 +1,2 @@
1
1
  source :rubygems
2
-
3
- gem 'rake'
4
- gem 'activerecord', ENV['AR'] || '~>3.2.6'
5
- gem 'railties', ENV['AR'] || '~>3.2.6'
6
-
7
- group :dev do
8
- gem 'sqlite3'
9
- gem 'rspec', '~>2'
10
- gem 'jeweler'
11
- end
12
-
2
+ gemspec
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.8)
5
- activemodel (= 3.2.8)
6
- activesupport (= 3.2.8)
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.3)
14
- activemodel (3.2.8)
15
- activesupport (= 3.2.8)
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.8)
18
- activemodel (= 3.2.8)
19
- activesupport (= 3.2.8)
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.8)
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.3)
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.5)
38
- multi_json (1.3.6)
39
- rack (1.4.1)
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.2)
50
+ rack-ssl (1.3.3)
43
51
  rack
44
- rack-test (0.6.1)
52
+ rack-test (0.6.2)
45
53
  rack (>= 1.0)
46
- railties (3.2.8)
47
- actionpack (= 3.2.8)
48
- activesupport (= 3.2.8)
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.1.3)
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.16.0)
78
+ thor (0.17.0)
70
79
  tilt (1.3.3)
71
- tzinfo (0.3.33)
80
+ tzinfo (0.3.35)
72
81
 
73
82
  PLATFORMS
74
83
  ruby
75
84
 
76
85
  DEPENDENCIES
77
- activerecord (~> 3.2.6)
78
- jeweler
79
- railties (~> 3.2.6)
80
- rake
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 alls sepcs including those which uses database"
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.3
1
+ 2.0.4
@@ -1,4 +1,5 @@
1
1
  namespace :db do
2
+ desc "Creates a new migration file with the specified name"
2
3
  task :new_migration, :name, :options do |t, args|
3
4
  name = args[:name] || ENV['name']
4
5
  options = args[:options] || ENV['options']
@@ -5,16 +5,17 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "standalone_migrations"
8
- s.version = "2.0.3"
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-01-15"
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<rake>, [">= 0"])
56
- s.add_runtime_dependency(%q<activerecord>, ["~> 3.2.6"])
57
- s.add_runtime_dependency(%q<railties>, ["~> 3.2.6"])
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<rake>, [">= 0"])
60
- s.add_dependency(%q<activerecord>, ["~> 3.2.6"])
61
- s.add_dependency(%q<railties>, ["~> 3.2.6"])
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<rake>, [">= 0"])
65
- s.add_dependency(%q<activerecord>, ["~> 3.2.6"])
66
- s.add_dependency(%q<railties>, ["~> 3.2.6"])
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.3
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-01-15 00:00:00.000000000 Z
13
+ date: 2013-02-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: rake
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: activerecord
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.2.6
39
- type: :runtime
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.2.6
46
+ version: 1.3.6
47
47
  - !ruby/object:Gem::Dependency
48
- name: railties
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: 3.2.6
55
- type: :runtime
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: 3.2.6
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: -1228439765539390917
128
+ hash: -3251316170468096025
112
129
  required_rubygems_version: !ruby/object:Gem::Requirement
113
130
  none: false
114
131
  requirements: